![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030612.webp)
572
Special Math Instructions
Section 3-14
Operands
Sine Function (C = 0000 Hex)
Cosine Function (C = 0001 Hex)
Linear Extrapolation Function (C = Data area address)
Note
1.
Signed binary data and floating-point data are supported by CS1-H, CJ1-
H, CJ1M, and CS1D CPU Units only.
2.
If C is a word address, APR(069) extrapolates the Y value for the X value
in S based on coordinates (forming line segments) entered in advance in
a table beginning at C. Refer to the Description section below for details.
Operand Specifications
Operand
Value
Data range
C
0000 hex
---
S
0000 to 0900 (BCD)
0
°
to 90
°
D
0000 to 9999 (BCD)
0.0000 to 0.9999
9999 (BCD)
1.0000
Operand
Value
Data range
C
0001 hex
---
S
0000 to 0900 (BCD)
0
°
to 90
°
D
0000 to 9999 (BCD)
0.0000 to 0.9999
9999 (BCD)
1.0000
Operand
Value
Data range
C
Data area address
---
S
16-bit unsigned BCD data
0000 to 9999
16-bit unsigned binary data
0 to 65,535
16-bit signed binary data
1
−
32,768 to 32,767
32-bit signed binary data
1
−
2,147,483,648 to 2,147,483,647
Floating-point data
1
−∞
,
−
3.402823
×
10
38
to
−
1.175494
×
10
−
38
,
1.175494
×
10
−
38
to 3.402823
×
10
38
,
+
∞
D
16-bit unsigned BCD data
0000 to 9999
16-bit unsigned binary data
0 to 65,535
16-bit signed binary data
1
−
32,768 to 32,767
32-bit signed binary data
1
−
2,147,483,648 to 2,147,483,647
Floating-point data
1
−∞
,
−
3.402823
×
10
38
to
−
1.175494
×
10
−
38
,
1.175494
×
10
−
38
to 3.402823
×
10
38
,
+
∞
Area
C
S
R
CIO Area
CIO 0000 to CIO 6143
Work Area
W000 to W511
Holding Bit Area
H000 to H511
Auxiliary Bit Area
A000 to A959
A448 to A959
Timer Area
T0000 to T4095
Counter Area
C0000 to C4095
DM Area
D00000 to D32767
EM Area without bank
E00000 to E32767
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 ...