beautypg.com

Controller registers, Controller tags, Controller status – Delta RMC151 User Manual

Page 1032: Controller registers 2, Controller tags 2, Controller status 2, Controller registers 9.2.6.1. controller tags

background image

RMC70/150 and RMCTools User Manual

9.2.6. Controller Registers

9.2.6.1. Controller Tags

In addition to the controller registers (file F7) listed in the RMC150 register map and RMC70

register map, the RMC includes the following system tags. These are not directly accessible

from outside the RMC. From within the RMC, they can be accessed using the tag names.
Tag Name

Data

Type

How to Find

in Tags

Browser

Description

_FirstScan

BOOL Controller→

First Scan

True on the first loop time after entering RUN

mode, otherwise it is false. See the Program

Triggers topic for usage details.

_SysMS

DINT

Controller→
System

Milliseconds

System Milliseconds. Contains the number of

milliseconds since the RMC powered up. This

DINT value will wrap around to -2147483648

after it reaches its maximum value of

2147483647.

_SysTicks

DINT

Controller→
System Ticks

System Ticks. Contains the number of control

loops since the RMC powered up. This DINT

value will wrap around to -2147483648 after

it reaches its maximum value of 2147483647.

9.2.6.2. Controller Status

Type: Controller Info Register

RMC70 Address: %MD20.7. See Register Map topic for other address formats.

RMC150 Address: %MD44.7. See Register Map topic for other address formats.

System Tag: _Controller.Status

How to Find: Address Selection Tool → Controller → Status

Data Type: DWORD

Accessibility: Read Only


This register indicates the state of various controller items. Use this register to determine

whether the controller is enabled, if it is in Run or Program mode, or to check the First Scan

bit.
Bit Tag Name

Description

0 _Controller.Status.Run

RUN/PROGRAM Mode
This bit indicates whether the

controller is in RUN (1) or

PROGRAM (0) mode. See the

RUN/PROGRAM Mode topic for

details.

1 _Controller.Status.Enabled Controller Enabled

This bit is initially cleared on

power-up, but will be set after

the Enable Controller (7) or

1012

Delta Computer Systems, Inc.

This manual is related to the following products: