Rockwell Automation 22-COMM-D DeviceNet Adapter User Manual

Page 52

Advertising
background image

5-8

Using I/O Messaging

For the explicit message portion of this ladder example program, see

Figure 6.7

.

Figure 5.5 Example PLC-5 Ladder Logic Program (Continued)

The BTR in this rung moves the drive control data to the scanner from the N10: data file in

the PLC, where:

N10:0 = Scanner Control word

N10:1 = PowerFlex 40 (node 1) Logic Command

N10:2 = PowerFlex 40 (node 1) Reference

Note that the Reference for the PowerFlex 40 is set in Hz and not in engineering units like

other PowerFlex drives. For example, "300" equates to 30.0 Hz (the decimal point is always

implied).

The scanner then sends the data to the drive over the network.

0002

BT20:1

EN

EN

DN

ER

BTW

Block Transfer Write

Module Type 1771-SDN DeviceNet Scanner Module

Rack

000

Group

0

Module

0

Control Block

BT20:1

Data File

N10:0

Length

62

Continuous

No

Setup Screen

BTW

Advertising