Download Print this page

Mitsubishi MELSEC Q Series Reference Manual page 406

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

Advertisement

(2) Reading the word device memory
When using WR (ACPU common command)
When using QR (AnA/AnUCPU common command) : 7 characters
(Data name)
External device
side
(Example)
Q
51
52
H
(Data name)
Programmable controller CPU side
(Example)
5 - 27
REMARKS
When specifying bit devices, set the head device numbers in multiples of 16 (in
decimal, 0, 16 ...).
Head device
R
0
T
N
0
0
1
30
54
4E
30
30
31
H
H
H
H
H
H
H
Character area A
(Designates the range of the devices to be read)
POINT
(1) When reading the word device memory, 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
(2) The WR and QR commands are in word units. When reading the current value
from T123 to T124, the number of device point designated is "02" (1 point is
designated as 1).
5 WHEN COMMUNICATING USING THE A COMPATIBLE 1C FRAMES
: 5 characters (in the following case, TN123 is designated)
Number of points to be read
Number of
device points
2 characters
(hexadecimal)
Four characters are used for one device point.
H
L
Thus, one word data is expressed by a 4-digit
value (hexadecimal).
2
3
0
2
32
33
30
32
H
H
H
H
7
37
Indicate the current value of T123, 7BC9
Indicate the current value of T124, 1234
Head device
B
C
9
1
2
3
42
43
39
31
32
33
H
H
H
H
H
H
H
Character area B
hexadecimal (31689 decimal)
H
hexadecimal (4660 decimal)
H
(Data read)
The order of data items is the same
as when using both the WR and QR
commands.
4
34
H
5 - 27

Hide quick links:

Advertisement

loading