The structure and content of the Management parameter of the SEND_REQ block is common to both EtherNet/IP and Modbus TCP explicit messaging.
Configuring the Management Parameter
The Management parameter consists of 4 contiguous words, described below:
Data source
|
Register
|
Description
|
High Byte (MSB)
|
Low Byte (LSB)
|
Data managed by the system
|
Management_Param[0]
|
Exchange number
|
Activity Bit (bit 0) – see below
|
Management_Param[1]
|
|
|
Data managed by the user
|
Management_Param[2]
|
Block timeout. Values include:
|
Management_Param[3]
|
Length of data sent or received:
|
Activity Bit:
This bit indicates the execution status of the communication function.
It is set to 1 when launched, and returns to 0 when its execution is complete.
It is the first bit of the first element of the table.
Example: if the management table has been declared as follows:
Management_Param[0] ARRAY [0..3] OF INT,
the activity bit is the bit with the notation Management_Param[0].0.
NOTE: The notation previously used requires configuration of the project properties in such a way as to authorize the extraction of bits on integer types. If this is not the case, Management_Param[0].0 cannot be accessed in this manner.