Melsec-q, 7 data communications using bidirectional protocol – MITSUBISHI ELECTRIC QJ71C24N User Manual

Page 160

Advertising
background image

7 - 9 7 - 9

MELSEC-Q

7 DATA COMMUNICATIONS USING BIDIRECTIONAL PROTOCOL

(e) Error code

The error code indicates the definition of the error during NAK response.

(For more details on the error codes, see Chapter 10.)

1) For data communication from the external device to the Q series C24

For error codes from the external device, transmit the codes specified by

the user.

The error codes (0022

H

to 005F

H

) that are not used by the Q series C24

can be used.

The Q series C24 stores the received error codes as a completion status

in the control code for the BIDOUT instruction.

They are also stored in the data transmission result storage area in the

buffer memory (address: 257

H

).

2) For data communication from the Q series C24 to the external device

The error codes are added by the Q series C24.

When an error code is transmitted, the Q series C24 writes the same

error code in the data reception result storage area of the buffer memory

(address: 258

H

).

Advertising
This manual is related to the following products: