Operation & Software Manual
274
Direct Drives & Systems
Chapter E: Appendixes ETEL Doc. - Operation & Software Manual # DSC2P 903 / Ver. F / 3/6/05
1
Waits for the bit in window (bit#5 of
SD1) to be at 1. It does not take into
account if the motor is moving or not
2
Clears the counter defined by K38 to
wait the time to be in the window
when this command is executed and
clears the bit in window (bit#5 of SD1).
It does not take into account if the
theoretical trajectory is finished or not
XAC.<AXIS>=<P1>+<P2>
Addition of <P1> and <P2> and puts
the result in the accumulator (XAC).
Example: XAC.1 = X1.1 + M7.1
XAC.<AXIS>=<P1>&<P2>
Logical AND between each bit of
<P1> and <P2> and puts the result in
the accumulator (XAC). Example:
XAC.1 = X1.1 & M7.1
XAC.<AXIS>=<P1>&~<P2>
Logical NOT AND between each bit of
<P1> and <P2> and puts the result in
the accumulator (XAC). Example:
XAC.1 = X1.1 &~ M7.1
XAC.<AXIS>=<P1>/<P2>
Division of <P1> by <P2> and puts the
result in the accumulator (XAC).
Example: XAC.1 = X1.1 / M7.1
XAC.<AXIS>=<P1>*<P2>
Multiplication of <P1> by <P2> and
puts the result in the accumulator
(XAC). Example: XAC.1 = X1.1 * M7.1
XAC.<AXIS>=<P1>¦<P2>
Logical OR between each bit of <P1>
and <P2> and puts the result in the
accumulator (XAC). Example: XAC.1
= X1.1 ¦ M7.1
XAC.<AXIS>=<P1>¦~<P2>
Logical NOT OR between each bit of
<P1> and <P2> and puts the result in
the accumulator (XAC). Example:
XAC.1 = X1.1 ¦~ M7.1
XAC.<AXIS>=<P1><<<P2>
Shifts <P1> of <P2> bit to the left and
puts the result in the accumulator
(XAC). Example: XAC.1 = X1.1 <<
M7.1
XAC.<AXIS>=<P1>>><P2>
Shifts <P1> of <P2> bit to the right
and puts the result in the accumulator
(XAC). Example: XAC.1 = X1.1 >>
M7.1
XAC.<AXIS>=<P1>-<P2>
Substracts <P2> of <P1> and puts the
result in the accumulator (XAC).
Example: XAC.1 = X1.1 - M7.1
<REG>.<AXIS>=<P2>
Affects the value of <P2> to <REG>.
This is available with all kinds of
register excepted monitoring register
(M)
<REG>.<AXIS>+=<P2>
Adds <P2> to <REG> 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 += M7.1
Syntax
Val
<P1>
Bit #
<1>
Comment for commands
and parameter <P1>
Val
<P2>
Bit #
<P2>
Comment for parameter <P2>