beautypg.com

Task monitor – Delta RMC151 User Manual

Page 254

background image

RMC70/150 and RMCTools User Manual

4. On the RUN/PROGRAM page of the Program Properties dialog, set the RMC to start

up in RUN Mode.

5. Update Flash.
6. Cycle power to the controller. You can view the Event Log Monitor to see if the user

program did start immediately after the RMC powered up.

See the Example: Closed Loop Motion on Startup for a detailed walk-through example.
Running a User Program on Startup Only
If you wish to have the Program Triggers start a user program only when the RMC starts

up, and not each time it enters RUN mode thereafter (such as after you download the

Programming node), do the following:

1. Create a variable called Running, and set the Default Value to 0.
2. Create the following Program Triggers condition:

_FirstScan and Running = 0

3. In the first step of the user program, add an Expression (113) command with the

following expression:

Running := 1

When the RMC starts up in RUN mode, it will run the user program. However, it if exits

and enters RUN mode after that, the user program will not start because the variable

Running is not zero.

Disabling the Program Triggers Task

Sometimes when troubleshooting or setting up the RMC, you may wish to be in RUN Mode

but have the Program Triggers disabled.
To disable the Program Triggers:

1. In the Project pane, expand the desired controller.
2. Right-click Programming and click Properties.
3. On the General page, in the Program Triggers section, set the Program Triggers to

Disabled. Click OK.

4. In the Project pane, right-click Programming and click Download Programs to

apply the changes to the RMC.

Note:

The Program Triggers will never run when the RMC is in PROGRAM Mode.

4.11.4. Task Monitor

To access this monitor:

On the View menu, click Task Monitor.

Use the Task Monitor to view which user programs are running, and to start and stop User

Programs. The Task Monitor shows task information only when RMCTools is online with the

controller.

Tasks

The Task Monitor lists the following information:

Each Task in the RMC

The user program and step each task is running

Whether the Program Triggers Task is enabled

The Default Axis for each task

234

Delta Computer Systems, Inc.

This manual is related to the following products: