beautypg.com

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

Page 109

background image

CompactLogix Example Ladder Programs

7-7

The read and write message instructions for PowerFlex 40 drive
Parameter 78 - [Jog Frequency] are configured as follows:

Read Message (Rung 14)

Figure 7.3 Example CompactLogix Single Mode Ladder Logic CH1 Subroutine (Continued)

15

Move

Source

CH1_Read_Value

111

Dest CH1_Read_Jog_Frequency

111

MOV

16

Move

Source CH1_Write_Jog_Frequency

111

Dest

CH1_Write_Value

111

MOV

17

CH1_Write_Param

EN

DN

ER

Type - CIP Generic

Message Control

CH1_Write_Msg ...

MSG

18

Return

RET

(End)