EasyManua.ls Logo

Omron CJ - PROGRAMMING MANUAL 12-2009 - Page 157

Omron CJ - PROGRAMMING MANUAL 12-2009
448 pages
Print Icon
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...
117
Floating-point Math Instructions
Section 3-13
DEGREES TO
RADIANS
RAD
@RAD
458
Output
Required
RADIANS TO
DEGREES
DEG
@DEG
459
Output
Required
SINE
SIN
@SIN
460
Output
Required
HIGH-SPEED
SINE
(CJ1-H-R CPU
only)
SINQ
@SINQ
475
Output
Required
COSINE
COS
@COS
461
Output
Required
HIGH-SPEED
COSINE
(CJ1-H-R CPU
only)
COS
@COS
476
Output
Required
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution condition
RAD(458)
S
R
S: 1st source
word
R: 1st result word
R+1 R
S
S+1
Result (radians, 32-bit
floating-point data)
Source (degrees, 32-bit
floating-point data)
Converts a 32-bit floating-point number from degrees to radians and
places the result in the specified result words.
DEG(459)
S
R
S: 1st source
word
R: 1st result word
R+1 R
S
S+1
Converts a 32-bit floating-point number from radians to degrees and
places the result in the specified result words.
Source (radians, 32-bit
floating-point data)
Result (degrees, 32-bit
floating-point data)
SIN(460)
S
R
S: 1st source
word
R: 1st result word
R+1 R
S
S+1SIN
Calculates the sine of a 32-bit floating-point number (in radians) and
places the result in the specified result words.
SINQ (475)
S
R
S: 1st source
word
R: 1st result word
R+1 R
S
S+1SIN
Calculates the sine of a 32-bit floating-point number (in radians) and
places the result in the specified result words.
COS(461)
S
R
S: 1st source
word
R: 1st result word
R+1 R
S
S+1
COS
Calculates the cosine of a 32-bit floating-point number (in radians)
and places the result in the specified result words.
COS(476)
S
R
S: 1st source
word
R: 1st result word
R+1 R
S
S+1
COS
Calculates the cosine of a 32-bit floating-point number (in radians)
and places the result in the specified result words.

Table of Contents

Related product manuals