Bw Command [Writes Device Memory In 1-Bit Units] - Mitsubishi FX3U-USB-BD User Manual

Melsec-f fx series programmable controllers
Hide thumbs Also See for FX3U-USB-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
PLC side
D-60
Head device
BW
(5 characters)
Written device range
"0 (30H)" indicates the OFF status.
"1 (31H)" indicates the ON status.
* Data on 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
30
46
46
42
57
30
4D
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.
Number of device points
(2 characters (hexadecimal)
Character area A
*
specification
(Characters of specified number of device points)
0 5
0 1 1 0 1
39
30
33
30
35
30
31
31
30
31
H
H
H
H
H
H
H
H
H
7.4 BW Command [Writes Device Memory in 1-Bit Units]
A
C
K
2 6
32
36
H
H
H
A
C
0 0 F F
K
06
30
30
46
46
H
H
H
H
H
7 Commands

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents