3
- 43
3.3 Settings for Creation and Execution of Multiple Sequence Programs
3.3.4 Stand-by type program
3
SEQUENCE PROGRAM CONFIGURATION AND
EXECUTION CONDITIONS
1) Operation of subroutine and interrupt programs in stand-by type
program
When the execution of the stand-by type program is finished, a program in the
stand-by type program is called and its execution is resumed.
Diagram 3.39 shows the operation performed when the subroutine and
interrupt programs in the stand-by type program is executed.
POINT
1. Refer to the following section for restrictions on subroutine or interrupt
program creation.
• Subroutine program : Section 3.1.2
• Interrupt program : Section 3.1.3
2. Use common pointers.( Section 9.9.2)
When local pointers are used, the subroutine programs in the stand-by type
program cannot be executed from another program.
(b) When changing execution type by instruction
Use the PSCAN, PLOW
Note3.22
, PSTOP and/or POFF instruction to change the
execution type.Note22
Diagram 3.39 Operation of subroutine and interrupt programs in stand-by type program
Note22
P100 RET
I0 IRET
END processing
CALL P100 instruction execution
END processing
Interrupt factor occurrence
END processing
Subroutine program in
stand-by type program
Interrupt program in stand-
by type program
Main routine program
Redundant
Note3.22
Since the Redundant CPU cannot use low speed execution type programs, it cannot change the
execution type using the PLOW instruction.
Redundant
Note3.22