Mitsubishi Electronics QSERIES Smoker User Manual


  Open as PDF
of 1204
 
5-52
FEND
Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and
an error code is stored into SD0.
The FEND instruction is executed after the execution of the CALL, FCALL, ECALL, or
EFCALL instruction, and before the execution of the RET instruction.
(Error code: 4211)
The FEND instruction is executed after the execution of the FOR instruction, and before
the execution of the NEXT instruction. (Error code: 4200)
The FEND instruction is executed during an interrupt program, and before the execution
of the IRET instruction. (Error code: 4221)
The FEND instruction is executed between the CHKCIR and CHKEND instructions.
(Error code: 4230)
The FEND instruction is executed between the IX and IXEND instructions.
(Error code: 4231)
Program Example
(1) The following program uses the CJ instruction.
[Ladder Mode]
[List Mode]
When XB is ON, the program jumps to
label P23 and the steps that follow P23
are executed.
Executed when XB is OFF.
Indicates the termination of the sequence
program to be executed when XB is OFF.
Step
Instruction
Device