Example slc ladder logic program -10, Example slc ladder logic program – Rockwell Automation 1336-GM1 Remote I/O Communications Module User Manual

Page 48

Advertising
background image

4–10

Creating Ladder Logic Programs

Example SLC Ladder Logic
Program

Refer to page 4–5 for the settings of the module and the 1336 PLUS
drive used for this example.

Figure 4.4

Example Ladder Logic Program for an SLC

0000

I:1

128

1747-SN

Machine
START
Pushbutton

O:1

257

1747-SN

Drive
START
Command

0001

I:1

129

1747-SN

Machine
STOP
Pushbutton

O:1

256

1747-SN

Drive
STOP
Command

I:1

257

1747-SN

Drive
Running
Status Bit

O:1

256

1747-SN

Drive
STOP
Command

0002

MOV

Move
Source

N7:0

16000<

Dest

O:1.17

16000<

MOV

Drive Frequency
Command

0003

I:1

130

1747-SN

Machine
JOG
Pushbutton

O:1

258

1747-SN

Drive
JOG
Command

0004

I:1

131

1747-SN

Machine
Clear Faults
Pushbutton

O:1

259

1747-SN

Drive
Clear Faults
Command

0005

I:1

257

1747-SN

Drive
Running
Status Bit

O:1

129

1747-SN

Machine
Running
Indicator

0006

I:1

263

1747-SN

Drive
Faulted
Status Bit

O:1

135

1747-SN

Machine
Faulted
Indicator

0007

MOV

Move

Source

N7:1

500<

Dest

O:1.18

500<

MOV

Drive Data In A1

(Data to Drive)

0008

END

Advertising