Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual page 621

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Special Math Instructions
000000
R
R+1
Y data range:
2,147,483,648 to
2,147,483,647
High-resolution 32-bit
signed binary data
Linear Extrapolation (C: Word Address)
Using 32-bit Signed Binary 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.
Variation from
standard = X
Fluid volume= Y
APR
C
S
R
Y: Fluid volume
Y
m
Y
0
0
X
0
S
S+1
X data range: 2,147,483,648 to 2,147,483,647
Fluid height to volume
conversion table
(32-bit signed binary data)
X0 (rightmost 16 bits)
C+1
X0 (leftmost 16 bits)
C+2
Y0 (rightmost 16 bits)
C+3
Y0 (leftmost 16 bits)
C+4
X1 (rightmost 16 bits)
C+5
C+6
X1 (leftmost 16 bits)
Y1 (rightmost 16 bits)
C+7
Y1 (leftmost 16 bits)
C+8
to
to
Xn (rightmost 16 bits)
C+ (4n+1)
Xn (leftmost 16 bits)
C+ (4n+2)
Yn (rightmost 16 bits)
C+ (4n+3)
Yn (leftmost 16 bits)
C+ (4n+4)
to
to
Xm (rightmost 16 bits)
C+ (4m+1)
Xm (leftmost 16 bits)
C+ (4m+2)
Ym (rightmost 16 bits)
C+ (4m+3)
Ym (leftmost 16 bits)
C+ (4m+4)
Linear extrapolation of table
X: Variation from standard
The linear extrapolation can use
signed source data if 32-bit signed
binary data is used.
X
m
Section 3-14
581

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents