Parameter Description
Parameters
86
Message
Content
1) Address
Set up the address for the to-be delivered message; 0 for invalid.
2) Function code
H10
3) Starting address
Set up the starting address of the register to be engaged in the write-in function.
4) Number of register Set up the number of register for reading. Maximum number: 12.
5) Amount of data
The range should be between 2 and 24. Set Twice the amount of *4).
Write-in data
Set the assigned data in *4), write the data according to the sequence of the Hi
byte and the Lo byte and the data of the starting address: According to the order
of the data of the starting a1, data of the starting a2…, etc.
(4). Function Diagnosis (H08)
By sending query information
and getting the same query information back (the function of
the subroutine code H00), it can do communication calibration.
The subroutine code H00 (for inquiring the return of data)
The query information
Mode
Start
Address *1)
Function *2) Subroutine *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)
Subroutine
*3)
Data
*4)
Check
End
ASCII
H3A
2char
2char
4char
4char
2char
0D 0A
RTU
>=10ms
1byte
1byte
2byte
2byte
2byte
>=10ms
Setting of the query information
Information
Content
*1) Address
Set the address for the information to be sent to, not able to radio
communications(0 invalid)
*2)Function code
H08
*3) Subroutine code
H0000
*4) Data
If the data is 2 byte, it can be set arbitrarily. Set range from H0000 to HFFFF.
(5). Error response
Carry out error response according to the error in the function, address and data of the query
message received by the equipment.
There will be no errors if one or more addresses can be operated when they are accessed
by the function code H03 or H10.