D-64
FX Series PLC User's Manual - Data Communication Edition
Computer Link
7 Commands
7.4 BW Command [Writes Device Memory in 1-Bit Units]
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 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
0N
and FX
1S
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)
S
um check
code
PL
C
N
o.
Sta
tio
n
No.
Mes
sage
w
ait time
PL
C
N
o.
Sta
tio
n
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.
M 0 9 0 3
0 1 1 0 1
30
H
30
H
30
H
30
H
30
H
30
H
30
H
Summary of Contents for FX-485ADP
Page 2: ......
Page 120: ...B 2 FX Series PLC User s Manual Data Communication Edition N N Network ...
Page 188: ...C 2 FX Series PLC User s Manual Data Communication Edition Parallel Link ...
Page 244: ...D 2 FX Series PLC User s Manual Data Communication Edition Computer Link ...
Page 344: ...E 2 FX Series PLC User s Manual Data Communication Edition Inverter Communication ...
Page 700: ...H 2 FX Series PLC User s Manual Data Communication Edition Programming Communication ...
Page 752: ...I 2 FX Series PLC User s Manual Data Communication Edition Remote Maintenance ...
Page 817: ......