Mitsubishi Electric FX3U-232-BD User Manual page 617

Melsec-f fx series programmable controllers data communication edition
Table of Contents

Advertisement

FX Series PLC User's Manual - Data Communication Edition
Non-Protocol Communication (RS/RS2 Instruction)
2. Receive data and amount of data already received
Receive data
M8403
Receiving complete
It is cleared when
header is received.
D8403
Amount of data
already received
D8415
Receiving sum
(calculation result)
Caution
The 8-bit mode is not applicable in RS2 instruction.
Header
Data area
DLE
STX
35H
36H
37H
D8410
D8410
D200
D200
D201
lowest
lowest
lowest
highest
highest
highest
-order
-order
-order
-order
-order
byte
byte
byte
byte
byte
2
1
0
00H 35H 6BH A2H DAH
8 Creating Programs (RS2 Instruction)
Sum data . . . . . The order is different
Terminator
38H
DLE
ETX
45H
44H
Sum Sum
D201
D202
D202
lowest
lowest
highest
highest
-order
-order
-order
-order
-order
byte
byte
byte
byte
byte
It is set when
receiving is
completed
6
5
4
3
The calculation
result is converted
into ASCII codes,
and compared
EAH
EDH
8.2 How to Use RS2 Instruction
from the data area
CR
LF
Reset it in a
program
It is cleared
when the
receiving
complete flag
is cleared
00H
A
B
C
D
E
F
G
H
I
Apx.A
F-67

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents