16  ETHERNET INSTRUCTIONS
16.5  Executing the Protocols Registered for the Predefined Protocol Support Function
1567
16
■Applicable devices
*1 FX and FY cannot be used.
*2 FD cannot be used.
*3 T, ST, C, and FD cannot be used.
■Control data
Operand Bit Word Double word Indirect 
specification
Constant Others 
(U)
X, Y, M, L, 
SM, F, B, SB, 
FX, FY
J\ T, ST, C, D, W, 
SD, SW, FD, R, 
ZR, RD
U\G, J\, 
U3E\(H)G
Z LT, LST, 
LC
LZ K, H E $
(U)   
(s1) 
*1
*2
(s2) 
*1
*2
(s3) 
*2
(d) 
*1
*3
Operand: (s3)
Device Item Description Setting range Set by
+0 Resulting number of 
executed protocols
The number of protocols executed by the GP.ECPRTCL instruction is stored.
Any protocol where an error occurred is also included in the execution number.
If the setting of setting data or control data contains an error, "0" is stored.
0, 1 to 8 System
+1 Completion status The completion status is stored upon completion of the instruction.
If two or more protocols are executed, the execution result of the last protocol 
will be stored.
• 0: Completed successfully
• Other than 0: Completed with an error (error code)
 System
+2 Execution protocol number 
1
Specify the number of the protocol to be executed first. 1 to 128 User
+3 Execution protocol number 
2
Specify the number of the protocol to be executed second. 0, 1 to 128 User
+4 Execution protocol number 
3
Specify the number of the protocol to be executed third. 0, 1 to 128 User
+5 Execution protocol number 
4
Specify the number of the protocol to be executed fourth. 0, 1 to 128 User
+6 Execution protocol number 
5
Specify the number of the protocol to be executed fifth. 0, 1 to 128 User
+7 Execution protocol number 
6
Specify the number of the protocol to be executed sixth. 0, 1 to 128 User
+8 Execution protocol number 
7
Specify the number of the protocol to be executed seventh. 0, 1 to 128 User
+9 Execution protocol number 
8
Specify the number of the protocol to be executed eighth. 0, 1 to 128 User
+10 Receive packet number 1 
successful in collation 
match
If receiving is included in the communication type of the protocol that has been 
executed first, the receive packet number successful in collation match is 
stored.
If the communication type is "receive only", 0 is stored.
If an error occurs during execution of the first protocol, 0 is stored.
0, 1 to 16 System
+11 Receive packet number 2 
successful in collation 
match
If receiving is included in the communication type of the protocol that has been 
executed second, the receive packet number successful in collation match is 
stored.
If the communication type is "receive only", 0 is stored.
If an error occurs during execution of the second protocol, "0" is stored.
If the number of protocols executed is less than 2, 0 is stored.
0, 1 to 16 System
+12 Receive packet number 3 
successful in collation 
match
If receiving is included in the communication type of the protocol that has been 
executed third, the receive packet number successful in collation match is 
stored.
If the communication type is "receive only", 0 is stored.
If an error occurs during execution of the third protocol, 0 is stored.
If the number of protocols executed is less than 3, 0 is stored.
0, 1 to 16 System