beautypg.com

Delta RMC151 User Manual

Page 851

background image

8 Command Reference

This command starts running the specified User Program on the specified Task. If the

specified Task is currently running a User Program, the Task will first be stopped, then it

will start immediately at the specified User Program.
The RMC must be in Run Mode in order to run tasks.

Note:

To stop a Task, see the Stop Task (91) command.

Tip:

After starting a User Program on a task, use the Task Monitor to monitor the status of the

task. It shows which step on which User Program is running on each task.

Task Numbers
The tasks are numbered beginning with 0. The RMC70 has a maximum of 4 tasks. The

RMC150 has a maximum of 10 tasks.
The number of actual tasks is specified on the General page of the Programming

Properties dialog. The Task Number parameter must be within the number of tasks

allocated on the Programming Properties dialog.

Details

The following items are important when issuing a Start Task command:

Selecting which Task to run

When you issue the Start Task command, you must specify which task to start.

What happens depends on what the task is doing when you issue the Start Task

command:

o

If the task is stopped when you issue the Start Task command:

The task will simply start running the User Program you specified.

o

The task is already running when you issue the Start Task command:

The task will stop the User Program it is already running and immediately start

at the User Program you specified.

Selecting the User Program

The second command parameter, Program Number, specifies which User Program

the Task will start running.

Which axis to issue the Start Task command to

In the User Program that you will start, if you have specified for each step which

axis the command will be issued to, then it does not matter which axis you issue

the Start Task command to. If you have not specified which axis the command in

that step will be issued to, then the command will be issued to the axis which the

Start Task command was issued to.

Issuing Start Task from a PLC

When issuing the Start Task command from a PLC, the second Command Parameter,

Program, requires the Program number. The number for each User Program is listed in

the Project Pane in the User Programs node.

What is a Task?

Tasks are for running User Programs. Each task is an execution engine that can run one

User Program at a time. The RMC70 has up to four tasks. Therefore, the RMC70 can run

up to four User Programs simultaneously. The RMC150 has up to ten tasks. Therefore, the

RMC150 can run up to ten User Programs simultaneously. See the Tasks topic for more

details.

Valid Task Numbers

deltamotion.com

831

This manual is related to the following products: