Preset Multiple Registers - Mitsubishi Electric A800-E Instruction Manual

Hide thumbs Also See for A800-E:
Table of Contents

Advertisement

Preset multiple registers (writing data to multiple holding registers) (H10
or 16)
• Data can be written to multiple holding registers.
• Query message
a.
b. Protocol
Transaction
identifier
identifier
H
L
H
L
(8 bits)
(8 bits)
(8 bits)
(8 bits)
• Normal response (Response message)
a.
b. Protocol
Transaction
identifier
identifier
H
L
H
L
(8 bits)
(8 bits)
(8 bits)
(8 bits)
• Query message setting
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
• 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.
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
Transaction
Protocol
identifier
identifier
H00
H00


(8 bits)
(8 bits)

A given value is set.
Normal response (Response message)
Transaction
Protocol
identifier
identifier
H00
H00


(8 bits)
(8 bits)

The values are the same as those in the query message.
c. Length
d. Unit
e.
Function
field
identifier
H
L
H10
(8 bits)
(8 bits)
(8 bits)
(8 bits)
c. Length
d. Unit
e.
field
identifier
Function
H
L
H10
(8 bits)
(8 bits)
(8 bits)
(8 bits)
The master adds the data for the purpose of transaction control.
The same data is returned in the response from the slave.
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.
The data length from the unit identifier to the data is stored in byte.
Fixed to 255
Set H10.
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.
Set the number of holding registers for writing data. Data can be written to up to 125
registers.
The setting range is H02 to HFA (2 to 250).
Set the value set in (g) multiplied by 2.
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 address+1, data of
start address+2, and so forth.
Length
Unit
Function
field
identifier
H00
H0B
H19
H10
(8 bits)
(8 bits)
(8 bits)
(8 bits)
Length
Unit
Function
field
identifier
H00
H06
H19
H10
(8 bits)
(8 bits)
(8 bits)
(8 bits)
(N) Operation via communication and its settings
f. Starting
g. No. of
address
Points
H
L
H
L
(8 bits)
(8 bits)
(8 bits)
(8 bits)
f. Starting
g. No. of
address
Points
H
L
H
L
(8 bits)
(8 bits)
(8 bits)
(8 bits)
Description
Starting
No. of
address
points
H03
HEE
H00
H02
(8 bits)
(8 bits)
(8 bits)
(8 bits)
Starting
No. of
address
points
H03
HEE
H00
H02
(8 bits)
(8 bits)
(8 bits)
(8 bits)
h.
Byte
i. Data
count
H
L
...
(8 bits)
(n  2  8 bits)
(8 bits)
(8 bits)
Byte
Data
count
H04
H00
H05
H00
H0A
(8 bits)
(8 bits)
(8 bits)
(8 bits)
(8 bits)
PARAMETER
2
GROUP
N
45

Advertisement

Table of Contents
loading

This manual is also suitable for:

F800-e

Table of Contents