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.

Software<br />

5.3.7.2 A, B, Ref Up/Down Counter<br />

The A, B, Ref counter is a 32-bit counter that counts the<br />

alternations of pin A and pin B signals. It can discriminate<br />

phases to enable up/down count detection. The counter is<br />

controlled either by the Ref impulse of an encoder or by a<br />

sensor attached to the Ref input.<br />

5.3.7.2.1 A, B, Ref Counter Setup<br />

Run the PLC Configuration Editor to set up the A, B, Ref<br />

counter.<br />

� Choose "Resources, PLC Configuration, <strong>Kuhnke</strong><br />

Ventura Remote IO CAN (or DP), Internal IO,<br />

Counter1 A-BRef".<br />

� Set the options as appropriate.<br />

Run_IRQmod_after_reference_value<br />

(Aufruf_Ubst_bei_ Vergleichswert)<br />

Setting to say whether or not a reference value IRQ<br />

module is to be run when the count equals a reference<br />

value.<br />

The reference value can be 0 or set to any other value in<br />

the user program.<br />

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

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

Encoder resolution (single / 4_fold)<br />

(Drehgeberauflösung (1_fach / 4_fach)<br />

146 E 700 GB

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

Saved successfully!

Ooh no, something went wrong!