Mitsubishi FX3U-232-BD User Manual page 253

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.2
WR Command [Reads Device Memory in 1-Word Units]
This section explains the control procedure specification method and specification examples when the word
device memory is read all at once or when the bit device memory is read (in 16-point units) all at once.
1. Specification method
The specification method in the control procedure format 1 is shown below:
Batch read 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 × 16" in case of bit devices) -1 ≤
Maximum device number
- When 32-bit devices (CN200 to CN255) are read, 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 13 device points in the FX
*2.
Up to 6 device points in the FX
2. Specification examples
Example 1: When reading the contents of thirty-two devices from X040 to X077 in the PLC whose station
number is 5 (while the message waiting time is set to 0 ms)
E
N
Q
Computer side
05
30
H
PLC side
0 0 0
X
0
5
7
Character area A
Head device
WR
(5 characters)
Read device range
specification
*1
(32
*2
can be specified.
and FX
1S
and FX
1S
0 5 F F W R 0
X 0 0 4 0
35
46
46
57
52
30
58
30
30
34
H
H
H
H
H
H
H
H
H
H
This range is regarded as the
sum check target.
This range is regarded as the
sum check target.
S
T
0 5 F F
1 2 3 4
X
02
31
32
30
35
46
46
H
H
H
H
H
H
1
2
3
1
0
0
1
0
0
0
1
X
X
X
X
0
0
0
0
5
5
5
4
2
1
0
7
7.2 WR Command [Reads Device Memory in 1-Word Units]
Number of device points
(2 characters (hexadecimal)
One device uses 4 characters.
Four digits (hexadecimal)
express one word data.
S
T
X
* Data on specified number of device points
(Characters of specified number of device points)
*1
in case of bit devices)
Series
0N
Series
0N
0 2 4 8
30
30
32
34
38
H
H
H
H
H
H
A
C
K
06
E
A B C D
T
0 8
X
33
34
41
42
43
44
03
30
38
H
H
H
H
H
H
H
H
H
H
4
A
1
0
1
0
0
1
0
1
0
1
X
X
X
X
X
X
0
0
0
0
0
4
4
4
4
7
3
2
1
0
7
7 Commands
A
C
K
E
*
T
X
Character area B
0 5 F F
35
46
30
46
H
H
H
H
H
B
C
D
0
1
1
1
1
0 0
1
1
0
X
X
X
X
X
X
0
0
0
0
0
0
0
7
7
7
6
6
6
6
2
1
0
7
3
2
1
A
B
C
D
E
F
G
H
I
1
X
0
6
Apx.
0
D-51

Advertisement

Table of Contents
loading

Table of Contents