Mitsubishi Electric 800 Series Instruction Manual page 509

Hide thumbs Also See for 800 Series:
Table of Contents

Advertisement

 Preset Multiple Registers (writing of data to multiple holding registers)
(H10 or 16)
• Data can be written to multiple holding registers.
• Query message
a. Slave
b. Function
Address
(8 bits)
H10
(8 bits)
• Normal response (Response message)
a. Slave
b. Function
Address
(8 bits)
H10
(8 bits)
• Query message setting
Message
a
Slave Address
b
Function
c
Starting Address
d
No. of registers
e
Byte Count
f
Data
• Content of normal response
With a normal response, the content is the same as a to d (including the CRC check) query messages.
 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)
508
5. PARAMETERS
5.12 (N) Operation via communication and its settings
c. Starting
d. No. of
Address
Registers
H
L
H
(8 bits)
(8 bits)
(8 bits)
c. Starting Address
H
L
H
(8 bits)
(8 bits)
(8 bits)
Set the address to send messages to. Setting "0" enables broadcast communication.
Set H10.
Set the address from which to start writing of data to the holding register.
Start address = start register address (decimal) - 40001
For example, when starting address 0001 is set, data is written to holding register
40002.
Set the number of holding registers to write to. Data can be written to up to 125
registers.
The setting range is H02 to HFA (2 to 250).
Set twice the value specified by d.
Set the amount of data specified by d. Set write data Hi bytes first followed by Lo bytes,
and arrange it as follows: data of start address, data of start address+1, data of start
address+2, and so forth.
Starting
No. of registers
Address
H03
HEE
H00
H02
(8 bits)
(8 bits)
(8 bits)
(8 bits)
Starting
No. of
Address
registers
H03
HEE
H00
H02
(8 bits)
(8 bits)
(8 bits)
(8 bits)
e. Byte
Count
L
(8 bits)
H
(8 bits)
(8 bits)
d. No. of Registers
CRC Check
L
L
(8 bits)
(8 bits)
Description
Byte Count
H04
H00
(8 bits)
(8 bits)
CRC Check
H22
H61
(8 bits)
(8 bits)
f. Data
L
...
L
(n  2  8 bits)
(8 bits)
(8 bits)
H
(8 bits)
Data
H05
H00
H0A
H86
(8 bits)
(8 bits)
(8 bits)
(8 bits)
CRC Check
H
(8 bits)
CRC Check
H3D
(8 bits)

Advertisement

Table of Contents
loading

Table of Contents