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

The text of a manual · part 8 of 9

i2867 Controller Installation & Programming Guide, pages 31 to 45

Pages 31 to 45 of 52: Analog Voltage Output; Smart Sensor Bus Interface (IN5 & SPWR); Operation/Programming

The original document is the PDF (552 KB). 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 i2-867

Page 31

Analog Voltage Output The i2867 includes two Analog voltage outputs. Each voltage output is a groundreferenced signal with a range of 0-10VDC. The maximum output current is 5mA (2,000 ohms minimum load resistance). Ensure that the device being connected is either floating or at the same ground potential as the controller. Configure the output point with an Electrical Type of Voltage. Connect the device across the following terminals:

Although there is only one return terminal (RET) supplied, it is recommended that a separate return wire be used for each output. All return wires should be crimped into one connection to the RET terminal.

Note: The load resistance (of the external device) must be greater than or equal to 2 KΩ.

i2867 Installation & Programming Guide

25

Page 32

Smart Sensor Bus Interface (IN5 & SPWR) The Smart Sensor is a room temperature sensor that includes an LCD or LED display and a 6-button programmable keypad. The interface between the i2867 and the Smart Sensor Bus consists of three wires connected to the following positions on the sixteen-terminal output connector located on the right side of the Controller module: 14 15 16

RET IN5 SPWR

The i2867 communicates with the display of the Smart Sensor device over a single wire (the SPWR connection). The RET line is the return for both the communications line and the internal thermistor. The IN5 signal is the active lead from the Smart Sensor thermistor and the keypad. It connects to the IN5 input to the i2867. Temperature readings and keypad activations from the Smart Sensor are read as Input 5. Input 5 must be configured as a general Temperature input. The following illustrates the connection between the two units:

26

Andover Controls Corporation

Page 33

Operation/Programming The i2867 Controller is a microcomputer that, along with the input and output circuitry, includes program memory and data memory. The hardware of the i2867 does nothing 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. 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.

i2867 Installation & Programming Guide

27

Page 34

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

The i2867 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. Magic Variables 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 earlier Continuum systems, these variables are manually created numerics.

28

Andover Controls Corporation

Page 35

Controller Memory Infinet II controllers such as the i2867 have two distinct program memories. One is dedicated to the lower-level operation of the controller and the other holds userdefined items such as point data and Plain English programs. Flash Files The operating system area contains what is known as the controller’s operating system firmware. This memory is of the flash variety; it requires no power to retain its information. Periodically, newer versions of the operating system are released. You can find and download the latest version of the operating system from the Andover Controls Technical Support web site. These new versions consist of one or more “flash files”. Workstation software (Continuum CyberStation 1.5 or higher) 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 to Having the Application Data 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 maximum of 100,000 write operations. You would not use flash memory for the main system RAM in your personal computer. Its inclusion in the controller is 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, consult the following examples: Write to flash 1 time per day 10 times per day

Number of operations available 274 years 27 years

If you’re really worried about exceeding the maximum number of writes, the controller includes an automatic software-based “circuit breaker” that warns you every 10,000 write operations. i2867 Installation & Programming Guide

29

Page 36

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 a few 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: 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.

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:

30

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.

Andover Controls Corporation

Page 37

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

i2867 Installation & Programming Guide

31

Page 38

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

32

Andover Controls Corporation

Page 39

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 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 using the SX8000 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 i2867 Installation & Programming Guide

33

Page 40

Flash Memory Backup Variables and Tools With the restart mode set to CoolStartOnly or WarmTo 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. StatusFlash

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

StatusBackup

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

FlashWRCount

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.

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

34

Andover Controls Corporation

Page 41

Using the StatusFlash Variable The StatusFlash 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 i2867 Installation & Programming Guide

35

Page 42

Using the StatusBackup Variable The StatusBackup 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 (v 1.5 or higher) 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 10,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.

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:

36

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 10,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.

Andover Controls Corporation

Page 43

Using the StatusBackup 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 10,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. 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 10,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.

i2867 Installation & Programming Guide

37

Page 44

Using the FlashWRCount Variable The FlashWRCount 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.

38

Andover Controls Corporation

Page 45

I/O Point Assignments The i2867 can be programmed using the following point assignments: Function

Input Point Assignment

Input 1 Input 2 Input 3 Input 4 Input 5

1 2 3 4 5

Function

Electrical Type * see note 1 * see note 1 * see note 1 * see note 1 * see note 2

Output Point Assignment

Electrical Type

Output 1 Output 2 Output 3 Output 4 Output 5

1 2 3 4 5

* see note 3 * see note 3 Digital, Tri-State Digital, Tri-State Digital, Tri-State

Output 6 Output 7

6 7

Voltage Voltage

* Note 1: valid E-Types are: Voltage ACC_TEMP_DEGF ACC_TEMP_DEGC Digital Counter * Note 2: valid E-Types are: Digital ACC_TEMP_DEGF ACC_TEMP_DEGC * Note 3: valid E-Types are: When using CyberStation: Digital, Tri-State When using SX8000: Tri-State only i2867 Installation & Programming Guide

39