Special Math Instructions
Y data range:
38
, 3.402823
10
to
38
1.175494
10
,
38
1.175494
10
to
38
3.402823
10
, or +
High-resolution
floating point data
Linear Extrapolation (C: Word Address)
Using Floating-point Data (CS1-H, CJ1-H, CJ1M, and CS1D 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:
38
, 3.402823
10
to 1.175494
38
1.175494
10
to 3.402823
Section 3-14
C+1
X0 (rightmost 16 bits)
C+2
X0 (leftmost 16 bits)
Y0 (rightmost 16 bits)
C+3
C+4
Y0 (leftmost 16 bits)
C+5
X1 (rightmost 16 bits)
C+6
X1 (leftmost 16 bits)
Y1 (rightmost 16 bits)
C+7
C+8
Y1 (leftmost 16 bits)
to
to
C+ (4n+1)
Xn (rightmost 16 bits)
Xn (leftmost 16 bits)
C+ (4n+2)
C+ (4n+3)
Yn (rightmost 16 bits)
C+ (4n+4)
Yn (leftmost 16 bits)
to
to
Xm (rightmost 16 bits)
C+ (4m+1)
Xm (leftmost 16 bits)
C+ (4m+2)
C+ (4m+3)
Ym (rightmost 16 bits)
C+ (4m+4)
Ym (leftmost 16 bits)
The linear extrapolation can
provide a smooth, high-resolution
curve floating-point data is used.
X
X: Fluid height
m
38
10
,
38
10
, or +
583
Need help?
Do you have a question about the SYSMAC CJ - REFERENCE MANUAL 01-2008 and is the answer not in the manual?
Questions and answers