96-8000
346
QUICK CODE
June 1999
(*HELP)
(ONLY THE FIRST TWO COMMENTS ARE)
(DISPLAYED IN THE HELP WINDOW.)
()
(THIS COMMENT IS NOT DISPLAYED)
If more than five lines are required to comment on a group, then you can use several groups to display 5, 10 or
15 lines of help. With this method you can add any amount of information you want about the group that is
desired.
GROUP CODE
What happens when a group definition is highlighted and the user presses the WRITE key? If there is a G code
after the group definition and before any other group or item definitions, then that G code will be inserted into
the program that is being developed. Groups do not have to contain items for generating G code. A group title
can stand alone as a code generating entity. The following group definition would add a G28 M30 to the pro-
gram being developed when WRITE is pressed.
(*END OF PROGRAM)
(THIS RETURNS ALL AXES TO MACHINE)
(ZERO AND ENDS PROGRAM EXECUTION)
(G28 M30)
G28 M30
Note that the user will not see what G code is generated until the WRITE key is pressed and the code is
inserted into the program. For this reason you may want to place the code that is to be generated in a help
comment as is done above.
QUICK CODE can also generate comments in the program being generated. Any comments following an
empty comment will be added to the currently edited program. In fact all code following an empty comment is
inserted into the program until another empty comment is encountered or until a group or item definition is
encountered. The empty comment must be the first code in the block. Any code in the same block as the
empty comment is not entered into the program. In the following example, only the code in blocks between the
empty comment blocks are added to the program being generated.
(*GENERATES COMMENTS AND CODE)
(THIS IS NOT ADDED TO PROGRAM)
()(THIS IS NOT ADDED TO PROGRAM)
(THESE COMMENTS WILL BE ADDED TO THE)
(PROGRAM WHEN THIS GROUP IS)
(HIGHLIGHTED AND WRITE IS PRESSED)
G0 G90 G54 (THIS CODE IS ADDED)
()
(THESE COMMENTS ARE NOT ADDED TO THE)
(PROGRAM BEING GENERATED)