Controllogix explicit messaging, Drive 0 explicit message example, Controllogix explicit messaging -22 – Rockwell Automation 22-COMM-C ControlNet Adapter User Manual
Page 90
7-22
Using Multi-Drive Mode
Parameter addressing for Explicit messaging is different in Multi-Drive
than with Single mode. In Single mode, the Instance value in the
message equals the desired parameter number in the drive. In
Multi-Drive mode, an Instance table is used to account for the
parameters in the adapter and up to 5 drives. The parameters in the
adapter and each of the drives are offset by 400 hex (1024 decimal):
Explicit messages for Drive 0 through Drive 4 are identical except for
the Instance values. The following PowerFlex 4-Class drive parameters
used for the explicit message example in this section show the different
Instance values required for each drive:
Parameter d003 - [Output Current]
Drive 0 Instance = 17411 (17408 + 3)
Drive 1 Instance = 18435 (18432 + 3)
Drive 2 Instance = 19459 (19456 + 3)
Drive 3 Instance = 20483 (20480 + 3)
Drive 4 Instance = 21507 (21504 + 3)
Parameter P039 - [Accel Time 1]
Drive 0 Instance = 17447 (17408 + 39)
Drive 1 Instance = 18471 (18432 + 39)
Drive 2 Instance = 19495 (19456 + 39)
Drive 3 Instance = 20519 (20480 + 39)
Drive 4 Instance = 21543 (21504 + 39)
Drive 0 Explicit Message Example
The Explicit message examples in the ControlLogix example program
(
) perform a read (Get_Attribute_Single) of parameter d003 -
[Output Current] and a write (Set_Attribute_Single) to parameter P039 -
[Accel Time 1] for PowerFlex 4-Class drives. The configuration for the
read is shown in
and the write is shown in
ControlLogix Explicit Messaging
Instance (Hex.)
(Dec.)
Device
Parameter
4000 - 43FF
16384 - 17407
22-COMM-C
0 - 1023
4400 - 47FF
17408 - 18431
Drive 0
0 - 1023
4800 - 4BFF
18432 - 19455
Drive 1
0 - 1023
4C00 - 4FFF
19456 - 20479
Drive 2
0 - 1023
5000 - 53FF
20480 - 21503
Drive 3
0 - 1023
5400 - 57FF
21504 - 22527
Drive 4
0 - 1023