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

Page 146

Advertising
background image

8-16

ControlLogix w/1769-ADN DeviceNet Example Ladder Program

Figure 8.19 Example ControlLogix Ladder Logic CH1 Subroutine (Continued)

11

CH1_Forward_Cmd

SM2_Output_Data[1].4

12

/

CH1_Forward_Cmd

SM2_Output_Data[1].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

CH1_Reference

100

Dest SM2_Output_Data[2]

100

MOV

SM2 CH1

Reference

14

Return

RET

(End)

Advertising