7.7 Operation commands (Communication/Modbus)
7-15
Communication
(Modbus)
Response frame
Response codes
Command/response example
Operation command to channel 2 (client address: H'01)
Channel 2 operation command
Address : H'0000
Written data: H'0111 (Stop command to channel 2)
Data name Explanation
Client address The value from the command frame appears here.
Function code
This is the received function code.
In an error response frame, "H'80" is added to the
received function code to indicate that it is an error
response.
Example: Received function code = H'06
Function code in error response frame = H'86
Beginning
address of write
Beginning address of write that was received.
Written data Received operation command data.
CRC-16
This is a check code calculated from the client address
to the data end. For the calculation method, see "7.2
Frames ■ Command frame ● Example of CRC-16 cal-
culation" (P.7-4).
Response
H’06 H’00 H’00
Slave
address
Function
mode
Write start
address Write data
CRC-16
2 bytes2211
Function
code
Error
code
Error name Cause
H'86
H'02 Variable address error The variable address is not H'0000.
H'03 Variable data error
Error in written data.
• Incorrect command code or related informa-
tion.
H'04 Operation error
The operation state does not permit writing.
• Write via communication is OFF (disabled).
Note that the command is received regardless
of write via communication ON/OFF.
• Cannot process.
See explanation of commands in "7.9 Com-
mands and responses (Communication/Mod-
bus)" (P.7-17).
Unit error, unit change, display unit error, non-
volatile memory error
H'06 − Normal end No error
Command:
Response:
01
01
06
06
00 00
00 00
01 11
01 11
(CRC-16)
(CRC-16)