Download Print this page

Mitsubishi MELSEC Q Series Reference Manual page 106

With melsec communication protocol
Hide thumbs Also See for MELSEC Q Series:

Advertisement

(11) Error code
3 - 46
3 WHEN COMMUNICATING USING THE QnA COMPATIBLE 3E/3C/4C FRAMES OR 4E FRAME
An error code tells the external device that the programmable controller CPU
processing of the request it sent ended abnormally.
1) Data communication in ASCII code
The error code is converted to a 4-digit (hexadecimal) ASCII code and
sequentially transmitted beginning from the most significant digit.
(Example)
Error code 7151
The error code sent to the external device is "7151", and is
sequentially transmitted beginning from "7".
2) Data communications in binary code
The error code is immediately used as a 2-byte value and is
transmitted in the order, low byte (L: bits 0 to 7) to high byte (H: bits 8
to 15).
(Example)
Error code 7151
The error code is sent to the external device in the order of first 51
then 71
3)
If two or more errors occurred at the same time, the programmable
controller CPU sends the error code detected first.
4) Refer to the User's Manual (Basic) for the detailed description of the
error codes.
REMARKS
(1)
The "message wait" time cannot be designated in the control procedure of the
QnA compatible 3C, QnA compatible 4C, and QnA compatible 2C frames shown
in Chapter 4. The message wait time, when communicating data using these
frames, can be set in GX Works2 or GX Configurator-SC.
GX Works2
GX Configurator-SC
A message wait time which is as long as the external device hardware gate off-
time or longer should be designated when communicating data with an
external devices connected to the RS-422/485 interface of the programmable
controller CPU, including during A compatible 1C frame data communication,
(2) The following shows some designation examples of "Station number" to "Self-
station number." These values are the data that is designated in each control
procedure during data communication using the QnA compatible 3C and 4C
frames.
(How to read the figures and tables in 3) and 4) below)
H
H
.
H
Item
Setting method
Set in "Various Control Specification".
Set in the "Message Wait Time Designation" on the
"MC protocol system setting" screen.
,
H
3 - 46

Hide quick links:

Advertisement

loading