beautypg.com

Rockwell Automation 2100-GK61 DeviceNet to SCANport User Manual

Page 103

background image

Publication 2100-UM001B-EN-P – January 2001

Using DeviceNet Explicit Messaging

6-11

Rung 6 – Turns on SMP-3 Output A (by momentarily turning on
I:001 / 3).

Rung 7 – Turns on SMP-3 Output B (by momentarily turning on
I:001 / 4).

Rung 8 – When I:002 / 1 is set to the true state, the next
instruction, a one-shot Block Transfer Write, sends data to the
scanner. The Move instruction then initializes the first word of the
data file that is used by the Block Transfer Read instruction in the
next rung. Alternatively, I:002 / 2 can be set true to enable a
continuous read mode based on cycle rate of T4:1 / DN.

Rung 9 – This instruction will be true when the Block Transfer
Write has completed. The compare instruction that follows
compares the first word of data sent from the scanner to the first
word of data you send to the scanner. When the messaging
function has completed, these two words will be equal.

Figure 6.5