Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 1112

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

■Applicable devices
Operand
Bit
X, Y, M, L,
SM, F, B,
SB, FX, FY
(U)
(s1)
(s2)
(s3)
*1
(d)
*1 A local device and a file register which is set for each program cannot be used.
■Control data
Operand: (s3)
Device
Item
+0
Resulting number of
executed protocols
+1
Completion status
+2
Execution protocol
number 1
+3
Execution protocol
number 2
+4
Execution protocol
number 3
+5
Execution protocol
number 4
+6
Execution protocol
number 5
+7
Execution protocol
number 6
+8
Execution protocol
number 7
+9
Execution protocol
number 8
+10
Collation match
Receive packet number
1
+11
Collation match
Receive packet number
2
+12
Collation match
Receive packet number
3
+13
Collation match
Receive packet number
4
8 BUILT-IN ETHERNET FUNCTION INSTRUCTIONS
1110
8.3 Predefined Protocol Support Function Instruction
Word
J\
T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
*1
*1
*1
Description
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.
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)
Specify the number of the protocol to be executed first.
Specify the number of the protocol to be executed second.
Specify the number of the protocol to be executed third.
Specify the number of the protocol to be executed fourth.
Specify the number of the protocol to be executed fifth.
Specify the number of the protocol to be executed sixth.
Specify the number of the protocol to be executed seventh.
Specify the number of the protocol to be executed eighth.
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.
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.
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.
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.
Double word
U\G, J\,
Z
LT, LST,
U3E\(H)G
LC
Indirect
Constant
specification
LZ
K, H
E
*1
*1
*1
*1
Setting range
0, 1 to 8
1 to 128
0, 1 to 128
0, 1 to 128
0, 1 to 128
0, 1 to 128
0, 1 to 128
0, 1 to 128
0, 1 to 128
0, 1 to 16
0, 1 to 16
0, 1 to 16
0, 1 to 16
Others
(U)
$
Set by
System
System
User
User
User
User
User
User
User
User
System
System
System
System

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents