Rockwell Automation 1769-SM2 Compact I/O DSI/Modbus Communication Module User Manual
Page 149
ControlLogix w/1769-ADN DeviceNet Example Ladder Program
8-19
Figure 8.21 Example ControlLogix Ladder Logic CH3 Subroutine
1769-SM2 Channel 3 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
SM2_Input_Data[7].0
CH3_Ready
i
1
SM2_Input_Data[7].1
CH3_Active
2
SM2_Input_Data[7].3
CH3_Forward
3
SM2_Input_Data[7].7
CH3_Fault
4
SM2_Input_Data[7].8
CH3_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 SM2_Input_Data[8]
300
Dest
CH3_Feedback
300
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
CH3_Stop
SM2_Output_Data[5].0
i
This rung unlatches the contact that turns on the Start command when the drive is not communicating with the 1769-SM2.
This prevents the drive from immediately starting when communications are restored. If an immediate start is desired for an
application, this rung could be deleted.
7
/
CH3_Valid_Data
U
CH3_Start
i
8
CH3_Start
SM2_Output_Data[5].1
9
CH3_Jog
SM2_Output_Data[5].2
10
CH3_Clear_Fault
SM2_Output_Data[5].3