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 #476 background imageLoading...
Page #476 background image
2 Instruction Descriptions
2-428
NJ-series Instructions Reference Manual (W502)
FixNumToString
The FixNumToString instruction converts a signed fixed-decimal number to a decimal text string.
The FixNumToString instruction converts signed fixed-decimal number In to a decimal text string. The
following conversion is used.
1
The hexadecimal number In is converted to a decimal number.
2
The result is divided by 1,000.
Zero augmentation Zero specifies whether to add ‘0’ to the third decimal place of Out when there are
less than three decimal digits in In. If the value of Zero is TRUE, ‘0’ is added. A NULL character is
placed at the end of Out.
Instruction Name FB/FUN Graphic expression ST expression
FixNumToString Fixed-decimal
Number-to-Text
String Conversion
FUN Out:=FixNumToString(In,
Zero);
Variables
Name Meaning I/O Description Valid range Unit Default
In Fixed-
decimal
number
Input
Signed fixed-decimal
number
Depends on data type.
---
0
Zero Zero
augmenta-
tion
Augmentation of zeros if
there are less than 3
decimal digits
TRUE: Add ‘0’
FALSE: Do not add ‘0’
TRUE
Out Decimal
text string
Output Hexadecimal text string Depends on data type. --- ---
Boolean
Bit strings Integers
Real
numbers
Times, durations,
dates, and text strings
BOOL
BYTE
WORD
DWORD
LWORD
USINT
UINT
UDINT
ULINT
SINT
INT
DINT
LINT
REAL
LREAL
TIME
DATE
TOD
DT
STRING
In OK
Zero OK
Out OK
Function
(@)FixNumToString
EN ENO
In Out
Zero

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