EasyManua.ls Logo

Allen-Bradley MicroLogix 1400 - XPY - X Power y

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 231
XPY - X Power Y
Instruction Type: output
LOG 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 Source > 1 0,0,0,0 L Log(Source)
W,DW, F F X Source = 1 0,1,0,0 L 0
W,DW, F F X 0 < Source < 1 1,0,0,0 L Log(Source)
W,DW, F W, DW X Source >= Sqrt(10) 0,0,0,0 L Rnd(Log(Source))
W,DW, F W, DW X 1/Sqrt(10) < Source < Sqrt(10) 0,1,0,0 L 0
W,DW, F W, DW X 0 < Source <= 1/Sqrt(10) 1,0,0,0 L Rnd(Log(Source))
(1)
+DNRM F X X 1,0,1,0 1 -INF
(1)
(2)
+DNRM W 0 X 1,0,1,0 1 -32768
(1)
(2)
+DNRM DW 0 X 1,0,1,0 1 -2147483648
(1)
(3)
W,DW, F F X Source <= 0 (including -DNRM) 0,0,1,0 1 0x7FFFFFFF
(2)
W,DW, F F X Source = +INF 0,0,1,0 1 +INF
(3)
X F X Source is NAN or -INF 0,0,1,0 1 0x7FFFFFFF
(4)
X W 0 Source is NAN or INF 0,0,1,0 1 32767
(4)
X DW 0 Source is NAN or INF 0,0,1,0 1 2147483647
(1) All denormalized inputs shall be treated as plus zero.
(2) If the Destination is word or double-word and an overflow occurs (except source is NAN or INF), destination is -32768 for Word and -2147483648 for Double Word.
(3) If the Destination is floating point, all overflows (except +INF) shall produce NAN (0x7FFFFFFF).
(4) If Destination is an integer and the Source is NAN or infinity (+INF or -INF), a saturated result (32767 for Word and 2147483647 for Double Word) shall be stored.
ABS
X To Power of Y
Source A N7:0
0<
Source B N7:1
0<
Dest N7:2
0<
XPY
Execution Time for the XPY Instruction
Controller Data Size When Rung Is:
True False
MicroLogix 1400 word 66.2050 µs 0.3920 µs
long word 69.0550 µs 0.3548 µs
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive

Table of Contents

Other manuals for Allen-Bradley MicroLogix 1400

Related product manuals