17.02.2013 Views

Kuhnke Electronics Instruction Manual

Kuhnke Electronics Instruction Manual

Kuhnke Electronics Instruction Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4.4.8 Installing a REF IRQ Module<br />

Function Libraries<br />

A Ref impulse from Ventura Remote PLC's counter<br />

interface generates an interrupt request (IRQ) which can<br />

interrupt the processing of the current program and run an<br />

IRQ module instead.<br />

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

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

parameter settings made using the PLC Configuration<br />

Editor.<br />

To install a program module as a REF-IRQ module you<br />

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

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

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

the error module:<br />

REGIT_REFIRQ ( Index );<br />

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

FUNCTION REGIT_REFIRQ: BOOL<br />

VAR_INPUT<br />

POU_ID: WORD;<br />

END_VAR<br />

VAR<br />

END_VAR<br />

87

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

Saved successfully!

Ooh no, something went wrong!