Chapter 5 Instruction Specifications
5-113
Item number
Control instructions-12
Name
End interrupt scan program (RETURN INTERRUPT)
Ladder format
Condition code
Processing time (
µ
s)
Remark
R7F4
R7F3
R7F2
R7F1
R7F0
Average Maximum
RTI
DER
ERR
SD
V
C
z
z
z
z
z
Instruction format
Number of steps
0.5
Condition
Steps
RTI
1
Bit
Word
Double word
Usable I/O
X
Y
R,
M
TD, SS,
CU, CT
WX WY
WR,
WM TC DX DY
DR,
DM
C
o
nstant
Other
Function
•
This instruction declares the end of an interrupt scan program.
•
When this program is executed, the processing is returned to the program that was executing before the interrupt scan was
performed.
•
Do not set a startup condition with this instruction.
Notes
•
This instruction is checked prior to execution, and when there is an error, the following error code is set in the special
internal output WRF001. Also, the CPU error code '34' is set to special internal output WRF000.
CPU error code
Special internal output
Error code
Error description
H0012
RTI undefined
34
WRF001
H0021
RTI area error
H0031
RTI startup condition error
Instruction for use
INT 0
WR0000=1
WR0000=0
R000=0
RTI
X00000
X00000
WM000
< =
WR0000
SET
R000
•
A 0.01s timer is created using 10 ms interval interrupt.
•
WM000, WR0000 and R000 are used for the set value, progress value
and timer coil, respectively.
•
When X00000 is off, the progress value and timer coil are cleared.
•
When X00000 is on, the progress value increments by 1 every 10 ms.
•
The timer coil is turned on upon WM000 is less than or equal to
WR0000.
RT
I
Summary of Contents for HIDIC MICRO-EH
Page 1: ...HITACHI PROGRAMMABLE CONTROLLER APPLICATION MANUAL NJI 350B X ...
Page 12: ...MEMO ...
Page 14: ...Chapter 1 Features 1 2 MEMO ...
Page 50: ...Chapter 4 Product lineup and wiring 4 18 MEMO ...
Page 196: ...Chapter 5 Instruction Specifications 5 146 ...
Page 263: ...Chapter 11 Communication Specifications 11 10 MEMO ...