Ww Command [Writes Device Memory In 1-Word Units] - Mitsubishi Electric FX3U-232-BD User Manual

Melsec-f fx series programmable controllers data communication edition
Table of Contents

Advertisement

FX Series PLC User's Manual - Data Communication Edition
Computer Link
7.5

WW Command [Writes Device Memory in 1-Word Units]

This section explains the control procedure specification method and shows a specification examples when
the word device memory is written all at once or when the bit device memory is written (in 16-point units) all at
once.
1. Specification method
The specification method in the control procedure format 1 is shown below:
Batch write command (unit: word)
E
N
Q
Computer side
PLC side
1) Specify the device point range while satisfying the following conditions:
- 1  Number of device points  64
- Head device number + Number of device points ("Number of devices x 16" in case of bit devices) -1 
Maximum device number
- When 32-bit devices (CN200 to CN255) are written, one device point is handled as two word data.
Accordingly, up to 32 device points
2) Express the station number, PLC number, number of device points and sum check code in hexadecimal.
*1.
Up to 11 device points in the FX
*2.
Up to 5 device points in the FX
2. Specification examples
Example 1: When writing data to thirty-two devices from M640 to M671 in the PLC whose station number is
0 (while the message waiting time is set to 0 ms)
E
N
Q
Computer side
05
PLC side
2
0 0 1
M
M
M
6
6
6
5
5
5
5
4
3
Point
The WW command handles data in 1-word units. When writing data to thirty-two devices from M640 to M671,
specify the number of device points as "02" (One point specifies 16 devices.)
Character area C
Head device
W W
(5 characters)
Written device
range specification
One device uses 4 characters.
Four digits (hexadecimal) express
one data word.
* Data on specified number of device points
(Characters of specified number of device points)
*1
(10 in case of bit devices)
*2
can be specified.
and FX
0N
and FX
0N
0 0 F F W W 0
M 0 6 4 0
30
30
46
46
57
57
30
4D
30
36
H
H
H
H
H
H
H
H
H
H
This range is regarded as the
sum check target.
3
4
0
0
0
1
1
0
1
0
0
0
M
6
4
3
7.5 WW Command [Writes Device Memory in 1-Word Units]
Number of device points
(2 characters (hexadecimal)
*
Series
1S
Series
1S
0 2
2 3 4 7
A B 9 6
34
30
30
32
32
33
34
37
41
42
H
H
H
H
H
H
H
H
H
H
7
A
B
1
1
1
1
0
1
0
1
0
1
M
M
M
M
M
M
6
6
6
6
6
6
4
4
4
7
7
6
2
1
0
1
0
9
7 Commands
A
C
K
0 5
39
36
30
35
H
H
H
H
H
A
C
0 0 F F
K
30
30
46
46
06
H
H
H
H
H
9
6
1
1
0
0 1
0
1
1
0
M
M
M
M
6
6
6
6
5
5
5
5
9
8
7
6
A
B
C
D
E
F
G
H
I
Apx.A
D-65

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents