D-55
FX Series PLC User's Manual - Data Communication Edition
Computer Link
7 Commands
7.4 BW Command [Writes Device Memory in 1-Bit Units]
A
Common Items
B
N:N Network
C
Parallel Link
D
Computer Link
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX
2N
-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
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:
1) Specify the device point range while satisfying the following conditions:
-1 ≤ Number of device points ≤ 160
*1
- 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
1S
and FX0N Series
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
BW
A
C
K
*
Batch write command (unit: bit) Character area A
"0 (30H)" indicates the OFF status.
"1 (31H)" indicates the ON status.
Computer side
PLC side
Head device
(5 characters)
Written device range
specification
Number of device points
(2 characters (hexadecimal)
* Data on specified number of device points
(Characters of specified number of device points)
Sum check
code
PLC No.
Station
No.
Message
wait time
PLC No.
Station
No.
A
C
K
0 0 F F
E
N
Q
0 0 F F B W 0
This range is regarded as the sum check target.
30
H
46
H
46
H
57
H
42
H
4D
H
33
H
39
H
35
H
0 5
36
H
32
H
2 6
05
H
30
H
30
H
46
H
46
H
06
H
31
H
31
H
31
H
Computer side
PLC side
Specifies to turn M903 OFF.
Specifies to turn M905 ON.
Specifies to turn M904 ON.
Specifies to turn M907 ON.
Specifies to turn M906 OFF.
M0903 01101
30
H
30
H
30
H
30
H
30
H
30
H
30
H