Micrologix 1500 example program – Rockwell Automation 1769-SM2 Compact I/O DSI/Modbus Communication Module User Manual
Page 84
![background image](/manuals/579202/84/background.png)
6-4
MicroLogix 1500 Example Ladder Programs
MicroLogix 1500 Example Program
Figure 6.2 Example MicroLogix 1500 Single Mode Ladder Logic Main Routine
MicroLogix 1500 w/ 1769-SM2 in Single mode
In this Single mode example program, the channels are utilized as follows:
Channel 1 - Connected to 1 PowerFlex 4/40 drive (maximum allowed)
Channel 2 - Connected to 1 PowerFlex 4/40 drive (maximum allowed)
Channel 3 - Connected to 1 PowerFlex 4/40 drive (maximum allowed)
This rung enables the 1769-SM2 to send the Channel 1 Logic Command and Reference words to the drive.
0000
O:1
0
1769-SM2
Channel 1
Enable
Channel 1 Subroutine
0001
JSR
Jump To Subroutine
SBR File Number
U:3
JSR
This rung enables the 1769-SM2 to send the Channel 2 Logic Command and Reference words to the drive.
0002
O:1
1
1769-SM2
Channel 2
Enable
Channel 2 Subroutine
0003
JSR
Jump To Subroutine
SBR File Number
U:4
JSR
This rung enables the 1769-SM2 to send the Channel 3 Logic Command and Reference words to the drive.
0004
O:1
2
1769-SM2
Channel 3
Enable
Channel 3 Subroutine
0005
JSR
Jump To Subroutine
SBR File Number
U:5
JSR
0006
I:1
0
1769-SM2
CH1
Drive 0
Logic Sts Valid
I:1
5
1769-SM2
CH2
Drive 0
Logic Sts Valid
I:1
10
1769-SM2
CH3
Drive 0
Logic Sts Valid
B3:0
0
1769-SM2
Input Data
Valid
0007
I:1
15
1769-SM2
1769-SM2
Config Data
Valid
B3:0
1
1769-SM2
Config Data
Error
0008
END