Omron CS1G/H-CPUxxH Instructions Manual page 529

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Special Math Instructions
Y data range:
−∞ , − 3.402823 × 10
38
to
− 38
− 1.175494 × 10
,
− 38
1.175494 × 10
to
3.402823 × 10
, or + ∞
38
High-resolution
floating point data
508
Linear Extrapolation (C: Word Address)
Using Floating-point Data (CS1-H/CJ1-H/CJ1M Only)
In this example, APR(069) is used to convert the fluid height in a tank to fluid
volume based on the shape of the holding tank.
Fluid volume
= Y
000000
APR
C
S
R
Y: Fluid volume
Y
m
R
R+1
Y
0
0
X
Fluid height to volume
conversion table
(Floating-point data)
Fluid height = X
Linear extrapolation of table
0
S
S+1
X data range:
−∞ , − 3.402823 × 10
to − 1.175494 × 10
38
− 38
1.175494 × 10
to 3.402823 × 10
Section 3-14
X0 (rightmost 16 bits)
C+1
C+2
X0 (leftmost 16 bits)
C+3
Y0 (rightmost 16 bits)
C+4
Y0 (leftmost 16 bits)
X1 (rightmost 16 bits)
C+5
C+6
X1 (leftmost 16 bits)
C+7
Y1 (rightmost 16 bits)
C+8
Y1 (leftmost 16 bits)
to
to
Xn (rightmost 16 bits)
C+ (4n+1)
C+ (4n+2)
Xn (leftmost 16 bits)
C+ (4n+3)
Yn (rightmost 16 bits)
C+ (4n+4)
Yn (leftmost 16 bits)
to
to
C+ (4m+1)
Xm (rightmost 16 bits)
C+ (4m+2)
Xm (leftmost 16 bits)
C+ (4m+3)
Ym (rightmost 16 bits)
Ym (leftmost 16 bits)
C+ (4m+4)
The linear extrapolation can
provide a smooth, high-resolution
curve floating-point data is used.
X
X: Fluid height
m
− 38
,
38
, or + ∞

Advertisement

Table of Contents
loading

Table of Contents