GTCO AccuTab II - Users Guide User Manual

Page 45

Advertising
background image

AccuTab II 45

If the command entered is not recognized as a valid command, it will be ignored and
AccuTab II will send a “?” (question mark). If the delimiter following an invalid command
was an <ESC> (indicating your desire to leave Command Mode), AccuTab II stays in the
Command Mode, awaiting a valid command.

A command may be aborted before entering a delimiter by sending a CTRL-X (hex 18). The
AccuTab II then ignores the preceding one or two characters and responds with a new
prompt.

To Leave Command Mode:

Send an <ESC> (hex 1B). The <ESC> may follow a command code or it can be sent in
response to the Super L III’s prompt. AccuTab II returns to digitizing, now operating
according to the commands sent to it.

A Hint for Programmers

Here is the most efficient method for sending commands:

1. Send the CTRL-A and wait until the Controller responds with the prompt >. A loop

that retrieves one byte at a time from the serial port and checks for the > is best.

2. Send the command one character at a time. The Controller will respond by echoing

each character. Waiting for the character to be echoed will ensure that the
Controller has received the character and is waiting for the next one.

3. Once the command is complete, send a <CR> or <ESC> (hex 1B) to exit command

mode.

4. If you send a <CR>, go into a loop and grab one byte at a time until a > prompt is

received. Then continue sending commands as described in step 2.

Advanced Programming Information

NOTE: The following information is not required for normal AccuTab II operation.

If you are programming for the AccuTab II product line, the topics listed below will be
useful:

Coordinate Formats

Measurement Scales

Advertising