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 function ref - 34.14<br />

34.1.5 Calculation <strong>and</strong> Conversion<br />

ACS, ASN, ATN, COS, LN, LOG, NEG, SIN, SQR, TAN - ArcCosine, ArcSiNe,<br />

ArcTaNgent, COSine, Logarythm Natural, LOGarythm,<br />

NEGative, SINe, SQuare Root, TANgent<br />

A<br />

ACS<br />

ARCCOSINE<br />

Source<br />

Dest<br />

N7:0<br />

N7:1<br />

Description:<br />

Status Bits:<br />

These are unary math functions that will load a value from the source, do<br />

the calculation indicated, <strong>and</strong> store the results in the destination. Functions<br />

possible include<br />

ACS - Arccosine (inverse cosine) in radians<br />

ASN - Arcsine (inverse sine) in radians<br />

ATN - Arctangent (inverse tangent) in radians<br />

COS - Cosine using radians<br />

LN - Natural Logarithm<br />

LOG - Base 10 logarithm<br />

NEG - Sign change from positive to negative, or reverse<br />

SIN - Sine using radians<br />

SQR - Square root<br />

TAN - Tangent using radians<br />

C<br />

V<br />

Z<br />

S<br />

Carry - set if a carry is generated<br />

Overflow - only set if value exceeds maximum for number type<br />

Zero-setsiftheresultiszero.<br />

Sign - set if result is negative<br />

Registers: none<br />

Available on: Micrologix, PLC-5

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

Saved successfully!

Ooh no, something went wrong!