2 Instruction Descriptions
2-184
NJ-series Instructions Reference Manual (W502)
Use the CheckReal instruction (page 2-209) to see if Out is positive infinity, negative infinity, or nonnu-
meric data.
• If the value of In is not a positive number, the value of Out is as shown below.
• If you pass an integer parameter to In, the data type is converted as follows:
Additional Information
Precautions for Correct Use
Value of In Value of Out
Negative number Nonnumeric data
0
−∞
+∞ +∞
−∞
Nonnumeric data
Nonnumeric data Nonnumeric data
Data type of parameter that is
passed to In
Data type of In
USINT, UINT, SINT, or INT REAL
UDINT or DINT LREAL
ULINT or LINT A building error will occur.