187
Publication 1763-RM001C-EN-P - October 2009
Chapter
9
Math Instructions
General Information
Before using math instructions, become familiar with the following topics
at the beginning of this chapter:
•
•
•
Using the Floating Point (F) Data File
Instructions
Use these output instructions to perform computations using an
expression or a specific arithmetic instruction.
Instruction
Used To:
Page
ADD - Add
Add two values
SUB - Subtract
Subtract two values
MUL - Multiply
Multiply two values
DIV - Divide
Divide one value by another
NEG - Negate
Change the sign of the source value and place it
in the destination
CLR - Clear
Set all bits of a word to zero
ABS - Absolute Value
Find the absolute value of the source value
SQR - Square Root
Find the square root of a value
SCL - Scale
Scale a value
SCP - Scale with Parameters
Scale a value to a range determined by creating
a linear relationship
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive