Rockwell Automation 22-COMM-C ControlNet Adapter User Manual
Page 85
Using Multi-Drive Mode
7-17
Figure 7.12 ControlLogix Drive 2 Control Subroutine (Continued)
13
Copy File
Source Drive_2_Speed_Reference
Dest
Drive_Output_Image[5]
Length
1
COP
Explicit Messaging Example
Drive 2 parameters are accessed by adding 19456 decimal (4C00 hex) to the desired parameter number. This example
reads data from Parameter d003 - [Output Current] by using an Instance of 19459 (19456 + 3).
14
Drive_2_Perform_Parameter_Read
EN
DN
ER
Type - CIP Generic
Message Control
Drive_2_Parameter_Read_Message ...
MSG
Explicit Messaging Example
Drive 2 parameters are accessed by adding 19456 decimal (4C00 hex) to the desired parameter number. This example
reads data from Parameter d003 - [Output Current] by using an Instance of 19459 (19456 + 3).
Drive 2 parameters are accessed by adding 19456 decimal (4C00 hex) to the desired parameter number. This example
writes data to Parameter P039 - [Accel Time 1] by using an Instance of 19495 (19456 + 39).
15
Drive_2_Perform_Parameter_Write
EN
DN
ER
Type - CIP Generic
Message Control
Drive_2_Parameter_Write_Message ...
MSG
Drive 2 parameters are accessed by adding 19456 decimal (4C00 hex) to the desired parameter number. This example
writes data to Parameter P039 - [Accel Time 1] by using an Instance of 19495 (19456 + 39).
16
Return
RET
(End)