Download Print this page

Batch Reading Of The Extension File Register (Command: Er) - Mitsubishi MELSEC Q Series Reference Manual

With melsec communication protocol
Hide thumbs Also See for MELSEC Q Series:

Advertisement

5.3.4 Batch reading of the extension file register (command: ER)

[Control procedure]
ER (ACPU common command)
(Data name)
External device
side
E
(Example)
45
(Data name)
Programmable controller CPU side
(Example)
5 - 41
The example shown in this section explain the control procedure for batch reading from
the extension file register using the ER command.
The order and contents of data items for the parts marked with " " shown in the
control procedure differ depending on the communication format.
Refer to a detailed explanation in Section 5.1.
(Read conditions)
1)
Message wait is 0 ms.
2) Read 2 points from R8190 and R8191 of block No. 12
Head device No.
(7 characters)
R
0
1
2
R
8
52
30
31
32
52
38
H
H
H
H
H
H
H
Character area A
(Designates the range of the devices to be read)
POINT
Designate the number of device points within the following range:
• 1  number of device points 64
• Head device number + number of device points - 1 maximum device number
5 WHEN COMMUNICATING USING THE A COMPATIBLE 1C FRAMES
Number of points to be read
Number of
device points
2 characters
(hexadecimal)
H
L
1
9
0
0
2
31
39
30
30
32
H
H
H
H
H
Indicates the content of R8190 in block No. 12 is 1234
Indicates the content of R8191 in block No. 12 is 7ABC
(Data read)
Four characters are used for one device point.
Thus, one word data is expressed by a 4-digit
value (hexadecimal).
Data for the number of
designed device points
Number of device points
 4 characters
1
2
3
4
7
A
B
31
32
33
34
37
41
42
H
H
H
H
H
H
H
Character area B
(4660 decimal).
H
H
C
43
H
(31420 decimal).
5 - 41

Hide quick links:

Advertisement

loading