beautypg.com

Rockwell Automation 2100-GK61 DeviceNet to SCANport User Manual

Page 102

background image

Publication 2100-UM001B-EN-P – January 2001

6-10

Using DeviceNet Explicit Messaging

Explicit Messaging
Programming Example

The example below illustrates how to read 2100-GK61 inputs and
control the outputs of an SMP-3 electronic overload relay using
explicit messaging.

Example Ladder Program
Explanation

Rung 0 – N10:0/0 enables 1771-SDN Scanner Port A.

Rung 1 - BTR (Block Transfer Read) gathers SMP-3 Status Data
via DeviceNet. The Block Transfer then moves the status data
from the scanner to the PLC’s N9 data file.

Rung 2 – BTW (Block Transfer Write) sends SMP-3 command
data to the scanner and out to the SMP-3 via DeviceNet.

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

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

Rung 5 – Clears SMP-3 Fault (by momentarily turning on
I:001 / 2).

Figure 6.4