Mitsubishi Electric FR-F820-00046 Instruction Manual page 505

Fr-f800 series
Hide thumbs Also See for FR-F820-00046:
Table of Contents

Advertisement

 Example) Write 0.5 s (H05) to 41007 (Pr.7) and 1 s (H0A) to 41008 (Pr.8) of slave address 25
(H19).
Query message
Slave
Function
address
H19
H10
(8 bits)
(8 bits)
Normal response (Response message)
Slave
Function
address
H19
H10
(8 bits)
(8 bits)
 Read holding register access log (H46 or 70)
• Queries by function codes H03 and H10 are supported. The number and start address of holding registers successfully
accessed by the previous communication are returned. "0" is returned for both the number and start address for queries
other than the function codes above.
• Query message
a. Slave address
H46
(8 bits)
(8 bits)
• Normal response (Response message)
a. Slave address
H46
(8 bits)
(8 bits)
• Query message setting
Message
a
Slave address
b
Function
• Content of normal response
Message
c
Starting address
d
No. of points
 Example) Read the successful register start address and number of successful accesses from
slave address 25 (H19).
Query message
Slave address
H19
H46
(8 bits)
(8 bits)
Normal response (Response message)
Slave address
H19
(8 bits)
The number of holding registers that were successfully accessed was returned as two with the start address 41007 (Pr.7).
 Error response
• An error response is returned if the query message received from the master contains an illegal function, address or data.
No response is returned for parity, CRC, overrun, framing, and busy errors.
504
5. PARAMETERS
5.12 (N) Communication operation parameters
Starting address
No. of registers
H03
HEE
H00
(8 bits)
(8 bits)
(8 bits)
Starting address
No. of registers
H03
HEE
H00
(8 bits)
(8 bits)
(8 bits)
b. Function
CRC check
L
(8 bits)
b. Function
c. Starting address
H
(8 bits)
Set the address to send messages to. Broadcast communication is not possible. (Invalid when "0"
is set.)
Set H46.
The start address of the holding register that was successfully accessed is returned.
Starting address = start register address (decimal) - 40001
For example, when starting address 0001 is returned, the holding register address that was
successfully accessed is 40002.
The number of holding registers that were successfully accessed is returned.
Function
CRC check
H8B
HD2
(8 bits)
(8 bits)
Function
Starting address
H10
H03
(8 bits)
(8 bits)
Byte count
H02
H04
H00
(8 bits)
(8 bits)
(8 bits)
CRC check
H02
H22
H61
(8 bits)
(8 bits)
(8 bits)
H
(8 bits)
d. No. of points
L
H
(8 bits)
(8 bits)
Description
Description
No. of points
HEE
H00
(8 bits)
(8 bits)
Data
H05
H00
H0A
(8 bits)
(8 bits)
(8 bits)
CRC check
L
L
(8 bits)
(8 bits)
H02
H22
(8 bits)
(8 bits)
CRC check
H86
H3D
(8 bits)
(8 bits)
H
(8 bits)
CRC check
H61
(8 bits)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents