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

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

Advertisement

Special Math Instructions
576
Y (binary data)
Y
n+1
Calculation
D
result
Y
n
3. X
< S
max
Converted value = Y
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
line-segment data.)
Setting name
Input data (S) format
Output data (D) format
Source data form
Signed data specification for S and D
Data length specification for S and D
Floating-point specification
Equation:
Y
Y
n+1
n
Y
+
f(Y)=
(S X
n
X
X
n+1
n
X
X
n+1
n
S X
n
X
S
n
Input data
max
–S. (X
is the maximum value of X in the
m
m
Bit in C
15
14
13
11
10
09
Section 3-14
)
n
Y
Y
n+1
n
X
X (binary data)
n+1
Setting
0: Binary
1: BCD
0: Binary
1: BCD
0: Operate on S
1: Operate on X
–S
m
0: Unsigned data
Invalid (fixed at 16 bits)
0: Integer data

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents