D-53
FX Series PLC User's Manual - Data Communication Edition
Computer Link
7 Commands
7.3 QR Command [Reads Device Memory in 1-Word Units]
A
Common Items
B
N:N Network
C
Parallel Link
D
Computer Link
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX
2N
-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
7.3 QR Command [Reads Device Memory in 1-Word Units]
This section explains the control procedure specification method and specification examples when the word
device memory is read all at once or when the bit device memory is read (in 16-point units) all at once.
1. Specification method
The specification method in the control procedure format 1 is shown below:
1) This command is available only in FX
3U and FX3UC PLCs.
2) Specify the device point range while satisfying the following conditions:
-1 ≤ Number of device points ≤ 64 (32 for bit devices)
- Head device number + Number of device points ("Number of devices × 16" for bit devices) -1 ≤
Maximum device number
- When 32-bit devices (CN00200 to CN00255) are read, one device point is handled as two word data.
Accordingly, up to 32 device points can be specified.
3) Express the station number, PLC number, number of device points and sum check code in hexadecimal.
2. Specification examples
Example 1: When reading the contents of thirty-two devices from X040 to X077 in the PLC whose station
number is 5 (while the message waiting time is set to 0 ms)
Computer side
PLC side
E
N
Q
S
T
X
E
T
X
QR
Head device
(7 characters)
Data on
specified
number of
device points
A
C
K
Character area A
One device uses 4 characters.
Four digits (hexadecimal)
express one data word .
Number of device points
(2 characters (hexadecimal)
Batch read command
(unit: word)
Character area B
Read device range
specification
Station
No.
PLC No.
Sum check
code
Message
wait time
Station
No.
PLC No.
Station
No.
PLC No.
Sum check
code
A
C
K
0 5 F F
E
T
X
C 8
S
T
X
0 5 F F 1 2 3 4 A B C D
0 2 A 2
E
N
Q
0 5 F F Q R 0
This range is regarded as the sum
check target.
This range is regarded as the
sum check target.
35
H
30
H
46
H
46
H
52
H
51
H
30
H
58
H
30
H
30
H
30
H
30
H
32
H
30
H
32
H
41
H
05
H
35
H
30
H
46
H
46
H
02
H
38
H
43
H
03
H
35
H
30
H
46
H
46
H
06
H
31
H
34
H
33
H
32
H
41
H
44
H
43
H
42
H
0 0 0 0101010001 1111100101010 0 0111 0
X
0
6
0
12 DCBA43
X
0
6
1
X
0
6
7
X
0
7
0
X
0
7
7
X
0
4
0
X
0
4
1
X
0
4
7
X
0
5
0
X
0
5
7
Computer side
PLC side
X0000
34
H
4
30
H
0