Manual

Detailed Descriptions of ACL Commands 3-65
TD [<which>] Toggle Digital Outputs
This command is similar to the CD ("Change Digital Outputs") command; TD can
immediately change any or all of the 8 Digital Outputs. The difference is that, while the CD
command gives a specific new value to each Output, the TD command merely changes it
from whatever value it has now to the opposite value; True changes to False, False to True.
The TD command is particularly useful in Download Sequences which are invoked from the
front panel. The user can press a button to change the state of whatever hardware (valve,
solenoid, etc.) is connected to a Digital Output. If you used CD instead of TD, you would
need two separate buttons: one to turn it on, another to turn it off.
<which> is interpreted as an 8-bit number, with a useful range of 0 through 255. Each bit
corresponds to one Digital Output. If the bit is 1, the Digital Output is toggled to the
opposite state; if the bit is 0, the Digital Output is not changed.
For a table of the decimal value corresponding to each bit, see the CD command.
If <which> is omitted it defaults to 255 (whose binary equivalent is 11111111), meaning
that all 8 Digital Outputs are toggled.
After the Digital Outputs have been set to their new values, the Automove System waits a
certain amount of time before processing the next ACL command. This delay is specified
via the WD command; it should be great enough to allow any associated external hardware
to complete its action before the next motion begins, if necessary.
While the machine is in the Emergency Stopped state the TD command is ignored; all
Digital Outputs remain in the False state.
If <which> is above 255, the least significant 8 bits are used.
For more information about the Digital Outputs see Chapter 8 Using the Digital Outputs and
Inputs.
Example: assume the Digital Outputs are all False. Then the sequence TD 1; TD 3; first
toggles bit 0 to the True state, then simultaneously toggles bit 0 back to False and bit 1 to
True.
TL [<xmin>, <ymin>, <xmax>, <ymax>] Travel Limits
The TL command establishes a set of travel limits for the X and Y motors. The carriage can
never be commanded to travel outside the rectangle defined by <xmin>, <ymin>, <xmax>,
and <ymax> microsteps. (Exception: the Find Home Switches operation.) Each parameter
must be in the range 0 through 32767.
Recall that the Home position is at (0,0) microsteps. <xmin>, <ymin>, <xmax>, and
<ymax> are absolute microstep values; in other words, they are offsets from the Home
position, unaffected by the pattern rotation angle, the calibration factors, or the location of
the Origin position.