24.10.2013 Views

Configuring Hardware and Communication Connections STEP 7.pdf

Configuring Hardware and Communication Connections STEP 7.pdf

Configuring Hardware and Communication Connections STEP 7.pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Configuring</strong> the Distributed I/O (DP)<br />

DP Master from the View of the DP-Slave<br />

<br />

<br />

You can use the DP-Slave CPU user program, for example, to read DP Master<br />

failure information via the configured diagnostic address 8189.<br />

If you have set the DP Slave to DPV1 mode you can, for example, trigger a<br />

<strong>Hardware</strong> Interrupt. Here, in the DP Slave user program you must utilize SFC 7<br />

"DP_PRAL" to trigger the interrupt in the DP Master via the configurable address<br />

for the virtual slot 2 (Slot 2). This address is 8188 in our example. The sample<br />

below shows user program segments of the DP Slave that has triggered the<br />

hardware interrupt <strong>and</strong> user program segments of the DP Master that evaluate this<br />

interrupt.<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<strong>Configuring</strong> <strong>Hardware</strong> <strong>and</strong> <strong>Communication</strong> <strong>Connections</strong> with <strong>STEP</strong> 7<br />

3-40 A5E00706939-01

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!