beautypg.com

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

Page 150

background image

8-20

ControlLogix w/1769-ADN DeviceNet Example Ladder Program

Figure 8.21 Example ControlLogix Ladder Logic CH3 Subroutine (Continued)

11

CH3_Forward_Cmd

SM2_Output_Data[5].4

12

/

CH3_Forward_Cmd

SM2_Output_Data[5].5

This rung displays the Reference being sent to 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.

13

Move

Source

CH3_Reference

300

Dest SM2_Output_Data[6]

3000

MOV

SM2 CH3

Reference

14

Return

RET

(End)