EasyManuals Logo
Home>Allen-Bradley>Controller>Logix5000

Allen-Bradley Logix5000 Reference Manual

Allen-Bradley Logix5000
708 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
Page #552 background imageLoading...
Page #552 background image
552 Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
Chapter 15 Advanced Math Instructions (LN, LOG, XPY)
X to the Power of Y (XPY)
The XPY instruction takes Source A (X) to the power of Source B (Y) and stores
the result in the Destination.
Operands:
Relay Ladder
Structured Text
Use two, adjacent multiply signs ‘∗∗’ as an operator within an expression. This
expression takes sourceX to the power of sourceY and stores the result
in dest.
See Structured Text Programming
for information on the syntax of expressions
within structured text.
Function Block
Operand Type Format Description
Source X SINT
INT
DINT
REAL
Immediate
Tag
Base value
Source Y SINT
INT
DINT
REAL
Immediate
Tag
Exponent
Destination SINT
INT
DINT
REAL
Tag Tag to store the result
Operand Type Format Description
XPY tag FBD_MATH Structure XPY structure
dest := sourceX ** sourceY;

Table of Contents

Other manuals for Allen-Bradley Logix5000

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Allen-Bradley Logix5000 and is the answer not in the manual?

Allen-Bradley Logix5000 Specifications

General IconGeneral
BrandAllen-Bradley
ModelLogix5000
CategoryController
LanguageEnglish

Related product manuals