F-61
FX Series PLC User's Manual - Data Communication Edition
Non-Protocol Communication (RS/RS2 Instruction)
8 Creating Programs (RS2 Instruction)
8.4 Important Points in Creating Programs
A
Common Items
B
N:N Network
C
Parallel Link
D
Computer Link
E
Inverter
Communication
F
Non-Protocol
Communication
(RS/RS2 Instruction)
G
Non-Protocol
Communication
(FX
2N
-232IF)
H
Programming
Communication
I
Remote
Maintenance
Apx.
Discontinued
models
8.4 Important Points in Creating Programs
1) RS2 instruction can be used as many times as necessary in a program, but make sure that only one RS2
instruction is driven in each communication port at a time.
For multiple RS instructions to be driven, make sure the OFF time is longer than one scan time.
2) Do not use another instruction (such as RS instruction or IVDR instruction) which uses the same
communication port. If such an instruction is used, communication may not function normally.
3) While RS2 instruction is being driven, change of D8400 or D8420 is prohibited.
To change D8400 or D8420, set the RS2 instruction to OFF, set D8400 or D8420 to "0", and then set a
new value to D8400 or D8420.
4) In the interlink mode, set the amount of received data "n" to "31" or more.
If it is set to "30" or less, the control line ER (DTR) is set to OFF as soon as the PLC receives data.
5) FX
3U and FX3UC PLCs execute full-duplex, bidirectional communication. When using half-duplex,
bidirectional communication, pay attention not to turn ON the sending request flag while receiving.
6) When using the header and terminator, set them before driving the RS2 instruction. Do not change the
setting while the RS2 instruction is being driven.
8.5 Communication Error
When a communication error occurs, the error flag M8063 turns ON during communication using ch1, or the
error flag M8438 turns ON during communication using ch2.
D8063 or D8438 stores the error code respectively.
→ Confirm the contents in "Chapter 11. Troubleshooting".
Error code
Description
D8063 (ch1) D8438 (ch2)
6301 3801 Parity error, overrun error or framing error
6303 3803 Receive data sum mismatch
6304 3804 Defective data format