13.07.2015 Views

1766-RM001A-EN-P MicroLogix 1400 Programmable Controllers ...

1766-RM001A-EN-P MicroLogix 1400 Programmable Controllers ...

1766-RM001A-EN-P MicroLogix 1400 Programmable Controllers ...

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.

Math Instructions 221Instruction OperationWhen the rung is true, this instruction shall compute arc cosine of theSource and place the result in Destination. Valid input range is from-1.0…1.0 and output range is from 0…π.If the Destination is floating point, the result shall always be roundedusing the round to even rule.ACS Instruction OperationInputs Conditions OutputSource Type Destination S:2/14S:0/3-0 S:5/0 DestinationTypeS, Z, V, CW,DW, F F X -1.0 = 0.5 0,0,0,0 L Rnd(Acos(Source))W,DW, F W, DW X Acos(Source) < 0.5 0,1,0,0 L 0(2) X F X Source < -1 or Source > 1 0,0,1,0 1 0x7FFFFFFF(2) X F X Source is NAN or INF 0,0,1,0 1 0x7FFFFFFFX W X Source < -1 or Source > 1 0,0,1,0 1 32767X DW X Source < -1 or Source > 1 0,0,1,0 1 2147483647(3) X W X Source is NAN or INF 0,0,1,0 1 32767(3) X DW X Source is NAN or INF 0,0,1,0 1 2147483647(1) All denormalized inputs shall be treated as plus zero. Any underflow result shall produce π/2.(2) If the Destination is floating point, all overflows shall produce NAN(0x7FFFFFFF).(3) If the Destination is word or double-word, and an overflow occurs, destination shall be 32767 for Word and 2147483647 for Double Word.ATN - Arc TangentABS ATNArc TangentSource N7:00

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

Saved successfully!

Ooh no, something went wrong!