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

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

Advertisement

Precautions for Correct Use
• If the value of In2 is 0, positive infinity, negative infinity, or nonnumeric data, the value of Out is as
shown below.
Value of In2
0.0
+∞
−∞
Nonnumeric data
• If In2 is a real number, there may be error of up to several nanoseconds.
• If In2 is a real number, the division result is rounded to the nearest nanosecond. The following table
shows how values are rounded.
Value below
nanoseconds
Less than 0.5
0.5
Greater than 0.5
• An error occurs in the following case. ENO will be FALSE, and Out will not change.
• In2 is an integer with a value of 0.

NY-series Instructions Reference Manual (W560)

Other than the right
T#-106751d23h47m16.854775808s
T#0s
T#0s
T#-106751d23h47m16.854775808s
Description
The fractional part is truncated.
If the ones digit is an even number, the value is trun-
cated. If it is an odd number, the value is rounded up.
The fractional part is rounded up.
2 Instruction Descriptions
Value of Out
NX1P2
T#0d_0h_0m_0s_1e-006
T#0s
T#0s
T#0s
Example
1.49 → 1
1.50 → 2
2.50 → 2
1.51 → 2
2
2-613

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents