Compactlogix example ladder programs 7-17 – Rockwell Automation 1769-SM2 Compact I/O DSI/Modbus Communication Module User Manual
Page 119

CompactLogix Example Ladder Programs
7-17
Figure 7.6 Example CompactLogix Multi-Drive Ladder Logic CH1 Drive 0 Subroutine
1769-SM2 Channel 1 Drive 0 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
CH1 Drv0
Logic Status
Bit 00
Local:1:I.Data[1].0
CH1_Drv0_Ready
i
1
CH1 Drv0
Logic Status
Bit 01
Local:1:I.Data[1].1
CH1_Drv0_Active
2
CH1 Drv0
Logic Status
Bit 03
Local:1:I.Data[1].3
CH1_Drv0_Forward
3
CH1 Drv0
Logic Status
Bit 07
Local:1:I.Data[1].7
CH1_Drv0_Fault
4
CH1 Drv0
Logic Status
Bit 08
Local:1:I.Data[1].8
CH1_Drv0_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]
0
Dest CH1_Drv0_Feedback
0
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_Drv0_Stop
CH1 Drv0
Logic Command
Bit 00
Local:1:O.Data[1].0