Manual
3-68 Detailed Descriptions of ACL Commands
The <x1> and <y1> parameters define one end of the vector, and <x2> and <y2> the other
end. These parameters may range from -32768 through 32767 and are rounded to the
nearest integer. The intermediate computation results (i.e. the squares and the sum of the
squares) can be any values resulting from legal input parameters, but the final result must be
in the range 0 through 32767. If the result would be greater than 32767 it is set to 32767.
The computed length is placed in the variable given by <varid>. The value returned is the
largest integer which is not greater than the true square root.
For more information about ACL variables, please see Chapter 10.
VM [<mode>] Vector Mode
The VM command modifies the effects of all subsequent AA, AR, MA, MR, MT, and
Continuous Path moves until another VM command is executed. The parameter <mode> is
treated as a whole number whose bits have the following meanings:
Table 18 - <mode> Parameter Controls For Command VM
Bit Dec.Val Name Meaning
0 1 No SR If this bit is set the System temporarily performs X/Y
motion at an alternate acceleration and step rate, which
are typically 193 and 20000, respectively. (Note that
single arcs cannot actually go 20000, so single
vectors will go faster than single arcs; see SR.) The
normal AC and SR parameters are reinstated when a
VM is executed with this bit cleared. The factory-set
alternate values 193 and 20000 can be changed via the
PE command.
1 2 No MD If this bit is set the System temporarily suspends
pre-move and the mid-move digital Outputs changes as
established by the PD, MD, and MM commands. They
will be reinstated when a VM is executed with this bit
cleared. Arcs and vectors are affected.
2 4 No AB If this bit is set the System temporarily suspends
antibacklash vectors as established by the AB
command. They will be reinstated when a VM is
executed with this bit cleared. Arcs and Continuous
Path moves are not affected.
3 8 No MN If this bit is set the System temporarily suspends the
Mid-Move Digital Inputs Response as established by the
MN command. The response is reinstated when a VM
is executed with this bit cleared.
The other bits of <mode> are ignored; for compatibility with future enhancements, they
should be set to zero.