[Timing chart]
Execution of subroutine
P0 triggered by X0
X1
3
Current
2
value of
1
C0
Counter is reset
A
(part
in above
RST
program).
C0
Y7
X2
Operation error
Error code
Description
(SD0/SD8067)
3360
The 17th level of the nesting is executed.
3380
The subroutine program specified by the pointer in the CALL(P) instructions do not exist.
3381
After the CALL(P) instructions are executed, the END, FEND, GOEND, or STOP instruction is executed before the RET (SRET)
instruction is executed.
3382
The RET (SRET) instruction is executed before the CALL(P) instructions are executed.
Subroutine is executed.
3
2
1
Counter reset instruction is
deactivated (part
B
in
above program).
Resets Y7.
4
7 APPLICATION INSTRUCTION
347
7.4 Structuring instruction
7