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

D-6
SLC Ladder Logic Examples
Figure D.3 Drive 1 Control/Reference/Parameter Access Routine
Controlling the Logic Command word in the drive. B3:21/* bits are controlled elsewhere in the user program.
0
B3:21
0
Station 2
Stop
Command
N20:6
0
Station 2
Logic Command
STOP
1
B3:21
1
Station 2
Start
Command
N20:6
1
Station 2
Logic Command
START
2
B3:21
2
Station 2
Jog
Command
N20:6
2
Station 2
Logic Command
JOG
3
B3:21
3
Station 2
Clear Faults
Command
N20:6
3
Station 2
Logic Command
CLEAR FAULTS
4
B3:21
4
Station 2
Reverse
Command
N20:6
4
Station 2
Logic Command
FORWARD
5
B3:21
4
Station 2
Reverse
Command
N20:6
5
Station 2
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:6
12
Station 2
Logic Command
REFERENCE SELECT 0
7
N20:6
13
Station 2
Logic Command
REFERENCE SELECT 1
8
B3:21
5
"Never Closed"
N20:6
14
Station 2
Logic Command
REFERENCE SELECT 2