1110
8 BUILT-IN ETHERNET FUNCTION INSTRUCTIONS
8.3 Predefined Protocol Support Function Instruction
■Applicable devices
*1 A local device and a file register which is set for each program 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
*1
(s2)
*1
*1
(s3)
*1
*1
(d)
*1
*1
Operand: (s3)
Device Item Description Setting range Set by
+0 Resulting number of
executed protocols
The number of protocols executed by the SP.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.
When two or more protocols are executed, the execution result of the protocol
executed last is 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 Collation match
Receive packet number
1
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 Collation match
Receive packet number
2
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 Collation match
Receive packet number
3
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
+13 Collation match
Receive packet number
4
If receiving is included in the communication type of the protocol that has been
executed fourth, 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 fourth protocol, "0" is stored. If the number of protocols executed is
less than 4, "0" is stored.
0, 1 to 16 System