Slc example, Slc example -9, Figure 5.6 – Rockwell Automation 22-COMM-D DeviceNet Adapter User Manual

Page 53

Advertising
background image

Using I/O Messaging

5-9

SLC Example

Figure 5.6 Example SLC Ladder Logic Program

SLC 5/03 example program with a PowerFlex 40 at DeviceNet node address 1.

This rung enables the scanner (changes the scanner to RUN mode).

0000

O:1

0

1747-SDN

1747-SDN
Scanner
Enable bit

This section of rungs control the Logic Command bits for the PowerFlex 40. The
B3:0 bits would be controlled elsewhere in the user program.

0001

B3:0

0

Node 1
Stop
Command

O:1

16

1747-SDN

Node 1
Logic Command
STOP

0002

B3:0

1

Node 1
Start
Command

O:1

17

1747-SDN

Node 1
Logic Command
START

0003

B3:0

2

Node 1
Jog
Command

B3:0

0

Node 1
Stop
Command

O:1

18

1747-SDN

Node 1
Logic Command
JOG

0004

B3:0

3

Node 1
Clear Faults
Command

O:1

19

1747-SDN

Node 1
Logic Command
CLEAR FAULTS

0005

B3:0

4

Node 1
Forward
Command

O:1

20

1747-SDN

Node 1
Logic Command
FORWARD

Advertising