24.01.2015 Views

PLC Programming

  • No tags were found...

Create successful ePaper yourself

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

The Util.lib library<br />

SAWTOOTH_FALL a descending sawtooth, RECTANGLE a rectangular signal and SINE and<br />

COSINE the sine and cosine:<br />

TRIANGLE:<br />

TRIANGLE_POS:<br />

SAWTOOTH_RISE:<br />

SAWTOOTH_FALL:<br />

RECTANGLE:<br />

SINUS:<br />

COSINUS:<br />

BASE defines whether the cycle period is really related to a defined time (BASE=TRUE) or whether it<br />

is related to a particular number of cycles, which means the number of calls of function block<br />

(BASE=FALSE).<br />

PERIOD or CYCLES defines the corresponding cycle period.<br />

AMPLITUDE defines, in a trivial way, the amplitude of the function to be generated.<br />

The function generator is again set to 0 as soon as RESET=TRUE.<br />

Example in FBD:<br />

10.17.6 Function Manipulators...<br />

CHARCURVE<br />

This function block serves to represent values, piece by piece, on a linear function:<br />

10-56 CoDeSys V2.3

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

Saved successfully!

Ooh no, something went wrong!