Mitsubishi Electric FR-F740 EC Instruction Manual page 448

Fr-f700 series
Table of Contents

Advertisement

Communication operation and setting
● Write multiple holding register data (H10 or 16)
You can write data to multiple holding registers.
Query message
Slave
Address
(8 Bits)
Normal response (Response message)
Slave
Address
(8 bits)
Message
Slave Address
Function
Starting Address
No. of Points
Byte Count
Data
Tab. 6-81:
The normal response data
as those of the query message.
Example
To write 0.5s (H05) to 41007 (Pr. 7) at the slave address 25 (H19) and 1s (H0A) to 41008
(Pr. 8).
Query message
Slave
Address
H19
(8 bits)
Normal response (Response message)
Slave
Address
H19
(8 bits)
6 - 298
Func-
Starting
tion
Address
H10
H
L
(8 Bits)
(8 Bits)
(8 Bits)
(8 Bits)
Function
Starting Address
H10
H
(8 bits)
(8 bits)
Description
Set the address to which the message will be sent. Setting of address 0
enables broadcast communication.
Set H10.
Set the address where holding register data write will be started.
Starting address = starting register address (decimal) − 40001
For example, setting of the starting address 0001 reads the data of the
holding register 40002.
Set the number of holding registers where data will be written. The number
of registers where data can be written is a maximum of 125.
The setting range is H02 to HFA (0 to 250).
Set twice greater than the value specified at
Set the data specified by the number specified at
set in order of Hi byte and Lo byte, and arranged in order of the starting
address data, starting address + 1 data, starting address + 2 data ...
Description of the query message
to
(including CRC check) of the normal response are the same
Starting
Function
Address
H10
H03
HEE
H00
(8 bits)
(8 bits)
(8 bits)
(8 bits)
Starting
Function
Address
H10
H03
HEE
H00
(8 bits)
(8 bits)
(8 bits)
(8 bits)
No. of
Byte
Registers
Count
H
L
L
H
(8 Bits)
(8 Bits)
(8 Bits)
No. of Registers
L
H
(8 bits)
(8 bits)
No. of
Byte
Registers
Count
H02
H04
H00
(8 bits)
(8 bits)
(8 bits)
No. of
Byte
CRC Check
Registers
Count
H02
H04
H22
(8 bits)
(8 bits)
(8 bits)
Parameter
CRC Check
Data
L
...
L
n × 2 × 8 Bits
(8 Bits)
(8 Bits)
CRC Check
L
L
(8 bits)
(8 bits)
.
. The written data are
CRC Check
Data
H05
H00
H0A
H86
(8 bits)
(8 bits)
(8 bits)
(8 bits)
H61
(8 bits)
H
(8 Bits)
H
(8 bits)
H3D
(8 bits)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fr-f746 ec

Table of Contents