Rockwell Automation 22-COMM-P PowerFlex Profibus Adapter User Manual
Page 91

SLC Ladder Logic Examples
D-3
Figure D.2 Drive 0 Control/Reference/Parameter Access Routine
Controlling the Logic Command word in the drive. B3:20/* bits are controlled elsewhere in the user program.
0
B3:20
0
Station 1
Stop
Command
N20:0
0
Station 1
Logic Command
STOP
1
B3:20
1
Station 1
Start
Command
N20:0
1
Station 1
Logic Command
START
2
B3:20
2
Station 1
Jog
Command
N20:0
2
Station 1
Logic Command
JOG
3
B3:20
3
Station 1
Clear Faults
Command
N20:0
3
Station 1
Logic Command
CLEAR FAULTS
4
B3:20
4
Station 1
Reverse
Command
N20:0
4
Station 1
Logic Command
FORWARD
5
B3:20
4
Station 1
Reverse
Command
N20:0
5
Station 1
Logic Command
REVERSE
To control the speed reference over the Profibus, the three Reference Select bits (bits 14-12) need to have the values 011.
6
N20:0
12
Station 1
Logic Command
REFERENCE SELECT 0
7
N20:0
13
Station 1
Logic Command
REFERENCE SELECT 1
8
B3:20
5
"Never Closed"
N20:0
14
Station 1
Logic Command
REFERENCE SELECT 2