Mitsubishi Electric Q01UCPU User Manual page 183

Hide thumbs Also See for Q01UCPU:
Table of Contents

Advertisement

• When only the start step is executed
The specified end step is not executed by the JMP instruction.
Ex.
The specified end step
is not executed due to
the JMP instruction.
• When the end step is executed before the start step
The start step is specified as the next step of the CALL instruction and the end step is specified in a
Ex.
subroutine program executed by the CALL instruction.
The start step is executed
after the end step by the
CALL instruction.
• When the IRET instruction, FEND instruction, BREAK instruction, or RET instruction is specified for the
end step
In an interrupt program by I31, the IRET instruction is specified for the end step.
Ex.
When the scan time in an
interrupt program is measured,
do not specify the IRET
instruction for the end step.
0
Start step: 3
3
5
7
10
P0
12
13
0
Start step: 3
3
5
P0
6
9
0
1
3
Start step: 4
I31
4
7
10
12
13
CHAPTER 3 FUNCTIONS
JMP P0
End step: 9
END
CALL P0
FEND
End step: 8
RET
EI
FEND
End step: 12
IRET
END
3
181

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents