Important Points In Creating Programs - Mitsubishi Electric FX3U-232-BD User Manual

Melsec-f fx series programmable controllers data communication edition
Table of Contents

Advertisement

FX Series PLC User's Manual - Data Communication Edition
Non-Protocol Communication (RS/RS2 Instruction)
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
(FX), FX
2
or more between completion of sending and the start of receiving or between completion of receiving and
the start of sending.
PLCs before Ver. 2.00, provide an interval of 100 s or more.
In FX
2N
In FX
PLCs Ver. 2.00 or later, FX
2N
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
, FX
3S
3G
FX
and FX
2N
6) When RS-485 communication is executed in FX
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.
Error code
6301
6302
6304
6305
6306
F-56
, FX
, FX
, FX
2C
0N
1S
1N
2NC
, FX
, FX
and FX
3GC
3U
3UC
PLCs: EXTR instruction
2NC
Parity error, overrun error or framing error
Defective communication character
Defective data format
Defective command
Monitoring time out
and FX
PLCs, make sure to provide an interval of two scan times
1NC
, FX
, FX
, FX
, FX
3S
3G
3GC
PLCs: RS2 instruction, IVDR instruction, etc.
and FX
3U
3UC
Description
Confirm the contents in "Chapter 11. Troubleshooting".
6 Creating Programs (RS Instruction)
6.4 Important Points in Creating Programs
and FX
PLCs, this interval is not
3U
3UC
PLCs, it may take 300 s until the PLC

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents