Rockwell Automation 22-COMM-D DeviceNet Adapter User Manual

Page 54

Advertising
background image

5-10

Using I/O Messaging

Figure 5.6 Example SLC Ladder Logic Program (Continued)

0006

B3:0

4

Node 1
Forward
Command

O:1

21

1747-SDN

Node 1
Logic Command
REVERSE

This rung controls the Reference for the PowerFlex 40. N7:0 would be controlled
elsewhere in the user program. 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).

0007

MOV

Move
Source

N7:0

300<
Dest

O:1.2

300<

MOV

Node 1
REFERENCE
(Hz)

This section of rungs displays the Logic Status bits for the PowerFlex 40. The B3:1
bits would be used elsewhere in the user program.

0008

I:1

16

1747-SDN

Node 1
Logic Status
READY

B3:1

0

Node 1
READY

0009

I:1

17

1747-SDN

Node 1
Logic Status
ACTIVE

B3:1

1

Node 1
ACTIVE

0010

I:1

19

1747-SDN

Node 1
Logic Status
ROTATING
FORWARD

B3:1

3

Node 1
ROTATING
FORWARD

Advertising