EasyManua.ls Logo

Mitsubishi Q02CPU

Mitsubishi Q02CPU
692 pages
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...
3
- 9
3.1 Sequence Program
3.1.2 Subroutine programs
3
SEQUENCE PROGRAM CONFIGURATION AND
EXECUTION CONDITIONS
3.1.2 Subroutine programs
(1) Definition of subroutine program
A subroutine program is a program section from a pointer (P ) to the REET
instruction.
The subroutine program is executed only when it is called by a subroutine program
call instruction (e.g. CALL(P), FCALL(P)) from the main routine program.
(2) Subroutine program applications
Using a subroutine program as described below reduces the number of program
steps.
Changing a section, which is executed several times during one scan, to a
subroutine program reduces the number of steps in the whole program.
Changing a section, which is executed only when a certain condition is satisfied,
to a subroutine program reduces the number of steps in a normally executed
program.

Table of Contents

Other manuals for Mitsubishi Q02CPU

Related product manuals