Ny-Series Instructions Reference Manual (W560 - Omron NY532-5400 Reference Manual

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

2 Instruction Descriptions
REAL data
In
REAL#3.141592e+0
The following table shows the valid ranges for In and Out according to their data types.
Data type of In
REAL
LREAL
Additional Information
To convert data with any data type to a real number, use a TO_** (Real Number Conversion Group)
instruction (page 2-310).
Precautions for Correct Use
• Always use the correct instruction name for the data types of In and Out.
• If the value of In is positive or negative infinity, the value of Out is positive or negative infinity.
• If the value of In is nonnumeric data, the value of Out is nonnumeric data.
• If the conversion result exceeds the valid range of Out, the value of Out will be infinity with the same
sign as the value of In.
• For the LREAL_TO_REAL instruction, if the value of In is closer to 0 than ±1.175494e−38, the value
of Out will be 0.
2-282
LREAL data
Out=abc
3.141592e+0
Data type of Out
−3.402823e+38 to 3.402823e+38
LREAL
+∞/−∞
or
REAL
Valid range for In and Out

NY-series Instructions Reference Manual (W560)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents