407
COM
1
2
3
4
4
6
7
8
7.6 Structure creation instructions
7.6.9 COM
Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into
SD0.
Program Example
(1) The following program executes a subroutine program with argument when X20 is turned ON.
[Ladder Mode] [List Mode]
Refer to Page 409, Section 7.6.10 for the COM instruction of the following CPU modules.
• Basic model QCPU of serial No. 04122 or later
• High Performance model QCPU of serial No. 04012 or later
• Process CPU of serial No. 07032 or later
• Redundant CPU
• Universal model QCPU
•LCPU
Error
code
Error details
Q00J/
Q00/
Q01
QnH QnPH QnPRH QnU LCPU
4101
The device specified for the argument cannot be secured for the data
size.
4210
There is no subroutine program for the pointer specified in the XCALL
(P) instruction.
4211
After the XCALL (P) instruction was executed, the END, FEND,
GOEND, or STOP instruction was executed prior to the RET instruction.
4212 The RET instruction was executed prior the XCALL (P) instruction.
4213 The 17th nesting level is executed.
7.6.9 COM Refresh
7.6.9
COM
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn Constants Other
Bit Word Bit Word
–– ––
Step
Instruction
Device
Redundant
Basic
Process
High
performance
Universal
LCPU
COM
COM