EasyManua.ls Logo

Etel DSCDM - Page 275

Default Icon
370 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
ETEL Doc. - Operation & Software Manual # DSC2P 903 / Ver. F / 3/6/05 Chapter E: Appendixes
Operation & Software Manual
Direct Drives & Systems 275
<REG>.<AXIS>&=<P2>
Logical AND between each bit of
<REG> and <P2> and puts the result
in <REG>. The first operand can only
be a K parameter or a X variable, the
second one can be an immediate
value or any other register. Example:
X1.1 &= K30.1
<REG>.<AXIS>&~=<P2>
Logical NOT AND between each bit of
<REG> and <P2> and puts the result
in <REG>. The first operand can only
be a K parameter or a X variable, the
second one can be an immediate
value or any other register. Example:
X1.1 &~= K30.1
<P1>.<AXIS>=<P2>
Executes the operation: <P1> =
conversion float_to_long or
long_to_float <P2>. This is available
with all kind of registers (<P1> could
not be a monitoring register). One of
the register must be a float. The
syntax is for example F2.1=X3.1, or
X3.1=F2.1
<REG>.<AXIS>/=<P2>
Divides <REG> by <P2> and puts the
result in <REG>. The first operand
can only be a K parameter or a X
variable, the second one can be an
immediate value or any other register.
Example: X1.1 /= K30.1
<REG>.<AXIS>*=<P2>
Multiplies <REG> by <P2> and puts
the result in <REG>. The first operand
can only be a K parameter or a X
variable, the second one can be an
immediate value or any other register.
Example: X1.1 *= K30.1
<REG>.<AXIS>~=<P2>
Inverts <P2> and puts the result in
<REG>. The first operand can only be
a parameter K or a variable X, the
second one can be an immediate
value or any other register. Example:
X1.1 ~= M7.1
<REG>.<AXIS>¦=<P2>
Logical OR between each bit of
<REG> and <P2>, puts the result in
<REG>. The first operand can only be
a K parameter or a X variable, the
second one can be an immediate
value or any other register. Example:
X1.1 ¦= K30.1
<REG>.<AXIS>¦~=<P2>
Logical NOT OR between each bit of
<REG> and <P2> and puts the result
in <REG>. The first operand can only
be a K parameter or a X variable, the
second one can be an immediate
value or any other register. Example:
X1.1¦~= K30.1
<REG>.<AXIS><<=<P2>
Shifts <REG> of <P2> bit to the left
and puts the result in <REG>. The first
operand can only be a parameter K or
a variable X, the second one can be
an immediate value or any other reg-
ister. Example: X1.1 <<= M7.1
Syntax
Val
<P1>
Bit #
<1>
Comment for commands
and parameter <P1>
Val
<P2>
Bit #
<P2>
Comment for parameter <P2>

Table of Contents

Related product manuals