D-72
FX Series PLC User's Manual - Data Communication Edition
Computer Link
7 Commands
7.9 QT Command [Tests Device Memory in 1-Word Units (by Writing Arbitrarily)]
7.9
QT Command [Tests Device Memory in 1-Word Units (by Writing Arbitrarily)]
This section explains the control procedure specification method and shows a specification example when the
word device memory and bit device memory (in 16-point units) are specified arbitrarily and written all at once.
Word devices and bit devices (in 16-point units) can be specified together. However, the QT command cannot
handle 32-bit word devices C200 to C255 (CN00200 to CN00255).
This command is available only in FX
3S
, FX
3G
, FX
3GC
,
FX
3U
and FX
3UC
PLCs.
1. Specification method
The specification method in the control procedure format 1 is shown below:
1) Specify the device point range while satisfying the following conditions:
- 1
Number of device points
10 (in unit of 10 in case of bit devices (One unit indicates 16 points.))
2) Express the station number, PLC number, number of device points and sum check code in hexadecimal.
3) Word devices and bit devices (in 16-point units) can be specified together.
4) The QT command cannot handle 32-bit word devices C200 to C255 (CN00200 to CN00255).
2. Specification example
When writing data for setting the current value of R12000 to "1234H" and Y100 to Y117 to "BCA9H" in the
PLC whose station number is 5 (while the message waiting time is set to 0 ms)
E
N
Q
Q T
Character area A
Computer side
PLC side
Device
(7 characters)
A
C
K
N
um
ber
of
dev
ic
e poi
nt
s
(2
c
h
ar
ac
ter
s)
Data on
devices
(4 characters)
Device
(7 characters)
Data on
devices
(4 characters)
P
LC No.
Sta
tio
n
No.
Mes
sage
wai
t t
im
e
S
um check
code
P
LC No.
Sta
tio
n
No.
Command for test (by writing arbitrarily in 1-word units)
0 2
E
N
Q
0 5 F F Q T 0
This range is regarded as the sum check target.
35
H
30
H
46
H
46
H
57
H
51
H
52
H
32
H
31
H
32
H
05
H
1 0 1
1
0
1
1
0
1
1
1
0
0
0
0
1
B
C
9
A
Y
1
0
0
Y
1
0
1
Y
1
0
7
Y
1
1
7
Computer side
PLC side
R 0 1 2 0 0 0
31
H
34
H
33
H
32
H
1 2 3 4
59
H
31
H
30
H
Y 0 0 0 1 0 0
42
H
39
H
41
H
43
H
B C A 9
Y
1
1
0
A
C
K
0 5 F F
E 3
35
H
30
H
46
H
46
H
06
H
33
H
45
H
This range is regarded as the
sum check target.
30
H
30
H
30
H
30
H
30
H
30
H
30
H
30
H
30
H
30
H
Summary of Contents for FX-485ADP
Page 2: ......
Page 120: ...B 2 FX Series PLC User s Manual Data Communication Edition N N Network ...
Page 188: ...C 2 FX Series PLC User s Manual Data Communication Edition Parallel Link ...
Page 244: ...D 2 FX Series PLC User s Manual Data Communication Edition Computer Link ...
Page 344: ...E 2 FX Series PLC User s Manual Data Communication Edition Inverter Communication ...
Page 700: ...H 2 FX Series PLC User s Manual Data Communication Edition Programming Communication ...
Page 752: ...I 2 FX Series PLC User s Manual Data Communication Edition Remote Maintenance ...
Page 817: ......