Special offers from our partners!
Find Replacement BBQ Parts for 20,308 Models. Repair your BBQ today.
7-124
ECALL(P)
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.
• The device specified for the argument cannot be secured for the data size.
(Error code: 4101)
• Following the execution of the ECALL (P) instruction, an END, FEND, GOEND, or STOP
instruction is executed before the execution of the RET instruction.
(Error code: 4211)
• An RET instruction is executed prior to the execution of the ECALL(P) instruction.
(Error code: 4212)
• A 17th nesting level is executed. (Error code: 4213)
• The subroutine program of the pointer designated by the ECALL(P) instruction does not
exist. (Error code: 4210)
• The designated file does not exist. (Error code: 2410)
• The designated file cannot be executed. (Error code: 2411)
Program Example
(1) The following program executes program block P0 of the program A-LINE when X20 is
turned ON.
[Ladder Mode] [List Mode]
[MAIN]
Step
Instruction
Device
[A-LINE]
Step
Instruction
Device