EasyManuals Logo

Omron NJ501-1500 User Manual

Omron NJ501-1500
990 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #317 background imageLoading...
Page #317 background image
2-269
2 Instruction Descriptions
NJ-series Instructions Reference Manual (W502)
Data Type Conversion Instructions
2
LrealToFormatString
The following table shows how values are rounded.
Exponent, Sign, MinLen, and DecPlace can be omitted. The defaults are applied for any omitted input
variables.
To convert a REAL variable to a text string, use the RealToFormatString instruction (page 2-259).
To convert a text string to a real number, use a STRING_TO_** (Text String-to-Real Number Conver-
sion Group) instruction (page 2-274).
An error occurs in the following cases. ENO will be FALSE, and Out will not change.
The value of DecPlace is outside of the valid range.
The value of DecPlace is greater than the value of MinLen.
The number of bytes in the conversion result exceeds the size of the output parameter that is con-
nected to Out.
Value of
fractional
part
Treatment Examples
Less than
0.5
The fractional part is truncated. 1.49 1
0.5 If the ones digit is an even number, the fractional part
is truncated. If it is an odd number, the value is
rounded up.
1.50 2
2.50 2
Greater
than 0.5
The fractional part is rounded up. 1.51 2
Additional Information
Precautions for Correct Use

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron NJ501-1500 and is the answer not in the manual?

Omron NJ501-1500 Specifications

General IconGeneral
ModelNJ501-1500
CPU TypeIntel Atom
SD Memory Card SlotYes
Power Supply Voltage24 V DC
Power Consumption30 W
Operating Temperature0 to 55 °C
USB PortYes
Power SupplyBuilt-in

Related product manuals