Publication 1734-UM015A-EN-E - November 2009
DeviceLogix Capabilities
67
Output is Clear
END
For more information on the Comparison category, refer to the DeviceLogix
System User Manual, publication
Compute Category
The Compute category includes fundamental arithmetic operations, including
the instruction types:
•
Add (ADD)
•
Multiple (MUL)
•
Subtract (SUB)
•
Divide (DIV)
•
Modulus (DINT)
•
Modulus (REAL)
•
Absolute (ABS)
•
Negative (NEG)
•
Square Root (SQR)
•
Power (XPY)
Operation rules [all except Mask (MEQ)]
The conditions and outputs of each function block are described below.
Function Block
Type
Output
Add (ADD)
= Source A + Source B
Multiply (MUL)
= Source A x Source B
Subtract (SUB)
= Source A - Source B
Divide (DIV)
= Source A / Source B
Modulus (DINT)
= Source A - (Source A / Source B) x Source B
Modulus (REAL)
= Source A - (DINT)(Source A / Source B) x Source B
Absolute (ABS)
= Absolute value of (Source A)
Negative (NEG)
= -Source A
Square Root (SQR)
= Square root of (Source A)*
Power (XPY)
= Source A * * Source B
* If Source A is negative, the operation takes the absolute value of Source A before
calculating the square root and no fault is reported.
Содержание 1734-8CFGDLX
Страница 6: ...Publication 1734 UM015A EN E November 2009 4 Table of Contents Notes ...
Страница 10: ...Publication 1734 UM015A EN E November 2009 8 Preface Notes ...
Страница 16: ...Publication 1734 UM015A EN E November 2009 14 Introduction Notes ...
Страница 109: ...Publication 1734 UM015A EN E November 2009 Peer Data Maps 107 Notes Allen Bradley HMIs ...
Страница 110: ...Publication 1734 UM015A EN E November 2009 108 Peer Data Maps Notes ...
Страница 111: ...Allen Bradley HMIs ...