Mitsubishi Electronics FX2C Home Theater Server User Manual


 
FX Series Programmable Controllers Execution Times And Instructional Hierarchy 7
7-12
7.3 Hierarchical Relationships
Of Basic Program Instructions
The followin
g
table identifies an 'inclusive
relationship'. This means the secondar
y
pro
g
ram
construction is included within the complete
operatin
g
boundaries of the primar
y
pro
g
ram
construction, e.
g
.:
:Instruction combination is acceptable - for restrictions see appropriate note
: Instruction combination is not allowed - bracketed number is the error code
: Instruction combination is not recommended for use even thou
g
h there is no operational
error
The combination of instructions with an 'inclusive relationship' is allowable. However please be
aware of the followin
g
exceptions:
1) MC-MCR and STL-RET constructions cannot be used within FOR-NEXT loops, P-SRET or
I-IRET subroutines.
2) Pro
g
ram flow ma
y
not be discontinued b
y
usin
g
an
y
of the followin
g
methods while inside
MC-MCR, FOR-NEXT, P-SRET, I-IRET pro
g
ram constructions, i.e. usin
g
interrupts (I),
IRET, SRET, FEND or the END instruction is not allowed.
Primary
Program
Construction
Secondary program construction
MC-MCR CJ - P EI - DI
FOR -
NEXT
STL -
RET
P - SRET I - IRET
FEND -
END
MC - MCR
- 8
nest lev-
els
-
(
6608
)
-
(
6608
)
-
(
6608
)
CJ - P
-
(
6701
)
EI - DI
FOR - NEXT
-
(
6607
)
- 5
nest lev-
els
-
(
6607
)
-
(
6607
)
-
(
6607
)
-
(
6607
)
STL - RET
-
(
6605
)
-
(
within 1
STL step
)
-
(
6605
)
-
(
6605
)
-
(
6605
)
P - SRET
-
(
6606
)
-
(
6606
)
-
(
6606
)
-
(
6606
)
-
(
6709
)
I - IRET
-
(
6606
)
-
(
6606
)
-
(
6606
)
-
(
6606
)
-
(
6606
)
FEND - END
0 - FEND
-
(
6606
)
-
(
6606
)
0 - END
(no FEND)
-
(
6606
)
-
(
6606
)
FOR
EI
DI
NEXT
Primary
program construction
Secondary
program construction