EasyManua.ls Logo

Allen-Bradley MicroLogix 1400 - Page 221

Allen-Bradley MicroLogix 1400
694 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Publication 1766-RM001A-EN-P - October 2008
Math Instructions 219
Instruction Operation
When the rung is true, this instruction shall compute arc-sine of the
Source and place the result in Destination. Valid input range is from
-1.0…1.0 and output range is from -π/2…π/2.
If the Destination is floating point, the result shall always be rounded
using the round to even rule.
IMPORTANT
You cannot use indirect addressing with: S, MG, PD, RTC, HSC, PTOX,
PWMX, STI, EII, BHI, MMI, CS, IOS, and DLS files.
ASN Instruction Operation
Inputs Conditions Output
Source Type Destination
Type
S:2/14 S:0/3-0
S, Z, V, C
S:5/0 Destination
W,DW, F F X 0 < Source <= 1.0 0,0,0,0 L Asin(Source)
(1)
DNRM X X X 0,1,0,0 L 0
W,DW, F F X -1.0 < Source < 0 1,0,0,0 L Asin(Source)
W,DW, F W, DW X Source <=1 && Asin(Source) >= 0.5 0,0,0,0 L Rnd(Asin(Source))
W,DW, F W, DW X -0.5 < Asin(Source) < 0.5 0,1,0,0 L 0
W,DW, F W, DW X Source >= -1 && Asin(Source) <= -0.5 1,0,0,0 L Rnd(Asin(Source))
(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 0x7FFFFFFF
X W X Source < -1 or Source > 1 0,0,1,0 1 32767
X 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 plus zero.
(2) If the Destination is floating point, all overflows(Source is NAN or infinity) 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.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive

Table of Contents

Other manuals for Allen-Bradley MicroLogix 1400

Related product manuals