![Omron CJ1G-CPU series Programming Manual Download Page 130](http://html1.mh-extra.com/html/omron/cj1g-cpu-series/cj1g-cpu-series_programming-manual_742489130.webp)
109
Floating-point Math Instructions
Section 3-13
FLOATING-
POINT MULTIPLY
*
F
@
*
F
456
Output
Required
FLOATING-
POINT DIVIDE
/F
@/F
457
Output
Required
DEGREES TO
RADIANS
RAD
@RAD
458
Output
Required
RADIANS TO
DEGREES
DEG
@DEG
459
Output
Required
SINE
SIN
@SIN
460
Output
Required
COSINE
COS
@COS
461
Output
Required
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
Md: 1st
Multiplicand word
Mr: 1st Multiplier
word
R: 1st result word
*
F(456)
Md
Mr
R
Multiplies two 32-bit floating-point numbers and places the result in the
specified result words.
R+1
R
Md
Multiplicand (floating-
point data, 32 bits)
Md+1
Mr
Multiplier (floating-
point data, 32 bits)
Mr+1
Result (floating-
point data, 32 bits)
×
Dd: 1st Dividend
word
Dr: 1st Divisor
word
R: 1st result word
/F(457)
Dd
Dr
R
Divides one 32-bit floating-point number by another and places the result in
the specified result words.
R+1
R
Dd
Dividend (floating-
point data, 32 bits)
Dd+1
Dr
Divisor (floating-
point data, 32 bits)
Dr+1
Result (floating-
point data, 32 bits)
÷
S: 1st source
word
R: 1st result word
RAD(458)
S
R
Converts a 32-bit floating-point number from degrees to radians and places
the result in the specified result words.
R+1
R
S
Source (degrees, 32-bit
floating-point data)
S+1
Result (radians, 32-bit
floating-point data)
S: 1st source
word
R: 1st result word
DEG(459)
S
R
Converts a 32-bit floating-point number from radians to degrees and places
the result in the specified result words.
R+1
R
S
Source (radians, 32-bit
floating-point data)
S+1
Result (degrees, 32-bit
floating-point data)
S: 1st source
word
R: 1st result word
SIN(460)
S
R
Calculates the sine of a 32-bit floating-point number (in radians) and places
the result in the specified result words.
R+1
R
S
Source (32-bit
floating-point
data)
S+1
Result (32-bit
floating-point
data)
SIN
S: 1st source
word
R: 1st result word
COS(461)
S
R
Calculates the cosine of a 32-bit floating-point number (in radians) and places
the result in the specified result words.
R+1
R
S
Source (32-bit
floating-point
data)
S+1
Result (32-bit
floating-point
data)
COS
Summary of Contents for CJ1G-CPU series
Page 3: ...iv...
Page 5: ...vi...
Page 21: ...xxii Conformance to EC Directives 6...
Page 169: ...148 Task Control Instructions Section 3 32...
Page 203: ...182 Programming Device Operations for Tasks Section 4 4...
Page 253: ...232 Using File Memory Section 5 3...
Page 337: ...316 Other Functions Section 6 11...
Page 347: ......
Page 369: ......
Page 373: ......
Page 379: ......
Page 381: ...360 Revision History...