76
January 2004
DEFINING AN ITEM BELONGING TO A GROUP (**)
To define an item belonging to a group simply enter a comment after a group definition where the first two
characters of the comment are asterisks. For instance, the following code generates a group with four subordi-
nate items.
(*GROUP)
(**ITEM1)
(**ITEM2)
(**ITEM3)
(**ITEM4)
With the above Quick Code source file, only one group is displayed in the group window when the jog handle is
turned clockwise. When the jog handle is turned counter clockwise, the five items are displayed and traversed.
The item titles are indented one space so that you can differentiate items from groups. Only 34 characters of
the item definition comment are displayed in the group window. Additional characters are ignored. The group
that items belong to will always be displayed on the screen. The only limit to the number of items in a group is
the amount of control memory available.
ITEM HELP
Item help works the same way as group help. The first six comments after the item definition are displayed in
the help window. If more than six lines are required, it is recommended that the desired comments are contin-
ued on the next item. In this case instructions would have to be added to indicate which item generates the G
code.
For example:
(*GROUP)
(**HELP FOR THE FOLLOWING ITEM)
(THESE LINES OF CODE ARE HELP)
(COMMENTS THAT REQUIRE MORE THAN)
(FIVE LINES OF COMMENTARY)
(THIS IS THE LAST LINE OF THIS ITEM)
(**ITEM THAT GENERATES CODE)
(AND HERE WE FINISH THE COMMENTARY)
(FOR CODE GENERATED BY THIS ITEM)
G0 G90 G01 F30
()(*********************************)
(*NEXT GROUP)
Although the above example is somewhat awkward, it does provide a method that will satisfy unusual cases.
The line with all of the asterisks is legal. It is not inserted into the current program when the WRITE key is
pressed. It is used to visually separate groups.
ITEM CODE
Code generated by group items is formatted in the same manner as group code is formatted. Refer to the
section on group code for an explanation of how code is generated.
Содержание VF Series
Страница 1: ...January 2004...
Страница 7: ...V I January 2004...
Страница 125: ...118 January 2004...
Страница 126: ......