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) 523Function BlockOperand Type Format DescriptionSIN tag FBD_MATH_ADVANCED structure SIN structureFBD_MATH_ADVANCED StructureInput Parameter Data Type DescriptionEnableIn BOOL Enable input. If cleared, the instruction does not execute and outputs are not updated.Default is set.Source REAL Input to the math instruction.Valid = any floatOutput Parameter Data Type DescriptionEnableOut BOOL The instruction produced a valid result.Dest REAL Result of the math instruction. Arithmetic status flags are set for this output.Description:Arithmetic Status Flags:Fault Conditions:The Source must be greater than or equal to -205887.4 (-2πx2 15 ) andless than or equal to 205887.4 (2πx2 15 ). The resulting value in theDestination is always greater than or equal to -1 and less than or equalto 1.Arithmetic status flags are affected.noneExecution:Relay LadderCondition:prescanrung-condition-in is falserung-condition-in is trueAction:The rung-condition-out is set to false.The rung-condition-out is set to false.The controller calculates the sine of the Source and places the result in the Destination.The rung-condition-out is set to true.postscanThe rung-condition-out is set to false.Publication 1756-RM003I-EN-P - January 2007

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

Saved successfully!

Ooh no, something went wrong!