Mitsubishi Electric MELSEC FX3U Programming Manual page 478

Melsec fx series programmable logic controllers
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
Related devices
Device
*1
Serial communication error 1
M8063
*2
Sending wait flag
M8121
*2
Sending request
M8122
*2
Receiving complete flag
M8123
M8124
Carrier detection flag
M8129
Time-out check flag
*4
8-bit processing mode
M8161
*1.
Cleared when the power is turned off and on (in FX
Cleared when the PLC mode is changed from STOP to RUN (in FX
*2.
Cleared in the following cases:
• When the PLC mode is changed from RUN to STOP
• When the RS instruction is not driven
*3.
Latched (battery backed).
*4.
Cleared when the PLC mode is changed from RUN to STOP.
System configuration
To use this instruction, it is necessary to attach one of the products shown in the table below to the main unit.
PLC
FX
,
3U
FX
-32MT-LT(-2)
3UC
FX
(D,DSS)
3UC
FX
3G
Differences between RS (FNC 80) instruction and RS2 (FNC 87) instruction
Item
Header size
Terminator size
Attachment of check
sum
Cautions
• RS (FNC 80) instruction can be used for ch1 only (cannot be used for ch2).
• Do not drive two or more RS (FNC 80) and/or RS2 (FNC 87) instructions for the same port at the same
time.
• It is not permitted to use an RS (FNC 80)/RS2 (FNC 87) instruction and an IVCK (FNC270)/IVDR
(FNC271)/IVRD (FNC272)/IVWR (FNC273)/IVBWR (FNC274)/FLCRT (FNC300)/FLDEL (FNC301)/
FLWR (FNC302)/FLRD (FNC303)/FLCMD (FNC304)/FLSTRD (FNC305) instruction for the same port.
476
→ For detailed explanation, refer to the Data Communication Edition manual.
Name
→ For the system configuration, refer to the respective PLC Hardware Edition manual.
→ For detailed explanation, refer to the Data Communication Edition manual.
Communication type
RS-232C communication FX
RS-485 communication
RS-232C communication FX
RS-485 communication
RS-232C communication FX
RS-485 communication
instruction
RS2
1 to 4 characters (bytes)
1 to 4 characters (bytes)
The check sum can be
automatically attached.
→ For other cautions, refer to the Data Communication Edition manual.
16 External FX Device – FNC 80 to FNC 89
Device
*3
Communication format setting
D8120
*4
Remaining number of data to be sent
D8122
*4
Monitor for number of received data
D8123
D8124
Header
D8125
Terminator
*3
Time-out time setting
D8129
*1
Error code number of serial communication error 1
D8063
D8405
Communication parameter display
D8419
Operation mode display
, FX
and FX
3G
3U
-232-BD or FX
-232ADP(-MB) (with FX
3U
3U
FX
-485-BD or FX
-485ADP(-MB) (with FX
3U
3U
-232ADP(-MB)
3U
FX
-485ADP(-MB)
3U
-232-BD or FX
-232ADP(-MB) (with FX
3G
3U
FX
-485-BD or FX
-485ADP(-MB) (with FX
3G
3U
instruction
RS
Up to 1 character
For the RS2 instruction, up to 4 characters
(byte)
(bytes) can be specified as a header or
Up to 1 character
terminator.
(byte)
For the RS2 instruction, the check sum can
be automatically attached to the sent and
The check sum should
received data.
be attached by a user
In this case, however, make sure to use a
program.
terminator with the communication frame to
be sent and received.
16.1 FNC 80 – RS / Serial Communication
Name
PLCs).
3UC
, FX
and FX
3G
3U
3UC
Option
-CNV-BD)
3U
-CNV-BD)
3U
-CNV-ADP)
3G
-CNV-ADP)
3G
Remarks
PLCs).

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents