Rockwell Automation 1769-SM1 Compact I/O to DPI/SCANport Module User Manual
Page 58
![background image](/manuals/579881/58/background.png)
5-4
MicroLogix 1500 Ladder Example Program
Figure 5.3 MicroLogix 1500 Ladder Logic Channel 1 Subroutine
1769-SM1 Channel 1 Subroutine
0000
SBR
Subroutine
SBR
O:1
0
1769-SM1
Channel 1
Enable
0001
B3:0
0
CH. 1
Stop
Command
O:1
16
1769-SM1
Channel 1
Logic Command
STOP
0002
B3:0
1
CH. 1
Start
Command
O:1
17
1769-SM1
Channel 1
Logic Command
START
0003
B3:0
2
CH. 1
Jog
Command
O:1
18
1769-SM1
Channel 1
Logic Command
JOG
0004
B3:0
3
CH. 1
Clear Faults
Command
O:1
19
1769-SM1
Channel 1
Logic Command
CLEAR FAULTS
0005
B3:0
4
CH. 1
Forward
Command
O:1
20
1769-SM1
Channel 1
Logic Command
FORWARD
0006
B3:0
4
CH. 1
Forward
Command
O:1
21
1769-SM1
Channel 1
Logic Command
REVERSE
N7:2 = Reference (Low) value for 16-bit Reference, low word for 32-bit Reference
N7:3 = Reference (High) high word for 32-bit Feedback
0007
COP
Copy File
Source
#N7:2
Dest
#O:1.2
Length
2
COP
Channel 1
REFERENCE
(Low)