![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268107.webp)
68
Instruction Functions
Section 2-2
COSINE
COS
@COS
461
Output
Required
616
HIGH-SPEED
COSINE (CJ1-H-
R only)
COSQ
@COSQ
476
Calculates the cosine of a 32-bit floating-point number (in radians) and
places the result in the specified result words.
Output
Required
618
TANGENT
TAN
@TAN
462
Output
Required
620
HIGH-SPEED
TANGENT (CJ1-
H-R only)
TANQ
@TANQ
477
Calculates the tangent of a 32-bit floating-point number (in radians)
and places the result in the specified result words.
Output
Required
622
ARC SINE
ASIN
@ASIN
463
Output
Required
624
ARC COSINE
ACOS
@ACOS
464
Output
Required
626
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
Page
COS(461)
S
R
S
: 1st source
word
R
: 1st result word
R+1
R
S
S+1
COS
Source (32-bit
floating-point
data)
Result (32-bit
floating-point
data)
Calculates the cosine of a 32-bit floating-point number (in radians)
and places the result in the specified result words.
COSQ(476)
S
R
S
: 1st source
word
R
: 1st result word
R+1
R
S
S+1
COS
Source (32-bit
floating-point
data)
Result (32-bit
floating-point
data)
S
R
TAN(462)
S
: 1st source
word
R
: 1st result word
R+1
R
S
S+1
TAN
Result (32-bit
floating-point
data)
Source (32-bit
floating-point
data)
Calculates the tangent of a 32-bit floating-point number (in radians)
and places the result in the specified result words.
S
R
TANQ(477)
S
: 1st source
word
R
: 1st result word
R+1
R
S
S+1
TAN
Result (32-bit
floating-point
data)
Source (32-bit
floating-point
data)
ASIN(463)
S
R
S
: 1st source
word
R
: 1st result word
R+1
R
S
S+1
SIN
−
1
Calculates the arc sine of a 32-bit floating-point number and places
the result in the specified result words. (The arc sine function is the
inverse of the sine function; it returns the angle that produces a given
sine value between
−
1 and 1.)
Source (32-bit
floating-point
data)
Result (32-bit
floating-point
data)
ACOS(464)
S
R
S
: 1st source
word
R
: 1st result word
R+1
R
S
S+1
COS
−
1
Calculates the arc cosine of a 32-bit floating-point number and places
the result in the specified result words. (The arc cosine function is the
inverse of the cosine function; it returns the angle that produces a
given cosine value between
−
1 and 1.)
Source (32-bit
floating-point
data)
Result (32-bit
floating-point
data)
Содержание SYSMAC CS1D-CPU**
Страница 3: ...iv...
Страница 29: ...xxx...
Страница 185: ...146 List of Instructions by Function Code Section 2 4...
Страница 193: ...154 3 35 4 MOVE BIT MOVBC 568 1274 3 35 5 BIT COUNTER BCNTC 621 1276 3 35 6 GET VARIABLE ID GETID 286 1278...
Страница 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Страница 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Страница 1391: ...1352 ASCII Code Table Appendix A...