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.

252 Compute/Math <strong>Instructions</strong> (CPT, ADD, SUB, MUL, DIV, MOD, SQR, SQRT, NEG, ABS)Determine the order of operationThe operations you write into the expression are performed by theinstruction in a prescribed order, not necessarily the order you writethem. You can override the order of operation by grouping termswithin parentheses, forcing the instruction to perform an operationwithin the parentheses ahead of other operations.Operations of equal order are performed from left to right.Order: Operation:1. ( )2. ABS, ACS, ASN, ATN, COS, DEG, FRD, LN, LOG,RAD, SIN, SQR, TAN, TOD, TRN3. **4. − (negate), NOT5. *, /, MOD6. − (subtract), +7. AND8. XOR9. ORPublication 1756-RM003I-EN-P - January 2007

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

Saved successfully!

Ooh no, something went wrong!