Management Parameters: Communication and Operation Reports
(Original Document)
At a Glance
Communication and operation reports are part of the management parameters.
NOTE: It is recommended that you always test communication function reports as soon as their execution is complete and before they are re-activated. On a cold restart, you must under all circumstances check that all the management parameters of the communication functions have been reset to 0.
Communication Report
This report is common to all functions. It is significant when the activity bit changes from 1 to 0.
Reports whose value is between 16#01 and 16#FE concern errors detected by the processor which executed the function.
The different values of this report are indicated in the following table:
Value
Communication Report (Least Significant Byte)
16#00
Exchange successful
16#01
Exchange stopped on timeout
NOTE: : When a Modbus M340 CPU sends a MODBUS BROADCAST request, we obtain this error code despite the broadcast is well done.
16#05
Incorrect management parameter format
16#06
Incorrect specific parameters
16#07
Network module missing or incorrect address
16#0B
No system resources: the number of simultaneous communication EFs exceeds the maximum that can be managed by the processor
16#0E
Incorrect send length
16#FF
Message refused
NOTE: OK value returned when a TSX SCP ••• / TSX SCY ••• sends a MODBUS BROADCAST request
NOTE: The function can detect an error in the parameters before activating the exchange. In this case, the activity bit remains at 0 and the report is initialized with the values corresponding to the fault.
Operation Report
This report byte describes the result of interaction of the function with the TCP/IP stack of the network module.
It is significant only if the communication report has the following values:
If this report has a value equal to 16#00, the operation report is specific to each function. It is described in the chapters devoted to these functions.
If the communication report has the value 16#FF, the operation report has the following values:
Value
Operation Report (Most Significant Byte)
16#0B
No system resources: the number of simultaneous communication EFs exceeds the maximum that can be managed by the processor
16#0C
Network module not running