Kv -300 – KEYENCE Visual KV Series User Manual
Page 299

6.1 Interrupt Instructions
KV
-300
KV-10/80
3-275
1
6
Chapter 6 Interrupts, High-speed Counters, Positioning Control
INT / RETI
■ Initial setting
•
When the operation is started, EI instruction enables interrupts.
•
Turning ON special utility relay 2203 allows CTC2 to reset the CTH1 current
value to 0.
•
The CTH1 current value is reset to 0.
•
The CTC2 preset value is set to 5000.
•
Turning ON special utility relay 2813 changes the input time constant to 10 µs.
•
Pulses input to 0005 are counted using CTH1.
•
When input 0000 turns ON, output 0501 is reset.
•
INT CTC2 is used to execute the interrupt. (Interrupt routine is executed when
the CTH1 current value and CTC2 preset value are equal.)
•
Immediate output to 0501 is performed.
Note 1: When the interrupt is executed, the contact of CTC2 is automatically reset.
Note 2: The operand used for INT instruction is not allowed for use with other INT
instructions.
KVNKA Chap 06.p65
08.3.11, 0:10 PM
275
- LR-TB2000 Series (12 pages)
- LR-TB5000 Series (12 pages)
- LR-ZB250AN/AP (4 pages)
- LR-ZB250AN/P (3 pages)
- LR-ZBxN/P Series (3 pages)
- LR-ZBxxB (3 pages)
- OP-85135 (1 page)
- PZ-G Series (2 pages)
- PZ-V/M (2 pages)
- PS-N10 Series (12 pages)
- PX-10 (10 pages)
- CZ-V21A(P) (10 pages)
- CZ-K1(P) (8 pages)
- CZ-V1 (8 pages)
- FS-N10 Series (6 pages)
- FS-N10 Series (116 pages)
- FS-N15CN (1 page)
- FU-93(Z) (2 pages)
- FU-V Series (2 pages)
- FS-V30 (6 pages)
- FU-A40 (1 page)
- NU/FS-N Series (16 pages)
- FS-V33(P) (8 pages)
- FS-V21 (4 pages)
- FS-V22 (4 pages)
- FS-V11(P) (4 pages)
- FS-V1(P) (4 pages)
- LV-N10 Series (12 pages)
- LV-N10 Series (112 pages)
- LV-S62 (1 page)
- OP-84350 (1 page)
- LV-SA (10 pages)
- LV-SB (12 pages)
- OP-87305 (1 page)
- LV Series (10 pages)
- LV-B102 (1 page)
- EV-108M(U) (1 page)
- EZ Series (1 page)
- EM Series (1 page)
- ES-M1(P) (3 pages)
- EX-V Series (120 pages)
- EX-500(W) Series (16 pages)
- GV Series (10 pages)
- IA Series (8 pages)
- LB-1000(W) (24 pages)