12.05.2014 Views

Automating Manufacturing Systems - Process Control and ...

Automating Manufacturing Systems - Process Control and ...

Automating Manufacturing Systems - Process Control and ...

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.

plc st - 19.8<br />

:=<br />

+<br />

-<br />

/<br />

*<br />

MOD(A,B)<br />

SQR(A)<br />

FRD(A)<br />

TOD(A)<br />

NEG(A)<br />

LN(A)<br />

LOG(A)<br />

DEG(A)<br />

RAD(A)<br />

SIN(A)<br />

COS(A)<br />

TAN(A)<br />

ASN(A)<br />

ACS(A)<br />

ATN(A)<br />

XPY(A,B)<br />

A**B<br />

assigns a value to a variable<br />

addition<br />

subtraction<br />

division<br />

multiplication<br />

modulo - this provides the remainder for an integer divide A/B<br />

square root of A<br />

from BCD to decimal<br />

to BCD from decimal<br />

reverse sign +/-<br />

natural logarithm<br />

base 10 logarithm<br />

from radians to degrees<br />

to radians from degrees<br />

sine<br />

cosine<br />

tangent<br />

arcsine, inverse sine<br />

arccosine - inverse cosine<br />

arctan - inverse tangent<br />

A to the power of B<br />

A to the power of B<br />

Figure 19.10<br />

Math Functions<br />

• Functions for logical comparison include,<br />

><br />

>=<br />

=<br />

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

Saved successfully!

Ooh no, something went wrong!