Lrealtoformatstring - Omron NJ501-1500 Reference Manual

Machine automation controller nj-series
Hide thumbs Also See for NJ501-1500:
Table of Contents

Advertisement

2 Instruction Descriptions

LrealToFormatString

The LrealToFormatString instruction converts a LREAL variable to a text string with the specified for-
mat.
Instruction
LrealToFormat-
LREAL-to-Format-
String
ted Text String
Variables
Name
Meaning
In
Data to
convert
Exponent
Exponent
Sign
Sign column
MinLen
Minimum
number of
digits
DecPlace
Precision
Out
Conversion
result
Bit strings
In
Exponent
OK
Sign
OK
MinLen
DecPlace
Out
2-264
Name
FB/FUN
FUN
I/O
Description
Data to convert
TRUE: Exponent
FALSE: No exponent
TRUE: Sign column
Input
FALSE: No sign column
Minimum number of digits in Out
Number of decimal digits in Out
Output
Conversion result
OK
OK
Graphic expression
(@)LrealToFormatString
EN
ENO
In
Exponent
Sign
MinLen
DecPlace
Valid range
Depends on
data type.
0 to 15
327 bytes max.
(326 single-byte
alphanumeric
characters plus
the final NULL
character)
Integers
NJ-series Instructions Reference Manual (W502)
ST expression
Out:=LrealToFormat-
String(In, Exponent, Sign,
MinLen, DecPlace);
Out
Unit
Default
0.0
FALSE
---
6
---
---
Times, durations,
dates, and text strings
OK
OK

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nj501-1300Nj501-1400

Table of Contents