Br Command [Reads 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.1

BR Command [Reads Device Memory in 1-Bit Units]

This section explains the control procedure specification method and specification example when the bit
device memory is read all at once.
1. Specification method
The specification method in the control procedure format 1 is shown below:
Batch read 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 ≤ 256
- 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.
*1.
54 in the FX
2. Specification example
When reading the contents of five devices X040 to X044 in the PLC whose station number is 5 (while the
message waiting time is set to 100 ms)
(When X040 and X043 are OFF and X041, X042 and X044 are ON)
E
N
Q
Computer side
05
H
PLC side
Important point
The message wait time is specified in 10-ms units within the range from 0 to 150 ms, and expressed in
hexadecimal within the range from 0 to FH. For example, "100 ms" is expressed as "A".
Character area A
Head device
BR
(5 characters)
Read device range
specification
*1
(Use "00H" to specify 256 points.)
and FX
Series
1S
0N
0 5
F F
B R A
X 0 0 4 0
30
35
46
46
42
52
41
58
30
30
H
H
H
H
H
H
H
H
H
H
This range is regarded as the
sum check target.
7.1 BR Command [Reads Device Memory in 1-Bit Units]
Number of device points
(2 characters (hexadecimal)
"0 (30H)" indicates the OFF
status.
"1 (31H)" indicates the ON
status.
S
T
X
* Data on specified number of device points
(Characters of specified number of device points)
This range is regarded as the
0 5
4 7
sum check target.
34
30
30
35
34
37
H
H
H
H
H
H
S
T
0 5
F F
X
02
30
35
46
H
H
H
H
A
C
K
E
*
T
X
Character area B
A
C
K
06
H
E
0 1 1 0 1
T
0 5
X
46
30
31
31
30
31
03
30
35
H
H
H
H
H
H
H
H
H
Indicates that X044 is
ON.
Indicates that X043 is
OFF.
Indicates that X042 is
ON.
Indicates that X041 is
ON.
Indicates that X040 is
OFF.
7 Commands
A
B
C
D
E
F
0 5
F F
30
35
46
46
H
H
H
H
G
H
I
Apx.
D-55

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents