12.07.2015 Views

Logix5000 Controllers General Instructions - SLAC Confluence

Logix5000 Controllers General Instructions - SLAC Confluence

Logix5000 Controllers General Instructions - SLAC Confluence

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Trigonometric <strong>Instructions</strong> (SIN, COS, TAN, ASN, ASIN, ACS, ACOS, ATN, ATAN) 525Cosine (COS)The COS instruction takes the cosine of the Source value (in radians)and stores the result in the Destination.Operands:Relay LadderOperand Type Format DescriptionSource SINT immediate find the cosine of this valueINTtagDINTREALDestinationSINTtagtag to store the resultINTDINTREALStructured Textdest := COS(source);Use COS as a function. This function computes the cosine of sourceand stores the result in dest.See for information on the syntax of expressions within structuredtext.Function BlockOperand Type Format DescriptionCOS tag FBD_MATH_ADVANCED structure COS structurePublication 1756-RM003I-EN-P - January 2007

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

Saved successfully!

Ooh no, something went wrong!