beautypg.com

Current program/step, Current program/step 1, Task[].curprogstep – Delta RMC151 User Manual

Page 1031

background image

9 Register Reference

RMC150

Address:

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

address formats.

System Tag: _Task[n].CurAxis, where n is the Task number

_CurAxis (indicates the current axis of the current Task)

How to Find: Address Selection Tool → Tasks → Task #

Data Type: DINT

Accessibility: Read/Write


This register indicates the current axis (Default Axis) of Task n.
Each task has a Default Axis associated with it. If a command in a User Program does not

have a selected Commanded Axis, the command will be issued to this Default Axis.
See the Tasks topic for more details on the Default Axis.

9.2.5.5. Current Program/Step

Type: Task Register

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

address formats.

RMC150

Address:

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

address formats.

System Tag: _Task[n].CurProgStep, where n is the Task number

How to Find: Address Selection Tool → Tasks → Task #

Data Type: DINT

Accessibility: Read Only


This register indicates the current program and step that is running on Task n. This register

combines the information provided in both the Current Program and Current Step registers.

Therefore, it provides information more compactly, which is useful when including Task

information in plots.
Other than using this register for plots, this register is difficult to use! Use the Current

Program and Current Step registers instead.

Note:

If this register is referenced in the action portion of a step in a user program, it will give the

numbers of the program and step that were executed in the previous step by the task. If

referenced from the Link or from any other location, such as the Program Triggers or from a

host controller, it will always indicate the current program and step.

Therefore, this register is best not used in the action portion of a step in a user program.

This register includes the current program and step in the following bits of the register:
Bit

Description

0-11

Step Number

12-23 Program Number

deltamotion.com

1011

This manual is related to the following products: