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.

Function Libraries<br />

4.4.7 Installing an Input IRQ Module<br />

Changing states of inputs di0 to di3 of Ventura Remote<br />

PLC generate interrupt requests (IRQs) which can<br />

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

IRQ module instead.<br />

Input IRQ module properties:<br />

Immediately after an interrupt request is received as<br />

specified by the MODE instruction the program identified<br />

by the "index" is run once. Then the interrupted program<br />

is resumed.<br />

Parameter Type Value Explanation<br />

Index WORD module number<br />

channel<br />

WORD<br />

mode WORD<br />

0 input 0<br />

1 input 1<br />

2 input 2<br />

3 input 3<br />

0 no IRQ handling<br />

1 rising edge<br />

2 falling edge<br />

3 both edges<br />

To install a program module as an input 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 input IRQ module:<br />

84 E 700 GB

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

Saved successfully!

Ooh no, something went wrong!