![background image](http://html1.mh-extra.com/html/omron/cs1w-mch71/cs1w-mch71_operation-manual_742367410.webp)
365
Command Details
Section 6-3
• Operation is performed in the type of the highest priority, and the op-
eration result will be stored after being converted to the type on the left.
• The integer immediate value is treated as long word type, and the dec-
imal immediate value is treated as real number type.
6-3-8
Function
Functions
The specified function operation is executed.
The following functions can be executed; ABSOLUTE VALUE (ABS), SINE
(SIN), COSINE (COS), TANGENT (TAN), ARC SINE (ASIN), ARC COSINE
(ACOS), ARC TANGENT (ATAN), SQUARE ROOT (SQR), EXPONENT
(EXP), NATURAL LOGARITHM (LOG), DECIMAL (FRAC), and SIGN (SGN).
Command type
ABS:
Not executed as an independent command (no type).
SIN:
Not executed as an independent command (no type).
COS:
Not executed as an independent command (no type).
TAN:
Not executed as an independent command (no type).
ASIN:
Not executed as an independent command (no type).
ACOS: Not executed as an independent command (no type).
ATAN: Not executed as an independent command (no type).
SQR: Not executed as an independent command (no type).
EXP:
Not executed as an independent command (no type).
LOG:
Not executed as an independent command (no type).
FRAC: Not executed as an independent command (no type).
SGN: Not executed as an independent command (no type).
Format
<First term> = Function <Second term>;
Ex: #MF1000 = SIN #MF0010;
Operand
ABS (Absolute Value), SGN (Sign)
SIN (SINE), COS (COSINE), ATAN (ARC TANGENT), SQR (SQUARE
ROOT), EXP (EXPONENT), LOG (NATURAL LOGARITHM)
Operand
Setting range
Decimal
Variable specification
INC/ ABL
influ-
ence
Bit
Word
Long
word
Real
number
Indirect
specifi-
cation
First term
Variable
Yes
No
Yes
Yes
Yes
No
No
Second term
Operation
numerical value
range (See
note.)
No
No
Yes
Yes
Yes
Yes
No
Operand
Setting range
Decimal
Variable specification
INC/ ABL
influ-
ence
Bit
Word
Long
word
Real
number
Indirect
specifi-
cation
First term
Variable
Yes
No
Yes
No
Yes
No
No
Second term
Operation
numerical value
range (See
note.)
No
No
Yes
No
Yes
No
No
Содержание CS1W-MCH71 -
Страница 2: ...CS1W MCH71 CJ1W MCH71 Motion Control Unit Operation Manual Revised June 2008 ...
Страница 3: ...iv ...
Страница 29: ...xxx ...
Страница 33: ...xxxiv ...
Страница 35: ...xxxvi ...
Страница 39: ...xl ...
Страница 69: ...24 Performance Section 1 7 ...
Страница 99: ...54 Connecting MECHATROLINK Devices Section 3 5 ...
Страница 283: ...238 Saving Data Section 5 4 ...
Страница 417: ...372 Command Details Section 6 3 ...