After you have created, verified and downloaded a User Program, you can run it on the RMC. This topic describes how to start a User Program. See the Stopping User Programs topic also.
Note:
In order to run User Programs or the Program Triggers, the RMC must be in RUN mode. See the RUN/PROGRAM Mode topic for details.
Starting a User Program
There are several ways to start a User Program:
Send the Start Task (90) command from RMCTools:
In the Command Tool, click the Axis 0 Cmd box. Type "90" and press enter.
In Program parameter, enter the number of the User Program you wish to run.
In the Task Number parameter, enter the number of the task you wish to run the User Program on.
Tip:
For help on determining which task to run a User Program on, see the Tasks and Start Task (90) topics.
Click Send Command.
Send the Start Task (90) command from a PLC or other host controller:
See the Issuing Commands topic for details.
Send the Start Task (90) command from a User Program:
In the Command box, type "90" and press Enter.
Enter the correct values in the Task Number and Program parameters. For details on these parameters, see the Start Task (90) command.
Complete the step as described in the Creating User Programs topic.
From the Task Monitor
In the Task Monitor, to start a User Program, right-click a Task listed in the Task Monitor and click Start Task.
From the Project tree
In the Project pane, right-click a User Program, choose Run Program, then choose the Task on which to run the program.
This option is available only if the Programming node has no differences between the project and controller. Notice that a user program cannot be stopped using this method.
Create a Trigger in the Program Triggers
See the Program Triggers for details.
How to Determine if a User Program is Running
Use the Task Monitor to track which User Programs and steps are currently running. See the Tasks topic for details.
To open the Task Monitor, on the View menu, click Task Monitor.
See Also
User Program Overview | Start Task (90) Command
Copyright © 2024 Delta Computer Systems, Inc. dba Delta Motion