F-56
FX Series PLC User's Manual - Data Communication Edition
Non-Protocol Communication (RS/RS2 Instruction)
6 Creating Programs (RS Instruction)
6.4 Important Points in Creating Programs
6.4
Important Points in Creating Programs
1) The RS instruction can be used as many times as necessary in a program, but make sure that only one
RS instruction is driven at a time.
For multiple RS instructions to be driven, make sure the OFF time is longer than one scan time.
2) In FX
2
(FX), FX
2C
, FX
0N
, FX
1S
, FX
1N
and FX
1NC
PLCs, make sure to provide an interval of two scan times
or more between completion of sending and the start of receiving or between completion of receiving and
the start of sending.
In FX
2N
PLCs before Ver. 2.00, provide an interval of 100
s or more.
In FX
2N
PLCs Ver. 2.00 or later, FX
2NC
, FX
3S
, FX
3G
, FX
3GC
, FX
3U
and FX
3UC
PLCs, this interval is not
necessary.
3) While a RS instruction is being driven, change of D8120 is prohibited.
To change D8120, set the RS instruction to OFF, set D8120 to "0", and then set a new value to D8120.
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. As a
result, the received data may be partially skipped.
5) Do not use another instruction which uses the same communication port. If such an instruction is used,
communication may not function normally.
FX
3S
, FX
3G
, FX
3GC
, FX
3U
and FX
3UC
PLCs: RS2 instruction, IVDR instruction, etc.
FX
2N
and FX
2NC
PLCs: EXTR instruction
6) When RS-485 communication is executed in FX
3U
and FX
3UC
PLCs, it may take 300
s until the PLC
starts receiving after it has completed sending.
Assure 300
s or more in counterpart equipment as the period from completion of receiving to start of
sending.
6.5
Communication Error
When a communication error occurs, the error flag M8063 turns ON and D8063 stores the error code.
Confirm the contents in "Chapter 11. Troubleshooting".
Error code
Description
6301
Parity error, overrun error or framing error
6302
Defective communication character
6304
Defective data format
6305
Defective command
6306
Monitoring time out
Summary of Contents for FX-485ADP
Page 2: ......
Page 120: ...B 2 FX Series PLC User s Manual Data Communication Edition N N Network ...
Page 188: ...C 2 FX Series PLC User s Manual Data Communication Edition Parallel Link ...
Page 244: ...D 2 FX Series PLC User s Manual Data Communication Edition Computer Link ...
Page 344: ...E 2 FX Series PLC User s Manual Data Communication Edition Inverter Communication ...
Page 700: ...H 2 FX Series PLC User s Manual Data Communication Edition Programming Communication ...
Page 752: ...I 2 FX Series PLC User s Manual Data Communication Edition Remote Maintenance ...
Page 817: ......