Slc ladder logic example - station 2 program, Using i/o messaging 5-11 – Rockwell Automation 20-COMM-I Interbus Adapter User Manual
Page 61

Using I/O Messaging
5-11
Figure 5.5 Example SLC Ladder Logic - Station 2 Program
SLC Ladder Logic Example - Station 2 Program
Controlling the Logic Command to the drive at Station 2.0.
0000
B3:21
1
Station 2.0
Start
Command
O:1.9
1
OTHER
Station 2.0
Logic Command
START
0001
B3:21
0
Station 2.0
Stop
Command
O:1.9
0
OTHER
Station 2.0
Logic Command
STOP
0002
B3:21
2
Station 2.0
Jog
Command
O:1.9
2
OTHER
Station 2.0
Logic Command
JOG
0003
B3:21
3
Station 2.0
Clear Faults
Command
O:1.9
3
OTHER
Station 2.0
Logic Command
CLEAR FAULTS
0004
B3:21
4
Station 2.0
Reverse
Command
O:1.9
4
OTHER
Station 2.0
Logic Command
FORWARD
0005
B3:21
4
Station 2.0
Reverse
Command
O:1.9
5
OTHER
Station 2.0
Logic Command
REVERSE
Station 2.0 Speed Reference
PowerFlex 70 Speed Ref A Sel (Pr.90) needs to be set to 'DPI Port 5'
0006
MOV
Move
Source
N19:15
8192 <
Dest
O:1.10
8192 <
MOV
Station 2.0
Speed Reference
Station 2.0 Datalink A1
Datalink A1 (Pr. 300) set to Acceleration Time 1 (Pr. 140)
0007
MOV
Move
Source
N19:16
50<
Dest
O:1.11
50<
MOV
Station 2.0
Datalink A1
20COMM-UM007A-EN-P.book Page 11 Tuesday, January 22, 2002 10:52 AM