Omron SYSMAC CS Series Programming Manual page 123

Hide thumbs Also See for SYSMAC CS Series:
Table of Contents

Advertisement

Floating-point Math Instructions
Instruction
Symbol/Operand
Mnemonic
Code
FLOATING-
POINT DIVIDE
/F(457)
/F
@/F
457
Dd: 1st Dividend
word
Dr: 1st Divisor
word
R: 1st result word
FLOATING-
*F(456)
POINT MULTIPLY
*F
@*F
456
Md: 1st
Multiplicand word
Mr: 1st Multiplier
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
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
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
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
Dividend (floating-
Dd
point data, 32 bits)
Divisor (floating-
Dr
point data, 32 bits)
Result (floating-
R
point data, 32 bits)
Multiplicand (floating-
Md
point data, 32 bits)
Multiplier (floating-
Mr
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
103

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cs1g/h-cpu-ev1 seriesCj1g-cpu seriesSysmac cj series

Table of Contents