Omron CJ - INSTRUCTIONS Reference Manual page 498

Table of Contents

Advertisement

3. Instructions
• Using 32-bit Signed Binary Data (CJ2, 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.
0.00
Y data range:
2,147,483,648 to
2,147,483,647
High-resolution 32-bit
signed binary data
460
Fluid volume= Y
APR
C
S
R
Y: Fluid volume
R
R+1
Y
0
X
0
X data range: 2,147,483,648 to 2,147,483,647
Fluid height to volume conversion table
(32-bit signed binary data)
C+1
C+2
C+3
C+4
C+5
Variation from
C+6
standard = X
C+7
C+8
to
C+ (4n+1)
C+ (4n+2)
C+ (4n+3)
C+ (4n+4)
to
C+ (4m+1)
C+ (4m+2)
C+ (4m+3)
C+ (4m+4)
Linear extrapolation of table
Y
m
0
S
S+1
CS/CJ/NSJ Series Instructions Reference Manual (W474)
X0 (rightmost 16 bits)
X0 (leftmost 16 bits)
Y0 (rightmost 16 bits)
Y0 (leftmost 16 bits)
X1 (rightmost 16 bits)
X1 (leftmost 16 bits)
Y1 (rightmost 16 bits)
Y1 (leftmost 16 bits)
to
Xn (rightmost 16 bits)
Xn (leftmost 16 bits)
Yn (rightmost 16 bits)
Yn (leftmost 16 bits)
to
Xm (rightmost 16 bits)
Xm (leftmost 16 bits)
Ym (rightmost 16 bits)
Ym (leftmost 16 bits)
X: Variation from standard
The linear extrapolation can use
signed source data if 32-bit signed
binary data is used.
X
m

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CJ - INSTRUCTIONS and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents

Save PDF