Introduction
The structure
and content of the management parameter of the DATA_EXCH
block is common to both EtherNet/IP and Modbus TCP explicit messaging.
Configuring the Management Parameter
The management parameter consists of four contiguous words:
Data source |
Register |
Description |
|
---|---|---|---|
High Byte (MSB) |
Low Byte (LSB) |
||
Data managed by the system |
|
Exchange number |
Two read-only bits:
|
|
|||
Data managed by the user |
|
Block timeout. Values include:
|
|
|
Length of data sent or received:
|
Activity Bit
The activity bit is the first bit of the first element in the table. The value of this bit indicates the execution status of the communication function:
1: The bit is set to 1 when the function launches.
0: The bit returns to 0 upon the completion of the execution. (The transition from 1 to 0 increments the exchange number. If an error is detected during the execution, search for the corresponding code in the operation and communication report.)
For example, you can make this declaration in the management table:
Management_Param[0] ARRAY [0..3]
OF INT
For that declaration, the activity bit corresponds to this notation:
Management_Param[0].0
Management_Param[0].0
cannot be accessed in this manner.