Qr Command [Reads Device Memory In 1-Word Units] - Mitsubishi FX3U-USB-BD User Manual

Melsec-f fx series programmable controllers
Hide thumbs Also See for FX3U-USB-BD:
Table of Contents

Advertisement

FX Series PLC User's Manual - Data Communication Edition
Computer Link
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:
Batch read command
(unit: word)
E
N
Q
Computer side
PLC side
1) This command is available only in FX
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 (For FX
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)
E
N
Q
Computer side
05
PLC side
0 0 0
X
0
5
7
D-58
Character area A
Head device
QR
(7 characters)
Read device range
specification
3U
0 5 F F Q R 0
X 0 0 0 0
30
35
46
46
51
52
30
58
30
H
H
H
H
H
H
H
H
H
H
This range is regarded as the sum
check target.
This range is regarded as the
sum check target.
S
T
0 5 F F
X
02
30
35
46
46
H
H
H
H
H
1
2
3
1
0
0
1
0
0
0
X
X
0
0
5
4
0
7
Number of device points
(2 characters (hexadecimal)
One device uses 4 characters.
Four digits (hexadecimal)
express one data word .
S
T
X
device points
Character area B
, FX
and FX
PLCs.
3G
3U
3UC
and FX
PLCs)
3UC
4
0
0 2 A 2
30
30
30
34
30
30
32
41
32
H
H
H
H
H
H
H
H
H
E
1 2 3 4
A B C D
T
X
31
32
33
34
41
42
43
44
03
43
H
H
H
H
H
H
H
H
H
4
A
1
1
0
1
0
0
1
0
1
X
X
X
0
0
0
4
4
7
1
0
7
7.3 QR Command [Reads Device Memory in 1-Word Units]
A
C
K
Data on
E
specified
T
number of
X
A
C
0 5 F F
K
06
30
35
46
46
H
H
H
H
H
C 8
38
H
H
B
C
0
1
0
1
1
1
1
0 0
X
X
0
0
7
6
0
7
7 Commands
D
1
1
0
1
X
X
0
0
6
6
1
0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents