beautypg.com

Rockwell Automation 22-COMM-C ControlNet Adapter User Manual

Page 83

background image

Using Multi-Drive Mode

7-15

Figure 7.11 ControlLogix Drive 1 Control Subroutine (Continued)

13

Copy File

Source Drive_1_Speed_Reference

Dest

Drive_Output_Image[3]

Length

1

COP

Explicit Messaging Example

Drive 1 parameters are accessed by adding 18432 decimal (4800 hex) to the desired parameter number. This example

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

14

Drive_1_Perform_Parameter_Read

EN

DN

ER

Type - CIP Generic

Message Control

Drive_1_Parameter_Read_Message ...

MSG

Explicit Messaging Example

Drive 1 parameters are accessed by adding 18432 decimal (4800 hex) to the desired parameter number. This example

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

Drive 1 parameters are accessed by adding 18432 decimal (4800 hex) to the desired parameter number. This example

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

15

Drive_1_Perform_Parameter_Write

EN

DN

ER

Type - CIP Generic

Message Control

Drive_1_Parameter_Write_Message ...

MSG

Drive 1 parameters are accessed by adding 18432 decimal (4800 hex) to the desired parameter number. This example

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

16

Return

RET

(End)