Kuhnke Electronics Instruction Manual

Kuhnke Electronics Instruction Manual Kuhnke Electronics Instruction Manual

17.02.2013 Views

Software Analogue output: output voltage Program the output value as two's complement in an integer-type variable. Variable Address Value Comment AO_0 %QW2 0..16#7FFF 0...+10V at do0 AO_1 %QW3 0..16#7FFF 0...+10V at do1 Depending on your setup, the value is implemented as an 8-bit or 10-bit value. Sample program: PROGRAM PLC_PRG VAR Value0: INT:= 16#7FFF; Value1: INT:= 16#2000; END_VAR AO_0:=Value0; (*initial value +10V*) AO_1:=Value1; (*initial value +2.5V*) 142 E 700 GB

5.3.7 Functions of Internal Counters 5.3.7.1 Event counter Software Ventura Remote PLC has A, B and Ref terminals for a counter. The counter can be used either as A, B, Ref counter or as an event counter of pin A. Run the PLC Configuration Editor to choose a counting function. A, B, Ref is the default. � Choose "Resources, PLC Configuration, Kuhnke Ventura Remote IO CAN (or DP), Internal IO, Counter1 A-BRef". � Then choose "Extras, Replace element". The event counter is a 16-bit ring counter which counts the changes of pin A signals in the Sub-D plug. 5.3.7.1.1 Event Counter Setup Run the PLC Configuration Editor to set up the event counter. � Choose "Resources, PLC Configuration, Kuhnke Ventura Remote IO CAN (or DP), Internal IO, Counter1 Event". � Set the options as appropriate. 143

5.3.7 Functions of Internal Counters<br />

5.3.7.1 Event counter<br />

Software<br />

Ventura Remote PLC has A, B and Ref terminals for a<br />

counter.<br />

The counter can be used either as A, B, Ref counter or as<br />

an event counter of pin A.<br />

Run the PLC Configuration Editor to choose a counting<br />

function. A, B, Ref is the default.<br />

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

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

Counter1 A-BRef".<br />

� Then choose "Extras, Replace element".<br />

The event counter is a 16-bit ring counter which counts<br />

the changes of pin A signals in the Sub-D plug.<br />

5.3.7.1.1 Event Counter Setup<br />

Run the PLC Configuration Editor to set up the event<br />

counter.<br />

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

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

Counter1 Event".<br />

� Set the options as appropriate.<br />

143

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

Saved successfully!

Ooh no, something went wrong!