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

The text of a manual · part 14 of 20

Andover Infinet i2 Controller Technical Reference: Operation/Programming, pages 125 to 134

Pages 125 to 134 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 125

8 . . . . . . Operation /Programming i2 Controller Technical Reference

119

Page 126

120

Schneider Electricn

Page 127

Operation/Programming All controllers except i2885, i2885-V, & 887(L) The i2 series controllers are microcomputers that, along with the input and output circuitry, includes program memory and data memory. The hardware of the i2 Series 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 (either Continuum or Infinity) through a personal computer called the workstation. Workstation software, called CyberStation, or SX8000 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 Infinity and 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

121

Page 128

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 CyberStation 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, or the Infinity SX8000 Programmer’s Guide. After configuration, the new controller will be visible in the database tree shown in the Continuum Explorer window. The following screen shot illustrates the new controller after creation. This particular screen comes from CyberStation:

The i2850 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. Magic Variables (not applicable to i2885 and i2885-V) There are several “magic” variables that are used to set up the operation of the flash memory. On Continuum systems (v 1.5 or higher), these variables are automatically created as System Variables. On Infinity systems or pre-version 1.5 Continuum systems, these variables are manually created numerics. 122

Schneider Electricn

Page 129

Controller Memory Infinet II controllers except the i2885, i2885-V, and i2887(L) have two distinct program memories. One is dedicated to the lower-level operation of the controller and the other holds user-defined items such as point data and Plain English programs. 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. Application Memory Plain English programs and point data are stored in Application Memory. This memory is backed up with a battery to guard against power failure. The controller includes an extra Flash Memory for storing some of the Application data as well. This Flash Memory can be commanded to store the configuration data contained in the battery-backed memory as an extra insurance against loss. Advantages of Flash Memory Initially it may seem redundant to include a flash memory along with battery-backed memory to hold application data. However, it is this redundancy that makes its addition attractive. Although it is unlikely that the battery will fail or that the data in that memory will become corrupted, it is an extra layer of protection for your configuration data to be able periodically to lock it into flash. 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 Number of Operations Available 1 time per day 27 years at minimum rating 274 years at average expected lifetime 10 times per day 2.7 years at minimum rating 27 years at average expected lifetime i2 Controller Technical Reference

123

Page 130

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. 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 With so many memory options available to the controller for storing critical data, we thought it would be equally helpful to provide various options for retrieving that data upon start-up from a power down condition. Although the controller has a default start-up mode, there are two other start-up sequences that you can choose. Possible Restart Conditions The following describes the three types of conditions a controller may encounter during a restart from a power failure:

124

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”.

Warm Start:

The controller powers up from reset with a user configuration in place. The user configuration is that which was present in the controller and preserved due to the battery-backed memory when it was reset and/or power was lost. Point log data is preserved, Plain English programs are restarted at the same logical line that was being interpreted when the controller shut down, and all user points have their values restored. Warm start is functionally similar to an Infinet 1 warm start.

Schneider Electricn

Page 131

Overview of Available Restart Modes One of the settings during the controller definition phase of the configuration process is to determine the power restart mode. The following modes are available: ACCWarmStartOnly

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

ACCCoolStartOnly

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

ACCWarmToCool

The controller, upon recovery from reset, attempts warm start; if that fails, attempts a cool start; if that fails, proceeds with cold start. This is the default mode for the controller.

Detailed Description of Restart Modes Warm Start Only Selected by: Continuum System Variable: ACCRestartMode = ACCWarmStartOnly Infinity Numeric*:

INFRestartMode = 0

In this mode, after a reset the controller examines the database in its internal RAM, attempts to correct any data corruption that may have been caused by an untimely reset/power loss, validates the database and attempts to use it if it is found to be valid. ƒ Point values (with the exception of input points) are restored. ƒ

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

ƒ

Output points are marked for hardware update such that their values will be refreshed to the hardware upon completion of the Scan (pulsed output values are assumed to have expired).

ƒ

All log data are retained.

ƒ

Plain English programs, that were running when the system went down, are re-started at the same logical line that was “CurrentLine” when the controller shut down. The Status, and State attributes are left unchanged. Line start times are left at whatever value they had when the controller went down and ts, tm, th, td will be incremented (from whatever value they had before power down) by the time delta imposed by the first time sync message after warm start. The elapsed time variables are actually computed values, hence their behavior is a side effect of the fact that the line start times are left unchanged.

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

125

Page 132

Cool Start Only Continuum System Variable: ACCRestartMode = ACCCoolStartOnly Infinity Numeric*:

INFRestartMode = 1

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.

Warm to Cool Continuum System Variable: ACCRestartMode = ACCWarmToCool Infinity Numeric*:

INFRestartMode = 2

In this mode, the user database is backed-up to the User Backup Area of Flash memory only when the user specifically requests a backup. When the controller powers-up after a reset, it examines the database in RAM, attempts to correct any data corruption that may have been caused by an untimely reset/power loss, validates the database (against things like bad pointers etc.) and attempts to use it if it is found to be valid. If this fails, it examines the User Backup Area of Flash memory, and if a valid backup is found then data is restored to RAM (cool start).

*Infinity numeric or pre-version 1.5 Continuum numeric

126

Schneider Electricn

Page 133

Setting the Restart Mode On Continuum Systems: When you define the controller using the Continuum CyberStation, a system variable called ACCRestartMode is automatically created in the controller. Through the Continuum Explorer, open the System Variables folder and open the ACCRestartMode variable.

In the editor window you select the desired mode from the three modes previously mentioned. On Infinity Systems*: Defining the controller on an Infinity system or a pre-version 1.5 Continuum system requires you to manually create a numeric variable: INFRestartMode. After creation you need to set this variable as follows: Mode

Set INFRestartMode to:

Warm Start Only

0

Cool Start Only

1

Warm To Cool

2

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

127

Page 134

Flash Memory Backup Variables and Tools With the restart mode set to ACCCoolStartOnly or ACCWarmTo Cool, you have the option of backing up your database to the internal Application 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.

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.

128

Schneider Electricn