Command Format - Omron CS1W-MCH71 Operation Manual

Sysmac cs/cj-series
Hide thumbs Also See for CS1W-MCH71:
Table of Contents

Advertisement

Command Overview
Classifica-
Command/func-
tion
tion name
Simple
ASSIGN
arithmetic
ADD
operations
SUBTRACT
MULTIPLY
DIVIDE
REMAINDER
EXPONENT
Logic oper-
OR (LOGICAL OR)
ations
XOR (LOGICAL
EXCLUSIVE OR)
AND (LOGICAL
AND)
NOT (REVERSE)
Functions
ABSOLUTE VALUE
SINE
COSINE
TANGENT
ARC SINE
ARC COSINE
ARC TANGENT
SQUARE ROOT
EXPONENT
NATURAL LOGA-
RITHM
DECIMAL
SIGN
Bit opera-
SPECIFIED BIT ON
tions
SPECIFIED BIT OFF RESET
SHIFT RIGHT
SHIFT LEFT
Data opera-
BCD-TO-BIN
tions
BIN-TO-BCD
BLOCK TRANSFER XFER
CLEAR
6-2-2

Command Format

290
Code
Applicable
task
Motion
=
@ M
+
@ x
@ x
*
@ x
/
@ x
%
@ x
^
@ x
|
@ x
~
@ x
&
@ x
!
@ x
ABS
@ x
SIN
@ x
COS
@ x
TAN
@ x
ASIN
@ x
ACOS
@ x
ATAN
@ x
SQR
@ x
EXP
@ x
LOG
@ x
FRAC
@ x
SGN
@ x
SET
@ x
@ x
SFTR
@ M
SFTL
@ M
BIN
@ x
BCD
@ x
@ M
CLEAR
@ M
The following notation is used for the format.
Symbol
<>
Indicates the content, data
{ }
Optional operand, omissible
---N---
The operand that can be specified up to the number shown.
_
Required en quad
Summary
Assigns values to variables.
Performs addition.
Performs subtraction.
Performs multiplication
Performs division.
Finds the remainder of a division
operation.
Applies exponents.
Calculates logical OR.
Calculates logical exclusive OR.
Calculates logical AND.
Reverses bits.
Finds the absolute value.
Finds the sine.
Finds the cosine.
Finds the tangent.
Finds the arc sine.
Finds the arc cosine.
Finds the arc tangent.
Finds the square root.
Finds the exponent.
Finds the natural logarithm.
Finds the decimal portion.
Returns 1 for 0 or greater, and -1
for negative values.
Turns ON specified bits.
Turns OFF specified bits.
Shifts to right for specified
amount.
Shifts to left for specified
amount.
Converts BCD data to BIN data.
Converts BIN data to BCD data.
Transfers data block.
Clears data block to zero.
Meaning
Section 6-2
Completion condi-
tion (Proceed to
next block)
Result assigned.
Result assigned.
Result assigned.
Result assigned.
Result assigned.
Result assigned.
Result assigned.
Result assigned.
Result assigned.
Result assigned.
Result assigned.
Result assigned.
Result assigned.
Result assigned.
Result assigned.
Result assigned.
Result assigned.
Result assigned.
Result assigned.
Result assigned.
Result assigned.
Result assigned.
Result assigned.
Bit operation com-
pleted.
Bit operation com-
pleted.
Shift completed.
Shift completed.
Result assigned.
Result assigned.
All data transferred.
All data cleared.

Advertisement

Table of Contents

Troubleshooting

loading

This manual is also suitable for:

Cj1w-mch71

Table of Contents