beautypg.com

Rockwell Automation 22-COMM-C ControlNet Adapter User Manual

Page 87

background image

Using Multi-Drive Mode

7-19

Figure 7.13 ControlLogix Drive 3 Control Subroutine (Continued)

13

Copy File

Source Drive_3_Speed_Reference

Dest

Drive_Output_Image[7]

Length

1

COP

Explicit Messaging Example

Drive 3 parameters are accessed by adding 20480 decimal (5000 hex) to the desired parameter number. This example

reads data from Parameter d003 - [Output Current] by using an Instance of 20483 (20480 + 3).

14

Drive_3_Perform_Parameter_Read

EN

DN

ER

Type - CIP Generic

Message Control

Drive_3_Parameter_Read_Message ...

MSG

Explicit Messaging Example

Drive 3 parameters are accessed by adding 20480 decimal (5000 hex) to the desired parameter number. This example

reads data from Parameter d003 - [Output Current] by using an Instance of 20483 (20480 + 3).

Drive 3 parameters are accessed by adding 20480 decimal (5000 hex) to the desired parameter number. This example

writes data to Parameter P039 - [Accel Time 1] by using an Instance of 20519 (20480 + 39).

15

Drive_3_Perform_Parameter_Write

EN

DN

ER

Type - CIP Generic

Message Control

Drive_3_Parameter_Write_Message ...

MSG

Drive 3 parameters are accessed by adding 20480 decimal (5000 hex) to the desired parameter number. This example

writes data to Parameter P039 - [Accel Time 1] by using an Instance of 20519 (20480 + 39).

16

Return

RET

(End)