17.02.2013 Views

Kuhnke Electronics Instruction Manual

Kuhnke Electronics Instruction Manual

Kuhnke Electronics Instruction Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Resolution of the rotary encoder: single or four-fold.<br />

Reference interrupt<br />

(Referenzinterrupt)<br />

Software<br />

Specifies whether an impulse received by the Ref input<br />

will generate an interrupt request.<br />

The next two parameters, i.e.<br />

- run_IRQmod_after_reference_interrupt<br />

- clear_counter_after_reference_interrupt<br />

allow you to specify which of the two available functions<br />

will be run.<br />

Run_IRQmod_after_reference_interrupt<br />

(Aufruf_Ubst_bei_Referenzinterrupt)<br />

(only if reference interrupt = On).<br />

Setting to say whether or not a ref IRQ module is to be<br />

run when a ref impulse is received.<br />

The IRQ module contains your code on how to react to<br />

the interrupt request (IRQ module � section 4.4.8 )<br />

You can use this function to prevent the user program<br />

from running the interrupt module.<br />

Clear_counter_after_reference_interrupt<br />

(Zaehler_loeschen_bei_Referenzinterrupt)<br />

(only if reference interrupt = On).<br />

Specifies whether the current encoder value is to be<br />

cleared when a ref impulse is received.<br />

You can use this function to prevent the counter reading<br />

from being cleared, e.g. if you just with the REF IRQ<br />

Module to be run.<br />

Clear_counter_after_reference_value<br />

(Zaehler_loeschen_bei_Vergleichswert erreicht)<br />

Specifies whether the counter reading is cleared or just a<br />

reference value interrupt request is generated when the<br />

count equals a previously set reference value.<br />

A reference value IRQ will occur whenever a count equals<br />

a reference value, no matter whether<br />

clear_counter_after_reference_value is set or not.<br />

147

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!