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 PLC power supply is turned from OFF to 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 or EEPROM 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,DS,DSS)
3UC
FX
3G
Differences between the RS (FNC 80) instruction and RS2 (FNC 87) instruction
Item
Header size
Terminator size
Attachment of check
sum
Used channel number
Cautions
• The 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) to IVMC (FNC275)",
"FLCRT (FNC300) to FLSTRD (FNC305)" instruction for the same port.
458
→ 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
FX
RS-232C communication
FX
RS-485 communication
FX
RS-232C communication
FX
RS-485 communication
FX
RS2 instruction
Up to 1 character
1 to 4 characters (bytes)
(byte)
Up to 1 character
1 to 4 characters (bytes)
(byte)
The check sum should be
The check sum can be
attached by a user
automatically attached.
program.
ch0, ch1, ch2
ch1
→ For other cautions, refer to the Data Communication Edition manual.
16 External FX Device – FNC 80 to FNC 89
16.1 FNC 80 – RS / Serial Communication
Device
*1
Error code number of serial communication error
D8063
*3
Communication format setting
D8120
*4
Remaining amount of data to be sent
D8122
*4
Amount of data already received
D8123
D8124
Header
D8125
Terminator
*3
Time-out time setting
D8129
D8405
Communication parameter display
D8419
Operation mode display
, FX
3G
, FX
3G
-232-BD or FX
-232ADP(-MB) (with FX
3U
3U
-485-BD or FX
-485ADP(-MB) (with FX
3U
3U
-232ADP(-MB)
3U
-485ADP(-MB)
3U
-232-BD or FX
-232ADP(-MB) (with FX
3G
3U
-485-BD or FX
-485ADP(-MB) (with FX
3G
3U
RS instruction
For the RS2 instruction, up to 4 characters (bytes)
can be specified as a header or terminator.
For the RS2 instruction, the check sum can be
automatically attached to the sent and received
data.
In this case, however, make sure to use a
terminator with the communication frame to be
sent and received.
For the RS2 instruction:
Ch2 is not available in 14-point and 24-point type
FX
PLCs.
3G
Ch0 is available only in FX
Name
and FX
PLCs).
3U
3UC
and FX
PLCs).
3U
3UC
Option
-CNV-BD)
3U
-CNV-BD)
3U
-CNV-ADP)
3G
-CNV-ADP)
3G
Remarks
PLCs.
3G