Creating Programs (Rs2 Instruction) - Mitsubishi Electric FX3U-232-BD User Manual

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)
8.

Creating Programs (RS2 Instruction)

This chapter explains how to create programs for non-protocol communication using RS2 instruction and how
such programs operate.
The RS2 instruction is dedicated to the FX
RS2 instruction has the following additional functions which are not provided in the RS instruction:
1) Up to 4 characters (bytes) can be specified as the header and terminator.
2) The sum check can be added automatically.
3) The communication port (channel) can be specified.
8.1
Checking Contents of Related Devices
The tables below show devices used in non-protocol communication using RS2 instruction.
Available channels vary depending on the main unit.
For details, refer to Section 3.2.
1. Bit devices
Device
ch0
ch1
ch2
M8062
M8063
M8438 Serial communication error
M8371
M8401
M8421 Sending wait flag
M8372
M8402
M8422 Sending request
M8373
M8403
M8423 Receiving complete flag
M8404
M8424 Carrier detection flag
M8405
M8425 Data set ready (DSR) flag
M8379
M8409
M8429 Time-out check flag
R: Read only
W: Write only
R/W: Read or Write
*1.
FX
, FX
3U
3UC
, FX
3S
Name
*1
PLCs Ver. 2.30 or later, and FX
8 Creating Programs (RS2 Instruction)
, FX
, FX
and FX
3G
3GC
3U
3UC
Description
This device turns ON when a communication error occurs.
When this device (serial communication error) turns ON,
D8062, D8063 or D8438 stores the corresponding error
code.
This device remains ON while the PLC is waiting to send.
When this device is set to ON, the PLC starts to send.
This device turns ON when receiving is completed.
While this device (receiving complete flag) is ON, the PLC
cannot receive any receive data.
This device turns ON in synchronization with the CD
(DCD) signal.
This device turns ON in synchronization with the DR (DSR)
signal.
This device turns ON when data receiving is suspended
and the next set of receive data is not given within the time
set by the time-out time setting device.
, FX
, FX
PLCs is applicable.
3S
3G
3GC
8.1 Checking Contents of Related Devices
PLCs.
R/W
R/W
R/W
R/W
F-59
A
B
C
D
E
R
R
F
R
R
G
H
I
Apx.A

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents