Type: |
Controller Register |
RMC75 Address: |
%MD20.7 |
RMC150 Address: |
%MD44.7 |
RMC200 Address: |
%MD18.7 |
System Tag: |
|
How to Find: |
Address Selection Tool → Controller |
Data Type: |
|
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. On the RMC200, the next bit defines Disabled mode. |
1 |
_Controller.Status.Enabled |
Controller Enabled This bit is initially cleared on power-up, but will be set after the Enable Controller (7) or RUN Mode (98) command is issued. It will also be set immediately if the controller is set up to start in RUN mode. On the RMC200, when this bit is off, the RMC is in Disabled mode. |
2 |
_Controller.Status.FirstScan |
First Scan Goes high (1) on first scan after entering RUN mode, otherwise it is low (0). See the Program Triggers topic for usage details. The system tag _FirstScan is identical to using _Controller.FirstScan. |
3 |
_Controller.Status.WDReset |
Restart due to Watchdog Timeout If the last controller startup was the result of a watchdog timeout causing the RMC to restart, this bit will be set until the RMC is powered off. A watchdog timeout is typically caused by a bug in the firmware. If the RMC did not restart due to a watchdog timeout or unhandled exception, then it was because of a power problem. After any restart caused by a watchdog timeout, the RMC CPU LED will alternately flash red and green for 10 seconds. |
4 |
RMC75/150: no tag name RMC200: _Controller.Status.SysFault |
Restart due to Unhandled Exception If the last controller startup was the result of an unhandled exception causing the RMC to restart, this bit will be set until the RMC is powered off. After any restart caused by an unhandled exception, the RMC CPU LED will alternately flash red and green for 10 seconds. |
See Also
Copyright © 2024 Delta Computer Systems, Inc. dba Delta Motion