User`s manual
FX communication
Commands 8
8-9
8
8.6 Test of Word Device (WT command)
1 ) Command specification
Protocol format 1 is shown.
2 ) Specification example
To changing the present value of D500 to 1234H, bits Y100 to Y117 to BCA9H, and the
present value of C100 to 100 at station No.5 (with message wait time set to 0 ms).
Computer
Programmable
controller
E N Q
Station
No.
PLC No.
W T
Message
wait time
Sum check
code
Station
No.
A C K
PLC No.
Test command
(selective write,word)
Device
(5 characters)
Number of
devices
(2 characters,
hexadecimal)
Character area C
When specifying bit
devices,specify the Head
device.
Device
(4 characters)
Device
(5 characters)
Device
(4 characters)
One word device requires four hexadecimal
digits.
Therefore,one word is expressed using four
characters.
Notes
• Specify the range and number of devices (16 bit words) so as to satisfy the following
conditions.
-1
≤
number of devices
≤
10 (6 for FX
0N
)(one unit is 16 points for bit devices)
• The station number, PC (PLC) number, number of devices, and sum check code are
expressed in hexadecimal.
• C200 to C255 (CN200 to CN255) which are 32-bit devices cannot be handled in this
command.
Computer
Programmable
controller
E
N
Q
35H30H
0 5
46H46H
F F
54H57H
W T
30H
0
33H30H
0 3
05H
A
C
K
30H30H
0 5
46H46H
F F
06H
44H 30H35H30H
30H 31H
D 0 5 0 0
37H30H
0 7
32H 34H33H
1 2 3 4
The sum check is calculated over this range
59H 30H31H30H 30H 42H
Y 0 1 0 0
43H 39H41H
B C A 9
43H 30H31H4EH 30H 30H
C N 1 0 0
30H 34H36H
0 0 6 4
Indicates to change the
contents of D500 to
1234H or 4660 in
decimal.
10110110111 00001
BC 9A
Y
1
0
6
Y
1
0
7
Y
1
1
0
Y
1
1
1
Y
1
1
2
Y
1
1
3
Y
1
1
4
Y
1
1
5
Y
1
1
6
Y
1
1
7
Indicates to change the
present value of C100 to
64H or 100 in decimal.
Y
1
0
0
Y
1
0
1
Y
1
0
2
Y
1
0
3
Y
1
0
4
Y
1
0
5
Each bit 0/1 indicates reset (OFF) or set (ON) respectivly.