Communication parameter group 07
PARAMETER DESCRIPTION 213
Message
Content
*4) Number of registers
Sets the number of registers written. The maximum number is 20.
*5) Number of data
Setting range is 2~24. Set 2 times the value specified in *4).
*6) Write data
Set data division specified in *4). Write data is set in the order of high byte to low byte. Setting is
performed in the order of starting address data, starting a1 data, starting a2 data ...
4.
Function Diagnosis (H08)
In order to send the query information, the query information (function of sub-function code H00) is returned as it is,
and communication check can be performed.
Sub-function code H00 (return of query data)
The query information
Mode
Start
Address*1) Function*2) Sub-function *3)
Data *4)
Check
End
ASCII
H3A
2char
2char
4char
4char
2char
0D 0A
RTU
>=10ms
1byte
1byte
2byte
2byte
2byte
>=10ms
Normal response
Mode
Start
Address*1) Function*2) Sub-function *3)
Data *4)
Check
End
ASCII
H3A
2char
2char
4char
4char
2char
0D 0A
RTU
>=10ms
1byte
1byte
2byte
2byte
2byte
>=10ms
Query information setting
Message
Content
*1)Address
Set the address for sending information, but be unable to broadcast communication (0 is invalid)
*2)Function code
H08
*3)Sub-function code
H0000
*4)Data
The data can be set arbitrarily if the length is 2 byte. Set range is H0000~HFFFF.
5.
Error response
If error is contained in the function/address/data received from the device, do function diagnosis;
However, when using function code H03 or H10 to access more than one address, if one or more data can still operate, it will
not be seen as an error.
Mode
Start
Address*1)
Function*2)
H80+function
Error code * 3)
Check
End
ASCII
H3A
2char
2char
2char
2char
0D 0A
RTU
>=10ms
8bit
8bit
8bit
2byte
>=10ms
Message
Content
*1) Address
Set the address for sending information
*2) Function code
Function code set by Master+H80
*3)Error code
Set code in the following table
Error code list:
Source
Code
Meaning
Remarks
Slave reply
H01
illegal function code
In query information sent by Master, the function code cannot be processed by
slave device. Function codes are not H03, H06, H08, H10 (Suppose).