2-171
2 Instruction Descriptions
NJ-series Instructions Reference Manual (W502)
Math Instructions
2
ABS
When you calculate real numbers, use the CheckReal instruction (page 2-209) to see if Out is positive
infinity, negative infinity, or nonnumeric data.
• Set the data type of Out to include the absolute value of In.
• If the value of In is positive infinity, negative infinity, or nonnumeric data, the value of Out is as shown
below.
Additional Information
Precautions for Correct Use
Value of In Value of Out
+∞ +∞
−∞ +∞
Nonnumeric data Nonnumeric data