Manual
Detailed Descriptions of ACL Commands 3-39
MM [<count>, <new> [, <which> ]]
Multiple Mid-move Digital Outputs Changes
The MM command establishes up to 32 points at which the eight Digital Outputs are to
change state during each subsequent AA, AR, MA, MR, MT, or Continuous Path move.
This is the equivalent of executing multiple CD commands in the middle of a move. The
effects of a series of MM commands remain active until a subsequent MM command or
commands cancel them. See also the MD and PD commands.
Each Digital Output can only have one value at a time, either True or False (one or zero).
The CD and TD commands change the outputs immediately; the MM command causes the
outputs to change later, when vectors or arcs are performed. Once an output has been
changed either by a CD or TD or by a move after a PD, MD or MM, the old value of that
output is forgotten.
An MM command with no parameters clears out all mid-move Digital Outputs changes
established by any previous MD or MM commands. Each subsequent MM command with
parameters establishes one mid-move Digital Outputs change; up to 32 MM commands with
differing parameters can be specified. All of the mid-move Digital Outputs changes will be
applied during each subsequent vector, arc, or Continuous Path move.
Interaction Between MD and MM
The MD command has the same effect as executing one or two MM commands with
parameters. Any preceding MM commands are canceled by an MD command. MD
commands and MM commands should not be used together. The MM command is capable of
performing the same functions as the MD command but the MD command has been
preserved to maintain user program compatibility with previous versions of the Automove
System.
The MM Parameters
Again, an MM command with no parameters erases the effects of all preceding MM and MD
commands.
If <count> is specified and is positive, it specifies the number of microsteps from the
beginning of the move, at which the Digital Outputs are to change state. If negative, it
specifies the distance before the end of the move. The range of <count> is -32768 through
32767. Zero is interpreted as the beginning of the move, before the first step is taken.
If the magnitude of <count> is greater than the length of a particular move, the Digital
Outputs will change at the beginning or end of the move, as appropriate. If a vector is
diagonal then the true diagonal distance, in microsteps, is used.
<count> is applied to an AA or AR arc or Continuous Path move as though the move were
"unrolled" into a straight line. In other words, a positive number is an arc-length distance
from the beginning of the move, and a negative number is a distance from the end.