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 />

Analogue output: output voltage<br />

Program the output value as two's complement in an<br />

integer-type variable.<br />

Variable Address Value Comment<br />

AO_0 %QW2 0..16#7FFF 0...+10V at do0<br />

AO_1 %QW3 0..16#7FFF 0...+10V at do1<br />

Depending on your setup, the value is implemented as an<br />

8-bit or 10-bit value.<br />

Sample program:<br />

PROGRAM PLC_PRG<br />

VAR<br />

Value0: INT:= 16#7FFF;<br />

Value1: INT:= 16#2000;<br />

END_VAR<br />

AO_0:=Value0; (*initial value +10V*)<br />

AO_1:=Value1; (*initial value +2.5V*)<br />

142 E 700 GB

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

Saved successfully!

Ooh no, something went wrong!