Rockwell Automation 1769-SM2 Compact I/O DSI/Modbus Communication Module User Manual
Page 107

CompactLogix Example Ladder Programs
7-5
Figure 7.3 Example CompactLogix Single Mode Ladder Logic CH1 Subroutine
The following rungs display some of the Logic Status bits from the drive. Refer to Appendix D in the 1769-SM2 user manual
for additional information about the Logic Status word.
0
Channel 1
Logic Status
Bit 00
Local:1:I.Data[1].0
CH1_Ready
1769-SM2 Channel 1 Subroutine
i
1
Channel 1
Logic Status
Bit 01
Local:1:I.Data[1].1
CH1_Active
2
Channel 1
Logic Status
Bit 03
Local:1:I.Data[1].3
CH1_Forward
3
Channel 1
Logic Status
Bit 07
Local:1:I.Data[1].7
CH1_Fault
4
Channel 1
Logic Status
Bit 08
Local:1:I.Data[1].8
CH1_At_Speed
This rung displays the Feedback from the drive. An integer represents the xxx.x Hz format (decimal is implied) used by the
drive, so a displayed value of "300" equates to 30.0 Hz.
5
Move
Source Local:1:I.Data[2]
100
Dest
CH1_Feedback
100
MOV
The following rungs display some of the Logic Command bits sent to the drive. Refer to Appendix D in the 1769-SM2 user
manual for additional information about the Logic Command word.
6
CH1_Stop
Channel 1
Logic Command
Bit 00
Local:1:O.Data[1].0
i