EasyManua.ls Logo

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008
1405 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
576
Special Math Instructions Section 3-14
3. X
max
< S
Converted value = Y
max
Up to 256 endpoints can be stored in the line-segment data table beginning at
C+1. The following 5 kinds of I/O data can be used:
16-bit unsigned BCD data
16-bit unsigned binary data
16-bit signed binary data (CS1-H/CJ1-H/CJ1M Only)
32-bit signed binary data (CS1-H/CJ1-H/CJ1M Only)
Single-precision floating-point data (CS1-H/CJ1-H/CJ1M Only)
Setting the Data Format in Control Word C
16-bit Unsigned BCD Data
The input data and/or the output data can be 16-bit unsigned BCD data.
Also, the linear extrapolation function can be set to operate on the value
specified in S directly or on X
m
–S. (X
m
is the maximum value of X in the
line-segment data.)
Setting name Bit in C Setting
Input data (S) format 15 0: Binary
1: BCD
Output data (D) format 14 0: Binary
1: BCD
Source data form 13 0: Operate on S
1: Operate on X
m
–S
Signed data specification for S and D 11 0: Unsigned data
Data length specification for S and D 10 Invalid (fixed at 16 bits)
Floating-point specification 09 0: Integer data
Yn
Yn+1
Xn Xn+1S
SXn
Xn+1Xn
Yn+1Yn
f(Y)=
Y
n+1Yn
Xn+1Xn
D
Y
n+
(SX
n)
Y (binary data)
Equation:
Calculation
result
X (binary data)
Input data

Table of Contents

Related product manuals