4 how to detect transmission errors, Melsec-q, 1) confirmation using the sequence program – MITSUBISHI ELECTRIC QJ71C24N User Manual

Page 148

Advertising
background image

6 - 28 6 - 28

MELSEC-Q

6 DATA COMMUNICATION USING THE NON PROCEDURE PROTOCOL

6.2.4 How to detect transmission errors

This section explains how to detect errors that may occur when sending data to the

external device.

The following items are considered as the primary causes of errors that may occur

during data transmission.

Cause of reception error

Reference section

A timeout occurred for the transmission monitoring time (timer 2)

User's Manual

(Application)

Section 6.3

Designated number of transmission data was larger than the size that could be stored in the

transmission area

Section 6.2.2

(1) Confirmation using the sequence program

(a) Detecting a transmission error

1) The following device and input signal turn ON.

• OUTPUT instruction complete device + 1

• ERR LED ON signal (XE/XF)

2) The transmission error code can be checked using the OUTPUT

instruction control data ((S1) + 1).

Or, it can be checked by reading the data transmission result storage

area in the buffer memory (addresses 257

H

/267

H

).

For details on how to check the error code contents and corrective

actions, see Chapter 10.

(b) How to turn off the ERR LED and clear the error code (see Section 10.1.2)

1) To turn off only the ERR LED, write a "1" to the LED OFF request area

(addresses 0

H

/1

H

) in the buffer memory.

2) To turn off the ERR LED and clear the error code, turn ON the ERR LED

OFF request output signal (YE/YF).

(Example) To perform the ERR LED OFF and the error code clear on the

CH1 side

OUTPUT instruction

Complete device + 1

Advertising
This manual is related to the following products: