Chapter 7 Usage of Various Functions
7-
ొ
7.1.6 External Interrupt Function
In K7 Series can perform max 8 points of external contact interrupt by using input of base unit without special interrupt
module.
1) Usage
This function is useful to execute a high speed execution regardless of scan time.
2) Operating explanation
3) Function
(1) Max. 8 points can be used to external interrupt input within P000 ~ P007
(2) Inputting 8points of base unit are set functions like following.
00 01 02 03 04 05 06 07
High speed counter
A-phase
Input
B-phase
Input
Preset
Input
-----
External interrupt
ᆬ ᆬ ᆬ ᆬᆬᆬᆬᆬ
Time driven task - - - -----
8points are available
(3) Max, 8points of external contact interrupt are available to use. But the no. of them is decreased by using other
interrupt ( time driven interrupt)
External input signal
Scan program
External contact
interrupt program .
Scan program
In case of occurrence of external
interrupt signal pause being executed
scan program and process interrupt
program
End the interrupt program
process then resume to
execute scan program