Mitsubishi FX3U-232-BD User Manual page 258

Fx3u series
Hide thumbs Also See for FX3U-232-BD:
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)
Computer side
PLC side
0 0 1
M
M
6
6
5
5
5
4
Important 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.)
D-56
Head device
W W
(5 characters)
range specification
One device uses 4 characters.
Four digits (hexadecimal) express
one data word.
*1
1S
1S
E
N
0 0 F F W W 0
M 0 6 4 0
Q
30
30
46
46
57
57
30
4D
05
H
H
H
H
H
H
H
H
H
This range is regarded as the
sum check target.
2
3
4
0
0
0
1
1
0
1
0
M
6
5
3
Number of device points
(2 characters (hexadecimal)
Character area C
*
Written device
* Data on specified number of device points
(Characters of specified number of device points)
(10 in case of bit devices)
*2
can be specified.
and FX
Series
0N
and FX
Series
0N
0 2
2 3 4 7
32
33
34
37
30
36
34
30
30
32
H
H
H
H
H
H
H
H
H
7
A
0
0
1
1
1
1
0
1
0
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
7.5 WW Command [Writes Device Memory in 1-Word Units]
A
C
K
A B 9 6
0 5
41
42
39
36
30
35
H
H
H
H
H
H
H
A
C
0 0 F F
K
30
30
06
H
H
B
9
1
0
1
1
1
0
0 1
0
1
M
M
6
6
5
5
9
8
7 Commands
46
46
H
H
H
6
1
0
M
M
6
6
5
5
7
6

Advertisement

Table of Contents
loading

Table of Contents