beautypg.com

1 overview, 2 settings, Chapter 16: fail – safe system – Horner APG XL7 OCS User Manual

Page 89

background image

XL7 User Manual

Chapter 16: Fail – Safe System

16.1 Overview

The Fail-Safe System is a set of features that allow an application to continue running in the event of

certain types of "soft" failures. These "soft" failures include:

-

Battery power loss

-

Battery-Backed Register RAM or Application Flash corruption due to, for example, an excessive

EMI event.

The Fail-Safe System has the following capabilities:

-

Manually backup the current Battery-Backed RAM Register Settings into Flash memory.

-

Manually restore Register Settings from the values previously backed up in Flash to Battery-

Backed RAM.

-

Detect corrupted Register Settings at power-up and then automatically restore them from Flash.

-

Detect corrupted or empty application in Flash memory at power-up and then automatically

load the AUTOLOAD.PGM application file from Removable Media (Compact Flash or MicroSD).

-

If an automatic Register Restore or Application Load occurs, the OCS can automatically be

placed in RUN mode

The fail-safe system can be accessed by going to the system menu of the controller. A new menu “Fail-

Safe System” has been added at the end of the main system menu for this. Selecting “Fail-Safe System”

menu will open the following menu screen:

Figure 16.1 – Fail – Safe System Menu

16.2 Settings

To use the fail – safe feature, the user needs to do the following:

1. Backup the current Battery-Backed RAM Register contents in On-Board Flash memory using

System Menu options.

2. From Cscape, create AUTOLOAD.PGM for the application program using ‘Export to Removable

Media’.

3. Place the Removable Media with AUTOLOAD.PGM in the device.

4. Set the ‘Enable AutoLoad’ option in the device to YES.

Page 89 of 110