Справочник Пользователя для Mitsubishi Electronics FX

Скачать
Страница из 382
FX Series Programmable Controllers
Execution Times And Instructional Hierarchy 7
7-12
7.3
Hierarchical Relationships
Of Basic Program Instructions 
T h e   f o l l o w i n g   t a b l e   i d e n t i f i e s   a n   ' i n c l u s i v e
relationship'. This means the secondary program
construction is included within the complete
operating boundaries of the primary program
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 though there is no operational
error
The combination of instructions with an 'inclusive relationship' is allowable. However please be
aware of the following exceptions:
1) MC-MCR and STL-RET constructions cannot be used within FOR-NEXT loops, P-SRET or
I-IRET subroutines.
2) Program flow may not be discontinued by using any of the following methods while inside
MC-MCR, FOR-NEXT, P-SRET, I-IRET program constructions, i.e. using 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)
FX
0(S)
FX
0N
FX FX
(2C)
FX
2N(C)
FOR
EI
DI
NEXT
Primary
program construction
Secondary
program construction