Mitsubishi Electric MELSEC-A AlSJ71C24-R2 User Manual page 304

Computer link module , computer iinkiprinter function module
Table of Contents

Advertisement

12. TROUBLESHOOTING
MELSEC-A
12.2 Bidirectional Mode Error Codes
Table 12.2 gives the error codes, error descriptions, and corrective actions
for errors which may occur during bidirectional mode communications.
The following error codes (l-word integers) are transmitted in order of the
lower byte and the higher byte immediately following the NAK code when an
error
has occurred. (e.g., when
the error code is
01
H,
0 1 ~
is transmitted first,
and then 0011 is transmitted.)
I
OIH
/
Send data length error
Table 12.2 Error Code List
I
OZH
I
Response message time-out error
I
03""
I
Simultaneous transmission error
Corrective Actions
Error Code
(Hexadseirnal)
Error code is not received when the
NAK code is received
I
Error Lkscriptlons
I
2 2 H d F H
Errors designated by the user
Either (a) make the setting size of the send data length
storage area in the buffer memory for bidirectional
transmission smaller than the size of the send data storage
I
area, or (b) set the send data length to '1' or greater.
(Data which does not have a data part cannot be
transmitted using the bidirectional mode.)
sage (in response to the data received from the
AlSJ71C24) to the AlSJ71C24 within the set value of the
time-out time setting area (address 113H) in the
At 5571 C24 buffer mernorv.
Either (a) interlock the computer with
tha
A l S J 7 1 ~ 2 ~
that they cannot begin transmitting data simultaneously to
each other, or (b) set the data vahdlinvalid setting area (ad-
dress 114H) in the AlSJ71C24 buffer memory to 'valid".
When the computer transmits the NAK code to the
AlSJ71C24 in response to the data received from the
AlSJ71C24, an error code should be added immediately
afier the NAK code.
These error codes are added to immediately after the NAK
code.
Take corrective actions according to the procedure fixed by
user.
SIO error at data receive
Framing error
Overrun error
.
Transmit data from the computer according to the foilow-
ing settings with the AISJ71 C24 (see Section 4.3.2 for
SW04 to SW11).
Data bit length with SW08
Transmission speed with SW05 to SW07
+
Stop bit length with SW11
Use insulation transformers (noise-cutting transformers)
t o eliminate noise.
Check sum error
Parity error (only at data receive)
Received data length error
To transmit the check sum to the AlSJ71C24, obtain the
check sum as described in Section 10.5.2.
Set the check sum enableldisable setting area (address
115H) in the AlSJ71C24 buffer memory to 'disable", so
that the check sum is not transmitted.
Transmit data from the computer according to settings
with SW09 and SWIO of the AlSJ71C24.
Either (a) make the data part length and the set value of
tne data pan length of the receive message less than the
size of the received data storage area, or (b) transmit
correctly the aata length (0001 H or more) contained in the
message which :s transmitted to the AlSJ71C24.
(Data which does not have the data art cannot be
iransmitted using the bidirectional mbde.)
83H
Received data time-out error
When data is transmitted from the computer, set the actual
length of the data part to the data length part.
(The AlSJ71 C24 executes the time-out check (as set with
address 113H of the buffer memory) if i t fails to receive
data of a set length. This error occurs when it fails to
receive the next data within the set time.)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-a a1 sj71 c24-prf

Table of Contents