Test Of Word Device (Wt Command) - Mitsubishi Electric MELSEC FX Series User Manual

Programmable logic controllers
Hide thumbs Also See for MELSEC FX Series:
Table of Contents

Advertisement

FX communication
8.6

Test of Word Device (WT command)

1 ) Command specification
Protocol format 1 is shown.
Test command
(selective write,word)
Computer
Programmable
controller
Notes
• Specify the range and number of devices (16 bit words) so as to satisfy the following
conditions.
- 1
• 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.
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).
E
N
0 5
F F
Q
Computer
30H
35H
46H
05H
Programmable
controller
Indicates to change the
contents of D500 to
1234H or 4660 in
decimal.
Number of
devices
(2 characters,
hexadecimal)
When specifying bit
devices,specify the Head
device.
number of devices
The sum check is calculated over this range
W T
0
0 3
D 0 5 0 0
46H
57H
54H
30H
30H
33H
44H
30H
35H
30H
30H 31H
1 0 1
Y
1
1
7
Each bit 0/1 indicates reset (OFF) or set (ON) respectivly.
Character area C
Device
Device
(5 characters)
(4 characters)
One word device requires four hexadecimal
digits.
Therefore,one word is expressed using four
characters.
10 (6 for FX
)(one unit is 16 points for bit devices)
0N
1 2 3 4
Y 0 1 0 0
B C A 9
32H
33H
34H
59H
30H
31H
30H
30H 42H
43H
41H
B
C
A
1
1
1
0
0
1
0
1
0
1
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
6
5
4
3
2
1
0
7
6
5
4
3
Device
Device
(5 characters)
(4 characters)
C N 1 0 0
0 0 6 4
0 7
39H
43H
4EH
31H
30H
30H 30H
30H
36H
34H
30H
37H
9
Indicates to change the
0
0
1
present value of C100 to
Y
Y
Y
64H or 100 in decimal.
1
1
1
0
0
0
2
1
0
Commands 8
8
A
C
0 5
F F
K
30H
30H
46H
46H
06H
8-9

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rs-232cRs-422Rs-485

Table of Contents