7 multi-drive mode explicit messaging – Rockwell Automation MD65 EtherNet/IP Communication Module User Manual

Page 85

Advertising
background image

Using Multi-Drive Mode

8-21

8.7

Multi-Drive Mode Explicit Messaging

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 module and up to five drives. The parameters in
the module and each of the drives are offset by 400 hex (1024
decimal).

Figure 8.11 – Drive 4 Control Routine (Continued)

Explicit Messaging Example

13

PerformParameterRead4

EN
DN
ER

Type - CIP Generic
Message Control

ParameterRDMessage4 ...

MSG

Explicit Messaging Example

14

PerformParameterWrite4

EN
DN
ER

Type - CIP Generic
Message Control

ParameterWRMessage4 ...

MSG

15

Return

RET

(End)

Drive 4 parameters are accessed by adding 21504 decimal (5400 hex) to the
desired parameter number. For example, to access Parameter 39 an Instance of
21543 (21504 + 39) is used.

Table 8.9 – Module Parameter Settings

Instance (Hex.)

(Dec.)

Device

Parameter

4000 - 43FF

1384 - 17407

MDCOMM-ENET

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

Advertising