211
CHAPTER 15 DEDICATED INSTRUCTIONS
15
15.7 GP.ECPRTCL
(4) Errors
Completion device (D)+1 turns on and the error code is stored in Completion status (S)+1 in the following cases.
• When the setting value of the control data is abnormal
• When an error is detected in the protocol setting data registered in GX Works2
• When an error has occurred in protocols (the following protocols will not be executed.)
• When a value other than "Predefined protocol" is set in Fixed Buffer Communication for connection No.
specified by n1
(5) Program example
For the program example, refer to Page 111, Section 11.5.
(6) Canceling protocol execution
A protocol can be canceled during its execution.
This function is used to terminate the protocol execution forcibly when a communication error occurs with the
connected device.
(a) Execution method for cancel request
Set the cancel request to Protocol cancellation specification (address: 54D3
H
(Connection No.1)).
1: Cancellation request 2: Cancel completed
Connection No.n
Protocol cancellation specification
(54D3
H
(when the value of n is 1))
E71
The E71 cancels the
protocols being executed
in connection No.n.
User