05.05.2014 Views

csmstr - Omega Engineering

csmstr - Omega Engineering

csmstr - Omega Engineering

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.

SGN(VALUE)<br />

CRIMSON USER MANUAL - MODULAR CONTROLLER<br />

SGN(VALUE)<br />

ARGUMENT TYPE DESCRIPTION<br />

value int / float The value to be processed.<br />

DESCRIPTION<br />

Returns –1 if value is less than zero, +1 if it is greater than zero, or 0 if it is equal to zero.<br />

FUNCTION TYPE<br />

This function is passive.<br />

RETURN TYPE<br />

int or float, depending on the type of the value argument.<br />

EXAMPLE<br />

State := Sgn(Level)+1<br />

PAGE 412<br />

http://www.redlion.net/controller

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

Saved successfully!

Ooh no, something went wrong!