Download MODBUS(R) Interface Module User`s Manual

Transcript
4
MODBUS(R) STANDARD FUNCTIONS
(1) Request message format (Master
Function code
Function
code
(08H)
Slave)
Sub-function code
Sub-function code
(0001H)
Data
Clear setting of
Communications event log
0000H: Not clear
FF00H: Clear
(H)
(L)
(H)
(L)
Figure 4.30 Restart communications option (Request message)
(2) Response message format (Slave
Master)
(When completed normally)
The slave returns the request message received from the master without change.
However, if a request message is received during listen only mode, the status will only
return to online mode and no response message will be returned.
(When completed with an error)
Function code
Function
code
(88H)
Data
Exception
code*1
Figure 4.31 Restart communications option (Exception message)
* 1 Exception and error codes are stored in the buffer memory in the case of error completion.
Refer to the following for storage location, confirmation methods, and detailed contents.
Section 11.4
4 - 27
4.11 Diagnostics (FC:08)
4.11.2 Restart communications option (sub-function code: 01)