Mitsubishi L02CPU User Manual page 66

Melsec-l series
Hide thumbs Also See for L02CPU:
Table of Contents

Advertisement

(a) Executing upon an interrupt or a call such as by a pointer
When creating subroutine and/or interrupt programs in a single standby type program, start the program from
the step 0. The FEND instruction used in creation of a subroutine or interrupt program is not required after a
main routine program.
After execution of the standby type program, the CPU module re-executes the program that called a program in
the standby type program.
Main routine program
Subroutine program in
a standby type program
Interrupt program in
a standby type program
Use common pointers (
program cannot be executed from any other program.
64
Program A
Main routine program
Program B (standby type program)
Use a common pointer.
CALL P100 instruction execution
END processing
P100
RET
Page 270, Section 5.9). If local pointers are used, subroutine programs in a standby type
Interrupt factor occurred.
END processing
I0
IRET
END processing

Advertisement

Table of Contents
loading

This manual is also suitable for:

L26cpu-bt

Table of Contents