Batch Write Of Word Device (Ww 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.4

Batch Write of Word Device (WW command)

1 ) Command specification
Protocol format 1 is shown
Computer
Programmable
controller
Notes
• Specify the range and number of devices (16 bit words) so as to satisfy the following
conditions.
- 1
- Head device No. + number of devices (number of devices
device) -1
• The station number, PC (PLC) number, number of devices, and sum check code are
expressed in hexadecimal.
2 ) Specification examples
a ) Example 1
To write to 32 points from M640 to M671 at station No.0 (with message wait time set to
0 ms).
Computer
Programmable
controller
0 0 1
M
6
5
5
Notes
• Command WW uses word units. When writing 32 points, the number of devices is
specified by "02" (16 points (bits) per one word unit).
Batch write Command (words)
Specifies the range of devices to be read.
One word device requires four hexadecimal digits.
Therefore,one word is expressed using four
characters.
number of devices
max. device No.
E
N
0 0
F F
W W
0
Q
30H
30H
46H
46H
57H
57H
30H
05H
The sum check is calculated
over this range
1
2
0
0
0
1
1
0
1
M
M
6
6
5
5
4
3
Character area C
Head device
Number of
devices
(5 characters)
(2 characters,
hexadecimal)
64 (10 words in the case of bit devices)
M 0 6 4 0
0 2
2 3 4 7
32H
33H
4DH
30H
36H
34H
30H
30H
32H
3
7
A
0
0
0
1
1
1
1
0
1
M
M
M
M
M
M
M
6
6
6
6
6
6
6
4
4
4
4
7
7
6
3
2
1
0
1
0
9
Data of
the
specified
devices
×
16 in the case of bit
A B 9 6
0 5
34H
37H
41H
42H
39H
36H
30H
35H
A
C
K
06H
B
9
0
1
0
1
1
1
0
0 1
Commands 8
0 5
F F
30H
30H
46H
46H
6
0
1
1
0
M
M
M
M
6
6
6
6
5
5
5
5
9
8
7
6
8-6

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rs-232cRs-422Rs-485

Table of Contents