EasyManua.ls Logo

Vigor VS Series - Page 140

Vigor VS Series
484 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
134
FNC
03
FNC
04
FNC
05
R E T
I
E I
D I
1
2
M
3
1
1
2
2
M
M
3
3
X20
M9050
FEND
IX0P
IRET
IX1F
IRET
END
DI
EI
Interrupt Return
Enable Interrupt
Disable Interrupt
Interrupt in
this area
is not
allowed.
The IX0P
Interrupt
Subroutine
The IX1F
Interrupt
Subroutine
The First END
of the Main
Program
Generally a program is under Enable Interrupt status. Except for the
program ow is during the area between the DI and EI instructions,
where interruption is prevented.
Assume that programs are under Enable Interrupt status:
When X0= “OFF” “ON”, the IX0P Interrupt Subroutine will be
executed until when the IRET instruction is encountered, then the ow
returns to the main program and keep running.
When X1=“ON” “OFF”, the IX1F Interrupt Subroutine will be
executed until when the IRET instruction is encountered, then the ow
returns to the main program and keep running.
When X20=“ON”, the Interrupt Disable Special Relay M9050 is active
and then “X0” is driven to disable Interrupt, the interrupt from the
external input X0 is blocked.
Please write the Interrupt Pointer “IX □□ ”, “IHC □□ ”, “IHHC ” or
“IT □□□ ” after the FEND instruction.
When the program ow executing an interrupt subroutine, all
other interrupts are not allowed.
The Timers used in general subroutines and interrupt subroutines must be selected from the T192~T199.
When the program ow is worked between the DI and EI instructions, instructions, an interrupt demand cannot be
executed immediately. The demand will be memorized and executed when the interrupt function is allowed again.
For the pulse width of the external interrupt signal, please refer to the input reaction time varies with the series of PLC.
If the interrupt subroutine’s I/O needs processed instantly, please use the FNC50 REF immediate I/O refresh
instruction.

Table of Contents