![Mitsubishi Electric A800-E Скачать руководство пользователя страница 46](http://html.mh-extra.com/html/mitsubishi-electric/a800-e/a800-e_instruction-manual_239734046.webp)
(N) Operation via communication and its settings
45
2
GROUP
N
Preset multiple registers (writing data to multiple holding registers) (H10
or 16)
• Data can be written to multiple holding registers.
• Query message
• Normal response (Response message)
• Query message setting
• Content of normal response
With a normal response, the contents in the response are the same as those in (a) to (g) of the query message.
a.
Transaction
identifier
b. Protocol
identifier
c. Length
field
d. Unit
identifier
e.
Function
f. Starting
address
g. No. of
Points
h.
Byte
count
i. Data
H
(8 bits)
L
(8 bits)
H
(8 bits)
L
(8 bits)
H
(8 bits)
L
(8 bits)
(8 bits)
H10
(8 bits)
H
(8 bits)
L
(8 bits)
H
(8 bits)
L
(8 bits)
(8 bits)
H
(8 bits)
L
(8 bits)
...
(n
2
8 bits)
a.
Transaction
identifier
b. Protocol
identifier
c. Length
field
d. Unit
identifier
e.
Function
f. Starting
address
g. No. of
Points
H
(8 bits)
L
(8 bits)
H
(8 bits)
L
(8 bits)
H
(8 bits)
L
(8 bits)
(8 bits)
H10
(8 bits)
H
(8 bits)
L
(8 bits)
H
(8 bits)
L
(8 bits)
Message
Description
a
Transaction identifier
The master adds the data for the purpose of transaction control.
The same data is returned in the response from the slave.
b
Protocol identifier
Fixed to 0. (When the slave receives data other than 0, it does not send the response
message.)
0 is returned in the response from the slave.
c
Length field
The data length from the unit identifier to the data is stored in byte.
d
Unit identifier
Fixed to 255
e
Function
Set H10.
f
Starting address
Set the holding register address from which to start writing the data.
Starting address = start register address (decimal) - 40001
For example, when start register address 0001 is set, the data of holding register address
40002 is read.
g
No. of Points
Set the number of holding registers for writing data. Data can be written to up to 125
registers.
h
Byte count
The setting range is H02 to HFA (2 to 250).
Set the value set in (g) multiplied by 2.
i
Data
The amount of data specified by (g) is set. Write data is output Hi bytes first followed by Lo
bytes, and is arranged as follows: data of start address, data of start 1, data of
start 2, and so forth.
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
A given value is set.
Normal response (Response message)
The values are the same as those in the query message.
Transaction
identifier
Protocol
identifier
Length
field
Unit
identifier
Function
Starting
address
No. of
points
Byte
count
Data
H00
(8 bits)
H00
(8 bits)
H00
(8 bits)
H0B
(8 bits)
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)
Transaction
identifier
Protocol
identifier
Length
field
Unit
identifier
Function
Starting
address
No. of
points
H00
(8 bits)
H00
(8 bits)
H00
(8 bits)
H06
(8 bits)
H19
(8 bits)
H10
(8 bits)
H03
(8 bits)
HEE
(8 bits)
H00
(8 bits)
H02
(8 bits)