Task Status

Type:

Task Register

RMC75 Address:

%MD24.16*n, n = task number. See Register Map topic for other address formats.

RMC150 Address:

%MD48.16*n, n = task number. See Register Map topic for other address formats.

RMC200 Address:

%MD.[192+n].0, n = task number.

System Tag:

_Task[n].Status, where n is the Task number

How to Find:

Address Selection Tool → Tasks → Task #

Data Type:

DWORD

Accessibility:

Read Only

 

This register indicates the state of Task n. You can use this register to determine whether a specific Task is running and whether it is allocated.

After issuing a Start Task command from a PLC, the Running bit, together with the Current Program register, is useful for determining if the User Program really did start.

Bit

Tag Name

Description

0

Running

0 = Stopped, 1 = Running

1

Allocated

0 = Not Allocated, 1 = Allocated

A task is allocated if it exists. To specify the number of tasks that exist, use the General page on the Programming Properties dialog. The Number of User Tasks box defines how many tasks exist.

For example, if you set the Number of User Tasks to 3, then tasks 0 to 2 will be allocated.

 

See Also

Tasks


Send comments on this topic.

Copyright © 2024 Delta Computer Systems, Inc. dba Delta Motion