Mitsubishi FX3U-232-BD User Manual page 491

Fx3u series
Hide thumbs Also See for FX3U-232-BD:
Table of Contents

Advertisement

FX Series PLC User's Manual - Data Communication Edition
Non-Protocol Communication (RS/RS2 Instruction)
8.2.3
Send/receive data and amount of data
RS2 instruction can handle send data and receive data while storing two characters in one data register.
M8000
FNC 87
Communication format setting
Control line not provided
Headers provided
Terminators provided [DLE + ETX (D8412: 0310H D8413: 0000H)]
Sum check provided
CR + LF added
1. Send data and amount of remaining send data
Send data
M8402
Sending request
Set it in a program.
D8403
Amount of remaining
send data
D8416
Sending sum
D100
K4
RS2
[DLE + STX (D8410: 0210H D8411: 0000H)]
Header
Data area
DLE
STX
31H
32H
D8410
D8410
D100
D100
lowest
lowest
highest
highest
-order
-order
-order
-order
byte
byte
byte
byte
4
3
2
00H
31H 63H 96H CAH DAH DDH
K1
D200
K20
Terminator Sum data . . . . . The order is different
33H
34H
DLE
ETX
44H
Sum
D101
D101
D8412
D8412
lowest
lowest
highest
highest
highest
-order
-order
-order
-order
-order
byte
byte
byte
byte
byte
1
0
8 Creating Programs (RS2 Instruction)
8.2 How to Use RS2 Instruction
from the data area
44H
Sum
CR
LF
lowest
-order
byte
It is automatically reset
when sending is
completed
A
B
C
D
E
F
G
H
I
Apx.
F-53

Advertisement

Table of Contents
loading

Table of Contents