Labeling steps, Labels – Delta RMC151 User Manual
Page 330
RMC70/150 and RMCTools User Manual
For example, consider the following user program:
This user program only runs one step (which takes only one loop time of the RMC), then
stops. However, the command that was issued will be processed until it is complete. The
axis will move to 20 pu and then stop.
5.11.6. Labeling Steps
You can add a label to any step in a User Program. The label may be used in Link Types when
specifying the step to jump to. Labels are global: you can jump to a label in any User
Program. Prudent use of labels makes the User Programs more flexible and readable.
It is not necessary to label a step to jump to it from the previous step. Entering "Next" in the
Jump to box of a link type will jump to the next step without requiring a label.
Using Labels to Jump to Steps
Jumping to a step by specifying a Label is often better than specifying a Step Number. If
you use a step number, the number will change if a step is inserted before it. Then the
jump will go to the wrong step. If you use a step Label, the jump will always go the step
with that label.
To create a jump to a step with a label:
•
Add a label to the step you wish to jump to.
•
In the step you are jumping from, choose one of the Jump Link Types.
•
In the Jump To, Jump on True, or Jump on False box, type the name of the label.
Add a Label to a Step
•
Right-click anywhere in the step and click Edit Label.
•
Type the name in the Label box and click OK.
Delete a Label
•
On the Editor menu, click Edit Label.
•
Click Delete.
Edit a Label
•
Right-click anywhere in the step and click Edit Label.
•
Make any changes and click OK.
Finding Labels
In large projects, it may be difficult to keep track of all the labels. Use the Browse Labels
dialog to view all the labels in a project and their locations. You can also use it to go to
the location of a label.
310
Delta Computer Systems, Inc.