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

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

Advertisement

If the value of the member is infinity, or nonnumeric data, the text string will be as shown below.
Value of member
+∞
−∞
Nonnumeric data
Examples are given below.
Value of member
REAL#3.14e1
REAL#−123.4567
REAL#0
LREAL#0.00123456789
LREAL#1.0e308
 Duration Data
The structure of the text string to which the value of the member is converted is shown below.
- A A d B B h C C m DD . EE s
Sign column Days
'd'
Item
Sign column
Days
Hours
Minutes
Seconds
'd', 'h', 'm', 's',
and the decimal
point
Examples are given below.
Value of member
T#-180122000ms
T#100d2h3m5.678s
T#2h3m5.678s
 Date Data
The structure of the text string to which the value of the member is converted is shown below.
YYYY - MM - DD
Year
Hyphen
Month
The month and day are converted to two digits each and output to the text string.
An example is shown below.
Value of member
D#2010-1-2

NY-series Instructions Reference Manual (W560)

Text string
'inf'
'−inf'
'nan' or '−nan'
Converted text string
'3.140000e+01'
'−1.234567e+02'
'0.000000e+00'
'1.23456789000000e−03'
'1.00000000000000e+308'
Hours
'h'
Minutes
'm'
Seconds
Decimal
point
If the value of the member is negative, a minus sign (−) is added.
If the value of the member is positive, a plus sign (+) is not added.
The number of days is always given. The range of the value is 0 to 106751. Upper digits
are not padded with 0.
The number of hours is always given in two digits. The range of the value is 00 to 23.
The number of minutes is always given in two digits. The range of the value is 00 to 59.
The number of seconds is always given. The value of DD is always given in two digits
between 00 and 59. The value of EE is always given in two digits between 000000000 and
999999999
These are always given.
'-2d02h02m02.000000000s'
'100d02h03m05.678000000s'
'0d02h03m05.678000000s'
Hyphen
Day
'2010-01-02'
's'
Description
Converted text string
Converted text string
2 Instruction Descriptions
2
2-573

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents