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 #314 background imageLoading...
Page #314 background image
2 Instruction Descriptions
2-266
NJ-series Instructions Reference Manual (W502)
Here, no sign column is specified for a negative number, so a minus sign (−) is added to the front of the
integer part.
Example 2: Exponent: TRUE
Sign: FALSE
MinLen: USINT#21
DecPlace: USINT#10
Here, the value of MinLen exceeds the number of digits in the text string, so the text string is right-
aligned and blank characters are added before it.
Example 3: Exponent: TRUE
Sign: TRUE
MinLen: USINT#22
DecPlace: USINT#10
The sign column is always on the left. Blank characters are added to the front of the integer part.
Example 4: Exponent: TRUE
Sign: TRUE
MinLen: USINT#12
DecPlace: USINT#3
The fourth decimal place is rounded off because DecPlace is USINT#3.
abc:=LrealToFormatString(LREAL#-1234.56789, FALSE,
FALSE, USINT#16,
USINT#10);
LD
ST
abc
LREAL#-1234.56789
FALSE
FALSE
USINT#16
USINT#10
LrealToFormatString
EN ENO
In
Exponent
Sign
MinLen
DecPlace
- 1 2 3 4 . 5 6 7 8 9 0 0 0 0 0
16
10
- 1 . 2 3 4 5 6 7 8 9 0 0 e + 0 3
21
10
- 1 . 2 3 4 5 6 7 8 9 0 0 e + 0 3
22
10
- 1 . 2 3 5 e + 0 3
12
3

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
BrandOmron
ModelNJ501-1500
CategoryController
LanguageEnglish

Related product manuals