6 - 15 6 - 15
MELSEC-Q
6 DATA COMMUNICATION USING THE NON PROCEDURE PROTOCOL
6.1.4 Receive data clear
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
H
/148
H
).
(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 QJ71C24
Страница 1: ......
Страница 2: ......
Страница 103: ...3 42 3 42 MELSEC Q 3 SPECIFICATIONS MEMO ...
Страница 177: ...6 33 6 33 MELSEC Q 6 DATA COMMUNICATION USING THE NON PROCEDURE PROTOCOL MEMO ...
Страница 397: ...App 24 App 24 MELSEC Q APPENDIXES Connection example 3 Connection example 4 ...
Страница 441: ......
Страница 442: ......