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.

Function Libraries<br />

4.4.9 Installing a Reference Value IRQ Module<br />

The count of Ventura Remote PLC's counter reaching the<br />

reference value generates an interrupt request (IRQ)<br />

which can interrupt the processing of the current program<br />

and run an IRQ module instead.<br />

This requires that running an interrupt module (IRQmod)<br />

following reference value interrupt is admitted by the<br />

project parameter settings made using the PLC<br />

Configuration Editor.<br />

To install a program module as a reference value IRQ<br />

module you must run the following code to identify the<br />

module:<br />

Index := INDEXOF (module name);<br />

Afterwards, run the following function in order to set up<br />

the error module:<br />

REGIT_T3IRQ ( Index );<br />

After successful completion, the function returns TRUE.<br />

FUNCTION REGIT_T3IRQ: BOOL<br />

VAR_INPUT<br />

POU_ID: WORD;<br />

END_VAR<br />

VAR<br />

END_VAR<br />

88 E 700 GB

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

Saved successfully!

Ooh no, something went wrong!