Omron SYSMAC CS Series Instruction & Reference Manual page 68

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

Advertisement

2. Instructions (Applicable CPU Units)
Classification
Instruction
Double-
DOUBLE TAN-
TAND/
precision
GENT
@TAND
Floating-
point
Instructions
DOUBLE ARC
ASIND/
SINE
@ASIND
DOUBLE ARC
ACOSD/
COSINE
@ACOSD
DOUBLE ARC
ATAND/
TANGENT
@ATAND
DOUBLE
SQRTD/
SQUARE
@SQRTD
ROOT
DOUBLE
EXPD/
EXPONENT
@EXPD
DOUBLE LOG-
LOGD/
ARITHM
@LOGD
DOUBLE
PWRD/
EXPONENTIAL
@PWRD
POWER
Double-preci-
LD, AND,
sion Floating-
OR+=D
point Input
LD, AND,
Comparison
OR+<>D
LD, AND,
OR+<D
LD, AND,
OR+<=D
LD, AND,
OR+>D
LD, AND,
OR+>=D
Table Data
SET STACK
SSET/
Processing
@SSET
Instructions
PUSH ONTO
PUSH/
STACK
@PUSH
LAST IN FIRST
LIFO/
OUT
@LIFO
FIRST IN
FIFO/
FIRST OUT
@FIFO
STACK SIZE
SNUM/
READ
@SNUM
STACK DATA
SREAD/
READ
@SREAD
STACK DATA
SWRIT/
OVERWRITE
@SWRIT
STACK DATA
SINS/
INSERT
@SINS
34
Fun
Mnemonic
Function
code
853
Calculates the tangent of a dou-
ble-precision (64-bit) floating-point
number (in radians) and places
the result in the specified destina-
tion words.
854
Calculates the arc sine of a dou-
ble-precision (64-bit) floating-point
number and places the result in
the specified destination words.
855
Calculates the arc cosine of a dou-
ble-precision (64-bit) floating-point
number and places the result in the
specified result words.
856
Calculates the arc tangent of a dou-
ble-precision (64-bit) floating-point
number and places the result in the
specified result words.
857
Calculates the square root of a dou-
ble-precision (64-bit) floating-point
number and places the result in the
specified result words.
858
Calculates the natural (base e)
exponential of a double-precision
(64-bit) floating-point number and
places the result in the specified
result words.
859
Calculates the natural (base e)
logarithm of a double-precision
(64-bit) floating-point number and
places the result in the specified
destination words.
860
Raises a double-precision (64-bit)
floating-point number to the
power of another double-precision
(64-bit) floating-point number.
335
These input comparison instruc-
tions compare two double-preci-
sion floating point values (64-bit
336
IEEE754 format) and create an
ON execution condition when the
comparison condition is true.
337
338
339
340
630
Defines a stack of the specified length
beginning at the specified word.
632
Writes one word of data to the
specified stack.
634
Reads the last word of data writ-
ten to the specified stack (the
newest data in the stack).
633
Reads the first word of data writ-
ten to the specified stack (the old-
est data in the stack).
638
Counts the amount of stack data
(number of words) in the specified
stack.
639
Reads the data from the specified
data element in the stack. The off-
set value indicates the location of
the desired data element (how
many data elements before the
current pointer position).
640
Writes the source data to the speci-
fied data element in the stack (over-
writing the existing data). The offset
value indicates the location of the
desired data element (how many
data elements before the current
pointer position).
641
Inserts the source data at the
specified location in the stack and
shifts the rest of the data in the
stack downward. The offset value
indicates the location of the
desired data element (how many
data elements before the current
pointer position).
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
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
CS/CJ/NSJ Series Instructions Reference Manual (W474)
CS1D
CJ1/
Page
CS1
-SA/S
-HA/H
OK
OK
---
448
OK
OK
---
451
OK
OK
---
451
OK
OK
---
451
OK
OK
---
454
OK
OK
---
456
OK
OK
---
458
OK
OK
---
460
OK
OK
---
462
OK
OK
---
462
OK
OK
---
462
OK
OK
---
462
OK
OK
---
462
OK
OK
---
462
OK
OK
OK
470
OK
OK
OK
473
OK
OK
OK
475
OK
OK
OK
475
OK
OK
---
479
OK
OK
---
481
OK
OK
---
484
OK
OK
---
487

Advertisement

Table of Contents
loading

Table of Contents