Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 15 of 20

Andover Infinet i2 Controller Technical Reference: Operation/Programming, pages 135 to 144

Pages 135 to 144 of 190, from Andover Infinet i2 Controller Technical Reference

The original document is the PDF (8.4 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Andover Controls i2850 and Schneider i2850

Page 135

Using the ACCStatusFlash Variable The ACCStatusFlash variable indicates the current state (empty, full or failure) of the Flash memory device. The controller stores status information into this variable. On Continuum Systems: A system variable called ACCStatusFlash is automatically created when the controller is defined. ACCStatusFlash can have the following values: ACCFlashEmpty

There is no valid database in Flash memory

ACCFlashValid

There is a valid database in Flash memory

ACCFlashFailure

An error was encountered while trying to perform a backup to Flash. In this state, the data in flash is unusable

On Infinity Systems*: A numeric called INFStatusFlash must be manually created prior to its use. INFStatusFlash can have the following values: 0 (zero)

There is no valid database in Flash memory

1

There is a valid database in Flash memory

2

An error was encountered while trying to perform a backup to Flash. In this state, the data in flash is unusable

*Infinity numeric or pre-version 1.5 Continuum numeric i2 Controller Technical Reference

129

Page 136

Using the ACCStatusBackup Variable The ACCStatusBackup variable indicates the operational state (backup needed, backup done, backup in progress, etc.) of the memory. It is also used to initiate a backup operation. The controller stores status information into this variable and the user initiates a manual backup operation through this variable. Note: The CyberStation user interface includes the ability to command a flash backup as well as the method presented below.

On Continuum Systems: A system variable called ACCStatusBackup is automatically created when the controller is defined. ACCStatusBackup, when used as an indicator, can have the following values: ACCBackupDone

A backup to Flash memory has been successfully completed, or the controller has not been configured.

ACCBackupNeeded

A configuration item has changed value since the last successful backup to Flash memory.

ACCBackupInProgress A backup to Flash memory operation is underway. Note: The database is available on a read-only basis during the backup operation. ACCBackupDisabled

The database has been saved to Flash memory 2,000 times and the user has attempted further backup operations without re-setting the Flash Circuit Breaker (see ACCBackupEnable). For as long as this condition persists, further backup operations are disabled.

ACCBackupInactive

The system has been placed in WarmStartOnly mode and therefore, Flash user backup area is not available for use.

ACCStatusBackup*, when used to initiate a backup can have the following values: ACCBackupEnable

A command from the user. This allows you to override the Flash Circuit Breaker and perform further backup operations. Further backup operations will be uninhibited until an additional 2,000 Flash write cycles have been incurred.

ACCBackupNow

A command from the user. This causes the system to initiate a backup of the current database to Flash memory.

* Be careful if setting this using Plain English. Remember there is a maximum number of Flash writes! 130

Schneider Electricn

Page 137

Using the ACCStatusBackup Variable (continued) On Infinity Systems*: A numeric called INFStatusBackup must be manually created prior to its use. INFStatusBackup, when used as an indicator can have the following values: 0 (zero)

A backup to Flash memory has been successfully completed.

1

A configuration item has changed value since the last successful backup to Flash memory.

3

A backup to Flash memory operation is underway. Note: The database is available on a read-only basis during the backup operation.

4

The database has been saved to Flash memory 2,000 times and the user has attempted further backup operations without re-setting the Flash Circuit Breaker (see BackupEnable). For as long as this condition persists, further backup operations are disabled.

6

The system has been placed in WarmStartOnly mode and therefore, Flash user backup area is not available for use.

IMPORTANT NOTE: You must use the command line to write to the INFStatusBackup variable. Do not use the editor window in the SX8000, CyberStation or the terminal interface within a CX to initiate a backup operation. It is not recommended that you set this variable using Plain English.

INFStatusBackup, when used to initiate a backup can have the following values: 5

A command from the user. This allows you to override the Flash Circuit Breaker and perform further backup operations. Further backup operations will be uninhibited until an additional 2,000 Flash write cycles have been incurred.

2

A command from the user. This causes the system to initiate a backup of the current database to Flash memory.

*Infinity numeric or pre-version 1.5 Continuum numeric i2 Controller Technical Reference

131

Page 138

Using the ACCFlashWRCount Variable The ACCFlashWRCount variable Stores a running tally of the number of write operations performed on the flash memory. The controller stores the count information into this variable. On Continuum Systems: A system variable called ACCFlashWRCount is automatically created when the controller is defined. On Infinity Systems*: A numeric called INFFlashWRCount must be manually created prior to its use.

*Infinity numeric or pre-version 1.5 Continuum numeric

132

Schneider Electricn

Page 139

Operation/Programming (i2885, i2885-V, and i2887(L) Only) The i2885, i2885-V and i2887(L) controllers are microcomputers that, along with the input and output circuitry, includes program memory and data memory. The hardware cannot be used for control or monitoring without being configured and programmed.

Key Concepts There are many concepts to learn; however, there are a few key ones that you need to understand before attempting to grasp the others. These key concepts are outlined below. Workstation The user interacts with the system through a personal computer called the workstation. Workstation software called CyberStation is used to configure (set-up), program, monitor and operate the system. Programming Programs in a BASIC-like language called Plain English are created on the workstation and downloaded to the controller where they run. Configuration The configuration process is where the various settings for the controller are applied. Configuration information includes such things as the setting of each input type. Points The control of equipment requires monitoring individual inputs and actuating individual outputs. In Continuum systems, these discrete entities are referred to as ‘points’. You’ll see ‘output point’ or ‘input point’ referred to quite often. In keeping with this tradition, internal places within a controller or workstation’s memory are also referred to as points. These software-based points may be temporary storage locations for set points or the memory location where the current date and time are stored. Flash Memory Memory holds configuration data and the programs the controller uses during operation. Flash Memory is a kind of memory that has the ability to retain its contents even during a power failure (also known as non-volatile). Flash does not require batteries to retain this information. Database The information that describes the structure and operation of your building is stored in a software database. The values of each point in the system, the settings for limits, the configuration of the hardware and more are contained within this software structure. The database is the key to the entire system.

i2 Controller Technical Reference

133

Page 140

Configuration Process The controller is shipped from the factory with the operating system firmware preprogrammed into its program memory. This firmware allows the controller to communicate with a workstation so that it can be further configured and programmed to meet the requirements of its intended task. Once the controller is physically installed at your site it must be configured and programmed. The following information is presented as an overview of the process. Detailed descriptions of configuration can be found in the Andover Continuum CyberStation Configurator’s Guide, 30-3001-781. After configuration, the new controller will be visible in the database tree shown in the workstation Continuum Explorer window. The following screen shot illustrates the new controller after creation. This particular screen comes from a Continuum workstation:

The i2800 series device is the controller named “New_controller”. As an Infinet II controller, its icon is different from an Infinet I controller. The folders shown beneath the icon are made visible by clicking the small plus symbol next to the icon. These folders hold other programmable entities within the controller. Compatibility The i2885 and i2885-V are designed to work with Continuum (version1.5 or higher) but not with Infinity systems or earlier Continuum versions. All other i2 series controllers support both Infinity systems and Continuum.

134

Schneider Electricn

Page 141

Controller Memory Infinet II controllers such as the i2885, i2885-V and i2887(L) have two distinct program memories. One, RAM memory, is volatile and will be erased in the event of a power failure. The other is Flash memory which is non-volatile. To preserve programs and point readings it is necessary to transfer the contents of RAM memory to the Flash. Flash Files Periodically, newer versions of the operating system are released. You can find and download the latest version of the operating system from the Schneider Electric Technical Support web site. These new versions consist of one or more “flash files”. Workstation software includes provisions for you to upload these flash files directly to the controller. RAM Memory Plain English programs and point data are stored in RAM memory. The contents of this memory is lost in the event of a power failure.

CAUTION: The user must perform a backup to flash in order to guard against data loss.

Limitations of Flash Memory Flash memory circuits are rated for a limited number of write operations (minimum of 10,000 to an average expected lifetime of 100,000). In the controller, flash memory is used for storing completed configurations and a snapshot of data at a particular time. When used in this manner, the memory should last the lifetime of the product. To give you an idea of how many operations are available, see the following table. Average Expected Lifetime Of Flash Memory Circuits Write to Flash 1 time per day 10 times per day

Number of Operations Available 27 years at minimum rating 274 years at average expected lifetime 2.7 years at minimum rating 27 years at average expected lifetime

If you’re really worried about exceeding the maximum number of writes, the controller includes an automatic software-based “circuit breaker” that warns you at certain intervals. An Infinity controller sets the circuit breaker at 2000 writes to flash for database, configuration and operational program saves. For database saves, the system variable ACCStatusBackup is set to ACCBackupDisabled and requires you to set the ACCStatusBackup variable to ACCBackupEnabled. i2 Controller Technical Reference

135

Page 142

For configuration and operation write operations to flash, a counter is incremented for each save and you need to create the numeric INFFlashDisabled to monitor the number of write operations. When the 2000 limit is reached, INFFlashDisabled is set to a non-zero value and logs an error. Using CyberStation, reset this value to 0 and reboot the controller to enable write operations. The circuit breaker helps to protect against a rogue Plain English program constantly changing a configuration setting. Start-up From Power Failure Restart Conditions The following describes the two types of conditions a controller may encounter during a restart from a power failure:

Cold Start:

The controller powers up from reset with no user objects or configuration in place.

Cool Start:

The controller powers up from reset and restores the user configuration from Flash memory. It is assumed that a configuration was explicitly saved by the user at some point prior to power down. Point log data is not restored (with the exception of manual arrays on setpoints), Plain English programs are started at their beginning, and user points, whose SetPoint attribute has been set, have their values restored. Cool start can be thought of as a “self reload”.

Overview of Available Restart Mode The controller is pre- configured for the following restart mode: ACCCoolStartOnly

136

Schneider Electricn

The controller, upon recovery from reset, attempts a cool start; if that fails, proceeds with cold start.

Page 143

Detailed Description of the Restart Mode

Cool Start Only Continuum System Variable:

ACCRestartMode = ACCCoolStartOnly

In this mode, the user database is backed-up to the User Backup Area of Flash memory upon user command only (manually). When the controller powers up after a reset, it examines the backup area in Flash memory, and if a valid backup is found, the data is restored to RAM. Certain portions of the data are re-initialized: ƒ

Point values whose SetPoint attribute are TRUE have their values restored

ƒ

Input point values are purged and a fresh sample obtained from the hardware before the Scanner runs.

ƒ

Output points are purged.

ƒ

All automatic log data are purged

ƒ

Manual array data are retained for setpoint variables only.

ƒ

The CurrentLine attribute of Plain English programs is set to its first line. The program is run ONLY if the AutoStart attribute is TRUE. The State attribute is restored and its value observed.

i2 Controller Technical Reference

137

Page 144

Flash Memory Backup Variables and Tools To avoid losing data, you must back up your database to the internal Flash Memory. There are several status variables that can be monitored to determine the current state of the information in the flash area. ACCStatusFlash

Indicates the state (empty, valid or failure) of the Flash memory device. In this case “valid” indicates that a valid database is present.

ACCStatusBackup

Indicates the operational state (backup needed, backup done, backup in progress, etc.) of the memory. It also includes provisions to initiate a backup operation.

ACCFlashWRCount

Stores a running tally of the number of write operations performed on the flash memory.

ACCLastBackup

Indicates the date and time of the last backup of the object system to flash. The i2 controller updates this variable to the current time after successfully performing a backup operation.

There are two features that prevent loss of operations: Flash Circuit Breaker

Prevents you from unintentionally performing more write operations than the flash memory allows (2000 total).

Automatic Notification of Backup Needed Visual indication in the Continuum Explorer of the need to backup a controller.

138

Schneider Electricn