210
Communication operation and setting
Description of normal response
1) to 4) (including CRC check) of the normal response are the same as those of the query message.
Read holding register access log (H46 or 70)
A response can be made to a query made by the function code H03 or H10.
The starting address of the holding registers that succeeded in access during previous communication and the
number of successful registers are returned.
In response to the query for other than the above function code, 0 is returned for the address and number of
registers.
Query message
Normal response (Response message)
Query message setting
Description of normal response
Example: To write 0.5s (H05) to 41007
(Pr. 7)
at the slave address 25 (H19) and 1s (H0A) to 41008
(Pr. 8)
.
1) Slave Address
2) Function
CRC Check
(8 bits)
H46
(8 bits)
L
(8 bits)
H
(8 bits)
1) Slave Address
2) Function
3) Starting Address
4) No. of Points
CRC Check
(8 bits)
H46
(8 bits)
H
(8 bits)
L
(8 bits)
H
(8 bits)
L
(8 bits)
L
(8 bits)
H
(8 bits)
Message
Setting Description
1) Slave Address
Address to which the message will be sent
Broadcast communication cannot be made (0 is invalid).
2) Function
Set H46.
Message
Setting Description
3) Starting Address
The starting address of the holding registers that succeeded in access is returned.
Starting address = Starting register address (decimal)-40001
For example, when the starting address 0001 is returned, the address of the
holding register that succeeded in access is 40002.
4) No. of Points
The number of holding registers that succeeded in access is returned.
Example: To read the successful register starting address and successful count from the slave address 25 (H19).
Query message
Normal response (Response message)
Slave
Address
Function
Starting
Address
No. of
Registers
Byte
Count
Data
CRC Check
H19
(8 bits)
H10
(8 bits)
H03
(8 bits)
HEE
(8 bits)
H00
(8 bits)
H02
(8 bits)
H04
(8 bits)
H00
(8 bits)
H05
(8 bits)
H00
(8 bits)
H0A
(8 bits)
H86
(8 bits)
H3D
(8 bits)
Slave
Address
Function
Starting
Address
No. of
Registers
CRC Check
H19
(8 bits)
H10
(8 bits)
H03
(8 bits)
HEE
(8 bits)
H00
(8 bits)
H02
(8 bits)
H22
(8 bits)
H61
(8 bits)
Query message
Normal response (Response message)
Success of two registers at starting address 41007
(Pr. 7)
is returned.
Slave Address
Function
CRC Check
H19
(8 bits)
H46
(8 bits)
H8B
(8 bits)
HD2
(8 bits)
Slave Address
Function
Starting Address
No. of Points
CRC Check
H19
(8 bits)
H10
(8 bits)
H03
(8 bits)
HEE
(8 bits)
H00
(8 bits)
H02
(8 bits)
H22
(8 bits)
H61
(8 bits)
Содержание FR-D720-0.2K-G
Страница 45: ...34 MEMO ...
Страница 293: ...290 MEMO ...
Страница 294: ...291 APPENDIX This chapter provides the APPENDIX of this product Always read the instructions before using the equipment ...