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...

Create successful ePaper yourself

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

Trigonometric <strong>Instructions</strong> (SIN, COS, TAN, ASN, ASIN, ACS, ACOS, ATN, ATAN) 541FBD_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 resulting value in the Destination is always greater than or equalto -π/2 and less than or equal to π/2 (where π = 3.141593).Arithmetic status flags are affected.noneExecution:Relay LadderConditionprescanrung-condition-in is falserung-condition-in is truepostscanActionThe rung-condition-out is set to false.The rung-condition-out is set to false.The controller calculates the arc tangent of the Source and places the result inthe Destination.The rung-condition-out is set to true.The rung-condition-out is set to false.Function BlockConditionprescaninstruction first scaninstruction first runEnableIn is clearedEnableIn is setpostscanActionNo action taken.No action taken.No action taken.EnableOut is cleared.The instruction executes.EnableOut is set.No action taken.Publication 1756-RM003I-EN-P - January 2007

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

Saved successfully!

Ooh no, something went wrong!