Receive Data Clear - Mitsubishi QJ71C24N User Manual

Melsec-q series
Hide thumbs Also See for QJ71C24N:
Table of Contents

Advertisement

6 DATA COMMUNICATION USING THE NON PROCEDURE PROTOCOL

6.1.4 Receive data clear

6 - 15
For the data reception by a non procedure protocol, if the transmission of data from a
transmitting device is interrupted due to trouble occurring, it may be necessary for the
data received up to the present time are cleared in the receiving device and for the
data to be received again from the start.
The methods for clearing reception data in the Q Series C24 are shown below. Either
method may be used to clear received data as necessary.
1) Clear the reception data by the dedicated instruction "CSET."
2) Write to/read from the reception data clear request (address: A8
(FROM/TO instruction)
3) Clear the reception data by GX Configurator-SC (see Section 9.7).
REMARKS
When transmitting data to an external device from the Q Series C24, do not execute
a clear request of the reception data shown in this section.
If a reception data clear request is executed when transmitting data to an external
device, The Q Series C24 stops data transmission and terminates the dedicated
instruction for transmission abnormally. (The transmission completed signal does not
go ON.) If a reception data clear request is executed during data reception, the data
received up to that point are cleared.
(1) Receive data clear processing
The Q series C24 performs the following procession when the receive data clear
is performed.
• The data received up to that point can be ignored.
• The receive data count up to that point is "0".
(The receive area in the buffer memory is not initialized).
• Set to the status prior to the start of data reception.
(2) Procedure for clearing the reception data by the dedicated
instruction "CSET"
This instruction clears the reception data up to the present without interrupting
the data transmission processing.
(Procedure for clearing) ··· In case of the CH1 side interface
1) Execute the CSET instruction
If the CSET instruction is executed while the reception data read request
(X3/XA) or reception abnormal detection signal (X4/XB) is turned on, the
CSET instruction is kept waiting until the signal is turned off.
2) The reception data clear processing is executed at the OS area of the Q
series C24 (see Section 6.1.2).
MELSEC-Q
/148
).
H
H
6 - 15

Advertisement

Table of Contents
loading

This manual is also suitable for:

Qj71c24n-r2Qj71c24n-r4Qj71c24Qj71c24-r2

Table of Contents