Mitsubishi QJ71C24N User Manual page 308

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

Advertisement

10 DEDICATED INSTRUCTIONS
Cancellation of protocol execution
Address
Decimal (Hex)
CH1
16448
16464
(4040
)
(4050
H
10 - 26
A protocol can be cancelled during its execution.
This function is used to end the protocol execution forcibly when a communication
error occurs with the other device.
This function is available for the predefined protocol mode only.
(1) Execution method for cancellation request
Execute a cancellation request from the sequence program.
The corresponding buffer memories are shown in the following table.
Name
CH2
Protocol cancellation
)
specification
H
(2) Operation after execution of cancellation request
(a) Operation of dedicated instruction (CPRTCL instruction)
The operation fails and the error code is stored in the execution result
((S)+0).
When executing multiple protocols consecutively, if the cancellation is
requested to the nth protocol, the nth protocol is ended forcibly and the
protocols after the nth protocol are not executed.
(b) Operation of QJ71C24N(-R2/R4)
If the cancellation is requested when protocols are not executed, the
cancellation is completed in no-operation.
If the cancellation is requested when the communication protocol setting is
other than the communication protocol mode, the value of the cancellation
designation area is ignored.
POINT
When the protocol with the communication type of "Send & receive" is cancelled,
execute the receive data clear after the cancellation.
When the response from the other device is slow, and data are received after the
cancellation, the receive data remains in the OS area (receive data area).
For details of the receive data clear, refer to Section 6.1.4.
0: No cancellation specification
1: Cancellation request (Specified by User)
2: Cancel completed (set by QJ71C24N(-R2/R4))
MELSEC-Q
Setting value
10 - 26

Advertisement

Table of Contents
loading

This manual is also suitable for:

Qj71c24n-r2Qj71c24n-r4Qj71c24Qj71c24-r2

Table of Contents