beautypg.com

3 sample slc ladder logic program – Rockwell Automation DeviceNet Communications Module User Manual

Page 57

background image

Using I/O Messaging

6-9

6.5.3 Sample SLC Ladder Logic Program

Figure 6.6 – Sample SLC Ladder Logic Program

SLC 5/03 example program with an MD65 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 MD65 drive. 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