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

Page 148

Advertising
background image

8-18

ControlLogix w/1769-ADN DeviceNet Example Ladder Program

Figure 8.20 Example ControlLogix Ladder Logic CH2 Subroutine (Continued)

11

CH2_Forward_Cmd

SM2_Output_Data[3].4

12

/

CH2_Forward_Cmd

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

CH2_Reference

200

Dest SM2_Output_Data[4]

2000

MOV

SM2 CH2

Reference

14

Return

RET

(End)

Advertising