beautypg.com

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

Page 121

background image

CompactLogix Example Ladder Programs

7-19

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

Read Message (Rung 14)

Figure 7.6 Example CompactLogix Multi-Drive Ladder Logic CH1 Drive 0 Subroutine (Continued)

15

Move

Source

CH1_Drv0_Read_Value

111

Dest CH1_Drv0_Read_Jog_Frequency

111

MOV

16

Move

Source CH1_Drv0_Write_Jog_Frequency

111

Dest

CH1_Drv0_Write_Value

111

MOV

17

CH1_Drv0_Write_Param

EN

DN

ER

Type - CIP Generic

Message Control

CH1_Drv0_Write_Msg ...

MSG

18

Return

RET

(End)