Mitsubishi FX3U-232-BD User Manual page 257

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.4
BW Command [Writes Device Memory in 1-Bit Units]
This section explains the control procedure specification method and shows a specification example when the
bit device memory is written all at once.
1. Specification method
The specification method in the control procedure format 1 is shown below:
Batch write command (unit: bit)
E
N
Q
Computer side
PLC side
1) Specify the device point range while satisfying the following conditions:
- 1 ≤ Number of device points ≤ 160
- Head device number + Number of device points -1 ≤ Maximum device number
2) Express the station number, PLC number, number of device points and sum check code in hexadecimal
respectively.
*1.
46 in the FX
2. Specification example
When writing data to five devices from M903 to M907 in the PLC whose station number is 0 (while the
message waiting time is set to 0 ms)
E
N
Q
Computer side
05
30
H
PLC side
Head device
BW
(5 characters)
Written device range
specification
"0 (30H)" indicates the OFF status.
"1 (31H)" indicates the ON status.
* Data on specified number of device points
(Characters of specified number of device points)
*1
and FX
Series
1S
0N
This range is regarded as the sum check target.
0 0 F F B W 0
M 0 9 0 3
30
46
46
42
57
30
4D
30
39
30
H
H
H
H
H
H
H
H
H
H
Specifies to turn M903 OFF.
Specifies to turn M904 ON.
Specifies to turn M905 ON.
Specifies to turn M906 OFF.
Specifies to turn M907 ON.
7.4 BW Command [Writes Device Memory in 1-Bit Units]
Number of device points
(2 characters (hexadecimal)
Character area A
*
0 5
0 1 1 0 1
2 6
31
31
31
32
36
33
30
35
30
30
H
H
H
H
H
H
H
H
H
H
7 Commands
A
C
K
H
A
C
0 0 F F
K
30
30
46
46
06
H
H
H
H
H
A
B
C
D
E
F
G
H
I
Apx.
D-55

Advertisement

Table of Contents
loading

Table of Contents