Clear counters and diagnostic register (sub-function code: 0AH)
Operation description
Clears counters (e.g. message count).
Also, clears the diagnostic register and the error of the channel where the request message has been received.
The following counters will be cleared.
• Diagnostic counter (Page 21 Checking communication conditions using a diagnostic counter)
• Communications event count (Page 38 Get Communications Event Counter (FC: 0BH))
The following diagnostic resisters will be cleared.
• 'CH1/2 side LED lighting status and communication error status' of the buffer memory (Un\G513/Un\G514)
• 'CH1/2 side exception code storage area' of the buffer memory (Un\G28674/Un\G28676)
*1 Clears only the receiving channel side area.
Request message format (from master to slave)
Function code
Sub-function code
08H
(000AH)
(H)
Response message format (from slave to master)
■ When completed successfully
The slave returns the request message received from the master as-is.
■ When completed with an error
Function code
Data
Exception code
88H
Data
(0000H)
(L)
(H)
(L)
*1
3 MODBUS STANDARD FUNCTION DETAILS
3.8 Diagnostics (FC: 08H)
3
*1
27