Fx 2N -232If; Error Code; Diagnostics - Mitsubishi Electric MELSEC FX Series User Manual

Programmable logic controllers
Hide thumbs Also See for MELSEC FX Series:
Table of Contents

Advertisement

FX communication
12.6 FX
-232IF
2N
12.6.1

Error code

When an error occurs while data is sent or received, BFM #28 b3 is set to ON and the error code
is saved in BFM #29.
Code
0
No error
Receive parity error, overrun error, framing
1
error
2
Undefined
3
Defective receive character
4
Receive sum check error
Receive buffer overflow (only in interlink
5
connection mode)
6
Baud rate setting error
7
Receive CR error
8
Receive LF error
9
Send/receive initial terminator setting error
10
Receive terminator error
11
Undefined
12
Transmission sequence error
12.6.2

Diagnostics

1 ) Check the status of the POWER LED provided in the FX
• When it is Lit, the power source is correctly supplied.
• If it is extinguished, supply from the power source correctly.
2 ) Check the status of the SD LED and the RD LED provided in the FX
• If the RD LED is not Lit while data is received or the SD LED is not Lit while data is sent,
check the installation and the wiring.
• When the RD LED is Lit while data is received or the SD LED is Lit while data is sent, the
installation and the wiring are correct.
3 ) Make sure that the communication setting (BFM #0) of the FX
the external equipment. If they are not equivalent each other, make them equivalent.
4 ) Make sure the timing of data send/receive. For example, make sure that the counterpart
equipment is ready for receive before starting to send data to it.
5 ) When the terminator is not used, check whether the send data capacity is equivalent to the
acceptable data capacity. If the send data capacity may be changed, use the terminator.
6 ) Make sure that the external equipment is correctly operating.
7 ) Check whether the type of send data and the type of receive data are equivalent. If they are
different, make them equivalent.
Description
Causes and countermeasures
Communication format such as baud rate is not
matched.
Control timing is not matched.
Receive data is not ASCII code.
Receive sum is not equal calculated sum result
(BFM #16).
Receive byte count exceeds 512+30 bytes.
Decrease receive upper byte count (BFM #2),
and increase spare receive buffer area.
Non-existing baud rate is specified.
CR is not placed in correct position.
LF is not placed in correct position.
Initial terminator is other than 01H to 1FH.
Receive terminator is not placed in correct
position or not matched.
Transmission sequence is not matched.
-232IF.
2N
-232IF is equivalent to that of
2N
Diagnostics 12
-232IF.
2N
12-7
12

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rs-232cRs-422Rs-485

Table of Contents