![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030616.webp)
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
Y
n
Y
n+1
X
n
X
n+1
S
S
−
X
n
X
n+1
−
X
n
Y
n+1
−
Y
n
f(Y)=
Y
n+1
−
Y
n
X
n+1
−
X
n
D
Y
n
+
(S
−
X
n
)
Y (binary data)
Equation:
Calculation
result
X (binary data)
Input data
Summary of Contents for SYSMAC CS Series
Page 2: ......
Page 4: ...iv ...
Page 30: ...xxx ...
Page 186: ...146 List of Instructions by Function Code Section 2 4 ...
Page 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Page 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Page 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Page 1392: ...1352 ASCII Code Table Appendix A ...
Page 1404: ...1364 Revision History ...