beautypg.com

Task registers, Task status, Current program – Delta RMC151 User Manual

Page 1029: Task registers 9, Task status 9, Current program 9, Task[].curprog, Task[].status, Task registers 9.2.5.1. task status

background image

9 Register Reference

5 - Sensor Slot #4

12-15

Output Channel

RMC70 Output Channels:
0 - Control Output

RMC150 Output Channels:
0 - Drive 0
1 - Drive 1

16-31

Reserved

9.2.5. Task Registers

9.2.5.1. Task Status

Type: Task Register

RMC70 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.

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.

9.2.5.2. Current Program

Type: Task Register

RMC70 Address: %MD24.3+16*n, n = task number. See Register Map topic for other

address formats.

RMC150 %MD48.3+16*n, n = task number. See Register Map topic for other

deltamotion.com

1009

This manual is related to the following products: