Omron CS1G/H-CPUxx-EV1 Programming Manual page 148

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxx-EV1:
Table of Contents

Advertisement

Floating-point Math Instructions
Instruction
Symbol/Operand
Mnemonic
Code
FLOATING-
*F(456)
POINT MULTIPLY
*F
@*F
456
Md: 1st
Multiplicand word
Mr: 1st Multiplier
word
R: 1st result word
FLOATING-
/F(457)
POINT DIVIDE
/F
@/F
457
Dd: 1st Dividend
word
Dr: 1st Divisor
word
R: 1st result word
DEGREES TO
RAD(458)
RADIANS
RAD
@RAD
458
S: 1st source
word
R: 1st result word
RADIANS TO
DEG(459)
DEGREES
DEG
@DEG
459
S: 1st source
word
R: 1st result word
SINE
SIN(460)
SIN
@SIN
460
S: 1st source
word
R: 1st result word
COSINE
COS(461)
COS
@COS
461
S: 1st source
word
R: 1st result word
112
Multiplies two 32-bit floating-point numbers and places the result in
the specified result words.
Md
Md+1
Mr
R
×
Mr+1
R+1
Divides one 32-bit floating-point number by another and places the
result in the specified result words.
Dd
Dd+1
Dr
R
÷
Dr+1
R+1
Converts a 32-bit floating-point number from degrees to radians and
places the result in the specified result words.
S
S+1
R
R+1
Converts a 32-bit floating-point number from radians to degrees and
places the result in the specified result words.
S
S+1
R
R+1
Calculates the sine of a 32-bit floating-point number (in radians) and
places the result in the specified result words.
S
SIN
S+1
R
R+1
Calculates the cosine of a 32-bit floating-point number (in radians)
and places the result in the specified result words.
S
COS
S+1
R
R+1
Function
Multiplicand (floating-
Md
point data, 32 bits)
Multiplier (floating-
Mr
point data, 32 bits)
R
Result (floating-point
data, 32 bits)
Dividend (floating-
Dd
point data, 32 bits)
Divisor (floating-
Dr
point data, 32 bits)
Result (floating-
R
point data, 32 bits)
Source (degrees, 32-bit
S
floating-point data)
Result (radians, 32-bit
R
floating-point data)
Source (radians, 32-bit
S
floating-point data)
Result (degrees, 32-bit
R
floating-point data)
Source (32-bit
S
floating-point
data)
Result (32-bit
R
floating-point
data)
Source (32-bit
S
floating-point
data)
Result (32-bit
R
floating-point
data)
Section 3-13
Location
Execution condition
Output
Required
Output
Required
Output
Required
Output
Required
Output
Required
Output
Required

Advertisement

Table of Contents
loading

Table of Contents