Restart Communications Option (Sub-Function Code: 01H) - Mitsubishi Electric MELSEC iQ-R Series Reference Manual

Modbus and modbus/tcp
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Restart communications option (sub-function code: 01H)

Operation description
Initializes the communication port of the receiving channel side and restarts the slave function.
Restart is performed after returning the response message corresponding to a request message.
The operation status returns to online mode when it was in the listen only mode.
The following data are cleared when executing the restart communications option.
• Data being received
• '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)
• Diagnostic counter (Page 21 Checking communication conditions using a diagnostic counter)
• ERR LED and C ERR LED OFF
• Communications event count (Page 38 Get Communications Event Counter (FC: 0BH))
*1 Clears only the receiving channel side area.
*2 Clears the errors of the channel that has received the request message.
As the errors of other channels are not cleared, the LED will not turn OFF if an error has occurred on any other channel.
Clears the the following data when "Clear setting of the communications event log" is specified with "FF00H (clear)" in the
request message.
• Communications event log (Page 39 Get Communications Event Log (FC: 0CH))
Request message format (from master to slave)
Function code
Sub-function code
08H
(0001H)
(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
*2
Data
Clear setting of
Communications event log
FF00H: Clear
0000H: Not clear
(H)
(L)
(L)
*1
3 MODBUS STANDARD FUNCTION DETAILS
3.8 Diagnostics (FC: 08H)
3
*1
23

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents