Mitsubishi FX3U-232-BD User Manual page 260

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.6
QW 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) This command is available only in FX
2) Specify the device point range while satisfying the following conditions:
- 1 ≤ Number of device points ≤ 64 (10 in case of bit devices)
- Head device number + Number of device points ("Number of devices × 16" in case of bit devices) -1 ≤
Maximum device number
- When 32-bit devices (CN00200 to CN00255) are written, one device point is handled as two word data.
Accordingly, up to 32 device points can be specified.
3) Express the station number, PLC number, number of device points and sum check code in hexadecimal.
2. Specification examples
Example 1: When writing data to thirty-two devices from M640 to M671 in the PLC whose station number is
5 (while the message waiting time is set to 0 ms)
Computer side
05
PLC side
2
0 0 1
0
0
M
6
5
6
D-58
Character area C
Head device
QW
(7 characters)
Written device range
specification
One device uses 4 characters. Four digits
(hexadecimal) express one data word.
E
N
0 5 F F Q W 0
M 0 0 0 6
Q
30
35
46
46
51
57
30
4D
30
H
H
H
H
H
H
H
H
H
This range is regarded as the
sum check target.
3
4
7
0
1
1
0
1
0
0
0
1
1
M
M
M
6
6
6
4
4
4
8
7
1
Number of device points
(2 characters (hexadecimal)
Data on
specified
number of
device points
and FX
PLCs.
3U
3UC
4 0
0 2
2 3 4 7 A
30
30
36
34
30
30
32
32
33
H
H
H
H
H
H
H
H
H
H
A
B
1
1
0
1
0
1
0
1
1
M
M
M
6
6
6
4
7
6
0
1
4
7.6 QW Command [Writes Device Memory in 1-Word Units]
A
C
K
B
9 6
6 4
34
37
41
42
39
36
36
34
H
H
H
H
H
H
H
H
A
C
K
06
30
H
9
6
1
0
0 1
0
1
1
0
M
M
M
6
6
6
6
5
5
3
7
6
7 Commands
0 5 F F
35
46
46
H
H
H
H

Advertisement

Table of Contents
loading

Table of Contents