Mitsubishi Electronics FR-D740-012 Marine Battery User Manual


 
207
Communication operation and setting
4
PARAMETERS
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
(8bit)
H46
(8bit)
L
(8bit)
H
(8bit)
1) Slave Address 2) Function 3) Starting Address 4) No. of Points CRC Check
(8bit)
H46
(8bit)
H
(8bit)
L
(8bit)
H
(8bit)
L
(8bit)
L
(8bit)
H
(8bit)
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 Points
Byte
Count
Data CRC Check
H19
(8bit)
H10
(8bit)
H03
(8bit)
HEE
(8bit)
H00
(8bit)
H02
(8bit)
H04
(8bit)
H00
(8bit)
H05
(8bit)
H00
(8bit)
H0A
(8bit)
H86
(8bit)
H3D
(8bit)
Slave
Address
Function
Starting
Address
No. of Points CRC Check
H19
(8bit)
H10
(8bit)
H03
(8bit)
HEE
(8bit)
H00
(8bit)
H02
(8bit)
H22
(8bit)
H61
(8bit)
Query message
Normal response (Response message)
Success of two registers at starting address 41007 (Pr. 7) is returned.
Slave Address Function CRC Check
H19
(8bit)
H46
(8bit)
H8B
(8bit)
HD2
(8bit)
Slave Address Function Starting Address No. of Points CRC Check
H19
(8bit)
H10
(8bit)
H03
(8bit)
HEE
(8bit)
H00
(8bit)
H02
(8bit)
H22
(8bit)
H61
(8bit)