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

Create successful ePaper yourself

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

plc st - 19.7<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 are given in Figure 19.11. These will be used in<br />

expressions such as IF-THEN statements.<br />

><br />

>=<br />

=<br />

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

Saved successfully!

Ooh no, something went wrong!