96-8000 337
QUICK CODE
June 1999
CONVERSATIONAL Q UICK C ODE
Quick Code is used to "prompt" the operator for the information necessary to create a program. The "prompting
comments" are created by placing a '?' as the first character of a comment in the Quick Code source file
(O9999). A comment is any text, up to 34 characters, that is contained in parentheses. When a program is
being written using Quick Code, the prompting comments will appear on the screen, requiring a response from
the operator. The numeric value entered by the operator will be assigned to the G-code item that immediately
precedes the prompting comment in the source file. For example, the following line of code:
G01 F25. (?WHAT IS THE FEED RATE ?) X2. Y5. ;
Will produce the prompt with the default feed rate value displayed below the prompt, as shown:
WHAT IS THE FEED RATE ?
F25.
The operator must then enter a numeric value and press the WRITE key to change the default feed rate, or
simply press the WRITE key to accept the default feed rate. The control will wait for an operator response
before entering the block to the program. Unacceptable responses, such as those containing too many digits
or an unnecessary decimal, will cause the control to flash an error message and wait for another response.
Once the operator has entered a value for all of the 'variable' G-code items in a block of code, the entire (re-
vised) block is displayed on the input line, as shown:
CORRECT (Y/N) ?
G01 F25. X2. Y5. ;
If the block of code is too long to fit on the screen, the operator can scroll to view the entire line using the right
or left arrow keys, the HOME key, or the END key. The operator then must enter 'Y', or 'enter' to accept the
block, or 'N', or 'cancel' to cancel it. If it is accepted, the block is written to the edit file, and the Quick Code
processing resumes with the next block (if there is one). If it is not accepted, the prompting process is
repeated for the same block.
Pressing the UNDO key will exit the current block at any time while in Quick code, and it will also undo any
previous blocks done. in Quick Code.
Prssing RESET will exit Quick Code and send the cursor back to the beginning.