Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 1680

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
*1
(U)
(n1)
(n2)
(s)
*2
(d)
*1 Index modification is not available.
*2 FX and FY cannot be used.
*3 FD cannot be used.
■Control data
Operand: (s)
Device
Item
+0
Execution result
+1
Resulting number of
executed protocols
+2
Execution protocol
number specification
+9
+10
Matched receive packet
number
+17
*1 If the nth protocol caused an error during its execution while two or more protocols are being executed, none of the subsequent
protocols will be executed.
*2 For details on the special protocols, refer to the following.
Page 1680 Special protocol
20 SERIAL COMMUNICATION INSTRUCTIONS
1678
20.2 Executing the Protocols Registered for the Predefined Protocol Support Function
Word
J\
T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
*3
*3
*3
*3
Description
Used to store the execution result of the G(P).CPRTCL instruction. If two or more
protocols are executed, the execution result of the last protocol will be stored.
• 0: Normal
• Other than 0: Error (error code)
Used to store the number of actually executed protocols.
Also for the protocols that caused an error, the execution result of the last protocol
will be stored.
If an error is included in the setting data or the control data setting details, "0" will be
stored.
Sets the number of the first protocol or special protocol to be executed.
Sets the number of the eighth protocol or special protocol to be executed.
Used to store the matched receive packet number if the communication type of the
first protocol executed is "Send only" or "Send and receive".
If the first protocol caused an error during its execution, "0" will be stored.
If a special protocol is executed, "0" will be stored.
Used to store the matched receive packet number if the communication type of the
eighth protocol executed is "Send only" or "Send and receive".
If the eighth protocol caused an error during its execution, "0" will be stored.
If a special protocol is executed, "0" will be stored.
Double word
U\G, J\,
Z
LT, LST,
U3E\(H)G
LC
*2
*2
Indirect
Constant
specification
LZ
K, H E
Setting range
*1
1 to 8
*2
1 to 128, 201 to
207
*2
0, 1 to 16
Others
(U)
$
Set by
System
System
User
System

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents