12 - 12 12 - 12
12 DEDICATED INSTRUCTIONS
Cancellation of protocol execution
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.
Address
Decimal (Hex)
CH1 CH2
Name Setting
value
16448
(4040
H
)
16464
(4050
H
)
Protocol cancellation
specification
0: No cancellation specification
1: Cancellation request (Specified by User)
2: Cancel completed (set by C24N)
(2) Operation after execution of cancellation request
(a) Operation of dedicated instruction (CPRTCL instruction)
y
The operation fails and the error code is stored in the execution result
((S)+0).
y
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 C24
y
If the cancellation is requested when protocols are not executed, the
cancellation is completed in no-operation.
y
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 10.1.5.
Содержание MELSEC LJ71C24
Страница 1: ......
Страница 2: ......
Страница 18: ...A 16 A 16 INDEX REVISIONS WARRANTY...
Страница 22: ...A 20 A 20 2 LJ71C24 R2 LJ71C24 R2 Before Using the Product...
Страница 23: ...A 21 A 21 MEMO...
Страница 38: ...4 2 4 2 4 PROCEDURES PRIOR TO OPERATION MEMO 4...
Страница 105: ...7 30 7 30 7 SETTINGS FOR THE C24 MEMO...
Страница 391: ...App 62 App 62 APPENDIXES 3 Refresh parameter setting In Refresh Parameter set the following network parameters...
Страница 425: ......
Страница 426: ......
Страница 427: ......