24.01.2015 Views

PLC Programming

  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The Util.lib library<br />

RAMP_REAL<br />

RAMP_REAL functions in the same way as RAMP_INT, with the simple difference that the inputs IN,<br />

ASCEND, DESCEND and the output OUT are of the type REAL.<br />

10.17.7 Analog Value Processing...<br />

HYSTERESIS<br />

The input to this function block consists of three INT values IN, HIGH and LOW. The output OUT is of<br />

the type BOOL.<br />

If IN goes below the limiting value LOW, OUT becomes TRUE. If IN goes over the upper limit HIGH,<br />

FALSE is delivered.<br />

An illustrative example:<br />

LIMITALARM<br />

This function block specifies, whether the input value is within a set range and which limits it has<br />

violated if it has done so.<br />

The input values IN, HIGH and LOW are each of the type INT, while the outputs O, U and IL are of the<br />

type BOOL.<br />

10-58 CoDeSys V2.3

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

Saved successfully!

Ooh no, something went wrong!