Mitsubishi FX3U-232-BD User Manual page 471

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)
6.
Creating Programs (RS Instruction)
This chapter explains how to create programs for non-protocol communication using RS instruction and how
such programs operate.
6.1
Checking Contents of Related Devices
The tables below show devices used in non-protocol communication using the RS instruction.
1. Bit devices
Device
Serial communication error
M8063
(ch1)
M8120
Communication setting keep
M8121
Sending wait flag
M8122
Sending request
M8123
Receiving complete flag
M8124
Carrier detection flag
*1
Time-out check flag
M8129
M8161
8-bit processing mode
R: Read only
W: Write only
R/W: Read or Write
*1.
Not provided in FX
2. Word devices
Device
D8063
Error code display
D8120
Communication format setting This device sets the communication format.
Amount of data remaining to
D8122
be sent
D8123
Amount of data received
D8124
Header
D8125
Terminator
*1
Time-out time setting
D8129
Communication parameter
*2
D8405
display
*2
Operation mode display
D8419
R: Read only
R/W: Read or Write
*1.
Not provided in FX
*2.
Provided only in FX
Name
This device turns ON when a communication error occurs.
When this device (serial communication error) turns ON, D8063
stores the corresponding error code.
This device keeps the communication setting status (for FX
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 data.
This device turns ON in synchronization with the CD signal.
This device turns ON when data receiving is suspended and the
next set of data is not given within the time set by the timeout
settings device (D8129).
This device sets the send/receive data bit length to 16-bit or 8-bit.
ON: 8-bit mode
OFF: 16-bit mode
, FX
(FX), FX
, and FX
0N
2
2C
Name
When the serial communication error flag (M8063) turns ON, this
device stores the corresponding error code.
This device stores the amount of remaining data to be sent.
This device stores the amount of received data.
This device sets the header (initial value: STX (H02)).
This device sets the terminator (initial value: ETX (H03)).
This device sets the timeout time.
This device stores communication parameters set in the PLC.
This device stores the communication type being used.
, FX
(FX), FX
, and FX
0N
2
2C
and FX
PLCs.
3U
3UC
6 Creating Programs (RS Instruction)
6.1 Checking Contents of Related Devices
Description
(before Ver. 2.00) PLCs.
2N
Description
(before Ver. 2.00) PLCs.
2N
A
B
C
R/W
R
D
PLC).
W
0N
R
R/W
R/W
E
R
R/W
F
W
G
R/W
R/W
R/W
H
R
R
R/W
R/W
I
R/W
R
R
Apx.
F-33

Advertisement

Table of Contents
loading

Table of Contents