8 sample slc ladder logic - station 1 program – Rockwell Automation RECOMM-PBUS PROFIBUS Communications Module User Manual

Page 66

Advertising
background image

6-14

PROFIBUS Communications Module

6.8

Sample SLC Ladder Logic -
Station 1 Program

Figure 6.8 – Sample SLC Ladder Logic - Station 1 Program

Controlling the Logic Command word in the drive. B3:20 /* bits are controlled elsewhere in the user program.

0000

B3:20

1

Station 1
Start
Command

N20:0

1

Station 1
Logic Command
START

0001

B3:20

0

Station 1
Stop
Command

N20:0

0

Station 1
Logic Command
STOP

0002

B3:20

2

Station 1
Jog
Command

N20:0

2

Station 1
Logic Command
JOG

0003

B3:20

3

Station 1
Clear Faults
Command

N20:0

3

Station 1
Logic Command
CLEAR FAULTS

0004

B3:20

4

Station 1
Reverse
Command

N20:0

4

Station 1
Logic Command
FORWARD

0005

B3:20

4

Station 1
Reverse
Command

N20:0

5

Station 1
Logic Command
REVERSE

Station 1 Speed Reference
SP600 Speed Ref A Sel (parameter 90) needs to be set to "Network."
N19:1 is controlled elsewhere in the user program.

0006

MOV

Move
Source

N19:1

8192 <
Dest

N20:1

8192 <

MOV

Station 1
Speed Reference

Advertising