EasyManua.ls Logo

Panasonic FP-E - Page 197

Panasonic FP-E
1334 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Basic Instructions
2 87
Nesting of subroutines is possible until the 5th nesting.
SUB 0
CALL1
RET
(Stage 2)
SUB 1
CALL2
RET
Called up from inside of the subroutine.
5th nesting example
(Stage 3)
SUB 2
CALL3
RET
(Stage 4)
SUB 3
CALL4
RET
(Stage 5)
SUB 4
RET
Flag conditions
Error flag (R9007): Turns on and stays on when performing five nestings and executing the
CALL instruction for the subroutine of the 5th nesting.
Error flag (R9008): Turns on for an instant when performing five nestings and executing the
CALL instruction for the subroutine of the 5th nesting.
Precautions during programming
In the interrupt program, a subroutine program cannot be used.
SUB 21
RET
IRET
INT 1
Subroutine
In the subroutine program, an interrupt program cannot be used.
Interrupt program
INT 0
IRET
RET
SUB 21
Subroutine
For the FP0/FPe, subroutine program cannot be written inside another subroutine program.
SUB 2
RET
SUB 0
Subroutine program
Subroutine
program
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com

Related product manuals