End Code, Abnormal Code - Mitsubishi Electric MELSEC IQ-R series Reference Manual

Programmable controller
Hide thumbs Also See for MELSEC IQ-R series:
Table of Contents

Advertisement

End code, Abnormal code

The command processing result is stored.
End code
At normal completion, '0' is stored.
At abnormal completion, an error code of the access target is stored.
Error code indicates the content of occurred error.
If more than one error occurs at the same time, the error code detected first is returned.
For the content of error code and its corrective action, refer to the user's manual of the module used.
 QCPU User's Manual (Hardware Design, Maintenance and Inspection)
 MELSEC-L CPU Module User's Manual (Hardware Design, Maintenance and Inspection)
 Q Corresponding Ethernet Interface Module User's Manual (Basic)
 MELSEC-L Ethernet Interface Module User's Manual (Basic)
Abnormal code
When an end code is '5BH', the details of abnormal content are displayed.
Setting method
■Data communication in ASCII code
Convert the numerical value to 2-digit ASCII code (hexadecimal), and send it from the upper digits.
■Data communication in binary code
Use a 1-byte value.
Ex.
Normal completion
ASCII code
0
0
30
30
H
H
When Error code '10H' is returned
ASCII code
1
0
31
30
H
H
When error code '5BH' and an abnormal code '10H' (PC No. error) are returned,
ASCII code
5
B
1
0
35
42
31
30
H
H
H
H
Binary code
00
H
Binary code
10
H
Binary code
5B
10
H
H
18 COMMUNICATING USING 1E FRAMES
18.2 Details of Setting Data
18
395

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents