Omron SYSMAC CS Series Instruction & Reference Manual page 66

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

Advertisement

2. Instructions (Applicable CPU Units)
Classification
Instruction
Floating-
FLOATING TO
FIX/
point Math
16-BIT
@FIX
Instructions
FLOATING TO
FIXL/
32-BIT
@FIXL
16-BIT TO
FLT/
FLOATING
@FLT
32-BIT TO
FLTL/
FLOATING
@FLTL
FLOATING-
+F/
POINT ADD
@+F
FLOATING-
-F/
@-F
POINT SUB-
TRACT
FLOATING-
*F/
@*F
POINT MULTI-
PLY
FLOATING-
/F
POINT DIVIDE
@/F
DEGREES TO
RAD/
RADIANS
@RAD
RADIANS TO
DEG/
DEGREES
@DEG
SINE
SIN/
@SIN
COSINE
COS/
@COS
TANGENT
TAN/
@TAN
HIGH-SPEED
SINQ/
SINE
@SINQ
HIGH-SPEED
COSQ/
COSINE
@COSQ
HIGH-SPEED
TANQ/
TANGENT
@TANQ
ARC SINE
ASIN/
@ASIN
ARC COSINE
ACOS/
@ACOS
ARC TANGENT ATAN/
@ATAN
SQUARE
SQRT/
ROOT
@SQRT
EXPONENT
EXP/
@EXP
LOGARITHM
LOG/
@LOG
32
Fun
Mnemonic
Function
code
450
Converts a 32-bit floating-point
value to 16-bit signed binary data
and places the result in the speci-
fied result word.
451
Converts a 32-bit floating-point
value to 32-bit signed binary data
and places the result in the speci-
fied result words.
452
Converts a 16-bit signed binary
value to 32-bit floating-point data
and places the result in the speci-
fied result words.
453
Converts a 32-bit signed binary
value to 32-bit floating-point data
and places the result in the speci-
fied result words.
454
Adds two 32-bit floating-point
numbers and places the result in
the specified result words.
455
Subtracts one 32-bit floating-point
number from another and places the
result in the specified result words.
456
Multiplies two 32-bit floating-point
numbers and places the result in
the specified result words.
457
Divides one 32-bit floating-point
number by another and places the
result in the specified result words.
458
Converts a 32-bit floating-point
number from degrees to radians
and places the result in the speci-
fied result words.
459
Converts a 32-bit floating-point
number from radians to degrees
and places the result in the speci-
fied result words.
460
Calculates the sine of a 32-bit
floating-point number (in radians)
and places the result in the speci-
fied result words.
461
Calculates the cosine of a 32-bit
floating-point number (in radians)
and places the result in the speci-
fied result words.
462
Calculates the tangent of a 32-bit
floating-point number (in radians)
and places the result in the speci-
fied result words.
475
Calculates the sine of a 32-bit
floating-point number (in radians)
and places the result in the speci-
fied result words.
476
Calculates the cosine of a 32-bit
floating-point number (in radians)
and places the result in the speci-
fied result words.
477
Calculates the tangent of a 32-bit
floating-point number (in radians)
and places the result in the speci-
fied result words.
463
Calculates the arc sine of a 32-bit
floating-point number and places the
result in the specified result words.
464
Calculates the arc cosine of a 32-
bit floating-point number and
places the result in the specified
result words.
465
Calculates the arc tangent of a
32-bit floating-point number and
places the result in the specified
result words.
466
Calculates the square root of a
32-bit floating-point number and
places the result in the specified
result words.
467
Calculates the natural (base e)
exponential of a 32-bit floating-point
number and places the result in the
specified result words.
468
Calculates the natural (base e)
logarithm of a 32-bit floating-point
number and places the result in
the specified result words.
CJ1M
CJ1-H/
CJ2H
CJ2M
CS1-H
-CPU1@ -CPU2@
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
CJ1-H-
---
---
OK
OK
R only
OK
OK
CJ1-H-
---
---
R only
OK
OK
CJ1-H-
---
---
R only
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
CS/CJ/NSJ Series Instructions Reference Manual (W474)
CS1D
CJ1/
Page
CS1
-SA/S
-HA/H
OK
OK
OK
388
OK
OK
OK
388
OK
OK
OK
390
OK
OK
OK
390
OK
OK
OK
392
OK
OK
OK
392
OK
OK
OK
392
OK
OK
OK
392
OK
OK
OK
396
OK
OK
OK
398
OK
OK
OK
400
OK
OK
OK
400
OK
OK
OK
400
---
---
---
403
---
---
---
403
---
---
---
403
OK
OK
OK
407
OK
OK
OK
407
OK
OK
OK
407
OK
OK
OK
410
OK
OK
OK
412
OK
OK
OK
414

Advertisement

Table of Contents
loading

Table of Contents