350
7 APPLICATION INSTRUCTION
7.4 Structuring instruction
• The XCALL instruction can be nested up to 16 levels. However, the 16 levels are the total of the CALL(P) and XCALL
instructions.
Error code
(SD0/SD8067)
Description
3360 The 17th level of the nesting is executed.
3380 The subroutine program specified by the pointer in the XCALL instruction does not exist.
3381 After the XCALL instruction is executed, the END, FEND, GOEND, or STOP instruction is executed before the RET instruction is
executed.
P0 X0XCALL
FEND RET RET RET
END
P0
P10 P20
P10 X10XCALL P20 X20XCALL