4. Configuration
85
Direct
Representation
Variable
Diagnostic variable of type
T_DIAG_MODBUS_RTU_MAPPING_1.*
Communication status bits:
Communication idle
(waiting to be executed)
Communication delayed,
because the maximum number
of concurrent requests was
reached. Deferred
communications will be carried
out in the same sequence in
which they were ordered to
avoid indeterminacy. The time
spent in this State is not counted
for the purposes of time-out. The
bCommIdle and
bCommExecuting bits are false
when the bCommPostponed bit
is true.
Communication disabled. The
bCommIdle bit is restarted in this
condition.
Communication terminated
previously was held
successfully.
Communication terminated
previously had an error. Check
error code.
Not used in MODBUS RTU
Master
Last error code (enabled when bCommError = true):
Informs the possible cause of
the last error in the MODBUS
mapping. Consult Table 4-52 for
further details.
Last exception code received by master:
NO_EXCEPTION (0)
FUNCTION_NOT_SUPPORTED
(1)
MAPPING_NOT_FOUND (2)
ILLEGAL_VALUE (3)
ACCESS_DENIED (128)*
MAPPING_DISABLED (129)*
IGNORE_FRAME (255)*
Communication statistics:
Finished communications
counter (with or without errors).
The user can test when
communication has finished
testing the variation of this
counter. When the value 65535
is reached, the counter returns
to zero.
Finished communications
counter (with errors). When the
value 65535 is reached, the
counter returns to zero.
Table 4-51. MODBUS Relations Diagnostics