EasyManua.ls Logo

Omron NJ501-1500

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
Loading...
2-561
2 Instruction Descriptions
NJ-series Instructions Reference Manual (W502)
Time and Time of Day Instructions
2
MULTIME
If In2 is a real number, the multiplication result is rounded to the nearest nanosecond. The following
table shows how values are rounded.
If the value of In2 is 0, positive infinity, negative infinity, or nonnumeric data, the value of Out is as
shown below.
An error will not occur even if the multiplication result exceeds the valid range of Out.
T#53375d_23h_53m_38s_427.387904ms * USINT#2
T#-106751d_23h_47m_16s_854.775808ms
T#-53375d_23h_53m_38s_427.387905ms * USINT#2
T#106751d_23h_47m_16s_854.775806ms
Precautions for Correct Use
Value below
nanosec-
onds
Treatment Examples
Less than 0.5 The value is truncated. 1.49 1
0.5 If the ones digit is an even number, the value is trun-
cated. If it is an odd number, the value is rounded up.
1.50 2
2.50 2
Greater than
0.5
The value is rounded up. 1.51 2
Value of In2 Value of Out
0 T#0s
+∞
T#-106751d23h47m16.854775808s
−∞
T#-106751d23h47m16.854775808s
Nonnumeric
data
T#-106751d23h47m16.854775808s

Table of Contents

Related product manuals