EasyManua.ls Logo

Omron CJ - INSTRUCTIONS - Page 114

Omron CJ - INSTRUCTIONS
1308 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...
76
CS/CJ/NSJ Series Instructions Reference Manual (W474)
2. Summary of Instructions
FLOATING-
POINT MULTIPLY
*F
@*F
456
Output
Required
476
FLOATING-
POINT DIVIDE
/F
@/F
457
Output
Required
476
DEGREES TO
RADIANS
RAD
@RAD
458
Output
Required
480
RADIANS TO
DEGREES
DEG
@DEG
459
Output
Required
482
SINE
SIN
@SIN
460
Output
Required
484
HIGH-SPEED
SINE (CJ1-H-R
and CJ2 only)
SINQ
@SINQ
475
Calculates the sine of a 32-bit floating-point number (in radians) and
places the result in the specified result words.
Output
Required
487
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution
condition
Page
*F(456)
Md
Mr
R
Md: 1st
Multiplicand word
Mr: 1st Multiplier
word
R: 1st result word
R+1
R
×
Md
Md+1
Mr
Mr+1
Multiplies two 32-bit floating-point numbers and places the result in
the specified result words.
Multiplicand (floating-
point data, 32 bits)
Multiplier (floating-
point data, 32 bits)
Result (floating-point
data, 32 bits)
/F(457)
R
Dd
Dr
Dd: 1st Dividend
word
Dr: 1st Divisor
word
R: 1st result word
R+1
R
Dd
Dd+1
Dr
Dr+1
÷
Result (floating-
point data, 32 bits)
Divisor (floating-
point data, 32 bits)
Dividend (floating-
point data, 32 bits)
Divides one 32-bit floating-point number by another and places the
result in the specified result words.
RAD(458)
S
R
S: 1st source
word
R: 1st result word
R+1 R
S
S+1
Converts a 32-bit floating-point number from degrees to radians and
places the result in the specified result words.
Result (radians, 32-bit
floating-point data)
Source (degrees, 32-bit
floating-point data)
DEG(459)
S
R
S: 1st source
word
R: 1st result word
R+1 R
S
S+1
Result (degrees, 32-bit
floatin
g
-
p
oint data
)
Source (radians, 32-bit
floating-point data)
Converts a 32-bit floating-point number from radians to degrees and
places the result in the specified result words.
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.
Source (32-bit
floating-point
data)
Result (32-bit
floating-point
data)
SINQ(475)
S
R
S: 1st source
word
R: 1st result word
R+1 R
S
S+1SIN
Source (32-bit
floating-point
data)
Result (32-bit
floating-point
data)

Table of Contents

Related product manuals