Andover Plain English Language Reference
Andover Plain English Language Reference
Andover Plain English Language Reference
Language Reference
Schneider Electric
One High Street
North Andover, MA 01845
(978) 975-9600
Fax: (978) 975-9782
http://www.schneider-electric.com/buildings
ii
Schneider Electric
Table of Contents
Chapter 1 Fundamentals
Introduction .......................................................................................................................1-2
Continuum Products..................................................................................................1-2
Continuum System Architecture .....................................................................................1-3
Simple Continuum System ........................................................................................1-3
Moderate Continuum System....................................................................................1-3
System Components .................................................................................................1-4
Network Controllers................................................................................................1-5
Infinet Controllers ...................................................................................................1-5
MS/TP Controllers..................................................................................................1-5
I/O Modules............................................................................................................1-5
Workstations ..........................................................................................................1-6
CyberStation Software ...........................................................................................1-6
Database................................................................................................................1-6
Infinet......................................................................................................................1-6
LBUS ......................................................................................................................1-6
MS/TP ....................................................................................................................1-6
Objects and Classes .........................................................................................................1-7
Objects ......................................................................................................................1-7
Object Naming Convention ....................................................................................1-7
Alias Naming Convention.......................................................................................1-8
Classes......................................................................................................................1-9
BACnet Objects vs. Continuum Objects ...................................................................1-9
Attributes .........................................................................................................................1-10
How to View Attributes ............................................................................................1-10
Basic Attribute Listing..............................................................................................1-11
Accessibility .............................................................................................................1-11
Object Ownership ...........................................................................................................1-12
Hierarchical View of System Objects ......................................................................1-12
Network Paths .........................................................................................................1-13
iii
Schneider Electric
vi
Schneider Electric
Chapter 7 Keywords
Section 1 Format Conventions .......................................................................... 7-2
Keyword Formatting Standard ........................................................................................7-2
Identical Format for All Keywords .............................................................................7-2
Format .......................................................................................................................7-2
Purpose .....................................................................................................................7-2
Remarks ....................................................................................................................7-2
Example.....................................................................................................................7-2
Related Keywords .....................................................................................................7-2
Alias...........................................................................................................................7-3
Products Supported...................................................................................................7-3
Modes Available ........................................................................................................7-3
Text and Symbols Used in the Format Heading ............................................................7-5
Format Heading Information......................................................................................7-5
Capital Letters ...........................................................................................................7-5
Bold Italics .................................................................................................................7-5
Parentheses ( )..........................................................................................................7-5
Italics .........................................................................................................................7-6
Comma (,) and Colon (:)............................................................................................7-6
Period (.)....................................................................................................................7-6
Format Terms in Bold Italics ...........................................................................................7-7
Replacement of Terms ..............................................................................................7-7
Number......................................................................................................................7-7
Integer .......................................................................................................................7-7
String .........................................................................................................................7-7
Name .........................................................................................................................7-7
List .............................................................................................................................7-7
vii
ix
LOCATE Function.................................................................................................7-196
LOG Function ........................................................................................................7-200
MAXIMUM Function ..............................................................................................7-201
MAXITEM Function ...............................................................................................7-203
MessageWindow Constant ..................................................................................7-205
MicroPower System variable ...............................................................................7-206
MID Function .........................................................................................................7-208
MINIMUM Function ...............................................................................................7-209
MINITEM Function ................................................................................................7-211
MINUS Operator....................................................................................................7-213
MINUTE System variable ......................................................................................7-214
MOD Operator.......................................................................................................7-216
ModemPower System variable (programmable)..................................................7-217
MONTH System variable.......................................................................................7-219
MOVE Statement ..................................................................................................7-221
NewAlarmCount System variable........................................................................7-223
NOFILL Constant ..................................................................................................7-225
NOT Operator........................................................................................................7-226
NUMERIC Statement ............................................................................................7-227
NUMTOSTR Function ...........................................................................................7-229
Schneider Electric
xi
xii
Schneider Electric
1
Fundamentals
This chapter provides basic introductory concepts covering the architecture of the
Andover Continuum building automation system that are essential to developing accurate
programs in the Andover Plain English Language. Since Andover Continuum
CyberStation is an object-oriented system, this chapter explains the concept of objects,
aliases, and classes. In addition, the chapter focuses on object attributes, their
association to objects, and then ends with the discussion of hierarchical arrangement
within a physical network.
The Fundamentals chapter discusses the following topics:
Introduction
Attributes
Object Ownership
Introduction
The Andover Plain English language (PE) was developed by Schneider Electric to
provide our customers with the ability to customize their building automation systems in
accordance with specific site requirements. Similar to BASIC, PE is based on keywords
that provide a simple straightforward approach to developing programming statements
and requires minimal programming experience.
Andover Plain English is included as part of Andover Continuum's Plain English
Integrated Development Environment (IDE), a complete suite of highly integrated tools for
writing, editing and debugging PE programs. The Plain English IDE is described in
Chapter 2 of this document.
The programs developed with PE support the Andover Continuum line of BACnet and
Infinity controllers and workstations.
1-2
Schneider Electric
bCX1
BACnet
Router
NetController
Network
Path
IOU Modules
BACnet
MS/TP
RS-485
Local field wiring
b3xxx
Ethernet IP Network
PC Windows
Workstations
running
CyberStation
SQL
Database
Server
Infinity
CX 9xxx
Controller
bCX1
BACnet
Controller
Router
NetController
LBUS
IOU Modules
IOU Modules
b3xxx
Local field
wiring
BACnet
MS/TP
RS-485
BACnet
Controllers
Infinet
Local field
wiring
Local field
wiring
Local field
wiring
b3xxx
Third Party
BACnet
Device
Infinet
Controllers
Infinet
Controller
Local field
wiring
Local field
wiring
System Components
The following paragraphs define the specific components that make up the Andover
Continuum system, varying from the types of controllers to the different connections. The
system components are as follows:
1-4
Network Controllers
CyberStation Software
Infinet Controllers
Database
MS/TP Controllers
Infinet
I/O Modules
LBUS
Workstations
MS/TP
Schneider Electric
Network Controllers
There are four types of Andover Continuum network controllers:
CX 99xx NetController
All are IP compatible and each contains at least one port to allow communication with
application controllers.
i2 series (also referred to as Infinet II)Updates and replaces many of the older
Infinet controllers. The i2 series controllers have flash memory for firmware and
object storage.
Infinet controllers are connected to network controllers via the Infinet network.
MS/TP Controllers
Schneider Electric offers a complete line of MS/TP BACnet-compatible sub controllers
(b3 series) that are functionally equivalent to the entire i2 product line.
I/O Modules
Continuum I/O modules are specialized units that receive sensor inputs and activate
equipment (valves, fans, and so on) and perform access control functions. They connect
directly to the NetController II or the CX99xx NetController. Available I/O modules include
input, output, mixed I/O, and display configurations.
Workstations
A personal computer (PC) connected to the Andover Continuum Ethernet network serves
as an operator workstation. The system can contain a single workstation or multiple
workstations, depending on the site configuration.
CyberStation Software
CyberStation is a Windows-based application program that runs on a PC workstation and
interacts with the control system. It provides a graphic user interface (GUI) that can
display and manipulate data that allows the entire site management of adjusting
schedules and setpoints, acknowledging alarms, controlling doors, tracking personnel,
etc.
Database
The Database stores all the vital information pertaining to the building automation control
system. The database engine is either Microsoft SQL server or SQL Desktop Edition.
Andover Infinet
The Andover Infinet is a high performance, token-passing LAN that allows Infinet
application controllers to communicate with each other and to a single CX or
NetController. Using InfiLink repeaters, it is possible to have 127 Infinet controllers on
one Infinet. Data transmits over the Infinet at a rate of 19.2 Kb/sec.
LBUS
The LBUS is an RS-485-based protocol that is used by the system AC256 to
communicate with older IOU modules. The NetController can communicate to these IOU
modules using the LA-1 converter. Only one LBUS can be connected to a CX controller.
Each LBUS can handle up to 16 IOUs.
MS/TP
MS/TP is an RS-485 based network that connects Andover Continuum and third-party
BACnet devices to the bCX1 controller.
1-6
Schneider Electric
Objects
Objects are the basic building blocks of Schneider Electric's Andover Continuum control
systems. All the items that make up the system, both hardware and software are
identified as objects. Each item appearing on a CyberStation workstation screen
represents an object. For example, objects contained within the controller class include:
CommPort
Input
Output
User
Group
Graphical icons, displayed in the Continuum Explorer, represent both hardware objects
and software objects.
The set of characters allowed in object names, called the "Naming Character Set, is
described below.
The Naming Character Set
Character
A-Z and
a-z
0-9
Description
Alphabetic characters. Upper- and lowercase are
interchangeable.
Numeric characters.
Underscore character.
Period character
Slash character
Dash character
Space character
Object names can be up to 64 characters long and may consist of any combination of the
naming character set.
Ideally, the object name should be as descriptive as possible to help identify the object it
represents. For example, an output point for an operating fan could be named Fan
Start/Stop.
1-8
Alphanumeric characters
No spaces
Schneider Electric
Classes
Objects are categorized into classes, which are groups of related objects. Examples of
classes:
Area
Device
Schedule
If you open a class folder in the Continuum Explorer, you see a list of objects for that
class. For example, the SystemVariable folder displays a list of system variables.
Attributes
An attribute is a characteristic of an object. An example attribute of an input object would
be its Value. All objects have attributes associated with them. In most cases, there are
several attributes that describe an object. In BACnet, attributes are called properties.
The attributes that appear on the object's General tab varies depending on the selected
object.
1-10
Schneider Electric
Description
A description of the object
Value
Units
State
Alarms
Exported
Accessibility
The attributes for all objects used in PE programs are accessible from any CyberStation
workstation. Most object attributes can be altered from the Command Line window of the
workstation. (Refer to Chapter 3 for a detailed description of how to view object attributes
using the Command Line.)
Appendix C contains a complete list of attributes for each object contained in
CyberStation.
Object Ownership
Object ownership is a term that describes the relationships between objects in
CyberStation.
Objects in CyberStation are arranged in a hierarchy. The Root object is always the prime
object at the top of the hierarchy. Objects at the top of the hierarchy contain, or own the
objects below them. This ownership refers to the physical network connection between
devices and to where the objects are stored within the network.
Root
Network
Bldg1
Controller
Input Point
CX1
Rm_Temp1
1-12
Schneider Electric
Network Paths
A path is the route you follow along the network to get from one object to another. The
object could be any of the following:
Controller
Workstation
Printer
Point
The network path and object relationships are important concepts when creating
statements in PE.
For example, based on the graphical representation in the previous section, if you need
to take action when the room temperature in Building 1 (BLDG1) exceeds 74 degrees,
the following statement might be entered into the program:
IF BLDG1 CX1 RM_TEMP1 > 74 THEN...
Network
In this statement, the correct path from the network and controller (BLDG1, CX1) to the
input point (RM_TEMP1) must be specified in order to run the program.
1-14
Schneider Electric
2
The Plain English Integrated
Development Environment
This chapter provides an overview of the Plain English Integrated Development
Environment (IDE) and explains how it enhances the production of writing and editing
Plain English programs. The discussion in this chapter is not intended to be a complete
tutorial on the use of the IDE, but rather to present an overall picture of its components
and to touch briefly on each of its features.
This chapter discusses the following topics:
y
y
y
y
y
y
y
y
y
y
y
y
y
y
Click the
2-2
Schneider Electric
The New create dialog box appears when you select New InfinityProgram from the file
option on the menu bar. Otherwise, selecting New from the File menu or clicking the new
file quick pick button displays the dialog box shown below:
2-4
Schneider Electric
Main
Toolbar
Class of
Objects
Displayed
In IDE
Explorer
Command
Line
Find
Toolbar
Check
Toolbar
Editor
IDE Explorer
Assistant
Status Bar
Watch Bar
The following topics describe the different components of the Plain English IDE:
y
y
The Title Bar Indicates the directory path to the current PE program file.
y
y
The Main Toolbar Provides shortcuts for the items in the Edit Menu.
Check Toolbar Works in conjunction with the Assistant to compile programs and
report errors.
y
y
y
Watch Bar - Allows you to monitor your program's effect on other objects.
The Menu Bar Provides a series of menus and options for creating and editing PE
program files.
The Find Toolbar - Provides a shortcut for locating specific words, symbols, or
phrases in a PE program file
Title Bar
The Title bar indicates the directory path to the current PE program file. If you change
programs in the PE Editor, the Title bar will change to reflect the new path.
2-6
Schneider Electric
File Menu
The File Menu offers the following options:
Option
Description
New
Open
Close
Delete
Save
Save As
Checks and saves the active program file under a new name.
Save All
Close All
Import
Inserts the contents of a text file into the active program file.
Export
Configuration
Firing Order
Exit
Edit Menu
The Edit Menu offers the following options:
Option
Description
Undo
Redo
Cut
Copy
Paste
Select All
Find
Find Next
From the cursor position, finds the next instance of the text for
which you last searched.
Find Previous
From the cursor position, finds the previous instance of the text for
which you last searched.
Replace
Goto
View Menu
The View Menu offers the following options:
Option
Description
Toolbars
When checked (), adds the selected toolbar to the IDE screen.
When not checked, removes the selected toolbar from the IDE
screen. The toolbars are Main, Find, Check, Assistant, Explorer,
Command Line and Watch.
Set Font
Displays the Font dialog box, allowing you to change the font for
the active program file.
Refresh
Folder View
Network View
2-8
Schneider Electric
Changes the IDE Explorer to folder view. In this view, the Root and
all folders appear in the navigation pane.
Changes the IDE Explorer to network view. In this view, the
network you set up appears in the navigation pane.
Build Menu
The Build Menu offers the following options:
Option
Check
Check All
Stop
Description
Compiles the currently active program file. Reports errors in the
Check page of the Assistant
Compiles all open program files. Reports errors in the Check page
of the Assistant.
Stops compiling.
Tools Menu
The Tools Menu offers the following options:
Option
Wizard
Calculator
Options
Description
Opens the Plain English Wizard.
Displays the Calculator.
Displays the Options dialog.
Window Menu
The Window Menu offers the following options:
Option
Cascade
Tile Horizontally
Note:
Description
Displays program windows overlapping diagonally.
Displays program windows in equal horizontal portions of
the editor.
Tile Vertically
Arrange Icons
A list of currently open windows appears at the bottom of the Window menu.
Clicking any window in the list will make it the active window.
Help Menu
The Help Menu offers the following options:
Option
Help Topics
About IDE
Description
Displays Plain English online help topics.
Displays the copyright and version number for the PE editor.
2-10
Schneider Electric
Icon
Action
Type the text that you want to find, or use the pull-down list to select
previously searched text.
Action
Compiles the active program in the Editor
Complies all programs in the Editor
Stops compilation
Save the program and refreshes the windows
Displays the program Configuration dialog box
Starts the Plain English Wizard. (See "Using the Plain English
Wizard" in this chapter.)
Displays a pop-up calculator
y
y
y
Browse
Button
2-12
Command Line
Schneider Electric
Response Line
Explorer Drop-Down List Box Displays the object tree of the current folder or
device directory.
Class Drop-Down List Box Displays the classes of the folder or device object
selected from the Explorer Drop-Down List Box.
Back Up One Level Button Changes the Explorer Drop-Down List Box to the next
higher directory.
Copy Objects Button Copies selected object on the Class Drop-Down List to the
IDE Assistant.
IDE Explorer DropDown List Box
Back Up
One Level
Button
Current Device
Current Class
Copy Objects
Button
Class DropDown List Box
List of Objects
Matching
Selected Current
Class
IDE Explorer
2-14
Action
Open
Opens programs in the IDE. For other classes, opens the appropriate
dialog box.
Edit
Starts another IDE session for the selected program. For other
classes, opens the appropriate application.
Put in Service
Take out of
Service
Enable
Disable
Send To
Delete
Rename
Page Setup
Print Selected
Go To
Properties
Schneider Electric
y
y
When multiple programs are open, a tab appears at the bottom of the Editor window
for each program and the active program tab overlays the other tabs.
y
y
y
y
In multiple Editor window displays, clicking a program tab activates that program.
More than one program can be open at the same time, each with its own resizable
Editor window.
Only one program at a time can be the active or current Editor window.
When a program becomes too large for its window, scroll bars appear.
Color is used for distinguishing program elements. Blue is for keywords, red for line
definitions and green for comments.
Action
Objects
Provides a temporary storage place for object names that you need
in a program
Check
Keywords
Lists all the Plain English language keywords that are not functions.
Functions
Values
Favorites
2-16
Schneider Electric
The Title Bar, Menu Bar, Main Window and Status Bar remain on your screen at all
times.
You can display or hide the icon toolbars and other tool window components of the
IDE.
The icon toolbars can also be dragged and dropped into different locations within the
upper portion of the IDE.
The IDE Explorer, Command Line, Assistant and Watch Bar can be arranged in
accordance with docking and floating options described in the following paragraphs.
y
y
The Assistant and Watch Bars can be placed and arranged within the Main Window.
The Explorer Bar can be dragged and dropped within the IDE or outside of the IDE
window.
The Assistant and Watch Bars can be dragged and dropped outside of the Main
Window or outside of the IDE window.
y
y
2-18
Option
Enabled
Allow
Docking
Hide
Float in Main
Window
Schneider Electric
Disabled
Action
Select the Autostart checkbox if you want the program to start running
the moment it is saved.
Select either Looping or Fall Thru in the Flow Type selection box
depending on what type of program is intended. (See "Looping vs.
FallThru" in Chapter 3.)
Click the OK button at the bottom of the dialog box and the File Editor
window appears.
y
y
y
y
The following sections describe the different tools available to you when using the Editor.
Text Entry
On a Continuum CyberStation you can create your program by entering text with the
keyboard and using either the mouse or keystroke combinations to:
y
y
y
The keystroke combinations to accomplish these tasks are described in the following
table.
Editor Keystroke Combinations
Moving the Cursor
Key or Keys
Action
Arrow
Home
End
CTRL Home
Moves the cursor to the beginning of the first line in the file.
CTRL End
Moves the cursor to the end of the last line in the file.
Page Up
Page Down
Shift Arrow
Shift Home
Shift End
Selects text from the cursor position to the end of the line.
Selecting Text
2-20
Schneider Electric
Action
Selects text from the cursor position to the end of the file.
Backspace
CTRL F
CTRL H
CTRL Insert
Delete
Enter
Insert
Shift Delete
Shift Insert
Finding Text
The IDE Editor provides a Find tool for locating specific words, symbols and phrases
whenever the Editor window is activated.
To use the Find tool, place the cursor at the place in the program where you want to
begin searching for text and press the Ctrl-F key or click Edit in the Editor toolbar and
then select Find.
2-22
Action
Enter the text to search forcan be up to 132 characters including
spaces.
Match whole
word only
Only finds the selected word and rejects other words that would
contain it (if "one" is the selected word, it would reject "done", "bone",
"alone", and so on).
Match case
Will match the case of the selected word( if "One" is selected it will
ignore "one")
Direction
Find Next
Finds the next instance of the word/s listed in the "Find What"
column.
Schneider Electric
Replacing Text
To find and replace text in a program, you use the IDE Editor's Replace tool. To activate
it, place the cursor where you want to begin searching in the program and click Edit in
the Editor toolbar and then select Replace to bring up the Replace dialog box.
Action
Enter the text to search forcan be up to 132 characters including
spaces.
Replace with
Enter the text you want to replace the found text with.
Match whole
word only
Only finds the selected word and rejects other words that would
contain it (if "one" is the selected word, it would reject "done", "bone",
"alone", and so on).
Match case
Will match the case of the selected word( if "One" is selected it will
ignore "one")
Replace
Find Next
Replace All
Go To Dialog Box
Importing Programs
You can import an external program (located on a floppy disk or in a different directory)
into an existing program in the Editor. To do this, perform the following steps.
Importing a Program File
Step
Action
Click at the point in the existing program where you want to insert the
external program.
2-24
Schneider Electric
Action
Use the Look in pull down list box to locate the file to import.
Double click the file name so that it appears in the File name text box.
The entire file is inserted into the existing program at the point selected in
step 1.
Exporting Programs
You can export an existing program in the Editor to another drive or directory. To do this,
perform the following steps.
Exporting a Program File
Step
Action
Make sure the program file you wish to export is the active program in
the Editor window.
Note:
Action
Use the Look in pull down list box to locate the drive or directory to
export to.
Type in the name of the file in the File name text box.
Click the Save button to copy the program to the selected location.
If the existing program in the Editor has errors and you don't have time to correct
them, exporting the file is a good way to save the program.
The IDE automatically checks the file for errors before saving. If errors are found, the
Check tab on the Assistant becomes active and lists the errors. Double click any error
listed in the Assistant. This will place the cursor on the program instruction in the Editor
that caused it.
Note:
The IDE will not let you save the program file, until you fix all the errors.
If you want to postpone fixing the errors in your program until a later time, you can use
the Export feature of the Editor to place it in a temporary file.
When all the errors have been corrected, the Check page of the Assistant will display the
following message.
Schneider Electric
y
y
y
You cannot change any of the information in this window. The controller automatically
updates it. The Table on the following page explains the Run Time Page features
2-28
Schneider Electric
Program Status
Current Line
Description
Shows the date and time the program was last altered.
Displays the date and time the current line began executing.
Displays the number of characters (bytes) in the file (1024 bytes
equal 1KB). The size of the file also includes basics about the
file, such as its name, flowtype, and other attribute settings that
the controller stores.
Shows whether the program is Active or Inactive.
Displays the name or number of the currently active line of the
program. No current line shows if you have not labeled any
program lines.
Error
TD
TH
TM
TS
Click the Next> button to bring up the File Selection menu page.
2-30
Schneider Electric
Yes, include commentschecking this box means you want to leave the pre-written
program comments in the program. Not checking this box means you want the
comments stripped out.
If you select a Function from the File Selection menu, the State, Flow Type and
Autostart selection will not be available in the File Configuration dialog box.
Click the Next> button displays the Object References Wizard screen.
Note:
2-32
Some of the pre-written programs require additional input before they can be
transferred to the Editor. These programs are discussed on the next page.
Schneider Electric
To replace the object references, click the empty Object Name field. This will display a
browse button. Click it and the Select an Object dialog box (not shown) appears.
Choose the object you want and click on the Select button to place it in the Object Name
field.
When you are finished, click the Next> button to go to the final Wizard screen.
2-34
Schneider Electric
3
Programs, Files, and the Scanning
Process
This chapter provides a discussion on the makeup of Plain English programs and how to
construct program statements. It also describes the type of files used with the language
and a description of the program scanning process.
This chapter discusses the following topics:
Keywords
Program Flow
Program Files
Use of "The"
Using "the" makes the statement appear more grammatical, but its use is optional in the
Plain English Language. The following example shows how The improves a statements
readability:
IF THE FAN IS ON THEN TURN ON THE PUMP
3-2
Schneider Electric
Comments
Comments are optional sentences often used to help document the operation of a
program for the human reader. Comments are not operated upon; they are entered as
single lines preceded by a single quotation mark ( ). The following example contains a
comment:
' The following line begins the cool down process
Begin:
TURN THE HEAT OFF
TURN THE FAN ON
You can add as many comments as necessary, but each is restricted to one physical
(132 characters) line.
You can also add a comment after a statement on the same physical line, as shown in
the following instance:
TURN THE FAN ON start cooling
Expressions
Statements that involve mathematical operations are called expressions. Expressions
can also be item names, or constants that return a numeric or string result.
Numeric Expressions
Numeric expressions always result in a number. Numeric constants and variables are
expressions as well. Expressions can also be mathematical calculations that result in a
number or comparisons that result in a TRUE or FALSE response. The following are
valid numeric expressions:
y
y
y
y
2
SQRT (9)
900 DIVIDED BY 8
WKD IS GREATER THAN MONDAY
String Expressions
String expressions are text and always result in a string of characters enclosed in
quotation marks. String constants and String variables are expressions as well. String
expressions can also be combinations that result in a string of characters. (See the
PRINT keyword statement in Chapter 7.)
The following are valid string expressions:
y
y
y
"WARNINGHIGH TEMPERATURE"
LEFT ("TEST",1)
"THE NUMBER OF ERRORS IS ";TOTAL1
Chapter 4 explains how to form a 'string expression' using the Joining Operator.
3-4
Schneider Electric
Keywords
In Plain English, program statements are constructed using words that the controllers
recognize. These words, called keywords, are further classified into types. The keyword
types are described below.
PE Keyword Types
Keyword Type
Statement (an action
word)
Definition
Defines an action the controller can perform.
Function
Operator
Local Variable
System Variable
System Constant
Chapter 7 lists all the keywords available in the PE and explains the correct format to use
for each keyword.
Other Words
Besides keywords, other types of words the controller knows are:
Names you give to objects such as network controllers, Infinet controllers, BACnet
controllers, programs, files, and points.
Words that Andover Continuum has reserved (called reserved words see Appendix
B).
Command Line
The Command Line is an area within the Plain English Development Environment of
CyberStation where you manually type in and execute Plain English commands.
Program Flow
You use Plain English to instruct a controller to do certain things, such as locking and
unlocking doors, turning on fans, printing reports, adjusting times and dates, and so on.
The controller accomplishes such actions in accordance with the sequential order in
which the program's statements are arranged. This is termed "Program Flow".
Every program in Plain English has a flow type that you identify with the FlowType
attribute:
y
y
FallThru
Looping
A FallThru program executes the program lines in the sequential order in which you list
themfrom the first to the last line. So the program flows, or "falls thru" the entire
sequence of statements.
A Looping program remains on the line it is on until it is instructed to "go to" (GoTo)
another line.
3-6
Schneider Electric
Triggers
FallThru programs start when they are prompted by a specific point or system variable.
Any point or system variable can be used to automatically start a program when its value
changes. The program is triggered by the action of the point or system variable. Once a
point is created or the system variable is chosen, the program you want to be run is
attached via the trigger list that is found in the editor associated with the entity.
For example, suppose you write a program to control a circulating fan. You want the fan
to turn on whenever the room is occupied and turn off whenever the room is vacated. In
your program, you could choose to use a point called OCCUPIED that triggers the
following program:
If OCCUPIED is On then
Turn On the RoomFan
Else
Turn Off the RoomFan
Endif
Next, you associate the point called OCCUPIED with the program on the appropriate
controller. To do this, you would:
Select the associated system variable or point editor from the appropriate controller
in CyberStations Explorer.
Open the Triggers tab page on the editor and browse through the Plain English
programs to locate and select the Fan program.
This adds the program to the system variable or points trigger list. Refer to Chapter 13 of
the Continuum CyberStation Configurators Guide for detailed information on setting up
triggers.
You can also use triggers to reduce controller scan time. (See Triggering Programs from
Points later in this chapter)
y
y
You must use one verb only (statement word) in each statement.
You can include one object or a list of objects after the verb.
y
y
Conditional
Unconditional
Each of these instructions produces a different result, depending on how they are used in
a program.
A conditional instruction establishes criteria that have to be met before the instruction can
be executed and the task performed by the controller. For example:
IF Temp is 78 THEN Turn on Fan
An unconditional instruction directs a specific action without establishing any criteria
before the action can occur. For example:
Turn on Fan
3-8
Schneider Electric
IFTHEN
IF..THEN statements differ from other statements in two major ways:
You use one or more operators to form a simply or complex expression (known as
the condition to be tested) to be place between IF and THEN.
You can include a statement (or multiple statements) that could otherwise stand on
its own after the word THEN.
If you use a statement with IF and THEN, the IF through the THEN is considered one
statement and contains one operator (operators are similar to verbssee Chapter 5). The
following example, shows a statement that contains the IS operator:
IF LIGHTSWITCH IS ON THEN...
The three dots after THEN in the statement indicate that more text is required to
complete the statement.
Below is an example of a statement that contains another operatorIS GREATER
THAN:
IF TEMP IS GREATER THAN 86 THEN
The following complete IF..THEN statement appears to have two verbs; however, the
operator (IS) belongs with IF..THEN and TURN ON remains as the only verb:
IF FAN IS ON THEN TURN ON PUMP
The statement after THEN could be an independent statement:
TURN ON PUMP
For information on how to include multiple statements after the word THEN, see the
IF..THEN..ELSE keyword in Chapter 7.
Program Files
A program file contains statements that instruct the controller to perform some type of
action. You create program files on a controller or a CyberStation to store program
statements.
y
y
y
Because the controller scans programs in the order they appear in the firing order list,
and the entire scan of all programs occurs in a fraction of a second, following this practice
prevents the possibility of a conflict occurring between the instructions in two different
programs.
For example, if a program unlocks a door and later in the same scan, a second program
locks the same door, the door never actually unlocks. Placing the unlocking and locking
of the door in the same program file eliminates this problem.
3-10
Schneider Electric
y
y
Gathers all data it needs for the next scan through the programs.
Reads and executes one line from each enabled program starting with the first
program in the firing order list.
This type of single run through the list of programs is called a "scan."
The controller then returns to the beginning of the firing order list and scans the next
appropriate line of each program. The scans continue.
The next appropriate line is the line determined by the scan process sequence.
y
y
y
y
y
Other Actions
The controller also performs the following actions at any time during
the scan:
y Has triggers set program Status to Active.
y
y
y
3-12
Schneider Electric
y
y
y
State is ENABLED
Status is ACTIVE
Current line is not zero
The controller executes one line from each program in the sequence the firing order list
specifies.
The controller treats command lines like one-line programs. The scanner checks for
command lines between every two-program lines during the scan and responds
immediately. If any command line or program line prints to the Status bar, the Status bar
display changes after the scan processes alarms. If more than one statement prints to
the Status bar, the last statement "wins."
The controller includes a safety mechanism such that no single program can monopolize
the scan. The mechanism is a statement counter that disables a program and sets its
ERROR attribute to "Executed too many statements on one line" if the scanner tries to
execute more than 5000 statements in a single line during a single scan.
3-14
Schneider Electric
You can use the fact that the output hardware is not updated until the end of the scan to
carry out certain advanced control strategies, but we do not encourage you to program
this way. You should handle both turning on and turning off a piece of equipment in one
program, so that no conflicts arise based on the firing order list.
We do, however, recognize that you may want a master emergency program to override
output settings of all other programs in certain circumstances. That is why you are
allowed to alter the firing order.
y
y
The program should make the decision and set some points.
The program should end (by being set up as a fall-thru program or including a STOP
statement).
Exported Points
Point values can be exported at any time during the scan. As an example, if
PROGRAM1 turns a FAN ON early in the scan and PROGRAM99 turns it OFF later,
although the fan would never physically turn on, the VALUE of ON could be exported to
another controller between PROGRAM1 and PROGRAM99.
This is another reason you should handle both turning on and turning off a piece of
equipment in the same program.
3-16
Schneider Electric
3-18
Schneider Electric
4
Points, Constants, and Variables
This chapter describes the types of points, constants and variables that exist in the
Andover Continuum system. Some topics included in this chapter are: the difference
between hardware and software points, what constitutes a constant and how a constant
differs from a variable, what a system defined constant is, what makes a local variable
different from a system variable and unique i2 controller system variables.
This chapter discusses the following topics:
Points
Constants
Variables
Local Variables
System Variables
Points
Points are objects that supply information to the control system. There are five types of
points:
y
y
y
y
y
Input
Output
Numeric
String
DateTime
Input and output points are hardware points, whereas numeric, string, and datetime
points are software points.
Hardware Points
Controllers use input and output points to interact with the environment. They connect to
sensors or devices directly from certain controllers or via input/output IOU modules that
are attached to a controller.
Input Points
An input point senses temperature, pressure, and the closure of a switch contact or any
outside environmental entity that can be electrically represented. Input circuits in Andover
Contiuum controllers act like voltmeters; they can measure the presence or absence of a
voltage. In situations where switch contacts are being sensed, the input circuit supplies
the voltage to one side of the contact. When the contact is closed, the voltage is sensed
on the other contact. Temperature and pressure sensors modify the value of the voltage
sensed. Each input point includes an associated value attribute that represents the
voltage reading at one particular point in time. When you reference an input point in a
Plain English program you are actually referencing the value attribute of the point.
Example:
IF INPUT1 = 74 THEN
INPUT1s value attribute contains the input reading (74)
4-2
Schneider Electric
Output Points
Outputs control external equipment such as motors, valves and heaters. Andover
Continuum controllers include two types of outputs: those that switch and those that
supply a variable voltage or current.
Outputs that switch (we call these Digital outputs), effectively close or open switch
contacts (relays or electronic equivalents to relays-Triacs). These can be set to ON or
OFF. They can also be PULSED (rapid on-off).
Outputs that supply a variable voltage or current can be set to a specific value. The value
becomes the voltage or current the output supplies.
Software Points
Software points are storage locations found within the controller or workstation where
information can be saved for use in a program. Some software points are read-only.
These points can represent system information regarding the status of various hardware
or software entities.
The following are examples of software points:
y
y
y
A good example of a software point would be a numeric that serves as a place to store
the high or low limit (set point) for a temperature reading.
Numeric Points
Numeric points are storage locations in a controller's memory that contain numeric-only
information. A numeric point could also be used to indicate whether a building is occupied
or not, in which case its value could be ON or OFF.
String Points
String points are storage locations in a controller or workstations memory that contain
plain text information such as messages that are displayed on a workstation screen,
printer or for a display device such as the LD-1 or xP Display.
DateTime Points
Datetime points are storage locations in a controller or workstation's memory that store
date time information. They store a timestamp (the default is January 1, 1989) not month
or day of week. They are used in schedules and to create time stamps.
4-4
Schneider Electric
Constants
Constants are numbers, words, or dates that do not change, they remain constant. There
are two types of constants:
y
y
Numeric
String
Note:
Numeric Constant
A numeric constant is a number. The number can be an integer (with no decimal places)
or a number with a decimal (floating point).
Integer Numbers
Integer numbers have no decimal places. When an integer number is required in a
keyword format, you can use only a whole number, positive or negative, including zero.
y
y
y
y
y
y
y
y
12
74.5
-.543
4E+32
y
y
y
String Constants
A string constant is a series of ASCII characters, including blanks, surrounded by
quotation marks ("string").
4-6
Schneider Electric
Do not use system defined constants as names when you name programs, points,
or other items.
Variables
Variables are names that stand for numbers, words, or dates and times. A variable,
unlike a constant, has a value that changes or varies. Types of variables include:
y
y
y
Numeric
String
DateTime
The Plain English Language supports both System and program variables.
Numeric Variables
A numeric variable is a name that represents a number. Numeric variables are subject to
the same range limitations as numeric constants. Numeric constants, variables, points,
expressions (formulas), or functions can be compared to other numeric type items or
used in mathematical calculations. For more about numeric variables, see the NUMERIC
statement keyword in Chapter 7.
String Variables
A string variable is a name that represents a series of alphanumeric characters. String
constants, variables, points, expressions, or functions can be compared to other string
type items. Strings cannot be used in mathematical calculations unless they are
converted to a numeric type. For more about string variables refer to the STRING and
STRINGFILL statement keywords in Chapter 7.
DateTime Variables
A datetime variable is a name that represents a date and time. Datetime constants,
variables, points, expressions, or functions can be compared to other datetime items.
You can retrieve the date and time from the STRTODATE function or from the DATE
system variable. Chapter 7 provides a full discussion of both these keywords.
You can print out a datetime variable to see what date and time is in it, but the date and
time that prints is in a predefined format you cannot change.
The date and time prints in this format (in the 24-hour clock):
MONTH DD YYYY hh:mm:ss
4-8
Schneider Electric
Local Variables
Whereas system variables are known to all controllers and workstations in the system,
local variables are only known to the program where they are defined. You must define
each local variable at the beginning of the program where they will be used. If you define
them anywhere else in the program it will not run.
Note:
If you name a local variable with the same name you have defined for a point, your
program always assumes you are referring to the local variable and not to the point.
You can have a total of 255 local variables (of all types) in a single program. Define local
variables using the following keyword statements (each is listed in Chapter 7).
Numeric
String
DateTime
Numeric Keyword
The Numeric keyword assigns the name that follows it as a local numeric variable:
Numeric RateOfRise
String Keyword
The String keyword assigns the name that follows it as a local string variable. The
maximum number of characters allowed is defined before the name:
String 40 DirtyFilterMsg
DateTime Keyword
The DateTime keyword assigns the name that follows it as a local variable that accepts a
date and time:
DateTime LocalDateTime
System Variables
A system variable is a storage location that the system sets and updates automatically.
Most of the system variables are controlled by the system and cannot be changed by the
user. Those that can be changed are referred to as Programmable System Variables.
System variables exist on all controllers and workstations. You can view them by
selecting the Network views in the Continuum Explorer menu and opening the
InfinitySystemVariable folder under the applicable controller or workstation. The
screenshot illustrates a portion of the system variables that appears in the Explorers
viewing pane for the selected controller.
4-10
The i2 and BACnet controller programmable system variables and techniques are
covered extensively in the i2 and BACnet Controller Technical Reference Guides.
Schneider Electric
Available on
AccessLog
CX series
controllers
Description
AccessServer
Alarms
AudioBell
DCX250 controller
AvailRecords
BackLight
DCX250 controller
CabinetTamper
ACX controller
CPUPower
CX series
controllers
DatabaseStatus
CyberStation
Date
DayofMonth
DayofYear
DCXPower
DCX250 controller
Errors
Available on
CX series
controllers
Description
A programmable system variable that
indicates the number of access control
events the controller can store in its event
log.
FreeMem
*All controllers
Hour
HourofDay
HundredthofSecond
CyberStation
Infinet1Count
CX series
controllers and
CMX 9924
controller
CX series
controllers and
CMX 9924
controller
Infinet2Count
IOUCommFlt1 to
IOUCommFlt16
*All controllers
IOUPower
CX series
controllers
MessageWindow
CyberStation
MicroPower
CX series
controllers and
ACX781Infinet
controllers
Minute
ModemPower
4-12
Month
NewAlarmCount
CX and CMX
series controllers
PowerFail
Schneider Electric
Available on
Description
PowerUpTime
ReaderPower
ACX series
controllers
Scan
Second
Status1 to Status8
CX 9201 controller
SystemStatus
TimeofDay
TouchedCell
DCX250 controller
UniquePin
Version
Weekday
Year
*Includes the following controllers: ACX series, CX series, LCX series, SCX series, TCX
series and the DCX 250.
y
y
y
All CX9900 series controllers can continue to run on battery backup while power is
down. The ACX781 is the only Infinet controller that continues full functional
operation on battery backup.
On the CX9900 series controller and the ACX781 controller, the PowerFail system
variable turns OFF as soon as AC power is restored.
Note:
On all other controllers, when AC power is restored the PowerFail system variable
is ON only during the first scan after power restoration.
When AC power is applied to the controller, the current date and time is recorded to the
PowerupTime system variable. This system variable can be used to determine how
many hours have elapsed since AC power was restored to the controller.
When the system sets the PowerFail system variable to ON, some additional system
variables provide the user with power control for certain portions of the system. These
are settable by the user only if the system is operating in battery backup mode (meaning
the PowerFail system variable is ON). These power-related system variables can be ON
or OFF.
Associated PowerFail System Variables
System Variable
CPUPower
DCXPower
ModemPower
IOUPower
ReaderPower
MicroPower
4-14
Definition
Schneider Electric
5
Operators and Expressions
This chapter describes the operators that Plain English uses for mathematical
expressions and includes the following topics:
Order of Action
Fundamental Operators
Comparative Operators
Bit Operators
Order of Action
An operator is the part of an expression that causes a mathematical operation to occur,
such as addition, subtraction, multiplication, division, and so on, or tests a condition such
as equality.
In Plain English, operators are acted upon in a certain sequence when more than one
operator occurs in an expression. The following table lists the order (top to bottom) that is
used when working out an expression.
5-2
Operator
Description
()
[]
Parentheses
Array Element
Left to Right
Blank or \
Right to Left
+
NOT
BITNOT
%
Right to Left
Exponentiation
Left to Right
*
/
MOD
Multiplication
Division
Modulus
Left to Right
+
-
Addition
Subtraction
Left to Right
<
<=
>
>=
Less Than
Less Than or Equal
Greater Than
Greater Than or Equal
Left to Right
=
<>
IS IN
IS NOT IN
IS BETWEEN
IS THRU
Equal
Not Equal
Set Inclusion
Set Exclusion
Range
Range
Left to Right
BITAND
BITOR
BITXOR
Left to Right
&
!
Logical And
Logical Or
Left to Right
Joining Operator
Left to Right
Schneider Electric
Association
Definition
+ number
- number
NOT number
BITNOT integer
number %
Fundamental Operators
The following table identifies and defines the Fundamental Operators:
Fundamental Operators
Operator
Example
Addition
number + number
Definition
Adds the numbers. Works only on numbers or datetimes
and the resulting expression is numeric or datetime.
Alias: PLUS.
Subtraction
number number
Multiplication
number * number
Division
Number / number
Modulus
Finds the amount left over when dividing the first number
by the second. For example 9 MOD 7 gives 2. Similarly,
9 MOD 7 also equals 2.
Alias: REMAINDER.
Exponentiation
number ^ number
5-4
Schneider Electric
Comparative Operators
Each of the following operators compares the number to the left of the keyword with the
number to its right. All of the expressions using comparative operators yield TRUE
(numeric 1) or FALSE (numeric 0) and are considered numeric.
Comparative Operators
Operator
Example
Definition
Compares two numbers and determines whether the value
of the left number is less than the value of the right.
Less Than
Less Than or
Equal
Greater Than
Greater Than
or Equal
Equal
number = number
Not Equal
Type Conversion
If the compared expressions are not the same type, you must convert them to the same
type using the keywords below:
y
y
y
5-6
Schneider Electric
Example
number IS IN list
IS IN
Or
number IS list
Definition
Determines if the first number or expression is in the
listed set. If the number on the left-hand side of the
expression is in the list expression on the right-hand
side, the expression yields TRUE (numeric 1), or
FALSE (0) otherwise.
Alias: IS EITHER.
IS NOT IN
IS THRU
IS BETWEEN
IS BETWEEN number
AND number
Bit Operators
The following table identifies and defines the Bit Operators:
BIT Operators
Operator
Example
Definition
Compares the binary equivalents of the two integers,
digit by digit, as if the 1s were TRUE and the 0s
FALSE.
BITAND
BITOR
BITXOR
5-8
Schneider Electric
Truth Table
The following is the truth table for the bit operators:
BIT Operator Truth Table
Operator
Integer1
Integer2
Result
BITAND
TRUE
TRUE
TRUE
BITAND
TRUE
FALSE
FALSE
BITAND
FALSE
FALSE
FALSE
BITAND
FALSE
TRUE
FALSE
BITOR
TRUE
TRUE
TRUE
BITOR
TRUE
FALSE
TRUE
BITOR
FALSE
FALSE
FALSE
BITOR
FALSE
TRUE
TRUE
BITXOR
TRUE
TRUE
FALSE
BITXOR
TRUE
FALSE
TRUE
BITXOR
FALSE
FALSE
FALSE
BITXOR
FALSE
TRUE
TRUE
AND
Example
Definition
Includes two expressions (which must be numeric or
converted to numeric) in a comparison. The statement
returns TRUE (numeric 1) if both expressions are
nonzero, and FALSE (numeric 0) otherwise.
The Alias: AND.
OR
number ! number
String Joining
string ; string
5-10
Schneider Electric
6
Functions, Arrays, and Logs
This chapter explains Plain English Language functions; in particular, the chapter defines
arguments, as well as explains how to call them and how to return a value to a function.
This chapter also defines arrays and logs, explains how to set them up, and how they can
be used in functions.
This chapter includes the following topics:
Functions
Arrays
Logs
Functions
A function is a routine designed to carry out a particular task or series of tasks and is
executed in one Plain English scan.
There are built-in and user-defined functions. An example of a built-in function is the Plain
English function SQRT that returns the square root of a given number:
RESULT = SQRT(25)
The number the function operates on (25) is included within parentheses. This function
returns the value 5.
When a function is used to calculate or provide a value, it returns the value to the
program that calls the function. A program may also provide (pass) the function some
values (called arguments) to use in calculations or actions it must take. Arguments
(separated by commas if these are several) are included in parentheses following the
function name. Not all functions require arguments, however, you should include the
parentheses even if it is empty (e.g., function ()).
You can run a function from:
y
y
User-defined functions are created using standard Plain English keywords within
something called a function file. The name you give the file becomes the word you use
to activate the function. The small Plain English program you write as a function becomes
a subroutine that may be called whenever that particular action needs to be done.
You can use the RETURN statement to tell the controller to return to the calling program,
function, or command line.
6-2
Schneider Electric
6-4
Schneider Electric
Arrays
An array is a group of variables of the same size, and sharing a single name, but broken
up into numbered cells, called elements.
You refer to each element in the array using a number called an "index".
For example, if we had an array with 8 elements called CLOCK, you can refer to its eight
possible values as CLOCK[1], CLOCK[2], CLOCK[3], CLOCK[4], and so on.
Example of an Eight
Element Array
Index
Value
8.000
8.510
9.000
9.620
10.000
10.750
11.000
11.250
CLOCK[1] is 8.000, CLOCK[2] is 8.510, CLOCK[3] is 9.000, and so on. Each entry in an
array is referred to as an element. A Continuum array can contain up to 32,767 elements.
You can also put a numeric variable in place of the index number, such as
CLOCK[COUNT]. The variable is called an "index variable."
Logs
Logs are points that automatically update and save readings from the environment. Logs
can be input, output, numeric, string, or datetime points.
A log of points stores the last several values of an input, output, or another point. Logs
are similar to arrays (see the previous page) except that arrays must be programmatically
updated while the log point automatically updates.
Value
72
73
75
74
73
72
71
73
Most recent
value recorded
th
8 most recent
value recorded
The log position with the index [1] contains the newest logged value. The highest index
number holds the oldest value. However, if you access the log without an index number,
you receive the current value of the point. For example, the OUTSIDEAIR log updates as
follows:
OUTSIDEAIR is the current value.
OUTSIDEAIR[1] is the most recently logged value.
OUTSIDEAIR[2] is the second most recently logged value.
OUTSIDEAIR[3] is the third most recently logged value, and so on.
6-6
Schneider Electric
Log Types
When you define a log, as with any other point, you must specify a type (numeric, string,
datetime, input, or output) and the number of entries, called elements.
Logs automatically update in one of four ways:
y
y
y
y
Instantaneous
Average
Minimum
Maximum
Each update takes all the values of the last scan and acts on either the most recent
(instantaneous), the average of them (average), the lowest of them (minimum), or the
highest of them (maximum).
String and datetime logs must be instantaneous. It is also possible to have a string log
that contains messages.
Note:
Setting Up a Log
You can define two logs for any point: a short-term log, and an extended log. Short-term
logs are stored on the controller that owns the point. As the name implies, an extended
log is an extension of a short-term log. Extended logs are stored in the Continuum
database rather than the controller.
For input, output, numeric, string or datetime points, you can set up one of two basic
types of short-term logs: logs that you update manually or logs that the system updates
automatically. For a complete description on setting up a log refer to Chapter 13 of the
Continuum CyberStation Configurator's Guide.
You can use the SIZE attribute in a FOR..NEXT loop to access the values of a log. See
the FOR..NEXT keyword in Chapter 7.
MAXIMUM
MAXITEM
MINIMUM
MINITEM
STANDARDDEVIATION
SUM
See Chapter 7 for more information on these function keywords.
6-8
Schneider Electric
7
Keywords
This chapter provides a complete description of all the keywords used in Andover
Continuum Plain English programming language.
The chapter begins with a discussion of the formatting conventions used to describe each
keyword, followed by a listing of the keywords categorized into logical groups.
The main body of the chapter contains the keyword descriptions arranged in alphabetical
order.
7-2
Schneider Electric
See Page
7-2
7-2
7-4
7-6
7-7
7-7
7-12
7-74
7-146
7-229
7-302
Identical
Format for All
Keywords
Format
Shows the correct way to enter the keyword instruction. The correct
order must be followed when entering the keyword into the system to
avoid programming problems. Additional information regarding text
style and symbols appearing under this heading are described on
page 7-5.
Purpose
Remarks
Example
Related
Keywords
Keywords that are often used with the keyword being described or
that are closely related to it.
7-3
Alias
Products
Supported
Modes
Available
Lists whether the keyword can be used in the command line mode,
the program file mode, or both. Programs cover InfinityPrograms,
InfinityFunctions, Functions and Programs.
Program
Function
InfinityProgram
InfinityFunction
7-4
Schneider Electric
Format
Heading
Information
Capital Letters
Bold Italics
Any terms shown in bold italics stand for elements that you must
replace with a name, number, or other item. For example:
Format
ACOS (number)
indicates that number must be replaced with the appropriate number
to satisfy the use of the keyword ACOS (arccosine) in the given
program.
The terms that appear in bold italics and the items that replace them
are described on page 7-7.
Parentheses ( )
7-5
Italics
Regular italics indicate elements that are not a mandatory part of the
keyword statement. They can be replaced with a particular word or
they may be left out of the statement. For example:
Format STRING string_length LocalVariable
which defines a local string variable. You can optionally specify the
length of the string in characters.
Period (.)
7-6
Schneider Electric
Replacement of
Terms
When the following terms appear in bold italics after the keyword in
the Format heading, they must be replaced according to the following
rules.
Number
Any number.
Any name that stands for a number.
Any other expression that gives a number, a formula or a
function.
The number may have decimal places after it. In some cases number
can be a comparison such as TOD > 1500. Such a comparison gives
a TRUE or FALSE result, which the controller interprets as a number.
Integer
String
Replace string with any text (word or words) or any name that stands
for a text. You can also replace it with any expression that gives a
string of text, including a formula or function.
Name
List
7-7
Logical
Keyword
Groups Listing
Building Control
Control of Inputs and Outputs
Creating/Manipulating Files
7-8
Schneider Electric
UNACKEDALARMS
System variable
READPROPERTY
RELINQUISH
WRITEPROPERTY
Function
Function
Function
MOVE
TURN
Statement
Statement
IOUCOMMFLT#
STATUS#
INITMODEM
DIAL
CLOSE
HANGUP
OPEN
READ
CLOSEFILE
FILE
OPENFILE
POSITIONFILE
READFILE
WRITEFILE
EOF
System variable
System variable
(programmable)
Function
Function
Function
Function
Function
Function (comm
port)
Function
Statement
Function
Function
Function
Function
Constant
Email
Flow Control
ASK
CLOSEWINDOW
PRINT
MESSAGEWINDOW
SHOW
SHOWREPORT
STATUSLINE
SendEmail
Function
Function
Statement
System variable
Statement
Statement
System variable
Function
BASEDON..GOTO
BREAK
CONTINUE
FOR..NEXT
GOTO
IF..THEN..ELSE
LINE
Statement
Statement
Statement
Statement
Statement
Statement
Statement
7-9
Logs
Mathematical
7-10
Schneider Electric
AND
BITAND
BITNOT
BITOR
BITXOR
IS
IS BETWEEN
IS GREATER
IS LESS
NOT
OR
DeleteExtLog
GetExtLog
UpdateExtLog
ABS
ACOS
ASIN
ATAN
ATAN2
AVERAGE
CEILING
COS
DIVIDED BY
EXPONENTIAL
FACTORIAL
FLOOR
LN
LOG
MAXIMUM
MAXITEM
MINIMUM
MINITEM
MINUS
Operator
Operator
Operator
Operator
Operator
Operator
Operator
Operator
Operator
Operator
Operator
Function
Function
Function
Function
Function
Function
Function
Function
Function
Function
Function
Function
Function
Function
Function
Function
Function
Function
Function
Function
Function
Operator
7-
Restricted
Keywords
250 Display
Unit Keywords
Type
Function
Function
Function
Function
System variable
System variable
Statement
Statement
System variable
7-12
Schneider Electric
Function
Format
ABS (number)
Purpose
Remarks
Example 1
Example 2
Products
Supported
Modes
Available
7-
AccessLog
System variable
Format
AccessLog
Purpose
Indicates the amount of the access log that has been filled, from 0 to
1. It can be interpreted as a percentage of the access log, and
displays as .01 for 1 percent, .02 for 2 percent, .03 for 3 percent, etc.
The value of the log includes up to six digits after the decimal point.
Remarks
This system variable and the event log to which it refers exist only on
the controller. Since the event log contains all access events that
have occurred on the controller, the keyword applies only if you are
using the controller for access control.
Types of access events logged include the following:
Example 1
Valid Access
Invalid Attempt
Door Fault
Door Violation
Door Ajar
Request to Exit
Cabinet Tamper
Refresh Database
Access Mode
If any access events have been stored in the event log of a controller,
the controller's AccessLog system variable value is greater than zero.
You can see if the log has any events in it by using the system
variable in an IF..THEN statement:
Program File
If AccessLog > 0 then Goto CallingOut
. . .
7-14
Schneider Electric
AccessLog, continued
Example 2
Related
Keywords
EventLogSize
Products
Supported
Modes
Available
7-15
AccessServer
System variable
Format
AccessServer
Purpose
Remarks
Users may set AccessServer from the object editor or from the
Command Line interface.
7-16
Schneider Electric
AccessServer, continued
Example 1
Example 2
Note
Products
Supported
Modes
Available
Command lines.
7-17
ACOS
Function
Format
ACOS (number)
Purpose
Remarks
Example
Program File
AN.VALUE = acos(.7071)
Related
Keywords
Alias
ARCCOSINE
Products
Supported
Modes
Available
7-18
Schneider Electric
Alarms
System variable
Format
ALARMS
Purpose
Remarks
Example
Products
Supported
Modes
Available
7-19
AND
Operator
Format
Purpose
Remarks
Example 1
7-20
Schneider Electric
AND, continued
Example 2
Example 3
7-21
AND, continued
Example 4
Related
Keywords
IF..THEN..ELSE
IS...
OR
Products
Supported
Modes
Available
7-22
Schneider Electric
ARG
Format
System variable
Purpose
Remarks
Example 1
7-23
ARG, continued
Example 2
To test the report status to see if it equals SUCCESS, you can call on
the argument variable using its easy-to-remember name (from
Example 1):
Function File
If RPTSTATUS is Success then
Example 3
To test the report status to see if it equals SUCCESS, you can also
call on the argument variable using ARG[5]:
Function File
If Arg[5] is Success then
Related
Keywords
PASSED
Alias
PARAM
Products
Supported
Modes
Available
7-24
Schneider Electric
ASC
Function
Format
ASC (string)
Purpose
Remarks
Example
Related
Keywords
CHR
Products
Supported
Modes
Available
7-25
ASIN
Function
Format
ASIN (number)
Purpose
Remarks
Example
Program File
Result = asin (1)
Related
Keywords
Alias
ARCSINE
Products
Supported
Modes
Available
7-26
Schneider Electric
ASK
Function
Format
Purpose
question
answer_var_or_point
Replace with
A string containing the title of the window. The string may
be a string point, a local STRING variable, or a series of
characters in quotation marks. It may also be any string
expression.
A string containing the question you want to present. The
string may be a string point, a local STRING variable, or a
series of characters in quotation marks. It may also be any
string expression.
Point or local variable to receive an answer to the question.
May be numeric, string, or datetime.
7-27
ASK, continued
Example 1
Suppose you want to ask the operator to enter a setpoint. You would
begin by creating a variable to receive the setpoint. Then, you would
use ASK to draw a window on the workstation screen as follows:
Program File
Numeric AnySetpt
Ask "Setpoint Information", "Enter the new setpoint", AnySetpt
The displayed window would appear as shown on Figure 7-1.
7-28
Schneider Electric
ASK, continued
Example 2
When you use ASK, you may want to check to see if it returns
SUCCESS, FAILURE, or FormCancel. If ASK returns FAILURE, you
can continue to try to set up the window until ASK returns SUCCESS,
as shown in the following fall thru program:
Program File
Numeric Result
String Anypoint, TitleString
Presenting:
Result = Ask ("Point Name", "Enter The Point Name", Anypoint)
Testing:
If Result = Failure then Goto Presenting
If Result = Success then Goto Working
If Result = Formcancel then Stop
Products
Supported
CyberStation
Modes
Available
Programs only
7-29
ATAN
Function
Format
ATAN (number)
Purpose
Remarks
Example
Program File
VAL.ARC = atan (0)
Related
Keywords
Alias
ARCTANGENT
Products
Supported
Modes
Available
7-30
Schneider Electric
ATAN2
Function
Format
Purpose
Remarks
Example
Program File
Ang.Damper = atan2 (0.0, 1.0)
Related
Keywords
Alias
ARCTANGENT2
Products
Supported
Modes
Available
7-31
AUDIOBELL
System variable
Format
AUDIOBELL
Purpose
Makes the DCX 250-Display Unit beep for the number of seconds you
set it to.
Remarks
Example 1
Example 2
Inside a program or from the command line, you can stop the beeping
at any time as follows:
Program File
Turn Off AudioBell
Products
Supported
Modes
Available
7-32
Schneider Electric
AvailRecords
System variable
Format
AvailRecords
Purpose
Remarks
Example 1
You are able to view the value from the object editor or print it
from the Command Line interface.
Products
Supported
Modes
Available
Command lines.
7-33
AVERAGE
Format
Function
Purpose
Remarks
Example 1
7-34
Schneider Electric
AVERAGE, continued
Example 2
Since you know a certain temperature varies, you have been storing
readings in an array called OAT. You then use the average function
on that array, as follows:
Program File
OAT.Avg = Average (OAT)
Example 3
Alias
AVG
Products
Supported
Modes
Available
7-35
BACKLIGHT
System variable
Format
BACKLIGHT
Purpose
Turns on the background light of the DCX 250-Display Unit for the
number of seconds to which you set. Once it has been set to a
number, each second it will automatically decrement its value by one.
Remarks
You can use "TURN OFF BACKLIGHT" to turn off the light
Example 1
Example 2
Inside a program or from the command line, you can turn on the DCX
250 Display Unit background light for 5 minutes when an operator
touches anywhere on the screen, as follows:
Program File
If TouchedCell then Set BackLight = 300
Example 3
Inside a program, you can turn off the DCX 250 Display Unit
background light as follows:
Program File
Turn BackLight Off
Products
Supported
Modes
Available
7-36
Schneider Electric
BASEDON..GOTO
Statement
Format 1
Format 2
Purpose
Branches to a different line for each value the number can have. You
put the line names in the linelist.
Remarks
Example
You may have a series of steps (a line) that you want to run every
Friday to shut down equipment not required over the weekend. And
every Monday you may want to restart that equipment.
To run different lines on particular days, write a program that activates
certain lines based on the day. The lines are labeled with LINE (see
LINE), telling the line the routine starts on.
7-37
BASEDON..GOTO, continued
Example
continued
Remember that SUN is considered the first day of the week, so in the
program below, the first line listed after GOTO runs on Sunday, the next
on Monday, the next on Tuesday, and so on:
Program File
Basedon Wkd Goto Sun.1, Mon.1, Tue.1, Wed.1, Thu.1, Fri.1
Line Sun.1
Line Mon.1
Line Tue.1
Line Wed.1
Line Thu.1
Line Fri.1
BASEDON.. GOTO works well with logs and arrays.
Note: The following variations to the BASEDON statement
(above) are acceptable.
You can also include the word LINE in front of the line list:
Basedon Wkd Goto Line Sun.1, Mon.1, Tue.1, Wed.1, Thu.1, Fri.1
You can replace GOTO with the word GO:
Basedon Wkd Go Sun.1, Mon.1, Tue.1, Wed.1, Thu.1, Fri.1
You can separate the word GO from the word TO:
Basedon Wkd Go To Sun.1, Mon.1, Tue.1, Wed.1, Thu.1, Fri.1
You can include the word LINE after GO and TO:
Basedon Wkd Go To Line Sun.1, Mon.1, Tue.1, Wed.1, Thu.1, Fri.1
7-38
Schneider Electric
BASEDON..GOTO, continued
Related
Keywords
GOTO
LINE
Products
Supported
Modes
Available
Programs
7-39
BEGINPOLYLINE
Function
Format
BEGINPOLYLINE ( )
Purpose
Indicates that you want to begin drawing either multiple graphic lines
(polylines) or a polygon on the DCX 250-Display Unit. Returns
SUCCESS or FAILURE. Parentheses are not required if you put
BEGINPOLYLINE at the beginning of a statement.
Remarks
Example 1
You create a line connecting a series of line points on the DCX 250
Display Unit by entering the following:
Program File
SetDisplay (NOFILL)
BeginPolyLine
LinePoint (10, 10)
LinePoint (10, 100)
LinePoint (100, 50)
LinePoint (40, 10)
EndPolyLine
Notice that the parentheses are not required because
BEGINPOLYLINE begins the statement.
7-40
Schneider Electric
BEGINPOLYLINE, continued
Example 1
continued
Example 2
7-41
BEGINPOLYLINE, continued
Example 2
continued
Related
Keywords
SETDISPLAY
LINEPOINT
ENDPOLYLINE
Products
Supported
Modes
Available
Programs
7-42
Schneider Electric
BITAND
Operator
Format
Purpose
Remarks
Example
Related
Keywords
BITOR
BITXOR
BITNOT
Products
Supported
Modes
Available
7-43
BITNOT
Operator
Format
BITNOT integer
Purpose
Remarks
Example
Related
Keywords
BITAND
BITOR
BITXOR
Products
Supported
Modes
Available
7-44
Schneider Electric
BITOR
Operator
Format
Purpose
Remarks
Example
BITAND
BITXOR
BITNOT
Products
Supported
Modes
Available
7-45
BITXOR
Operator
Format
Purpose
Remarks
Example
Related
Keywords
BITAND
BITOR
BITNOT
Products
Supported
Modes
Available
7-46
Schneider Electric
BLUE
Constant
Format
BLUE
Purpose
Sets the graphics on the DCX 250-display unit screen to blue when
you use it with SetDisplay.
Remarks
Example
Related
Keywords
Setdisplay
White
Products
Supported
Modes
Available
Programs
7-47
BREAK
Statement
Format
BREAK
Purpose
Remarks
After BREAK executes, the next statement the system carries out is
the one immediately following the end of the loop.
Example
Related
Keywords
CONTINUE
Products
Supported
Modes
Available
Programs
7-48
Schneider Electric
CabinetTamper
System variable
Format
CabinetTamper
Purpose
Indicates whether or not the ACX controller has been tampered with.
A binary value controller System Variable linked to a controller's
cabinet door.
Remarks
Example
Products
Supported
ACX controller.
Modes
Available
7-49
CD
Statement
Format 1: CD controller_name
Format
Format 2: CD
Format 3: CD \ path_name
Purpose
Remarks
7-50
Schneider Electric
CD, continued
Example of
Format 1
Example of
Format 2
Example of
Format 3
7-51
CD, continued
Products
Supported
Modes
Available
Command lines
7-52
Schneider Electric
CEILING
Function
Format
CEILING (number)
Purpose
Rounds number to the nearest larger integer on the number line and
returns that integer.
Remarks
Example 1
Program File
Top = Ceiling (-2.7)
This statement returns -2. (See figure 7-4.)
Position of 2.7
-4
-3
-2
-1
Example 2
Program File
RNDVAL = Ceiling (4.3)
This statement returns a 5.
Related
Keywords
FLOOR
TRUNCATE
ROUND
7-53
Ceiling, continued
Products
Supported
Modes
Available
7-54
Schneider Electric
CHR
Function
Format
CHR (number)
Purpose
Remarks
Example 1
After several pages of messages print, you then want to send a report
to that printer.
You make sure the report starts on a clean sheet of paper by sending
an instruction to the printer telling it to bring the paper to the top of a
new page. This action is called a formfeed. The ASCII code to
generate a formfeed is 12. You would write it in the following format:
Program File
'Generate a formfeed and report title
Print chr(12); "Weekly Energy Report"
Example 2
7-55
CHR, continued
Related
Keywords
PRINT
ASC
Products
Supported
Modes
Available
Programs
7-56
Schneider Electric
CLEARSCREEN
Function
Format
CLEARSCREEN ( )
Purpose
Erases everything on the DCX 250-Display Unit screen and resets all
display attributes (set with SETDISPLAY) to their original settings.
Returns SUCCESS or FAILURE.
Remarks
Example
You can display a graph on the 250 screen and then clear the screen
before you display a list of choices, as follows:
Program File
Run DisplayGraph
ClearScreen
Run DisplayChoices
Notice that the parentheses are not required here because
ClearScreen is at the beginning of a statement.
You may also clear the screen at the beginning of a new 250
program.
Alias
CLS
Products
Supported
Modes
Available
Programs
7-57
CLOSE
Function
Format
CLOSE (comm_port)
Purpose
After you have used OPEN, resumes normal interactions with the
comm port. Normally, input appears on the screen and output goes to
the Message window. Returns SUCCESS if the comm port closes
without a problem and FAILURE if the comm port does not close.
Once CLOSE executes, the controller automatically moves to the next
labeled line.
You never need GOTO after CLOSE.
Remarks
The comm_port is the comm port the modem is on. Or it can be the
path to the comm port. You may use CLOSE as a function only on
comm ports.
CLOSE must always be the last statement on a labeled line or on a
line by itself. The line immediately following the CLOSE line must test
for SUCCESS or FAILURE; otherwise, the control system software
considers that a CLOSE error.
Once you open a comm port with OPEN, after you complete
communications on that port, you must close the port with CLOSE.
Example
After you open a modem with OPEN, then send a message, you can
close the modem comm port with CLOSE. The following example
shows a program that uses close. Note that it is a fallthru program
and uses a customized function named CALL and this program is
named ModemMessage.
Program File
Numeric Startup, Result
Opening:
Startup = Open (Modem1)
Calling:
If Startup = Success then
Call (Modem1, "999999")
Else
Goto Ending
Endif
7-58
Schneider Electric
CLOSE, continued
Example
continued
Sending:
Print "Alarm on Floor2" to Modem1
Closing:
Result = Close (Modem1)
Ending:
If result = Success then
Stop ModemMessage
Else
Print "Could not access Modem1 Port"
Endif
Related
Keywords
LINE
OPEN
READ
OPENFILE
READFILE
CLOSEFILE
WRITEFILE
Products
Supported
Modes
Available
Programs
7-59
CloseFile
Function
Format
CloseFile (file_variable_name)
Purpose
Closes the text file you opened earlier with the OpenFile keyword.
Remarks
Example 1
Once you create a text file with FILE and open it with OpenFile, you
must later close it with CloseFile, as shown in this example.
Program File
File ZoneData
Numeric Chars, OK
String Dataline 80
Line Opening
Set OK = OpenFile ("c:\text\zone.txt", WriteOnly, ZoneData)
If OK = Failure then
Print "File Open Failed"
Stop
Else
Goto Writing
Endif
Line Writing
. . .
Line Closing
Set OK = CloseFile (ZoneData)
If OK = Failure then
Print "File Close Failed"
Else
Stop
Endif
7-60
Schneider Electric
CloseFile, continued
Example 1
continued
The control system software knows that the file in the string
("c:\text\zone.txt") is the file that the ZoneData File variable
represents.
Remember that CloseFile is a function, so you must set a variable to
its result or use it in an IF..THEN statement. In this case, you set the
OK numeric variable equal to the results of the CloseFile.
Example 2
If you want to close an array of files you opened earlier, you can use
a FOR..NEXT loop with CloseFile, as in the following example.
Notice that the FilesOpen variable gives the actual number of files
opened successfully. You would set this variable in the Opening line
and later use it in the Closing line to close the correct number of files.
Program File
File ZoneData [3]
Numeric OK, FileNum, FilesOpen
Line Opening
.
.
Line Closing
For FileNum = 1 TO FilesOpen
Set OK to CloseFile (ZoneData[FileNum])
If OK = Failure then Break
Next FileNum
If OK = Success then Stop
Print "File Close Failed for ZoneData"; FileNum
Notice that when CLOSEFILE fails, the control system software
breaks out of the loop and prints a failure message.
7-61
CloseFile, continued
Related
Keywords
FILE
OPENFILE
READFILE
POSITIONFILE
WRITEFILE
FAILURE
SUCCESS
Products
Supported
CyberStation.
Modes
Available
Programs
7-62
Schneider Electric
CloseList
Function
Format
CloseList (object_var)
Purpose
The list is always one you opened earlier in the same program with
the OpenList keyword. You must have defined the local OBJECT
variable with the OBJECT keyword.
Remarks
Example 1
CAUTION
Be sure you close every list you open with
OPENLIST.
After you have opened a list with OpenList, you must close it with
CloseList. The name of the list to close must be a local OBJECT
variable such as:
CloseList (CurrentReport)
The following is a complete program that opens a list of programs
from the CentralStation, prints their names, and then closes the list.
7-63
CloseList, continued
Example 1
continued
Program File
Object CurrentReport
Numeric OK
Opening:
OK = OpenList ("Program", CurrentReport, CentralStation)
If OK = Success then Goto Checking
Else
Print "Cannot Open List"
Stop
Endif
Checking:
If GetObject (CurrentReport) is not Sucess Then Goto Closing
Print CurrentReport
Closing:
OK = CloseList (CurrentReport)
If OK = Failure then Print "Cannot Close List"
Stop
Endif
This program does not print the actual reports, only their names.
Related
Keywords
GetObject
OBJECT
OpenList
Products
Supported
Modes
Available
7-64
Programs
Schneider Electric
CloseWindow
Format
Function
Purpose
Remarks
Example 1
7-65
CloseWindow, continued
Function
Example 2
Command Line
CloseWindow(Net1\Controller1\Panel1, Net1\Controller1\Panel2)
Products
Supported
CyberStation
Modes
Available
7-66
Schneider Electric
CONTINUE
Statement
Format
CONTINUE
Purpose
Remarks
Each time the loop repeats the action is an iteration of that loop.
Example
Related
Keywords
BREAK
Products
Supported
Modes
Available
Programs
7-67
CONTROL
Function
Format
Purpose
Remarks
First, you must erase the 250 screen with the CLEARSCREEN
keyword and the backlight must then be turned on for the CONTROL
keyword to function. Once the backlight is on, the 250 positions the
selected control graphic in the center of the four coordinates (left,
bottom, right, and top) that you specify.
The example that follows is a very basic illustration of a control button
(style 1). Refer to Appendix D for complete details on all 13-control
styles.
Example
7-68
Schneider Electric
CONTROL, continued
Example
continued
Fan 2
The format for this example uses all the required arguments plus the
"title" argument.
The user_change argument must be either "TRUE" if you want the
operator to be able to change the setting, or "FALSE" if is not to be
changed.
Products
Supported
Modes
Available
Programs
7-69
COS
Function
Format
COS (number)
Purpose
Remarks
Example 1
Program File
MY.COS = cos(3.14159/2)
Example 2
Program File
MY.COS = cos(Angle)
Related
Keywords
Alias
COSINE
Products
Supported
Modes
Available
7-70
Schneider Electric
CPUPower
Format
CPUPower
Purpose
A predefined variable you set to OFF to turn off battery power to the
central processing unit (CPU) of the CX series controller. You turn off
the CPU after AC power fails. This way you preserve the life of the
battery and extend the length of time the controller can retain memory
on battery backup.
Remarks
7-71
CPUPower, continued
Example
Related
Keywords
PowerFail
PowerUpTime
ModemPower
Products
Supported
Modes
Available
7-72
Schneider Electric
CurUser
Function
Format
CurUser ( )
Purpose
Example 1
Example 2
If you want to create a USR function that gives the name of the
current user, you can create it by typing the following in a function file
called USR:
Function File
Object CU
CU = CurUser ( )
Print CU Name
Return CU Name
Why create a local OBJECT variable and assign it CU? Since
CurUser is a function, you cannot directly print CurUser with PRINT.
You must first store what CurUser returns in an OBJECT variable. By
making CU an OBJECT variable, you can then print the attributes
normally associated with a user, such as NAME or FULLNAME. In
this case, the function prints the NAME attribute.
Products
Supported
CyberStation
Modes
Available
7-73
CurWorkstation
Function
Format
CurWorkstation ( )
Purpose
Example 1
Example 2
If you want to create a WS function that gives the name of the current
workstation, you can create it by typing the following in a function file
called WS:
Function File
Object CurWST
CurWST = CurWorkstation ( )
Print CurWST Name
Return CurWST Name
Why create a local OBJECT variable and assign it CurWST? Since
CurWorkstation is a function, you cannot directly print CurWorkstation
with PRINT. You must first store what CurWorkstation returns in an
OBJECT variable. By making CurWST an OBJECT variable, you can
then print the attributes normally associated with the workstation,
such as NAME.
Products
Supported
CyberStation
Modes
Available
7-74
Schneider Electric
DATE
System variable
Format
DATE
Purpose
Retrieves current system date and time so that you can then store it
in a variable.
Remarks
The default value for the DATE system variable is January 1, 1989.
DATE is designed to be used with DIFFTIME, along with a datetime
variable (defined using the DATETIME statement).
You can set the DATE value for the system using the STRTODATE
keyword from a program or command line.
Example
Once you have defined the datetime variable called Temp_Date using
the DATETIME statement (see page 7-77), you can then set the
value of that variable using the DATE system variable, as follows:
Program File
DateTime Temp_Date
Temp_Date = Date
This way, Temp_Date retrieves the exact system date and time at a
given moment.
You may, for instance, record the date and time that a point changes.
You can use the variable you have created in subsequent
calculations.
Related
Keywords
DATETIME
DIFFTIME
STRTODATE
7-75
DATE, continued
Alias
TIME
Products
Supported
Modes
Available
7-76
Schneider Electric
DATETIME
Statement
Format
Purpose
Remarks
7-77
DATETIME, continued
Example 1
Example 2
When you print a datetime variable, you cannot set the format:
Program File
Print TempTime
October 26, 2005 18:25:06
Example 3
Example 4
You can define more than one array of datetime variables in a single
statement:
Program File
DateTime TempTime[40], Timer[30], Watch[15]
Example 5
7-78
Schneider Electric
DATETIME, continued
Related
Keywords
DATE
DIFFTIME
STRTODATE
NUMERIC
STRING
Products
Supported
Modes
Available
Programs
7-79
DAYOFMONTH
System variable
Format
DAYOFMONTH
Purpose
Remarks
Example 1
To print out a headline that contains the date, you would use
DAYOFMONTH, as shown below:
Program File
Print 'The kwh History for", Month, DayofMonth, "," , Year
The resulting header would print the actual month, day of the month,
and year, like this:
The kwh History for October 15, 2005
Example 2
Related
Keywords
7-80
MONTH
YEAR
DAYOFYEAR
Schneider Electric
DAYOFMONTH, continued
Alias
DOM
Products
Supported
Modes
Available
7-81
DAYOFYEAR
System variable
Format
DAYOFYEAR
Purpose
Gives the number of the day of the year, between 1 and 366.
Remarks
Example
Suppose on a certain date, you need to switch off the heating and
switch on cooling. You would use DAYOFYEAR to program the
controller as in the following example:
Program File
If DayOfYear is 152 then
Stop the Heating_Prog
Run the Cooling_Prog
Endif
Related
Keywords
MONTH
YEAR
DAYOFMONTH
Alias
DOY
Products
Supported
Modes
Available
7-82
Schneider Electric
DeleteExtLog
Function
Format
Purpose
Deletes old extended log entries for the point, group of points, or
controller. If you are not sure what an extended log is, refer to the
Continuum CyberStation Configurator's Guide for further information.
Note: The DeleteExtLog function is only available on a CyberStation
Remarks
7-83
DeleteExtLog, continued
Remarks
continued
To avoid filling your database with log entries, you must instruct the
workstation to remove the extra log entries either automatically or
using DeleteExtLog.
DeleteExtLog removes only old entriesthose entries that have
expired. It determines an entry has expired by calculating the
expiration date of each entry as follows:
DateTime Entry Was Logged + ExtLogInterval
ExtLogSize
Example 1
Suppose you want to delete the expired extended log entries of all
points in the Floor1 controller that were logged more than 90 days
ago. You could delete the log entries with a fallthru program similar to
the following example:
Program File
Numeric Result
DeleteLog:
Result = DeleteExtLog (Building1 Floor1, Date - 90 * 24 * 3600)
CheckLogDeletion:
If Result is not success Then
Print "Failed to delete extended log entries for Floor1"
Stop
Endif
Give DeleteExtLog the controller name, then a calculation that
creates a datetime in seconds. The datetime value is the number of
seconds that are equivalent to the date and time by which the logs
must have expired.
7-84
Schneider Electric
DeleteExtLog, continued
Example 2
Example 3
Suppose you want to delete the expired extended log entries of all
points in the Floor1 controller that have been logged and then expired
by a future datea month from now. You could delete them with a
fallthru program like the one that follows:
Program File
Numeric Result
DeleteLog:
Result = DeleteExtLog (Building1 Floor1, Date + 30 * 24 * 3600)
CheckLogDeletion
If Result is not Success then
Print "Failed to delete extended log entries for Floor1"
Stop
Endif
Note: When the datetime argument is greater than or equal to log
timestamp, the entry is deleted immediately.
Related
Keywords
UpdateExtLog
Products
Supported
CyberStation
Modes
Available
7-85
Dial
Function
Format
Purpose
Format 1: From a program, dials the Infinity modem (via the comm
port you indicate) to connect from a controller (often at a remote site)
to another device, usually a workstation.
Format 2: From a program, dials the Infinity modem to connect from
a controller (often at a remote site) to another device, usually a
workstation. Uses the DefaultPort of the program.
Format 3: From the Command line on a terminal, dials the Infinity
modem to connect from a controller (often at a remote site) to another
device, usually a workstation. The commport is required on the
Command line.
Remarks
7-86
Schneider Electric
DIAL, continued
Remarks
continued
7-87
DIAL, continued
Remarks
continued
When
Controller has established connection with the
workstation or other device.
One of the following situations exists:
DialNotCarrier
DialNotAnswer
DialBusyTone
DialNotDialTone
Phone
DIAL returns the last of the above that occurs. If the controller at first
does not detect a carrier, then it receives a busy signal, DIAL returns
DialBusyTone and does not indicate that it could initially not find the
carrier.
Once DIAL is successful, the Mode of the comm port is Raw.
After dialing, DIAL waits up to 90 seconds for a response. (The 90
seconds includes the 50 seconds from the S-7 register.) If it fails, DIAL
does not try again. Instead, DIAL responds as follows:
Returns one of the above results
7-88
Schneider Electric
DIAL, continued
Once DIAL acts on the port successfully, the port is in Raw mode. So
to verify its success from the Command line, you can check the Mode
attribute of the port.
Remarks
continued
Whenever you dial the port with DIAL and use PRINT to transmit data,
be sure to check the PrintDone attribute of the port before hanging up
with HangUp. PrintDone is True when no more characters are waiting
to be sent over the port.
CAUTION
Whenever you use DIAL to call out from a port,
you must later use HangUp to disconnect. If
you do not, the line is still open and you are still
paying for the connection.
7-89
DIAL, continued
Example 1
You can use DIAL to call a workstation and send it messages. The
following looping program exists on a controller that calls a workstation:
Program File on Controller
Numeric InitResult, DialResult, HangUpResult
...
StartingDial:
DialResult = Dial ("5085551212", Comm1)
Using alternate AT Command
Issue the ATD command, then pause, issue the T command and
pause again
DialResult = Dial ("ATD,T,, 5085551212", Comm1)
CheckingStatus:
If DialResult is Success then
Goto SendingData
Else
Goto StoppingComms
Endif
Sending Data:
Print Message 1 to Comm1
Print Message 2 to Comm1
Print Message 3 to Comm1
...
Goto CheckingDone
CheckingDone:
If Comm 1 PrintDone then Goto CompletingComm
CompletingComm:
HangUpResult = HangUp (Comm 1)
Checking Hangup:
If HangUpResult is not Success then Print "Could Not Hang Up Comm Port"
Goto StoppingComms
StoppingComms:
Stop
7-90
Schneider Electric
DIAL, continued
Example 1
continued
Example 2
7-91
DIAL, continued
Example 2
continued
Goto StartingDial
StartingDial:
DialResult = Dial (PhoneNum, Comm1)
CheckingStatus:
IF DialResult is Success Then
Goto SendingData
Else
Goto StoppingComms
Endif
...
CheckingDone:
If Comm1 PrintDone Then Goto CompletingComm
CompletingComm:
HangUpResult = HangUp (Comm1)
Checking Hangup:
If HangUpResult is not Success then Print "Could Not Hang Up Comm Port"
Goto StoppingComms
StoppingComms:
Stop
7-92
Schneider Electric
DIAL, continued
Example 3
You can call a site from the controller Command window. First, you
must use InitModem to initialize the modem, and then you can dial
with DIAL. When you dial from the Command window, you must
include the comm port with DIAL:
Command Window
DialResult = Dial ("6175551212", Comm1)
Pr Comm1 Mode
DIAL immediately returns SUCCESS or FAILURE. If it does not
succeed within 90 seconds, it returns the port to its DefaultMode
setting.
To verify that DIAL has succeeded, you can print the Mode of the
comm port from the Command line to be sure the port is in Raw
mode. Later, you must be sure to hang up with the HangUp keyword.
Related
Keywords
InitModem
HangUp
Products
Supported
CX series controllers.
Modes
Available
7-93
DIFFTIME
Function
Format
Purpose
Remarks
7-94
Schneider Electric
DIFFTIME, continued
Remarks
continued
With WKD, any time beyond a complete day is not counted. So, 2
days and 15 hours becomes 2 days.
If date_time1 is later than date_time2, DIFFTIME returns a negative
number.
Example 1
Example 2
You can use DIFFTIME with WKD to determine how many days have
passed. The sample program that follows calculates the difference
between the old date (stored in the OldDate variable) and the current
date (in the DATE system variable).
Program File
Numeric Result
Result = DiffTime (Wkd, OldDate, Date)
The statement sets RESULT to the number of days that
DATE - OldDate gives.
7-95
DIFFTIME, continued
Related
Keywords
DATE
DATETIME
STRTODATE
TIME
Alias
DT
Products
Supported
Modes
Available
7-96
Schneider Electric
DISABLE
Format
Statement
Purpose
Remarks
7-97
DISABLE, continued
Example 1
Example 2
Example 3
Related
Keywords
ENABLE
Alias
DIS
Products
Supported
Modes
Available
7-98
Schneider Electric
DIVIDED BY
Operator
Format
Purpose
Remarks
Example 1
Program File
Usage = kwh Divided by 24
Example 2
Program File
Usage = kwh/24
Alias
/
DIV
Products
Supported
Modes
Available
7-99
DRAWELLIPSE
Function
Format
Purpose
Remarks
7-100
Schneider Electric
DRAWELLIPSE, continued
Example 1
You can draw an ellipse from the left-bottom (10, 20) to the right-top
(250, 100) line point positions as follows:
Program File
DrawEllipse 10, 20, 250, 100
Notice that the parentheses are not required in this case, because
DRAWELLIPSE is at the beginning of a statement.
Figure 7- 6 shows how left and bottom give the lower left corner and
right and top give the upper right corner of the imaginary rectangle.
(250, 100)
(10, 20)
Figure 7-6. Ellipse drawn with DRAWELLIPSE showing imaginary
rectangle with bottom left and top right corner locations
The left-bottom and right-top positions are the crosses shown in the
lower and upper corners of the rectangle.
Example 2
You can draw a perfect circle (Figure 7-7) by giving a left-bottom (10,
10) and a right-top (100, 100) line point positions as follows:
Program File
DrawEllipse (10, 10, 100, 100)
(Although the parentheses are not required in this case, you can use
them to make the program easier to read.)
7-
DRAWELLIPSE, continued
Example 2
continued
250 SCREEN
When you draw an ellipse, you can have DRAWELLIPSE tell whether
it was successful or not, as follows:
If DrawEllipse (10, 10, 100,100) = Failure then
Print "DCX Could Not Draw Ellipse" To Floor1 Comm3
Endif
If DrawEllipse is successful, the controller draws the circle, otherwise,
the message prints.
Related
Keywords
DRAWLINE
DRAWRECTANGLE
Products
Supported
Modes
Available
Programs
7-102
Schneider Electric
DRAWLINE
Function
Format
Purpose
Remarks
7-
DRAWLINE, continued
Example
Program File
SetDisplay (White)
DrawLine 10, 100, 200, 50
Notice that the parentheses are not required in this case, because
DRAWLINE is at the beginning of a statement.
Figure 7-8 shows how the begin_left, begin_bottom, end_left, and
end_bottom values mark the dots that begin and end the line.
Begin_Left
= 10
Begin_
Bottom
= 100
End_Left = 200
End_Bottom
= 50
SETDISPLAY first sets the color to white, so the line appears on the
250 screen in white.
Related
Keywords
DRAWELLIPSE
DRAWRECTANGLE
Products
Supported
Modes
Available
Programs
7-104
Schneider Electric
DRAWRECTANGLE
Function
Format
Purpose
Remarks
7-
DRAWRECTANGLE, continued
Example 1
You can draw a rectangle with the left side 10 dots over and the
bottom side 20 dots up, the right side 250 dots over and the top 100
dots up as follows:
Program File
DrawRectangle 10, 20, 250, 100
The 250 display unit draws the rectangle from the left-bottom 10, 20
to the right-top 250, 100 as shown in Figure 7-9.
Right = 250
Left
= 10
Bottom
= 20
Top = 100
7-106
Schneider Electric
DRAWRECTANGLE, continued
Example 2
You can draw a perfect square (Figure 7-10) by giving the same
values for left and bottom, then the same values for right and top,
such as 10, 10, and 100, 100, as follows:
Program File
DrawRectangle 10, 10, 100, 100
250 Screen
Related
Keywords
DRAWELLIPSE
DRAWLINE
SETDISPLAY
Products
Supported
Modes
Available
Programs
7-
ENABLE
Statement
Format
Purpose
Remarks
Example 1
Suppose you have disabled a program that controls cooling. Type the
following to allow the controller run the program:
Command Line
Enable Cooling
7-108
Schneider Electric
ENABLE, continued
Example 2
Example 3
Related
Keywords
DISABLE
Alias
EN
Products
Supported
Modes
Available
7-
ENDPOLYLINE
Function
Format
ENDPOLYLINE ( )
Purpose
Remarks
After you use BEGINPOLYLINE, and you give a series of line points
(see LINEPOINT keyword) you want connected, you then indicate the
series of line points is over by entering ENDPOLYLINE.
You do not need the parentheses if ENDPOLYLINE is at the
beginning of a statement.
Example
You create a line connecting a series of line points on the 250 display
unit by entering the following:
Program File
SetDisplay (NOFILL)
BeginPolyLine
LinePoint (10, 100)
LinePoint (100, 50)
LinePoint (200, 100)
LinePoint (250, 60)
EndPolyLine
Neither BEGINPOLYLINE nor LINEPOINT actually causes the lines
to be drawn. Instead, ENDPOLYLINE takes its cue from those
statements and actually executes the drawing.
7-110
Schneider Electric
ENDPOLYLINE, continued
Example
continued
250 Screen
If you want to know whether the lines or polygon have been drawn
successfully put ENDPOLYLINE inside an IF..THEN statement:
If EndPolyLine ( ) = Failure then
Print "DCX Cannot Draw Polygon"
Endif
If ENDPOLYLINE is successful, the controller draws the polygon,
otherwise, the message prints.
7-
ENDPOLYLINE, continued
Related
Keywords
BEGINPOLYLINE
LINEPOINT
Products
Supported
Modes
Available
Programs
7-112
Schneider Electric
EOF
Constant
Format
EOF
Purpose
Remarks
Example
Program File
If WriteFile (ZoneData, RecordLine, 80, Chars) = EOF then
Print "Not enough room in file for record"
Goto WriteCheck
Endif
Related
Keywords
FAILURE
SUCCESS
Products
Supported
CyberStation
Modes
Available
Programs
7-
EQUALS
Remarks
7-114
Operator
Schneider Electric
ERRORS
System variable
Format
ERRORS
Purpose
Remarks
Example
7-
ERRORS, continued
Products
Supported
Modes
Available
7-116
Schneider Electric
EventLogSize
System variable
Format
EventLogSize
Purpose
Refers to the event log that stores access control events in the CX
series controller, which is hidden from view. Indicates the number of
access control events that the event log can store.
Remarks
This system variable applies only if you are using your CX series
controller for access control.
You can set the number of events that the event log will contain,
based on the size of the controller's memory
Example 1
If you want to know how many events you can fit in the event log of a
CX or CMX series controller, you can print the controllers
EventLogSize system variable in the Command window, as follows:
Command Line
Pr EventLogSize
Example 2
If you want to change the number of events the controller can store in
its event log, you can set the EventLogSize system variable in a
program or in the Command window, as follows:
Program File
Set EventLogSize = 1000
7-
EventLogSize, continued
Related
Keywords
AccessLog
Products
Supported
Modes
Available
7-118
Schneider Electric
EXPONENTIAL
Function
Format
EXPONENTIAL (number)
Purpose
Remarks
Example 1
Program File
EVAL = Exponential (0)
The result of e to the 0 power is 1.
Because the EXPONENTIAL function returns 1, EVAL is set to 1.
Example 2
Program File
R.VAL = Exponential (-1)
The result of e to the -1 power is 0.368, so R.VAL is set to 0.368.
Alias
EXP
Products
Supported
Modes
Available
7-
FACTORIAL
Function
Format
FACTORIAL (integer_expression)
Purpose
Remarks
Example
Alias
FACT
Products
Supported
Modes
Available
7-120
Schneider Electric
FAILURE
Constant
Format
FAILURE
Purpose
Remarks
Example
Program File
If OpenFile ("Com1", ReadWrite, FileVar) = Failure then
Print "Error opening file"
Endif
Related
Keywords
SUCCESS
Products
Supported
Modes
Available
7-121
File
Statement
Format
Purpose
Creates and defines one or more names as local FILE variables, just
as NUMERIC, STRING, and DATETIME create local variables. You
define the FILE variables inside a program for use only in that
particular program.
You cannot use FILE on the command line.
Each variable may be a single variable or an array. You specify an
array by including the array_size_number when you define it.
Each FILE variable name is a control system software name that
corresponds to any actual Windows file name. Later you use this
name to open the file with OPENFILE, and act on the file with
READFILE, POSITIONFILE, WRITEFILE, and CLOSEFILE
keywords.
Remarks
7-122
Schneider Electric
File, continued
Remarks
continued
Example 1
You use FILE in a program to define a file called ZoneData. Then you
can open a Windows file and put data in it with other related
keywords:
Program File
File ZoneData
Numeric Chars
String 80 Dataline
Line Opening
.
.
Line Working
.
.
Line Closing
.
.
Example 2
You can create an array of variables with FILE and once you have
defined them, you can assign each a Windows file name using a
FOR..NEXT statement with OpenFile.
7-123
FILE, continued
Example 2
continued
In this example, you open the Windows files in the left column below.
Each corresponds to the control system software name you created
with a local FILE variable defined in the array, shown in the right
column:
Windows File
Control System
File Variable
\text\zone1.txt
\text\zone2.txt
\text\zone3.txt
ZoneData[1]
ZoneData[2]
ZoneData[3]
Program File
File ZoneData[3]
Numeric OK, NumFile
Line Opening
For NumFile = 1 To 3
OK = OPENFILE ("c:\text\zone"; NumFile;".txt", WriteOonly,~
ZoneData [NumFile])
If OK = Failure Then Break
Next NumFile
Line Working
.
.
Line Closing
.
Related
Keywords
CLOSEFILE
READFILE
Products
Supported
CyberStation
Modes
Available
Programs
7-124
Schneider Electric
OPENFILE
WRITEFILE
POSITIONFILE
FILL
Constant
Format
FILL
Purpose
Sets the graphics on the DCX 250 Display Unit screen to filled solids
rather than lines when you use it with SETDISPLAY.
Remarks
The graphics on the 250 screen may be filled (FILL) or not filled
(NOFILL).
Example
Related
Keywords
NOFILL
SETDISPLAY
Products
Supported
Modes
Available
Programs
7-125
FLOOR
Function
Format
FLOOR (number)
Purpose
Remarks
Example 1
Program File
TmpVar = Floor (42.7)
This statement returns 42.
Example 2
Program File
Result = Floor (-1.1)
This statement returns -2. Figure 7-12 illustrates how the controller
arrives at -2 for the floor of -1.1.
Position of
FLO OR (1.1)
-4
-3
-2
-1
Related
Keywords
Products
Supported
7-126
Schneider Electric
Modes
Available
FOR..NEXT
Format
Statement
Purpose
Remarks
7-127
FOR..NEXT, continued
Remarks
continued
12
14
16
18
20
7-128
CAUTION
The scan action limits the number of statements
that can execute on one line to 5000. Be careful
of exceeding the limit when using FOR..NEXT.
Schneider Electric
FOR..NEXT, continued
Example 1
Before you run functions that use the Arg variables, you may want to
set them all to zero. You can set them all with one programming
statement using FOR..NEXT:
Program File
For Count = 1 to 15
Set Arg [Count] = 0
Next Count
The first time through the loop, Arg[1] is set to 0, the second time
Arg[2] is set to 0, the third time Arg[3] is set to 0, and so on.
Example 2
To set every third value in an array to zero, you can go to the third
item, then sixth, then ninth, and so on using STEP with FOR..NEXT:
Program File
Number Count
For Count = 3 to 15 Step 3
Set Pump [Count] = 0
Next Count
Example 3
FOR..NEXT, continued
Andover Plain English Language Reference
7-129
Products
Supported
Related
Keywords
BREAK, CONTINUE
Modes
Available
Programs
7-130
Schneider Electric
FREEMEM
System variable
Format
FREEMEM
Purpose
Remarks
Example
If you want to know the size of the largest block of free memory
available on a controller, enter the following:
Program File
Print FreeMem
Products
Supported
Modes
Available
7-131
GetExtLog
Function
Format
Purpose
Retrieves the value from an entry in the extended log and gets the
time it was stored in the log. Obtains this information for a particular
point and a range of times that begins with the start_time and ends
with the end_time.
Remarks
7-132
Schneider Electric
GetExtLog, continued
Example
7-133
GetExtLog, continued
Related
Keywords
DeleteExtLog
UpdateExtLog
Products
Supported
CyberStation
Modes
Available
Programs
7-134
Schneider Electric
GETNAME
Formats
Function
Purpose
Remarks
7-135
GETNAME, continued
Enter TRUE (or equivalent numeric expression) to send this Who Has
I Have broadcast to other BACnet controllers on the network, in
search of the object.
Enter FALSE (or equivalent numeric expression) to perform a search
on the local controller.
See Example 3 for an example of the bacnet_broadcast_flag
argument.
Example 1
7-136
Schneider Electric
GETNAME, continued
Example 2
You can use GETNAME to get the value of a point from more than
one controller. In this example, the controllers are VAV box controllers
called Room1, Room2, Room3, and so on, up to Room10. Since
each ROOM controller has a TEMP point, GETNAME can easily
retrieve that point from each controller:
Program File
Numeric ROOM
Line SettingRoom
ROOM = 1
Goto CheckingTemp
Line CheckingTemp
If GetName("Room";ROOM;" Temp") > 75 Then
Print "Room |## is |###", ROOM, GetName("Room"; ~
ROOM;" Temp")
Endif
Goto GetNextRoom
Line GetNextRoom
If ROOM >= 10 Then Stop
ROOM = ROOM + 1
Goto CheckingTemp
"Room"; ROOM;" Temp" gets the path to the Temp point on the
ROOM1 controller first. Once the program gets the value of
Temp from each controller, it compares that value to the
setpoint of 75. If the temperature is not at setpoint, the program
prints a message.
Example 3
7-137
GETNAME, continued
Example 4
Example 5
You can also get attributes of a point other than the value. This
example retrieves the STATE attribute (enabled or disabled):
Program File
Print "The Lights are |*", GetName("Room";ROOM;"Lights State")
Example 6
You can also get attributes of any other name defined in the control
system software, for instance, the STATUS of a program called
HEATING (active or inactive):
Program File
Print "Status of Heating is |*", GetName("Floor";FloorNum;"~
"Heating STATUS")
7-138
Schneider Electric
GETNAME, continued
Example 7
Products
Supported
Modes
Available
Programs
7-139
GetObject
Function
Format
GetObject ( object_var )
Purpose
Gets the next object from a list of objects you opened with
OPENLIST. The list is always of one particular class of objects, such
as INPUT, OUTPUT, and PROGRAM.
Remarks
Example 1
After you have defined a local OBJECT variable with the OBJECT
keyword, you can then open the list of objects of a particular class
(see OpenList) and get each object with GETOBJECT. In this case,
you open a list of VAV points and get each point as follows
Program File
Object VavPoint
Line OpenPoint
.
.
Line GetPoints
If GetObject (VavPoint) is not Success then Goto ClosePoints
7-140
Schneider Electric
GetObject, continued
Example 1
continued
Example 2
7-141
GetObject, continued
Example 2
continued
Example 3
You can print a list of the CX series controllers that are off-line using
GETOBJECT. The sample program is looping:
Program File
Object EnetCtrlr
Line OpenController
.
.
Line GetController
If GetObject (EnetCtlr) is not Sucess then
Goto CloseController
Endif
IF EnetCtlr CommStatus Is OffLine then
Print EnetCtlr Name
Endif
Line CloseController
.
This program checks the CommStatus of each CX series controller on
the network. If the controller is off-line, the control system software
prints the controller name. When the control system software has
checked the entire list of controllers, you have a complete list of the
CX controllers that are off-line.
Since this information can change, you might run a program like this
every hour (trigger it from the HOUR system variable) or more
frequently.
7-142
Schneider Electric
GetObject, continued
Example 4
You can also get a list of all points or all files rather than a particular
type of point or file. GETOBJECT gets all points in the following
example.
Program File
Object VAVPoint
Line OpenVAVPoints
.
.
Line GetVAVPoints
If GetObject (VAVPoint) is not Success then
Goto CloseVAVPoints
Endif
Pr VAVPoint
Line CloseVAVPoints
.
.
This program gets each point from the VAVPoint list. PR prints the
name, value, and units of each point. You can use this type of
program to retrieve all point values from a single controller quickly
and easily.
Related
Keywords
CloseList
OBJECT
OpenList
Products
Supported
Modes
Available
Programs
7-143
GOTO
Format
Function
Format 3: GO linename
Format 4: GO TO linename
Purpose
Remarks
The linename is any line label created with the LINE statement.
Must be in the same program. (See LINE.)
Note: Do not use GOTO in FOR..NEXT, WHILE, or REPEAT..UNTIL
loops. The controller gives an error if you do.
Example 1
7-144
Schneider Electric
GOTO, continued
Example 2
You can include the word LINE in front of the line name, as follows:
Program File
Line 1
Start Fan1
Goto Line 2
Line 2
If Fan1.Status is on then Goto Line Shutdown
Line Shutdown
If Zone1 Temperature is less than 60 then
Stop Fan1
Goto Line 1
Endif
Example 3
Example 4
7-145
GOTO, continued
Example 4
continued
Example 5
Line Heating
Turn On Heater1
Go To Beginning
Line Cooling
Turn On Cool1
Go To Beginning
Related
Keywords
BASEDON..GOTO
LINE
Products
Supported
Modes
Available
Programs
7-146
Schneider Electric
Format
Function
Purpose
Remarks
7-147
HangUp, continued
Remarks
continued
When you use HangUp from the command line, it returns right away,
before the hanging up actually begins. In this case, the response that
HangUp first returns reflects the first response to HangUp rather than
the final result.
HangUp can return one of the following results:
SUCCESSController has successfully disconnected from the
workstation or other device.
FAILUREIf the commport is not in the correct mode or the default
port is not defined in the program.
If the Mode of the port is PPP, Window, or Command, then HangUp
does not hang up the phone. Instead, it returns FAILURE and
reactivates the program that attempted to hang up.
If the Mode of the port is AutoSet or Printer, then HangUp turns off
DTR, returns SUCCESS, and reactivates the program that is hanging
up.
Hanging Up While Dial is in Process
If the Mode of the port is Raw, and DIAL is in progress, HangUp
responds as follows:
7-148
If CXD is still ON sets DTR to OFF and waits 10 seconds for the
modem to reinitialize.
Returns FAILURE.
Schneider Electric
HangUp, continued
Remarks
continued
Discards all characters the controller has not yet printed to the port.
If CXD is ON then sets DTR to OFF and waits 10 seconds for the
modem to reinitialize.
Sets the PrintDone attribute of the port to True when the last
PRINT has been completed.
CAUTION
If you attempt to use CLOSE instead of hanging
up while the port is connected using DIAL, CLOSE
is successful, but the phone does not disconnect.
If you do not HangUp, the line is still open and you
are still paying for the connection
7-149
HangUp, continued
Example 1
Example 2
7-150
Schneider Electric
HangUp, continued
Example 3
Related
Keywords
DIAL
CLOSE
OPEN
READ
InitModem
WRITE
Products
Supported
Modes
Available
7-151
HOD
System variable
Format
HOD
Purpose
Remarks
You cannot change the HOD. The controller automatically updates it.
Example 1
You can use the decimal form of the time to see if the time is past
5:30 a.m.
Program File
If Hod is greater than 5.50 then . . . .
Example 2
Related
Keywords
HOUR
SECOND
Alias
HOUROFDAY
Products
Supported
Modes
Available
7-152
Schneider Electric
MINUTE
TOD
HOUR
System variable
Format
HOUR
Purpose
Remarks
Example
To take action every day at 5:00 a.m., you would check the hour with
the following statement:
Program File
If Hour is Equal to 5 then Goto StartUp
Related
Keywords
HOD
MINUTE
SECOND
TOD
Alias
HR
Products
Supported
Modes
Available
7-153
IF..THEN..ELSE
Statement
Format
Format Rules
7-154
Schneider Electric
IF..THEN..ELSE, continued
Format Rules
continued
Purpose
CAUTION
To use WHILE, FOR..NEXT, REPEAT..UNTIL or
similar looping statements with IF..THEN..ELSE,
you must use Format 2 or 4.
Remarks
Actions
7-155
IF..THEN..ELSE, continued
Example of
Format 1
Example of
Format 2
You use format 2 to take several actions if the expression is true and
to take no action if it is false:
Program File
If Wkd = Mon and Tod > 800 and TOD < 1600 then
Run the HeaterProg
Run the FanCheckProg
Stop the PumpProg
Endif
If the expression is false, the controller ignores the statements
following THEN and moves to the statement after ENDIF.
Example of
Format 3
7-156
Schneider Electric
IF..THEN..ELSE, continued
Example of
Format 4
Example of
Nested IFs
7-157
IF..THEN..ELSE, continued
Example of
Nested Ifs
continued
Notice that each IF ends with an ENDIF. The inner (indented) ENDIF
goes with the inner IF and ELSE, the outer ENDIF with the outer IF
and ELSE.
The ELSE and ENDIF that belong to the indented IF are aligned
under that IF. Notice that the last IF ends first.
Example of an
IF Statement
after THEN
7-158
Schneider Electric
IF..THEN..ELSE, continued
Example of a
Nonzero Value
number
Program File
If 10 then Start Burner
Here, since 10 is a nonzero value, it is interpreted as TRUE and will
cause the burner to fire up.
CAUTION
Be careful when programming with IF..THEN..ELSE
statements if the number is any nonzero value.
When this occurs, the number is interpreted as
TRUE and the THEN block is executed.
Related
Keywords
AND
IS. . .
OR
Products
Supported
Modes
Available
7-159
INFINET#COUNT
System variable
Format
INFINET#COUNT
Purpose
Remarks
The pound sign (#) can be either 1 (for COMM1 on a CMX 9924
series controller), or 2 for COMM2.
You cannot change the value of these system variables; the control
system software updates them automatically.
You may give the path to another CX series controller to find the total
Infinet controllers on one of its comm ports.
Example 1
After you have pressed the LEARN button for an Infinet on COMM1,
you can print the value of INFINET1COUNT on the command line as
follows:
Command Line
Print INFINET1COUNT
Example 2
To find out how many Infinet controllers are online on COMM2 of the
FLOOR6 99xx controller, you can print the value of INFINET2COUNT
on the command line as follows:
Command Line
Print Floor6 INFINET2COUNT
7-160
Schneider Electric
INFINET#COUNT, continued
Products
Supported
Related
Keywords
SELECT..CASE
Modes
Available
7-161
InitModem
Function
Format
Format 2: InitModem ( )
Format 3: InitModem (commport)
Purpose
Remarks
Before you can dial a call over a modem through a comm port, the
modem must be correctly set up. To set the modem up correctly is to
initialize it. To correctly initialize the port every time, use InitModem
rather than setting the comm port attributes for the modem.
InitModem applies only on a controller with an Infinity modem.
The controller may also connect over a modem to a third-party
controller with an ASCII interface, another Andover Contiuum
controller, a terminal, or a printer.
Replace commport with a Controller port that physically connects to
the modem. (Optional in a program.) The DefaultMode and Mode
attributes of the port must be set to AutoSet or Printer. If, in a
program, you do not indicate the comm port, InitModem uses the
default port you set at the top of the program or in the File
Configuration window. From the command line, you must indicate the
comm port. If the port is in Printer mode when InitModem tries to
initialize it, all characters waiting to print are discarded.
7-162
Schneider Electric
InitModem, continued
Remarks
continued
Attribute
TrackCXD
Baud
Parity
StopBits
DataLength
FlowControl
DTR
Setting
True
Equal to the DefaultBaud attribute of the port.
None
StopBit1
DataBits8
CtsRts
On
CAUTION
Be careful not to use InitModem to initialize Comm3 of a
controller if you want to keep that port set up for a
terminal since Comm3 does not automatically revert to
the terminal settings if the the controller resets.
After initializing Comm3, you can revert it to its original
settings, by manually setting the FlowControl attribute
Tffsasfff
of Comm3 to NoFlowControl either before or after you
reset the controller.
If you do not change FlowControl, Comm3 remains set
at CtsRts.
When you use InitModem, it returns right away, before the
initialization is actually complete. For this reason, you should wait up
to 10 seconds before checking for the result of InitModem (or before
taking the next action if you used it from the Command line).
While initializing the port, InitModem momentarily puts the port in Raw
mode and then returns it to its DefaultPort mode. You cannot use
PRINT or READ after InitModem. Instead, you must wait until the
comm port returns to its original DefaultMode setting and then use
DIAL or UpDate.
7-163
InitModem, continued
Remarks
continued
CAUTION
While Raw mode is temporarily in effect, you
cannot use READ to receive data from the port or
PRINT to send data to the port. If you do use them,
READ and PRINT both return failures.
InitModem can return one of the following results:
7-164
Schneider Electric
Resulting Action
Sets all modem setting to factory defaults.
Turns off screen display of commands and responses.
Enables short-form result codes.
Sets CXD (DCD) to ON while carrier is present; to OFF if it is not.
If DTR drops (becomes OFF), hang up the phone and reset the
modem.
Activates DSR when connection has been established.
Sets the modem to answer automatically after one ring.
Sets autoreliable mode to ON, turning on MNP error correction
protocols.
Sets the maximum block size in MNP to 256.
Monitors line quality and automatically falls back/forward in error
correcting mode.
Turns on the modem's MNP5 data compression/error correction
protocol.
Monitors busy signals. Sends only OK, Connect, Connect XXXX,
Ring, No Carrier, Error, No Dialtone, No Answer
Stores the current modem setup in memory.
InitModem, continued
Example 1
In order to correctly initialize the port, use the InitModem keyword before
dialing a call over the modem,.
Because the actual initialization process may take a few seconds, you
should wait for a few seconds before checking the result. In this example,
the line after InitializeModem waits 10 seconds before going to the
CheckModemInit line, where it checks the result of InitModem.
Program File
Numeric DialDelay, InitResult, DialResult, HangUpResult
SettingDelay:
DialDelay = 20
Goto InitializeModem
InitializeModem:
InitResult = InitModem (Comm3)
Goto WaitForModInit
WaitForModInit:
If TS > 10 THEN Goto CheckModemInit
CheckModemInit:
If InitResult = Success then Goto StartingDial
...
CheckingDone:
If Comm1 PrintDone then Goto CompletingComm
CompletingComm:
HangUpResult = HangUp (Comm3)
CheckingHangup:
If HangUpResult is not Success then Print "Could Not Hang Up Port"
Example 2
If you are using InitModem inside a program, you can have the program
automatically initialize the DefaultPort that you set in the File
Configuration window or at the top of the program. Just give InitModem
without a comm port name, as shown on the next page.
7-165
InitModem, continued
Example 2
continued
Program File
Numeric DialDelay, InitResult, DialResult, HangUpResult
SettingDelay:
DialDelay = 20
Goto InitializeModem
InitializeModem:
InitResult = InitModem ( )
WaitForModInit:
If TS > 10 then Goto CheckModemInit
...
Example 3
Related
Keywords
DIAL
HangUp
Products
Supported
Modes
Available
7-166
Schneider Electric
IOUCommFlt#
System variable
Format
IOUCommFltnumber
Purpose
Remarks
Example
Program File
If Floor1 IOUCommFlt2 = On then
Print "IOU #2 has failed"
Endif
This statement can be for IOUCommFlt1, IOUCommFlt2,
IOUCommFlt3, and so on, up to IOUCommFlt16 if you have that
many IOUs.
Products
Supported
Modes
Available
7-167
IS
Format
Operator
Greater-than-expression:
number > number
number is greater than number
number is above number
Greater-than-or-equal-to-expression:
number > = number
number is greater than or equal to number
Less-than-expression:
number < number
number is less than number
number is below number
Less-than-or-equal-to-expression:
number <= number
number is less than or equal to number
Equal-expression:
number = number
number is number
number is equal to number
number equals number
Not-equal-expression:
number < > number
number is not number
number is not equal to number
number does not equal number
List-inclusion-expression:
number is in list
number is range (see range-expression below)
number is either list
7-168
Schneider Electric
IS, continued
Format
continued
List-exclusion-expression:
number is not in list
number is not range (see range-expression below)
number is neither list
Range-expression:
number is between lower_number and higher_number
number is not between lower_number and higher_number
number is lower_number thru higher_number
number is not lower_number thru higher_number
Purpose
Remarks
Example 1
IS, continued
Example 1
continued
Program File
If Zone.Temp is greater than 70 then
If Zone.Temp is greater 70 then
If Zone.Temp is above 70 then
If Zone.Temp is less than 70 then
If Zone.Temp is less 70 then
If Zone.Temp is below 70 then
Example 2
The following statements are grouped together and give the same
instructions to the controller, because TO is optional and EQUALS
can stand alone without IS:
Program File
If Zone.Temp is equal to 70 then
If Zone.Temp is equal 70 then
If Zone.Temp equals 70 then
If Zone.Temp is not equal to 70 then
If Zone.Temp does not equal 70 then
Example 3
7-170
Schneider Electric
IS, continued
Example 4
IS, continued
Related
Keywords
AND
IF..THEN..ELSE
OR
WHILE
Products
Supported
Modes
Available
7-172
Schneider Electric
LCDPassword
System variable
Format
LCDPassword
Purpose
Remarks
Example
Enter the password in the Value text box of the System Variable
dialog box. Be sure the password is a number and only three
digits, such as 237.
Products
Supported
BACnet series, SCX 900 and 920, i2 series, and LCX 810 controllers
(with keypads only).
Modes
Available
N/A
LEFT
Function
Format
Purpose
Remarks
Example1
Program File
LVAL = Left("ABCDEF",2)
This statement returns "AB".
Example 2
Alias
FIRST
Products
Supported
Modes
Available
7-174
Schneider Electric
LENGTH
Function
Format
LENGTH (string)
Purpose
Remarks
Example 1
Program File
Result = Length ("ABCDE")
The LENGTH function returns 5 and the statement sets RESULT to 5.
Example 2
Program File
Result = Length ("")
The LENGTH function returns 0 and the statement sets RESULT to 0.
Alias
LEN
Products
Supported
Modes
Available
LINE
Statement
Format
Format 2: linename:
Format 3: Line integer
Format 4: integer:
Purpose
Remarks
7-176
Schneider Electric
LINE, continued
Remarks
continued
Format 4 is the integer followed by a colon (:) on its own line. In this
case, the line has a line number for a name.
You can label lines to redirect program flow to any part of the
program. For instance, you could return program flow to an earlier
line, such as the first line. Or you could send program flow to a later
line to branch into a specific set of actions.
Note: When you use View Programs in a CX series controller menu
system, one column tells you the line each executing file is on. If you
use words for line labels, rather than numbers, the View Programs
information becomes readily understandable. Labels such as
COOLING or HEATING tell you exactly what the controller is doing.
Example 1
LINE, continued
Example 2
This example is the same as the last, only each linename is labeled
with the name followed by a colon:
Program File
StartUp:
If Temp > 72 then Goto Cooling
If Temp < 70 Then Goto Heating
Heating:
Turn On the Heat
...
Goto StartUp
Cooling:
Turn On the Blower
...
Goto StartUp
Example 3
7-178
Schneider Electric
LINE, continued
Example 4
Example 5
The following program goes to line E and closes the comm port when
an error occurs.
Program File
Numeric Result
Line OpenPort3
Result = Open (Comm3)
Line TestingOpen
If Result = Success then Goto PrintMenus
LINE, continued
Example 5
continued
Line PrintMenus
Run MenuDisplay
.
.
.
If Comm3 PrintDone = True Then Goto ClosePort3
Line ClosePort3
Result = Close (Comm3)
Line TestingClose
If Result = Success then Stop
Line E
Result = Close (Comm3)
Print "Emergency Exit MenuProgram failed."
If you have a line E, when an error occurs, line E appears in the file
status information.
Remember that line E is available only on CyberStation, and CX
series and CMX series controllers.
Related
Keywords
BASEDON..GOTO
GOTO (can also use LINE with GOTO)
ROTATE
RUN
Products
Supported
Modes
Available
Programs
7-180
Schneider Electric
LINEPOINT
Function
Format
Purpose
Places a dot (vertex) on the DCX 250 Display Unit screen at the
horizontal and vertical dots you indicate. This dot is where a long
graphic line should bend or a polygon should begin a new side. The
dots are called line points. The line points do not actually appear on
the screen, but form the corners when lines or polygons print.
Returns SUCCESS or FAILURE.
Remarks
All LINEPOINT statements for the same line or polygon must always
be between a BEGINPOLYLINE statement and an ENDPOLYLINE
statement. You can have up to 100 line points in a single graphic line
(polyline) or polygon.
You cannot begin a new polyline with BEGINPOLYLINE between
LINEPOINT statements. You may draw only one polyline at a time.
Replace horizontal with the number of dots (line points) from the left
of the screen that the DCX 250 Display Unit should position the dot
horizontally. Can be an integer from 1 to 320, or a name or
expression that gives one. (See Appendix D for a description of the
250 screen layout.)
Replace vertical with the number of dots (line points) from the bottom
of the screen that the DCX 250 Display Unit should position the dot
vertically. Can be an integer from 1 to 200, or a name or expression
that gives one. (See Appendix D for a description of the 250 screen
layout.)
Horizontal and vertical positions set the location of the line point.
You do not need parentheses if LINEPOINT is at the beginning of a
statement.
Example 1
You can create a graph using LINEPOINT (see Figure 7-13) by giving
the dots (line points) you want to graph in a program.
First, you must have a SETDISPLAY statement that sets the display
to NOFILL. NOFILL always gives a graphic line rather than a polygon.
LINEPOINT, continued
Example 1
continued
7-182
Schneider Electric
LINEPOINT, continued
Example 2
LINEPOINT, continued
Example 3
7-184
Schneider Electric
LINEPOINT, continued
Example 3
continued
250 SCREEN
Figure 7-15. Graph drawn with LINEPOINT using and array of values.
LINEPOINT, continued
Example 3
continued
You can also label the graph and add scales as described under the
Locate keyword.
250 SCREEN
Related
Keywords
BEGINPOLYLINE
ENDPOLYLINE
LOCATE
Products
Supported
Modes
Available
Programs
7-186
Schneider Electric
LN
Function
Format
LN (integer_expression)
Purpose
Remarks
Example
Program File
LGVAL = LN(3.2)
The natural log of 3.2 is returned and placed in LGVAL.
Products
Supported
Modes
Available
LOAD
Statement on controller
Format 1: LOAD
Format
Format 2: LOAD -o
Format 3: LOAD -m
Format 4: LOAD -o -m
Purpose
7-188
Schneider Electric
Remarks
Example 1
Example 2
The following example loads a dump file from a disk into the controller
to replace any points, programs, or other items (objects) on the
controller with information from the dump file:
Command Line window on controller
LOAD o
On the terminal, within 60 seconds you type a command to send the
file from the communications package on the computer. The
command is determined by the communications package used. The
following is an upload command from HyperTerminal:
Host Computer Running HyperTerminal
upload C: ctrlinfo
Example 3
In the following example, while the dump file or database reloads into
the controller, the controller sends messages to the Messages
window:
Command Line window on controller
LOAD m
On the terminal, within 60 seconds you type a command to send the
file from the communications package on the computer. The
command is determined by the communications package used. The
following is an upload command from HyperTerminal:
Host Computer Running HyperTerminal
upload C: ctrlinfo
Example 4
7-190
Schneider Electric
Example 4
continued
Related
Keywords
SAVE
Alias
RELOAD
Products
Supported
Modes
Available
Command lines.
LOAD
Statement on workstation
Format
Purpose
7-192
Schneider Electric
Purpose
continued
a (append)
o (override)
The x option stands for distribute personnel.
Remarks
Example 1
Example 2
The following example loads only the information about the Temp1,
Temp2, and Temp3 points into the Floor1 controller from a
workstation:
Command Line
LOAD Floor1 Temp1, Floor1 Temp2, Floor1 Temp3 o
Other information on the controller, such as Infinet controllers and
other points, remains intact.
Example 3
You can use LOAD from a program as well as from the command
line. For instance, to reload a controller that has been reset by some
strong, external interference, you may want to load the information
from the database when the FREEMEM system variable is greater
than a predetermined value:
Program File
Line CheckingMem
If FreeMem > 18,000 then Goto UpdateMem
Line UpdateMem
LOAD Floor4 o
Line EndingLoad
Goto CheckingMem
Notice that the program does not require a GOTO after the LOAD
statement. The program automatically proceeds to the next line.
Example 4
7-194
Normally, when you use LOAD from the command line, the software
automatically displays a window where you can confirm the load. To
have the software display that window when you use LOAD in a
program, you must use -c with the LOAD command:
Program File
Line UpdateMems
LOAD Floor4, Floor5, Floor6, Floor7 c o
Schneider Electric
Example 5
Command Line
LOAD Personnelfile.CSV a
Personnel distribution is automatically done with CSV files.
Example 6
:
Program File
LOAD Floor1.dmp -o
Example 7
:
Program File
LOAD PersonnelFile.dmp x -o
The x option instructs the LOAD command to distribute personnel
records to the controller(s). Personnel distribution usually takes
place when something about their record, such as the card
number, has changed.
Related
Keywords
SAVE
Alias
RELOAD
Products
Supported
CyberStation
Modes
Available
LOCATE
Function
Format
Purpose
Places the next text you print on the DCX 250 Display Unit screen at
the location you indicate with left and bottom, which indicates the
number of dots from the left and from the bottom. The next text you
print appears at the location. Returns SUCCESS or FAILURE.
Remarks
To place text accurately, locate it in the position where the lower left
corner of the first character should begin.
You usually follow each LOCATE statement with a PRINT statement.
Replace left with the number of character dots from the left of the
screen that the DCX 250 Display Unit should position the text
horizontally. Can be an integer from 1 to 320, or a name or
expression that gives one. (See Appendix D for a description of the
250 screen layout.)
Replace bottom with the number of character dots from the bottom of
the screen that the DCX 250 Display Unit should position the text
vertically. Can be an integer from 1 to 200, or a name or expression
that gives one. (See Appendix D for a description of the 250 screen
layout.)
You do not need parentheses if LOCATE is at the beginning of a
statement.
Example 1
Suppose you want to print text on the screen to label two buttons.
First, you draw the buttons with, for instance, DRAWRECTANGLE.
Then you locate the text with the LOCATE function and print the
button label, as follows:
Program File
SetDisplay (Blue)
DrawRectangle 50, 100, 100, 120
DrawRectangle 50, 50, 100, 80
Locate 125, 105
Print "Open Valve"
Locate 125, 85
Print "Close Valve"
7-196
Schneider Electric
LOCATE, continued
Example 1
continued
Notice that you do not need the parentheses in this case, because
LOCATE is at the beginning of a statement. (You can, however, use
the parentheses to make the program easier to read.)
The labels appear next to the buttons as show in Figure 7-17.
250 SCREEN
OPEN VALVE
Lower left corner at 125, 105
CLOSE VALVE
Lower left corner at 125, 85
Example 2
LOCATE, continued
Example 2
continued
EndPolyLine
Locate 20, 130
Print "70"
Locate 20, 100
Print "50"
Locate 20, 70
Print "30"
Locate 35, 45
Print " 8
10
12
14
DrawLine 30, 42,110, 42
DrawLine 30, 42, 30, 145
16"
The title appears where you position the text as shown in Figure 7-18.
250 SCREEN
50
30
8
10
12
14
16
7-198
Schneider Electric
LOCATE, continued
Related
Keywords
Products
Supported
Modes
Available
Programs
LOG
Function
Format
LOG (integer_expression)
Purpose
Remarks
Example
Program File
Result = log(10)
This statement sets RESULT equal to 1.
Products
Supported
Modes
Available
7-200
Schneider Electric
MAXIMUM
Format
Function
Purpose
Remarks
Example 1
7 -201
MAXIMUM, continued
Example 2
There is a log called AV.TEMP that holds the average temperature for
each of the last five days. You can use the MAXIMUM function to
find the maximum temperature:
Program File
WklyMax = maximum (AV.TEMP)
If AV.TEMP contains 110, 114, 112, 108, 109, MAXIMUM returns 114
and the program statement sets WKLYMAX to 114.
Example 3
Example 4
Alias
MAX
Products
Supported
Modes
Available
7-202
Schneider Electric
MAXITEM
Format
Function
Purpose
Format 1: Finds the position (in a list) of the largest number. For
instance, returns 1 if the largest number is the first one in the list.
Format 2: Finds the index position of the largest number in the log.
Format 3: Finds the index position of the largest number in the array.
Remarks
Example 1
7 -203
MAXITEM, continued
Example 2
To find the index position of the largest number in a log, give the log
name in parentheses:
Program File
maxitem (Temp)
Example 3
To find the index position of the largest number in an array, give the
array name in parentheses:
Program File
maxitem (KW)
Example 4
Products
Supported
Modes
Available
7-204
Schneider Electric
MessageWindow
Constant
Format
MessageWindow
Purpose
Remarks
Example
Related
Keywords
STATUSLINE
Products
Supported
CyberStation
Modes
Available
7 -205
MicroPower
System variable
Format
MicroPower
Purpose
A predefined variable that you set to OFF to turn off battery power to
the ACX 781 controller. Turn off the battery power after AC power
fails, so that you preserve the life of the battery and extend the length
of time the controller can retain memory on battery backup.
Remarks
For advanced users only. Most often used in programs that respond
to loss of AC power.
When you set MicroPower to OFF and AC power is not present, you
shut off power to the ACX 781 controller.
Leave MicroPower set to ON while AC power is up. If AC power has
not failed, setting MicroPower to OFF has no effect. Instead of turning
off the CPU, it resets back to ON at the end of the scan once it has
determined that AC power is present and a shutdown has not
occurred.
After AC power goes down, the battery power takes over. Setting
MicroPower to OFF turns off battery power to the CPU at the end of
the scan that was in process before the AC power failure. As a result,
the controller does not operate at all until AC power returns.
When AC power returns to normal, the ACX 781 controller begins the
scan at the first program in the firing order list. All programs continue
on the line that they were on before you turned off the battery power
to the CPU.
To retain memory for the longest possible time, you should turn off
MicroPower as soon as possible after PowerFail becomes ON.
7-206
Schneider Electric
MicroPower, continued
Example
When the AC power fails on the ACX 781, the PowerFail system
variable becomes ON. You can have PowerFail trigger the following
looping program to turn off the 781 CPU if the power remains off for 2
minutes:
Program File
Line WaitForFail
If PowerFail is On then
Goto TimePowerDown
Else
Stop
Endif
Line TimePowerDown
If Tm > 2 then Goto TurnOffCPU
Line TurnOffCPU
If PowerFail is On then
Set MicroPower to Off
Else
Stop
Endif
Notice that since the PowerFail variable triggers the program
whenever the system variable changes, you must test to be sure that
PowerFail is ON, not OFF, before setting MicroPower to OFF.
Products
Supported
Modes
Available
7 -207
MID
Function
Format
Purpose
Remarks
Example 1
Program File
MIDSTR = MID("ABCDE", 2, 3)
MID returns "BCD" and the statement sets MIDSTR to "BCD".
Example 2
Program File
PARTSTR = MID("ABCDE", 9, 2)
Since the offset (9) is greater than string length, the statement returns
an empty string ("").
Products
Supported
Modes
Available
7-208
Schneider Electric
MINIMUM
Format
Function
Purpose
Remarks
Example 1
The MINIMUM function finds the minimum number in the following list
of variables:
Program File
BotNumber = minimum (Zone1, Zone2, Zone3, Zone4)
The BotNumber variable is assigned the minimum value found.
7 -209
MINIMUM, continued
Example 2
Suppose you have a log or array called AV.TEMP that holds the
average temperature for each of the last five days. You can use the
MINIMUM function to find the minimum temperature:
Program File
WklyMin = minimum (AV.TEMP)
If AV.TEMP contains 110, 114, 112, 108, 109, MINIMUM returns 108
and the program statement sets WKLYMIN to 108.
Example 3
Example 4
Products
Supported
Modes
Available
7-210
Schneider Electric
MINITEM
Format
Function
Purpose
Format 1: Finds the position (in a list) of the smallest number. For
instance, returns 1 if the smallest number is the first one in the list.
Format 2: Finds the index position of the smallest number in the log.
Format 3: Finds the index position of the smallest number in the
array.
Remarks
Example 1
7 -211
MINITEM, continued
Example 2
To find the index position of the smallest number in a log, you give
the log name in parentheses:
Program File
BotNumber = minitem (TEMP)
Example 3
To find the index position of the smallest number in an array, you give
the array name in parentheses:
Program File
BotNumber = minitem (KW)
Example 4
Products
Supported
Modes
Available
7-212
Schneider Electric
MINUS
Operator
Format
Purpose
Remarks
Example 1
Program File
KWH.PM = KWH.DAY minus KWH.AM
Example 2
Program File
KWH.PM = KWH.DAY - KWH.AM
Alias
- (minus sign)
Products
Supported
Modes
Available
7 -213
MINUTE
System variable
Format
MINUTE
Purpose
Remarks
Example
7-214
Schneider Electric
MINUTE, continued
Example
continued
Related
Keywords
HOD
HOUR
SECOND
TOD
Alias
MIN
Products
Supported
Modes
Available
7 -215
MOD
Operator
Format
Purpose
Remarks
Example
Program File
EXTRA = 5 Mod 2
The equation divides 5 by 2 and gives a remainder of 1, so EXTRA is
set to 1.
Alias
REMAINDER
Products
Supported
Modes
Available
7-216
Schneider Electric
ModemPower
Format
ModemPower
Purpose
A predefined variable you can set to OFF to turn off battery power to
the modem inside the door of the CX series controller. Turn off the
modem when AC power fails. This way you preserve the life of the
battery and extend the length of time the controller can operate on
battery backup.
Remarks
Example
When the AC power fails, the PowerFail system variable turns ON.
You can have PowerFail trigger the following looping program to turn
off the modem if the power remains off for 10 minutes.
Program File
Line WaitForFail
IF PowerFail is On then
Goto TimePowerDown
Else
Stop
Endif
Line TimePowerDown
If Tm > 10 then Goto TurnOffModem
7 -217
ModemPower, continued
Example
continued
Line TurnOffModem
If PowerFail is On then
Turn ModemPower to Off
Else
Stop
Endif
Notice that since the PowerFail variable triggers the program
whenever the system variable changes, you must test to be sure that
PowerFail is ON, not OFF, before setting ModemPower to OFF.
Related
Keywords
PowerFail
CPUPower
DCXPower
MicroPower
Products
Supported
Modes
Available
7-218
Schneider Electric
MONTH
System variable
Format
MONTH
Purpose
Remarks
You cannot change the MONTH. The system automatically updates it.
When printed, the month is spelled out as January, February, and
March, and so on through December. You may, however, compare the
MONTH to:
Example 1
Constant
Short Name
1
2
3
4
5
6
7
8
9
10
11
12
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
DEC
Long Name
January
February
March
April
May
June
July
August
September
October
November
December
You can use the spelled out (long) names for printing or for
comparing to an actual month:
Program File
If Month Is December then Print Month
Output
December
7 -219
MONTH, continued
Example 2
You can use the short names for comparing the month:
Program File
If Month is either Jun, Jul, Aug, or Sep then.
Example 3
You can use the constants 1 through 12 for comparing the month:
Program File
If Month is 2 then.
Alias
MTH
Related
Keywords
DAYOFMONTH
DAYOFYEAR
YEAR
Products
Supported
Modes
Available
7-220
Schneider Electric
MOVE
Format
Statement
Purpose
Remarks
Example 1
Example 2
7 -221
MOVE, continued
Related
Keywords
SET
Alias
MODULATE
Products
Supported
Modes
Available
7-222
Schneider Electric
NewAlarmCount
System variable
Format
NewAlarmCount
Purpose
Remarks
Example 1
You can also use the NewAlarmCount in a program to see how many
alarms have not been sent to the workstation and take appropriate
action:
Program File
If NewAlarmCount > 0 then
7 -223
NewAlarmCount, continued
Products
Supported
Modes
Available
7-224
Schneider Electric
NOFILL
Constant
Format
NOFILL
Purpose
Sets the graphics on the DCX 250 Display Unit screen to lines rather
than filled solids when you use it with SETDISPLAY.
Remarks
The graphics on the 250 screen may be filled (FILL) or not filled
(NOFILL).
Example
Related
Keywords
FILL
SETDISPLAY
Products
Supported
Modes
Available
Programs
7 -225
NOT
Operator
Format
NOT number
Purpose
Remarks
Example
Products
Supported
Modes
Available
7-226
Schneider Electric
NUMERIC
Statement
Format
Purpose
Remarks
Replace namelist with the name of the numeric variable you are
defining, or a series of numeric variables separated by commas.
Replace array_size_number with a number up to 32,767 that tells the
controller how many positions are in the array.
You must define all local numeric variables at the top of your
program.
Example 1
Suppose that you are averaging the values of ten temperatures. The
points that take the outside air temperature have been defined using
menus and windows, but you define the variable that contains the
average using Numeric:
Program File
Numeric Avg.Temp
Avg.Temp = Average (Temp1, Temp2, ., Temp10)
Print Avg.Temp
Example 2
7 -227
NUMERIC, continued
Example 3
Example 4
You can define several arrays of numeric variables and several single
variables in a single statement:
Program File
Numeric Fan.Sp [20], Pump.Sp, Ahu.Sp [10], Heat.Sp
Related
Keywords
DATETIME
STRING
Alias
NUMBER
Products
Supported
Modes
Available
Programs
7-228
Schneider Electric
NUMTOSTR
Function
Format
NUMTOSTR( number )
Purpose
Remarks
Example
Related
Keywords
STRTONUM
Products
Supported
Modes
Available
7 -229
Statement
Format
OBJECT var_namelist
Purpose
Creates and defines one or more local variables that can each hold
the name of an item (also called an "object"). An object is any defined
item on a controller or workstation. You define the local variables
inside a program for use only in that particular program.
Remarks
Example 1
7-230
Schneider Electric
OBJECT, continued
Example 2
Example 3
You can set an object variable to any object and then read or set any
attributes of that object:
Program File
Object X
X = Floor4\Temp1
Print x Value
Prints the value of Temp1
Related
Keywords
CLOSELIST
GETOBJECT
OPENLIST
Products
Supported
Modes
Available
Programs
7-231
OFF
Constant
Format
OFF
Purpose
Remarks
Example 1
Program File
Turn the Lobby_Light Off
Example 2
Program File
If the Lobby_Light is Off then Turn Off the Heat
Products
Supported
Modes
Available
7-232
Schneider Electric
ON
Constant
Format
ON
Purpose
Remarks
Example 1
Program File
Turn On the Lobby_Light
Example 2
Program File
If the Lobby_Light is On then Turn On the Heat
Products
Supported
Modes
Available
7-233
-ON
Constant
Format
-ON
Purpose
Remarks
Example
Program File
If the Flow is greater than Setpoint then set the Damper to -On
Products
Supported
Modes
Available
7-234
Schneider Electric
OPEN
Format
OPEN (comm_port)
Purpose
Remarks
The comm_port names the comm port, or path to a comm port, that
you wish to use. You may use OPEN as a function only on comm
ports.
Verify that the mode of the comm port you open is set to RAW mode.
OPEN must always be the last statement on a labeled line or on a
line by itself. The line immediately following the OPEN line must test
for SUCCESS or FAILURE; otherwise, the control system software
considers it an OPEN error.
After you complete communications on the comm port and you open
the comm port with OPEN, you must close the port with CLOSE.
Example
You can open the connection to a comm port and check to see if it
was successful. Then, either read or write data to the port with a
CALL function you create:
Program File
Numeric Result
Line Opening
Result = Open (Comm1)
Line Sending
If Result = Success then
Read up to 80 characters into the point Rcv_String
Read (Comm1,80,Rcv_String)
Else
Print "Open Commport Failed" to Terminal1
Endif
Andover Plain English Language Reference
7-235
OPEN, continued
Example
continued
Related
Keywords
CLOSE
PRINT
READ
Products
Supported
CX series controllers.
Modes
Available
Programs
7-236
Schneider Electric
OpenFile
Function
Format
Purpose
Opens a text file so that you can retrieve (read) text from it, put text
into (write to) it, or both read from it and write into it.
Remarks
Replace a file with the name of any text file. If the file does not
already exist, the control system software creates it.
mode must be either ReadOnly, WriteOnly, or ReadWrite.
ReadOnly means you can only retrieve (read) text from the file, not
put (write) any text into it.
WriteOnly means you can only add (write) text into the file, not
retrieve (read) it.
ReadWrite means you can both retrieve (read) text from the file and
put (write) text into the file.
file_variable_name must be a control system software FILE variable
name you created earlier with FILE to correspond to a text file name.
Once you use FILE to create a FILE variable, you can use the name
to then open a text file with OpenFile.
OpenFile returns either SUCCESS or FAILURE.
Example 1
First you create a FILE variable name with FILE. You can then open a
text file under that name with OpenFile, as shown in this example.
Program File
File ZoneData
Numeric Chars, OK
String 80 Dataline
Line Opening
If OpenFile ("c:\text\zone.txt", WriteOnly, ZoneData) = Failure then
Print "File Open Failed"
7-237
OpenFile, continued
Example 1
continued
Goto Closing
Else
Goto Writing
Endif
Line Writing
.
.
Line Closing
If CloseFile (ZoneData) = Failure then Print "File Close Failed"
The control system software takes the text file name in the string
("c:\text\zone.txt") and assigns it to the ZoneData variable.
Notice that because OpenFile returns SUCCESS or FAILURE, you
can place it inside an IF..THEN statement.
After you open the file and take action on it, you must close the file
with CloseFile using the name you created with FILE.
Example 2
Once you have defined the array of FILE variables, you can open
multiple text files. The following example shows opening \zone1.txt,
\zone2.txt, and \zone3.txt in a FOR..NEXT loop. The loop uses the
index variable (FILENUM) when forming the string for the text file
name. If OpenFile fails for any of the files, the control system software
breaks out of the loop (using the BREAK keyword) and carries out the
rest of the statements in the line.
Both breaking out of the loop and successfully completing the loop
send the control system software to the next statement. If the result of
OpenFile is SUCCESS, then the control system software goes to the
READING line and does not execute any more statements under
OPENING. If the result is FAILURE, the control system software skips
the Goto Reading instruction and goes to the next statement, where it
prints a message, sets FILESOPEN to the number of files
successfully opened (so it knows how many to close), then goes to
the CLOSING line.
7-238
Schneider Electric
OpenFile, continued
Example 2
continued
Program File
File ZoneData [3]
Numeric OK, FileNum, Index, FilesOpen
Line Opening
For FileNum = 1 to 3
OK = OpenFile ("c:\zone";FileNum;".txt", WriteOnly, ZoneData[FileNum])
If OK = Failure Then Break
Next FileNum
If OK = Success then Goto Reading
Print "File Open Failed for ZoneData";FileNum
Set FilesOpen = FileNum 1
Goto Closing
Line Reading
Set FilesOpen to FileNum
.
.
Line Closing
For Index = 1 to FilesOpen
Set OK to CloseFile (ZoneData[Index])
If OK = Failure then Print "File Close Failed for ZoneData";Index
Next Index
If OK = Success then Print "File Processing Completed Successfully"
Related
Keywords
CLOSEFILE
WRITEFILE
Products
Supported
CyberStation.
Modes
Available
Programs
FILE
FAILURE
POSITIONFILE
SUCCESS
READFILE
7-239
OpenList
Function
Format
Purpose
Opens a list of all the objects in the class you give on the controller
you indicate. The list is always of the particular class of objects you
give.
Remarks
Replace class with the name of the class (type) of objects you want
in the list or string variable that contains the name. If you give the
actual class, it must be in quotation marks. The class name must be
spelled correctly (see list given on the next page).
Replace object_var with a local OBJECT variable you defined earlier
with the OBJECT statement. The variable cannot stand for an already
opened list.
Replace controller_or_site with a name or path to a particular
controller or workstation on the EnergyNet or Infinet or a local
OBJECT variable that stands for one. If you do not give a name or
path, the control system software assumes you mean the workstation
or controller to which you are connected. Or, if you give the Network,
Device or Folder class and no controller, the control system software
assumes you mean the root level.
Returns SUCCESS or FAILURE.
7-240
Schneider Electric
OpenList, continued
Remarks
continued
DigitalInput
DigitalOutput
DistributionBatch
DistributionObject
Door
DoorList
ElevatorInfo
ErrorEvent
EventEnrollment
EventLogControl
EventNotification
EventView
Filter
Folder
Function
Graphics
Group
GroupMember
ImExportRef
InfinityController
InfinityDateTime
InfinityFunction
InfinityInfinetCtlr
InfinityInput
InfinityNumeric
InfinityOutput
InfinityProgram
InfinityString
InfinitySystemVariable
IOUModule
ListView
MultistateInput
MultistateOutput
MultistateValue
Network
NetworkDialup
Numeric
ParamInfo
Personnel
Program
RootClass
Schedule
SecurityLevel
SecurityLink
ShortCut
String
TemplateInfo
User
7-241
OpenList, continued
Example 1
After you have defined a local OBJECT variable called VAVPoint, you
can open the list of outputs with OpenList, as in the following
program.
Program File
Object VAVPoint
Numeric OK
Line OpenPoints
OK = OpenList ("InfinityOutput", VAVPoint, Floor1 Room2VAV)
If OK = Success then
Goto GetPoints
Else
Print "Cannot Open List"
Stop
Endif
Line GetPoints
If GetObject (VAVPoint) is not Success then Goto ClosePoints
If VAVPoint State is Disabled then Print VAVPoint Name
Line ClosePoints
OK = CloseList (VAVPoint)
If OK = Failure then Print "Cannot Close List"
Stop
Notice that the class (InfinityOutput) is in quotation marks.
Once the list is open, the program then gets each point on the Floor1
Room2VAV controller with GetObject (see GetObject keyword for
more detail). Notice that because the program is looping, you use the
STOP keyword to prevent it from repeating the actions on the
ClosePoints line.
Example 2
7-242
You can print a list of disabled programs on a controller and vary the
controller by using a local OBJECT variable to contain the controller
name. Once you have defined the OBJECT variable, you can use that
variable with OpenList.
Schneider Electric
OpenList, continued
Example 2
continued
Program File
Object Prog, CXFloor
Numeric OK
Line OpenProg
Set CXFloor = Floor2
OK = OpenList ("InfinityProgram", Prog, CXFloor)
If OK = Success then
Goto GetProgs
Else
Print "Cannot Open List"
Stop
Endif
Line GetProgs
If GetObject (Prog) is not Success then Goto CloseProg
If Prog State is Disabled then Print Prog Name
Goto GetProgs
Ling CloseProg
OK = CloseList (Prog)
If OK = Failure then Print "Cannot Close List"
Stop
This fallthru program checks the state of each program it retrieves
from Floor2. If the program is disabled, the control system software
prints the program name. When the control system software has
finished getting all the programs, you have a list of the disabled
programs.
The resulting list includes only programs on Floor2, not on any other
controller.
You can also get a list of programs from a workstation by setting the
CXFloor local OBJECT variable to the name of a workstation. If you
do not give a controller or workstation name, the control system
software gives the programs from the controller you are connected to
or workstation you are operating.
7-243
OpenList, continued
Example 3
You can open a list of the Infinet controllers on the CX controller. (In this
example, the program is looping.)
If the controller is running the program, you do not have to give the name of
the controller. If it is another controller, however, you must give the full path
to the controller.
Program File
Object infController
Numeric Count, OK
Line OpenController
OK = OpenList ("InfinityInfinetCtlr", InfController)
If OK = Success then
Goto GeTController
Else
Print "Cannot Open List"
Stop
Endif
Line GeTController
If GetObject (InfController) is not Success then Goto CloseController
If InfController CommStatus is OffLine then
Print InfController Name
Count = Count + 1
Endif
Line CloseController
OK = CloseList (InfController)
If OK = Failure then Print "Cannot Close List"
Pr Count
Stop
Notice that the class name for an Infinet controller is InfinetCtlr, spelled
exactly that way. Use the "Infinity" prefix in the class name, as in
"InfinityInfinetCtlr", when you run the program at the workstation level. If a
program is to be run at the controller level, then do not use the prefix.
This program checks the CommStatus of each Infinet controller on the
EnergyNet controller. If the controller is off-line, the control system software
prints the controller name and adds 1 to the Count numeric variable. When
the control system software has finished checking all the controllers, you
have a list of the Infinet controllers that are off-line and a total of the number
of controllers that are off-line.
7-244
Schneider Electric
OpenList, continued
Example 4
You can retrieve both input and output points by having a string that
you can set to either class. In this case, you use an array variable
called IOPoints with two entries; entry 1 is "Output" class, and entry 2
is "Input" class.
You then get the points from first one class, then the other by using
the array variable in the OpenList statement:
Program File
Object CurrentPoint
String IOPoints[2]
Numeric Index
Starting:
IOPoints[1] = "InfinityOutput"
IOPoints[2] = "InfinityInput"
Index = 1
Goto OpenPoints
OpenPoints:
OK = OpenList (IOPoints[Index], CurrentPoint,~
Building1 Floor1 Room2)
If OK = Success then
Goto CheckPoints
Else
Print "Cannot Open List"
Stop
Endif
CheckPoints:
If GetObject (CurrentPoint) is not Success then Goto ClosePoints
Pr CurrentPoint
ClosePoints:
OK = CloseList (CurrentPoint)
If OK = Success then
Index = Index + 1
Else
Print "Cannot Close List"
Stop
Endif
7-245
OpenList, continued
Example 4
continued
Example 5
You can retrieve the name of every disabled program on every Infinet
controller on every CX controller. You can do so by using a local
OBJECT variable for the controller called ENETCTLR, another for the
Infinet controller called INETCTLR, and another for the program
called CURRENTPROG.
The way the sample looping program works is similar to how nested
IFs work in a fall thru program. The arrows indicate the opening and
closing statements nested within the program on the next page.
The first OpenList statement opens the list of CX controllers, the next
list of Infinet controllers, and the last of the programs. (They do not
appear indented as nested IFs do.)
The CloseList statements appear in the opposite order. Once you
have retrieved all the programs, you close the program list; then you
close the Infinet controller list, and finally you close the CX controller
list.
Notice that the first OpenList statement does not give a path. That is
because this sample program is on a CX controller, and the current
controller is the path to other controllers.
7-246
Schneider Electric
OpenList, continued
Example 5
continued
If you want all controllers on all sites, you have to open the site list first.
Program File
Object EnetCtlr, InetCtlr, CurrentProg
Numeric Count
OpenEnergyNet:
If OpenList("InfinityController", EnetCtlr) = success then
Goto GetEnergyNet
Else
Print "Cannot Open EnergyNet List"
Stop
Endif
GetEnergyNet:
If GetObject(EnetCtlr) = Success then Goto OpenInfinet
Goto CloseEnergyNet
OpenInfinet:
If OpenList("InfinityInfinetCtlr", InetCtlr, EnetCtlr) = Success then
Goto GetInfinet
Else
Print "Cannot Open Infinet List: ", EnetCtlr Name
Goto GetEnergyNet
Endif
GetInfinet:
If GetObject(InetCtlr) = Success then
Goto OpenProg
Else
Goto CloseInfinet
Endif
OpenProg:
If OpenList("InfinityProgram", CurrentProg, InetCtlr) = Success then
Count = 0
Goto CheckProg
Else
Print "Cannot Open Program List: ", EnetCtlr Name, InetCtlr Name
Goto GetInfinet
Endif
7-247
OpenList, continued
CheckProg:
If GetObject (CurrentProg) is not Success then Goto CloseProg
If CurrentProg State is Disabled then
Print EnetCtlr Name, InetCtlr Name, CurrentProg Name
Count = Count + 1
Endif
Example 5
continued
CloseProg:
If CloseList(CurrentProg) = Success then
Print "Total disabled progs in |* |* is |###", EnetCtlr Name,~
InetCtlr Name, Count
Else
Print "Cannot Close Program List"
Endif
Goto GetInfinet
CloseInfinet:
If CloseList(InetCtlr) is not Success then
Print "Cannot Close Infinet List: ", InetCtlr Name
Endif
Goto GetEnergyNet
CloseEnergyNet:
If CloseList(EnetCtlr) is not Success then
Print "Cannot Close EnergyNet List"
Endif
Stop
The following is an exact description of what the program does. A flow
chart for the program is shown on Figure 8-19. The control system
software opens the list of CX (Infinity) controllers on EnergyNet, and then
gets the first CX (EnetCtlr) controller.
If the GETOBJECT successfully retrieves the CX controller, the control
system software opens the list of Infinet controllers on that CX controller.
It then gets the first Infinet controller.
7-248
Schneider Electric
OpenList, continued
Example 5
continued
7-249
OpenList, continued
Example 5
continued
Open
EnergyNetList
Close
EnergyNet
No
Get
EnergyNet
Controller ?
Yes
Open Infinet
List
Get
Infinet
Controller ?
No
Close Infinet
List
Yes
Open
Program List
Close
Program List
No
Get
Another
Program ?
Yes
Process
Program
STOP
7-250
Schneider Electric
OpenList, continued
Example 6
You can retrieve a list of sites under the root by giving the Site class
an OBJECT variable name with OpenList:
Program File
Object NetName
Numeric OK
Line OpenSites
OK = OpenList ("Network", SiteName)
If OK = Success then
Goto GetSites
Else
Print "Cannot Open List"
Stop
Endif
Line GetSites
If GetObject (SiteName) is not Success then Goto CloseSites
Print SiteName Name
Line CloseSites
OK = CloseList (SiteName)
If OK = Failure then Print "Cannot Close List"
Stop
Related
Keywords
GetObject
Object
CloseList
Products
Supported
Modes
Available
Programs
7-251
OR
Operator
Format
Purpose
Remarks
Replace number with any number, name that stands for a number,
formula or function that gives a number.
Replace namelist with one or more names with commas between
them.
Replace final_name with a single name at the end of a series of
names.
OR with the last name is optional.
The controller carries out all other operations (such as adding and
subtracting) before it acts on OR (or AND).
In Chapter 6 under "Order of Action" the listing compares the order
the system software acts on all operators. Because OR (and AND)
are acted on last, you can form logical statements without using too
many parentheses. See Example 4 for how to use AND and OR
together.
The exclamation mark (!) is the alias for the logical OR only.
Example 1
7-252
Schneider Electric
OR, continued
Example 2
Example 3
You can also combine the logical OR with a name list containing an
OR (with or without the comma before OR) as follows:
Program File
If the Zone is Warm, Occupied or Low or Heat is Off then
If the Zone is Warm, Occupied, or Low or Heat is Off then
The system software always interprets the first OR as the list OR and
the second as the logical OR. If you want to reverse the order of the
statement, use parentheses, as follows:
If (Heat is Off) or Zone is Warming, Occupied, or LowTemp then...
Example 4
7-253
OR, continued
Related
Keywords
AND
IF..THEN..ELSE
IS
Products
Supported
Modes
Available
7-254
Schneider Electric
Statement
Format
P list
Purpose
Remarks
Example 1
Command Line
P SupplyAir, ReturnAir, BurnerStat, CoilStatus
SupplyAir = 46 degrees F
ReturnAir = 68 degrees F
BurnerStat = ON
CoilStatus = OFF
Notice that the name of the point and the units print for each point.
7-255
P, continued
Example 2
Command Line
P OutsideAir, AVG (Temp), AvgSetPt, OutsideAir Type, Tod
OutsideAir = 46 degrees F
86
AvgSetPt = 64
OutsideAir TYPE = Input
TimeOfDay = 8 : 32 am
Alias
PR
Products
Supported
Modes
Available
7-256
Schneider Electric
PASSED
Function
Format
PASSED (arg_number)
Purpose
Remarks
Example
You can create a function that takes an argument and checks to see
if the argument is passed. The function below returns the number of
the argument that has the highest value. It returns when it finds the
first argument that is not passed. The function called MAXITEM,
predefined in the language and described earlier in this chapter, is as
follows:
Program File
Numeric Count, LastMax
LastMax = 1
For Count = 1 to 15
If not (passed(Count)) then Return (LastMax)
If Arg[Count] > LastMax then LastMax = Count
Next Count
Related
Keywords
ARG
Products
Supported
Modes
Available
Programs
7- 257
PlayAudio
Statement
Format
Purpose
Remarks
Example
You may want to play a prerecorded audio sample from the command
line on the CyberStation. To play the audio sample in the buzzer.wav
file one time only, use PlayAudio as follows:
Command Line
PlayAudio "buzzer.wav"
7- 258
Schneider Electric
PlayAudio, continued
Products
Supported
Cyberstation
Modes
Available
7- 259
PLUS
Operator
Format
Purpose
Remarks
Example 1
Program File
TotalKwh = KwhMonth plus KwhDay
Example 2
Program File
TotalKwh = KwhMonth + KwhDay
Alias
Products
Supported
Modes
Available
7- 260
Schneider Electric
PositionFile
Function
Format
Purpose
Remarks
After you open the file with OpenFile, a new read or write process
(READFILE or WRITEFILE) automatically starts at the top of the file
(FILEBEGIN) without using PositionFile to set it.
If you have been reading a file, the next read automatically begins
where you last finished reading, unless you set a new starting
position with PositionFile. The same applies for writing.
Returns SUCCESS or FAILURE.
file_variable_name must be a control system software FILE variable
name you created earlier with FILE to correspond to an file name.
Replace offset with the direction and number of characters from the
starting_position to start reading/writing in the file. You may indicate
to move forward with a plus sign (+) or backward with a minus sign
().
Starting_position tells where to begin reading or writing in the file.
Must be one of the following:
Example 1
FILEBEGIN
FILECURRENT (where you left off last read or write)
FILEEND.
After you define a local FILE variable name and open the file (with
OpenFile), you can start either reading (with ReadFile) or
writing (with WriteFile) at a particular position in the file. Use
PositionFile to set the starting position.
Suppose you want to read data from a file that lists controllers that
had a temperature more than 2 degrees from setpoint for more than 2
minutes in the last 24 hours. The file contains three records and looks
like this:
7- 261
PositionFile, continued
Example 1
continued
Text File
10:12 Building2 Room8
11:26 Building1 Room6
12:35 Building2 Room3
PositionFile sets up
ReadFile to begin
reading here, at
character eight.
You know that the controller name is 8 characters from the beginning
of the file because the time is stored in the first 5 characters and
followed by two spaces. The controllers are listed in order, so the first
one in the file is the first one that deviated from setpoint.
PositionFile tells ReadFile to start reading at the eighth character from
the beginning of the file, which is the first line starting with
"Building2..." When ReadFile reads 16 characters, it retrieves
"Building2 Room8" from the first line of the file and places it in the
DATALINE string.
You can have PositionFile set the starting position from FileBegin;
however, since ReadFile starts at the beginning anyway, it is more
effective to have PositionFile set the starting position from
FileCurrent. The starting position should be set from FileCurrent so
that when the control system software loops, it always moves to the
beginning of the next record as opposed to the eighth character.
The complete program, called ZoneReading, follows.
Program File
File ZoneData
String 80 DataLine
Numeric Chars, OK
Line Opening
If OpenFile ("c:\text\zone.txt", ReadOnly, ZoneData) = Failure Then
Print "File Open Failed"
Stop ZoneReading
Else
Goto Positioning
Endif
Line Positioning
If PositionFile (ZoneData, 8, FileCurrent) = Failure then
Print "Start Positioning Failed"
Goto Closing
Endif
7- 262
Schneider Electric
PositionFile, continued
Example 1
continued
Example 2
To set the position to begin writing to the end of the file, use
PositionFile with an offset of 0, as follows:
Program File
PositionFile (ZoneData, 0, FileEnd)
Example 3
After writing to somewhere within the file, you can reset the position to
start writing at the beginning of the file, by using PositionFile with
FILEBEGIN, as follows:
Program File
PositionFile (ZoneData, 0, FileBegin)
7- 263
PositionFile, continued
Example 4
To put a space between a series of records you are writing into a file,
set the position to start writing immediately after the last place the
control system software wrote with FILECURRENT, then add an
offset of 1, as follows:
Program File
PositionFile (ZoneData, 1, FileCurrent)
Example 5
Related
Keywords
CloseFile
FILE
OpenFile
ReadFile
WriteFile
FAILURE
SUCCESS
Products
Supported
CyberStation.
Modes
Available
Programs
7- 264
Schneider Electric
PowerFail
System variable
Format
POWERFAIL
Purpose
Remarks
Example
You can test to see if AC power is down and then turn off a
programmable system variable as follows:
Program File
If PowerFail is on then Set ModemPower to Off
Related
Keywords
PowerUpTime
CPUPower
ModemPower
Products
Supported
Modles
Available
7- 265
PowerUpTime
System variable
Format
POWERUPTIME
Purpose
Gives the date and time of the last warm or cold start of the AC
power.
Remarks
Example
You can find the number of hours that have passed since the AC
power was started:
Program File
TimeUp = DiffTime (Hour, PowerUpTime, Date)
Related
Keywords
POWERFAIL
Products
Supported
Modes
Available
7- 266
Schneider Electric
Format
Statement
Purpose
7- 267
PRINT, continued
Purpose
continued
Remarks
7- 268
Schneider Electric
PRINT, continued
Remarks
continued
Formatting
Characters
You may choose the layout of the print line and indicate it using the
following special symbols:
Symbol
"
numeric_ constant
#
$###
%
*
}
,
>
<
^
@
Description
Indicates the beginning of a series of characters strictly for
formatting and not to be treated as text. When followed by a
numeric constant, indicates an ASCII code follows (see below).
(A vertical bar immediately before a quotation mark.) Indicates
to print the quotation mark, rather than interpreting it as the
beginning or end of the string.
Produces the ASCII code that corresponds to the numeric
constant. For example, |7 would produce a bell or beep if
printed on a terminal. |13 is the carriage return character. See
the ASCII code chart in Appendix A for more codes.
Represents one character that is numeric. The series of
characters prints right-justified, filling with blanks any blank
characters to the left.
Displays either ON, -ON or OFF (as with a tristate output point).
Multiplies the point value by 100 and places a percent sign after
it (most useful with scale of 0 to 1, where 1 is 100%).
Represents an unlimited number of alphabetic or numeric
characters.
Prints a leading or trailing minus sign, if expression is a
negative number; prints a leading or trailing plus sign if
expression is a positive number.
Removes trailing zeros (extra decimal places).
Prints commas every third digit left of the decimal point.
Right justifies the number or text within the format.
Left justifies the number or text within the format.
Displays a numeric expression in scientific notation.
Represents one character of any kind, alphabetic or numeric.
The series of characters prints left-justified, filling with blanks
any blank characters to the right.
7- 269
PRINT, continued
Examples 1-21
Print WeekDay;
Print " ";
Print Month;
Print " ";
Print DayOfMonth
7- 270
Program File
Schneider Electric
Output /Explanation
WARNING-Trouble on the
4th Floor! /The string of
characters prints; the quotation
marks do not.
67 72 77 75
/ The value
of each variable in the list
prints, with a space after it.
The temperature is 75.0
at 4:32:05 / The string
prints with the value of the first
point (or variable) in the first
format and the value of the
next point or variable in the
next format. If there are more
than two formats, the
subsequent point or variable
values are printed in the
corresponding formats in
order.
1340 / Leaves 3 leading
spaces before the value of
Total_Watts. The value prints
on the terminal called
TERMINAL.
Tuesday January 2
/ Prints all text and spaces on
the same line because each
PRINT statement ends with a
semicolon (;).
/ Prints the value into the
string and changes its setting.
You can set a string point or
variable this way.
PRINT, continued
Examples 1-21
continued
No.
Program File
Output /Explanation
1,340
/ Drops extra decimal
places (trailing zeros).
The Fan Status is ON
11
Murphy Johnson
/
Outputs any number of
characters of any type that are
in the FullName attribute. The *
is particularly useful when you
do not want to limit the number
of characters in a variable.
12
Print "@@@@@@@@@@@@@@",~
STRMSG to Building1 Console
13
21.7
/ Right justifies
and drops the trailing 0.
10
14
7- 271
PRINT, continued
Examples 1-21
continued
No.
Program File
Output /Explanation
8,97e03+05 is the
"Total." / Prints the
number in scientific
notation. Also prints the
quotation marks around
VALUE, because a vertical
bar is before each
quotation mark that should
print.
8,97e-01
/ Prints in
scientific notation with
negative exponent.
+1.340e+06
/ Prints in
scientific notation with a
leading plus sign for a
positive number.
7- 272
Schneider Electric
PRINT, continued
Examples 1- 21
continued
No.
Output /Explanation
Date:
21
Example 22
Program File
December 4, 2005
To put data in an ASCII file, you first open it with OpenFile (see the
OpenFile keyword), then "print" into the file with the PRINT keyword, as
shown below:
Program File in CyberStation
Numeric Cnt, OK
File NewData
OpeningFile:
OK = OpenFile ("c:\tempdata.txt", WriteOnly, NewData)
If OK = Failure then Goto Ending Else Goto PrintToFile
PrintToFile:
Print "KWH Usage
Cost" To NewData
For Cnt = 1 to 10
Print "|######> |####.##>", KWHUsage[Cnt], Cost[Cnt] to NewData
Next Cnt
Goto ClosingFile
7- 273
PRINT, continued
Example 22
continued
ClosingFile:
OK = CloseFile (NewData)
If OK = Failure then Print "Cannot close text File"
Ending:
Stop
In this example, the local FILE variable called NewData represents an ASCII
file. After the OpenFile keyword opens the ASCII file, PRINT can refer to the
file by the local FILE variable name and put data into it. In this case, the
local FILE variable is NewData, so PRINT prints the KWH usage and cost
into the ASCII file.
OutPutTo the File
KWUsage
Cost
4567
548.04
8724
1134.12
3862
463.44
4532
543.84
3217
386.04
9421
1224.73
567
56.70
856
94.16
3763
451.56
589
70.68
7- 274
Schneider Electric
PRINT, continued
Example 23
If you put a semicolon at the end of the PRINT statement, the next
PRINT statement's results appear on the same physical line inside the
file:
Program File in CyberStation
Print "January: |####> |####.##> ", KWUsage, Cost; To NewData
Print "February: |####> |####.##> ", KWUsage, Cost To NewData
The resulting output appears as follows:
OutPutTo the File
January: 4567 548.04
Related
Keywords
CHR
P
TAB
FILE
OpenFile
Products
Supported
Modes
Available
7- 275
RANDOM
Function
Format
RANDOM (number)
Purpose
Remarks
Example
Alias
RND
Products
Supported
Modes
Available
7- 276
Schneider Electric
READ
Format
Purpose
Remarks
7- 277
Remarks
continued
Example 1
You can read input from a modem on Comm3 into a string called
ModemData as follows (you must also close the port afterwards):
Program File
Opening:
OpenResult = Open(Comm3)
Testing:
If OpenResult = Success then
Goto Reading
Else
Goto Failing
Endif
Reading:
Result = Read(Comm3, 132, ModemData, 100)
Printing:
If Comm3 TimedOut then Goto Closing
If Result = Success then
Print ModemData to InputFile
Else
Goto Closing
Endif
The timeout of 100 is 100 increments of 10 ms each, for a total of
1000 ms or 1 second.
Example 2
You can give a carriage return as the character that indicates the end
of the text to be read in a READ statement. Specify the carriage
return using the ASCII code for it, "|13". You must place the ASCII
code inside quotation marks to make it a string. (See "Formatting
Characters" under the PRINT keyword for a discussion of
thesymbol.)
Program File
Opening:
OpenResult = Open(Comm3)
Testing:
If OpenResult = Success then
Goto Reading
Else
Goto Failing
Endif
Reading:
Result = Read(Comm3, 132, ModemData, "|13")
Printing:
If Comm3 TimedOut then Goto Closing
If Result = Success then
Print ModemData to InputFile
Else
Goto Closing
Endif
Related
Keywords
CLOSE
OPEN
Products
Supported
Modes
Available
Programs
7- 279
ReadFile
Function
Format
Purpose
Retrieves data from (reads) a text file you opened earlier with
OpenFile. Retrieves the number of characters you indicate in the
chars_to_read argument.
Remarks
ReadFile, continued
Remarks
continued
Example 1
In this example, you first create a FILE variable called ZoneData with
FILE and then open a file under ZoneData with OpenFile. Then, read
from that text file with ReadFile.
Here, ReadFile reads the file opened under ZoneData and stores the
text it reads in DataLine. It reads 80 characters and stores them in the
DataLine string. After READING the file, the program prints the text
from DataLine to the screen.
ReadFile also stores the actual number of characters read in the local
numeric variable Chars.
Program File
File ZoneData
String 80 DataLine
Numeric Chars, OK
Line Opening
Set OK = OpenFile ("c:\text\zone.txt", ReadOnly, ZoneData)
If OK = Failure then
Print "File Open Failed"
Stop
Else
Goto Reading
Endif
7- 281
ReadFile, continued
Example 1
continued
Line Reading
OK = ReadFile (ZoneData, DataLine, 80, Chars)
If OK = Failure then
Print "File Read Failed"
Goto Closing
Endif
If OK = Success then Goto Printing Else Goto Closing
Line Printing
Print DataLine
The control system
Goto Reading
software executes this
Line Closing
statement when
OK = CloseFile (ZoneData)
ReadFile returns EOF.
Stop
Notice that if ReadFile returns Failure, the control system software
goes to the Closing line. If it returns Success, the control system
software goes to the Printing line; if it returns EOF, the control system
software goes to the Closing line.
You must close the file in all the situations where you have
successfully opened the file.
Example 2
In this example, you first create a FILE variable called ZoneData with
FILE and you open a file under ZoneData with OpenFile. You then
read from that text file with ReadFile.
Here, ReadFile reads the file opened under ZoneData and stores the
text it reads in DataLine.
ReadFile reads until it reaches the carriage return in the file
(designated by the ASCII code |13 with quotation marks around it). It
then stores the actual number of characters retrieved in the local
numeric variable Chars. You still must give a number of characters to
read. (See "Formatting Characters" under the PRINT keyword for a
discussion of thesymbol.)
This program functions similar to the last example.
ReadFile, continued
Example 2
continued
Program File
File ZoneData
String 80 DataLine
Numeric Chars, OK
Line Opening
Set OK = OpenFile ("c:\text\zone.txt", ReadOnly, ZoneData)
If OK = Failure then
Print "File Open Failed"
Stop
Else
Goto Reading
Endif
Line Reading
OK = ReadFile (ZoneData, DataLine, 80, Chars, "|13")
If OK = Failure then
Print "File Read Failed"
Goto Closing
Endif
If OK = Success then Goto Printing Else Goto Closing
Line Printing
Print DataLine
Goto Reading
Line Closing
OK = CloseFile (ZoneData)
Stop
Example 3
This example first creates a FILE variable named ZoneData with FILE
and opens a file under ZoneData with OpenFile. Then it reads from
that text file with ReadFile.
Here, ReadFile reads the file opened under ZoneData and stores the
text it reads in DataLine.
The file to read contains data separated by commas, as follows;
Floor1, Room1, 75, 72, Floor1, Room2, 74, 72, Floor1, Room3,
7- 283
ReadFile, continued
Example 3
continues
It reads until it reaches the comma (you designate the comma with
quotation marks around it). The program then stores the actual
number of characters retrieved in the local numeric variable Chars.
Even though you give an ending character, you must still give a
number of characters to read, in this case, 16.
Program File
File ZoneData
String 16 DataLine
Numeric Chars, OK
Line Opening
Set OK = OpenFile ("c:\text\zone.txt", ReadOnly, ZoneData)
If OK = Failure then
Print "File Open Failed"
Stop
Else
Goto Reading
Endif
Line Reading
OK = ReadFile (ZoneData, DataLine, 16, Chars, ",")
If OK = Failure then
Print "File Read Failed"
Goto Closing
Endif
If OK = Success then Goto Printing Else Goto Closing
Line Printing
Print DataLine
OK = PositionFile (ZoneData, 2, FileCurrent)
If OK = Failure then
Print "Positioning for Read Failed"
Goto Closing
Endif
Goto Reading
Line Closing
OK = CloseFile (ZoneData)
Stop
ReadFile, continued
Example 3
continued
This program functions similar to the way the last example did;
however, after each time the program reads the file and goes to the
Printing line, it sets the file to start reading two characters past where
it stopped. The two characters are the comma and the space after the
comma.
For more on how to set where to begin reading, see the PositionFile
keyword.
Related
Keywords
FILE
CloseFile
OpenFile
PositionFile
WriteFile
Products
Supported
CyberStation
Modes
Available
Programs
7- 285
ReadProperty
Function
Format
Purpose
Remarks
Example 1
Example 2
Example 3
Related
Keywords
WriteProperty, Relinquish
Products
Supported
Modes
Available
ReaderPower
System variable
Format
ReaderPower
Purpose
Remarks
Example 1
To see if any card reader on an ACX series controller has lost power,
first connect to the controller, then print the ReaderPower system
variable from the command line as follows:
Command Line
Pr ReaderPower
The control system responds as follows if the reader has lost power:
True
Example 2
If you want to take a particular action for every time a card reader on
an ACX series controller loses power, then you would use
ReaderPower in a program as follows:
Command Line
If LobbyController ReaderPower is True then Run LobbyEmergency
7- 287
ReaderPower, continued
Products
Supported
Modes
Available
Relinquish
Function
Format
Relinquish(Object_Property, Priority)
Purpose
Remarks
Multi-State Output
Multi-State Value
Analog Value
Binary Value
7- 289
Relinquish, continued
Example
Related
Keyworks
WriteProperty
ReadProperty
Products
Supported
Modes
Available
REPEAT..UNTIL
Statement
Format
REPEAT
statement
statement
UNTIL number
Purpose
Carries out the statements in the loop until the number is true.
Remarks
CAUTION
The scan action limits the number of statements that can execute
on one line to 5000. Be careful of exceeding the limit when using
REPEAT..UNTIL
Example
If you want to print all the values in an array, you could do the following:
Program File
Numeric Count
Count = 1
Repeat
Print OutsideAir[Count]
Count = Count + 1
Until Count = OutsideAir Size
Related
Keyworks
Break
Continue
Products
Supported
Modes
Available
Programs
7- 291
RETURN
Format
Statement
Format 1: RETURN
Format 2: RETURN number
Format 3: RETURN variable
Purpose
Remarks
Example 1
RETURN, continued
Example 1
continued
Example 2
To create a function called GetArea that calculates the crosssectional area of a circle, name the function file GetArea and enter
the following in the function file:
Function File
Arg[1] Radius
Return (3.14159 * (Radius^2))
Pass the radius into the function file from the calling statement in the
main program. Here is a sample calling statement:
Program File
Vol = GetArea(Radius) * LEG
This statement calls the GetArea function, giving it the radius, which it
requires to calculate the area.
Example 3
Products
Supported
Modes
Available
Programs
7- 293
RIGHT
Function
Format
Purpose
Remarks
Example
Program File
RGTVAL = Right("ABCDE", 3)
This statement returns "CDE".
Alias
LAST
Products
Supported
Modes
Available
ROTATE
Format
Statement
Purpose
Remarks
Example 1
7- 295
ROTATE, continued
Example 2
Example 3
Related
Keywords
LINE
RUN
STOP
Alias
ROT
Products
Supported
Modes
Available
ROUND
Function
Format
ROUND (number)
Purpose
Remarks
-4
-3
-2
-1
4.2
4.5
-3.1
-3.7
ROUND
CEILING
FLOOR
TRUNCATE
4
5
4
4
5
5
4
4
-3
-3
-4
-3
-4
-3
-4
-3
7- 297
ROUND, continued
Example 1
Program File
TMPVAR = Round (-42.7)
This statement returns -43.
Example 2
Program File
RNDVAL = Round (4.3)
This statement returns 4.
Products
Supported
Modes
Available
RUN
Statement
Format
Purpose
7- 299
RUN, continued
Purpose
continued
Remarks
RUN, continued
Example 1
Example 2
You can use RUN on the command line to start one or more pieces of
equipment:
Command Line
Run the Heater and the Fan
Example 3
Example 4
Example 5
Example 6
You can have a PRINT statement inside the Avg.Temp program print
a point value to the status line on your workstation, as follows:
Program File
Run Avg.Temp to StatusLine
7- 301
RUN, continued
Example 7
You can use RUN to save the results of running the humidity report in
a file named humid.Rpt:
Program File
Run HumidReport to "humid.Rpt"
This statement writes over any text that may already be in the
humid.Rpt file. If the humid.Rpt file does not exist, the CyberStation
automatically creates it.
Example 8
You can add the humidity report results to the end of a file named
Humid.Rpt without writing over the information already in the file
(such as from the previous version of the report) by adding WITH
APPEND to the RUN statement:
Program File
Run HumidReport to "Humid.RPT" with Append
Related
Keywords
LINE
ROTATE
STOP
Alias
Products
Supported
Modes
Available
Format
Purpose
Saves programs, points, or other items on the controller that you have
created. The controller saves these items in a file, called a dump file,
on a disk connected to the computer on the network. The computer
must be running a communications package with an ANSI terminal
emulator. You can later reload the file to put the information into the
controller.
Format 1: Saves every item on the connected controller.
Format 2: Saves the listed items from the connected controller.
Format 3: Saves all the items on the connected controller belonging
to the type or types listed.
Format 4: Saves all items from all CX controllers on the entire
EnergyNet, including the CX controller you are operating or the
controller to which you are connected. Saves them with a dictionary
listing their names and types.
Format 5: Saves all items from the CX controller you are on and all
Infinet controllers connected to it. Saves them with a dictionary
listing their names and types.
Purpose
continued
Remarks
Example 1
You can save all items on the entire controller by using ALL:
Command Window on Controller
Save ALL
7-304
Schneider Electric
Example 1
continued
Example 2
Example 3
You can save all items of a certain type on the connected controller,
such as all program files, by entering the type or a list of types:
Command Line
Save Program
This command line saves all files that are programs.
Command Line
Save Input
This command line saves all points that are inputs.
Command Line
Save Input, Output
This command line saves all points that are inputs and outputs.
Example 4
You can save all items from every controller on the entire EnergyNet
network, and store their types in a dictionary, by entering:
Command Line
Save EnergyNet
This command line saves all items with their types.
Example 5
You can save all items on the connected CX controller and all
controllers on Infinet, storing their types in a dictionary, by entering:
Command Line
Save Infinet
This command line saves all items with their types.
Example 6
You can save all items on the EnergyNet and on all controllers
on Infinet, storing their types in a dictionary, by entering:
Command Line
Save Site
This command line saves all items on all controllers with their types.
Example 7
7-306
Schneider Electric
Example 7
continued
ImportExport : Floor1
Floor1 OutsideAirTemp To 2, 4-6, Floor1
Floor1 Room1 NextUnOccTime To 4, 6, 8-9, Floor1, Infinet1
EndImportExport
EndDictionary
Refer to Appendix C for more examples of dump files.
Example 8
While you are saving all items on the connected controller, you can
send messages about any errors that occur to a message window
while saving:
Command Line
Save ALL -m
The following example saves all numeric items on the connected
controller, and sends messages about errors that occur to a message
window:
Command Line
Save Numeric -m
Example 9
Example 10
You can save a list that contains both particular items and item types:
Command Line
Save Chiller, Fan, Input, Output, Numeric
Example 11
Related
Keywords
LOAD
Alias
DUMP
Products
Supported
Modes
Available
Command lines
7-308
Schneider Electric
SAVE
Statement on workstation
Format
Purpose
Remarks
Remarks
continued
Replace file_string with a path to and name of the ASCII dump file
used to create and store the data. When you give the name, include a
.dmp extension. The file name must be in quotation marks. You can
also give a string point or local string variable that contains the name
of the file.
The dictionary ensures that when you load a controller later, the unit
knows about all objects. For instance if a program refers to a point on
another controller, the programs controller knows about that point
through the dictionary.
If you use multiple options, be sure that you do not separate them
with commas.
You can use SAVE from the command line or in a program. If you use
it in a program, you must use SAVE on a line by itself. You do not
have to indicate that the program should then go to the next line,
because it automatically proceeds to the next line after completing the
save.
See Appendix C for a complete description of the contents of a dump
file.
Example 1
You can create an ASCII dump file called FLOOR1.DMP that contains
all objects on a controller called FLOOR1 from a site called
BUILDING1 as follows:
Command Line
SAVE \Building1 Floor1 TO "c:\floor1.dmp"
You must give the disk location (c:) and the full path to the dump file.
The dump file automatically includes all objects on the FLOOR1
controller.
Example 2
To create a dump file that contains only the dictionary of the FLOOR1
controller, you would use the -d option as follows:
Command Line
Save \Building1 Floor1 to "c:\floor1.dmp" -d
This command line creates a file of only the dictionary.
7-310
Schneider Electric
Example 3
Include the b option to create a dump file of the Floor1 controller and
all its Infinet controllers as shown in the following command:
Command Line
Save \Building1 Floor1 to "c:\floor1.dmp" -b
This command line puts all of the data into the floor1.dmp file. The
dump file automatically includes all objects that exist on the controller
and on its Infinet controllers.
Example 4
To create a dump file of a controller that does not include all its
objects, you would include the -n option, as follows:
Command Line
Save \Building1 Floor1 to "c:\floor1.dmp" -n
Example 5
Since you want to overwrite any old data with the new data, you
would include the -o option to update an existing dump file for the
BoilerPanel as follows:
Command Line
Save \Building1 BoilerPanel to "c:\boiler.dmp" -o
Example 6
Example 7
To create a dump file of a report you would give the name of the
report, as follows:
Command Line
Save \Building2 TempRept to "c:\temps.dmp"
Example 8
Example 9
Related
Keywords
LOAD
Alias
DUMP
Products
Supported
CyberStation.
Modes
Available
Command lines
7-312
Schneider Electric
SCAN
System variable
Format
SCAN
Purpose
Remarks
Example
To find the average number of seconds per scan, you would run the
following program once every scan after all other programs have
been run:
Program File
Numeric Tot.Sca.SCS, Scan.Count, Scan.Avg
Set Tot.Scan.SCS, Scan.Count, Scan.Avg = 0
Line Totaling
Tot.Scan.SCS = Tot.Scan.SCS + Scan
Scan.Count = Scan.Count + 1
If Tod = 2359 then
Scan.Avg = Tot.Scan.SCS/Scan.Count
Print "The average scan for ", Wkd, " is ", Scan.Avg, "sec"
Set Scan.Avg = 0
Set Scan.Count = 0
Set Tot.Scan.SCS = 0
Endif
For each scan, the controller adds the length of the scan (in seconds)
to the total seconds for the day. Also for each scan, the controller
adds 1 to the scan counter.
At the end of the day (2359, or 11:59 p.m.), the controller divides the
scan total by the number of scans to obtain the average length of the
scans that day. It then prints the average for the day.
SCAN, continued
Example
continued
Alias
SC
Products
Supported
Modes
Available
7-314
Schneider Electric
SEARCH
Function
Format
Purpose
Remarks
Example 1
Program File
NSTR = Search ("ABCDE", "BC")
The search returns 2 and sets NSTR to 2, which is the position of the
search string BC in ABCDE.
Example 2
Program File
NSTR = Search ("ABCDE", "CB")
The search returns 0 and sets NSTR to 0 because CB is not in the
string.
Products
Supported
Modes
Available
SECOND
System variable
Format
SECOND
Purpose
Remarks
Example
If you want to take action every time 50 seconds of the minute have
gone by, you enter the following program statement:
Program File
If Second is greater than 50 then
Related
Keywords
HOD
HOUR
MINUTE
TOD
Alias
SEC
Products
Supported
Modes
Available
7-316
Schneider Electric
SELECT (CASE)
Statement
Format
Case Else
Else_Statement_List
EndSelect
Purpose
Remarks
Example 1
Example 2
Numeric ReportId
Statement
Example 3
7-318
Schneider Electric
Statement
Related
Keywords
Products
Supported
CyberStation
Modes
Available
Programs
SendEmail
Function
Format
Purpose
Allows the user to write an email and send it out directly from within a
controller to one or more recipients.
Remarks
Definition
To
Subject
Message
Cc
Bcc
Signature
7-320
Schneider Electric
SendEmail, continued
Remarks
continued
Error Code
0
1
2
3
4
11
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Definition
No error
Not called from a program
Illegal argument value
Illegal argument count
Not enough memory to complete the operation
Failed to create SMTP user session to the email server
Email queue is temporarily full. The user should retry later
Cannot connect to the email server
Error in sending the sender information
Error in sending the TO recipient information
Error in sending the CC recipient information
Error in sending the BCC recipient information
Error in sending the subject
Error in sending the message
Error in sending the end-of-message
Error in disconnecting from the SMTP server
Failed to resolve SMTP server address
Invalid dialup settings
Failed to connect remote SMTP server
Modem port is in use
Email settings are not configured
Before executing any PE program that sends emails, the user needs
to configure the controllers email settings using the built-in web
pages.
CAUTION
If the size of the email message is greater than 2k when it is sent
from the controller, it degrades the performance of the scanner. Be
careful to limit the size of your message to ensure the most
effective scanner performance.
SendEmail, continued
Example 1
Progam File
Fall-thru program that sends a simple email message to a recipient
Numeric EmailStatus
Sending:
EmailStatus = SendEmail ([email protected], Lights, We need to~
save energy)
Checking:
If EmailStatus is 0 then EmailErrorString = "Success"
Example 2
Progam File
' Fall-thru program that sends a multi-line email message to various
recipients
Numeric EmailStatus
String 80 TOaddr
String 32 Subject
String 80 MessageLines[3]
String 32 CCaddr, BCCaddr
String 80 EmailErrorString
TOaddr = "[email protected], [email protected], [email protected]"
CCaddr = "[email protected]"
BCCaddr = "[email protected]"
Subject = Building Automation
MessageLines[1] = "This is the first line of the email message"
MessageLines[2] = "This is the second line of the email message"
MessageLines[3] = "This is the last line of the message"
Line Sending
EmailStatus = SendEmail (TOaddr, Subject, MessageLines, ~
CCaddr, BCCaddr)
Line Checking
If EmailStatus is 0 then
EmailErrorString = "Success"
Else
If EmailStatus = 14 then
EmailErrorString = "Cannot connect to the email server"
Endif
Endif
7-322
Schneider Electric
SendEmail, continued
Products
Supported
Modes
Available
Programs
SET
Statement
Format
Purpose
Remarks
Replace namelist with any defined name or list of names. The name
or names can be any of these:
The type of name must match the type of number. Replace number
with any number or expression, including a string or date and time, or
a name that stands for either of those.
A numeric name can accept only the results of a numeric expression.
A string name can accept only text. A datetime name can accept only
a date and time.
Example 1
At any time in a program, you may want to set the value of a variable
or array of variables. You use SET with the word TO:
Program File
Set AreaValue to Height Times Width
You can also use ADJUST, CHANGE, or MODIFY with TO. With
ADJUST and CHANGE, the TO is required:
Adjust Valve to Open
Change Space.SP to 72
Modify Space.SP to 72
You cannot use the equals sign with ADJUST or CHANGE, but you
can use it with MODIFY.
7-324
Schneider Electric
SET, continued
Example 2
You can set a variable using SET and an equals sign as in the
example below:
Program File
Set KWAVG = Average (KW)
Instead of SET, you can use LET with the equals sign, as follows:
Let DWAVG = Average (KW)
You cannot use the word TO with LET. Neither the word SET nor the
word LET is required with the equals sign, so you can set the same
variable as follows:
KWAVG = Average (KW)
Example 3
Example 4
Example 5
You can set disabled points only from the command line. (To set
disabled points in a testing function, you must run the function from
the command line.) The example disables some input points, then
sets them to test values:
Command Line
Disable OAT, HWT, CHWT
Set OAT = 40
Set HWT = 120
Set CHWT = 50
SET, continued
Related
Keywords
MOVE
Alias
Products
Supported
Modes
Available
7-326
Schneider Electric
SETDISPLAY
Format
Function
Purpose
Sets the DCX 250 Display Unit screen to a color (blue or white) or
sets the display to draw a polygon or series of lines (polylines).
Returns SUCCESS or FAILURE.
Remarks
Set the display before you begin drawing. The display remains as
you set it until you set it again.
You must set the display to FILL to draw a polygon rather than
drawing lines with LINEPOINT. You must set it to NOFILL to draw
lines with LINEPOINT. (See LINEPOINT.)
The DCX 250 screen settings you can alter with SETDISPLAY are as
follows:
Colors:
BLUE
WHITE
Drawing:
FILL
NOFILL
SETDISPLAY, continued
Remarks
continued
Before you begin drawing a polygon, you must set the display to FILL
to ensure you do not draw a polyline instead.
You can draw rectangles (see DRAWRECTANGLE) and lines (see
DRAWLINE) in white or blue color by setting the display_constant to
WHITE or BLUE.
Example
Related
Keywords
BEGINPOLYLINE
DRAWRECTANGLE
DRAWLINE
Products
Supported
Modes
Available
Programs
7-328
Schneider Electric
Shell
Statement
Format
Shell string_list
Purpose
Remarks
Example 1
Command Line
Shell "c:\prg\dbmaint.exe"
This command runs an application called dbmaint.exe and located
under the \prg directory on the C disk. If the path to this application is
included in your workstation search path, you do not need to give the
disk or full path; instead, you give only the application name:
Shell "dbmaint.exe"
Shell, continued
Example 2
Suppose you want to run a program that is on the C disk drive of the
workstation. If the program name is stored in a string called
FileNameString, you can run it as follows:
Command Line
Shell "c:\";FileNameString
A program employing this command line as a statement could
execute a different program on disk drive C each time it runs.
Example 3
Command Line
Shell "a:\";FileNameString, "c:\prog\dbsave","d:\prg\dbrestore.exe"
In this command line, the CyberStation software runs several
programs one after another. Notice that you may leave out the .exe
extension on the program name. (The dbsave program, for instance,
is an .exe program.). Be sure you put each disk and program name in
quotation marks. The only string not in quotation marks is the name of
a Continuum object, attribute, or local variable.
7-330
Schneider Electric
Shell, continued
Example 4
continued
Example 5
Products
Supported
CyberStation
Modes
Available
Show
Statement
Format
Purpose
Remarks
Example 1
Command Line
Show AirHandler1
The workstation software opens the windows for the air handler.
Example 2
Command Line
Show AirHandler1, Room1 VAV, Room2 VAV
The workstation software opens the windows for the air handler
(controller) and two VAV boxes (Infinet controllers).
7-332
Schneider Electric
Show, continued
Example 3
Command Line
Show DailyReport, ChillerDisplay
The DailyReport opens and displays in Run mode. The panel called
ChillerDisplay opens and displays in Run mode.
You can switch to Edit mode once each is open.
Example 4
Command Line
Show InputsOwenEdited, Bldg4PointsInAlm
This SHOW command opens the Activity Log showing the
InputsOwenEdited log view range and the Alarm Log showing the
Bldg4PointInAlm log view range.
You can open more than one LogView at a time, as long as they are
not both for the same log; for instance, you cannot open two different
LogViews of the Activity Log.
Products
Supported
CyberStation.
Modes
Available
SHOWREPORT
Format
Statement
Purpose
Remarks
Example 1
Command line
ShowReport MyReport
This command displays the results of a program named MyReport in
Microsoft Notepad.
Make sure that the program is set to "Run on any Workstation" (in the
configuration window in the program editor)
7-334
Schneider Electric
SHOWREPORT, continued
Example 2
Command line
ShowReport C:\Program File\Continuum\Reports\SystemChk.htm
This command displays the specified HTML file as a web page in your
HTML browser.
Example 3
Command line
ShowReport Floor1\NetCtlr1\ListView1
This command displays the result of an HTML report template that has
been associated with the listview object named ListView1. The report
displays as a web page in the HTML browser on your CyberStation. By
using special HTML tags that work with Continuum, the report template
can extract attribute values from listview objects and any other Continuum
object.
For example, suppose that ListView1 is a listview of output points. Fill the
Report Template field in the Listview editor with the name of your Listview
HTML template. Select a template you have previously created using your
favorite HTML editor that shows a table of point values and descriptions
(e.g. ReportTemplate.htm).
The template source text might look like the following:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0017)http://engpublic/ -->
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
</HEAD>
<BODY bgcolor=honeydew><STRONG
style="BACKGROUND-COLOR: honeydew">
<P align=left> </P>
<P align=center><FONT size=5><STRONG> Point Values</STRONG></FONT></P>
<HR>
P align=center><STRONG>{|date|}</P>
<CENTER style="BACKGROUND-COLOR: honeydew"> </CENTER> </STRONG>
<DIV align=center>
<CENTER><FONT
style="BACKGROUND-COLOR: gainsboro"></FONT> </CENTER></DIV>
<HR>
<TABLE id=TABLE1 style="LEFT: 14px; WIDTH: 488px; TOP:
241px; HEIGHT: 178px"
borderColor=black cellPadding=4 bgColor=#ffffff background=Gray_Textured11.gif border=5
cellSpacing=0 borderColorDark=gray align=center borderColorLight=white>
SHOWREPORT, continued
Example 3
continued
<TR>
<TD align=middle bgColor=#c0c0c0><FONT color=#000080
size=4><STRONG>Name</STRONG></FONT></TD>
<TD align=middle bgColor=#c0c0c0><FONT color=#000080
size=4><STRONG>Value</STRONG></FONT></TD>
<TD align=middle bgColor=#c0c0c0><FONT color=#000080
size=4><STRONG>Description</STRONG></FONT></TD>
<TR>
<TD>{|list|} </TD></TR>
<TR>
<TD><FONT size=2><STRONG>{|Name|}</STRONG></FONT></TD>
<TD align=right><FONT size=2><STRONG>{|Value|}</STRONG></FONT></TD>
<TD align=right><FONT size=2><STRONG>{|Description|}</STRONG></FONT></TD>
<TR>
<TD>{|endlist|} </TD></TR></TABLE>
<P align=center></STRONG>
<A title=Schneider-Electric href ="http://www.Schneider-Electric.com" target=BBC name="View
Schneider-Electric" >Schneider-Electric Website</A>
</P
<P> </P>
<P> </P>
</BODY>
</HTML>
The template shows a title ("Output Points"), followed by the current date.
Below that is the list of points, including names, values and descriptions, and
finally a reference to a website. Note the delimiters {| and |} around the
Continuum tags such as list, endlist, object name (e.g. Date), and attribute
names (e.g. Name, Value and Description)
7-336
Schneider Electric
SHOWREPORT, continued
Example 3
continued
Related
Keywords
SHOW
SHELL
Products
Supported
CyberStation.
Modes
Available
SIN
Function
Format
SIN (number)
Purpose
Remarks
Example
Program File
Result = sin (1)
Alias
SINE
Products
Supported
Modes
Available
7-338
Schneider Electric
SQRT
Function
Format
SQRT (number)
Purpose
Remarks
Example
Program File
MVAL = sqrt (4)
The SQRT function returns 2 and the statement sets MVAL to 2.
Products
Supported
Modes
Available
StandardDeviation
Format
Function
Purpose
Remarks
7-340
Schneider Electric
StandardDeviation, continued
Example 1
Example 2
Since you know a certain temperature varies, you have been storing
readings in an array called VarTmp. You then use the
StandardDeviation function on that array, as follows:
Program File
Variation = StandardDeviation (VarTmp)
Example 3
You have been logging temperatures in a log for several hours. You
can find the standard deviation of them as follows:
Program File
Deviance = StandardDeviation (TempLog)
Example 4
StandardDeviation, continued
Alias
SD
Products
Supported
Modes
Available
STATUS#
Format
STATUSnumber
Purpose
Remarks
Example
Suppose you labeled the fourth status light on the CX 9201 controller
Chiller Alarm Active, so you could set it when the alarm occurs. After
the alarm occurs, to set the light, enter this statement in your
program:
Program File
IF ChillerAlarm4 is On then Set STATUS4 to On
Products
Supported
CX series
Modes
Available
STOP
Format
Statement
Purpose
Format 1: At the command line level, halts the executing program (or
programs) you specify at current line.
Format 2: Sets the point (or points) to bottom of its defined scale. It
then turns the equipment off, controlling the equipment through the
point. You can use this statement in a program to turn off a piece of
equipment, or at the command line to directly turn off a piece of
equipment.
Remarks
Example 1
STOP, continued
Example 2
You can use STOP on the command line to stop one or more pieces
of equipment:
Command Line
Stop the Heater and the Fan
Related
Keywords
ROTATE
RUN
Alias
CLOSE
SHUT
Products
Supported
Modes
Available
STRING
Statement
Format
Purpose
Remarks
Example 1
STRING, continued
Example 2
Example 3
To create a string array of variables, you must first define the array.
The string called Pump below is an eight-character string with 20
variables in the array (Pump [1], Pump [2], Pump [3], and so on).
Program File
String 8 Pump[20]
Pump[6] = "HeatPump"
Example 4
You can create several arrays of string variables and single string
variables all in one program line:
Program File
String Pump[6], Blower[8], HeaterNM, FanName
Related
Keywords
DATETIME
NUMERIC
STRINGFILL
Products
Supported
Modes
Available
Programs
STRINGFILL
Function
Format
STRINGFILL(number, charactercode)
Purpose
Remarks
Example 1
Example 2
Example 3
STRINGFILL, continued
Example 3
continued
Program File
Numeric DayX
Print "Peak KW Demand for Week"
Print " "
For DayX = 1 TO 7
Print ST( DayX);" + "; stringfill(KWD[DayX]/100, 42)
Next DayX
Print " +----+----+----+----+----+"
Print " 0 500 1000 1500 2000 2500 "
After the program prints the title, it proceeds to a FOR..NEXT loop.
Inside the FOR..NEXT loop, the program first prints the short name of
the weekday, based on the number for the day (1 for SUN) using a
customized function called ST. Next, the program prints a plus sign
after the name.
STRINGFILL then uses two values to print the kilowatt demand for
that day:
Kilowatt demand for the day from the KWD array (KWD [1]
= Sunday's kilowatt demand, KWD [2] = Monday's kilowatt
demand, and KWD [3] = Tuesday's kilowatt demand, and
so on.)
SAT + * * *
STRINGFILL, continued
Example 3
continued
+----+----+----+----+----+
0
500
1000
First, the program retrieves Sunday's kilowatt demand from the KWD
array. Sunday's kilowatt demand is 600 Kw. The program divides the
demand by 100, giving 6. So STRINGFILL prints six asterisks for
Sunday.
The program then retrieves Monday's kilowatt demand from the KWD
array. Monday's kilowatt demand is 1000 Kw. The program divides
the demand by 100, giving 10. So STRINGFILL prints 10 asterisks for
Monday.
The program continues to carry out the same process for each day of
the week. When it finishes printing Saturday's kilowatt demand, it
prints the scale for the graph, displaying 0 to 2500 Kw.
Related
Keywords
STRING
Products
Supported
Modes
Available
STRTODATE
Function
Format
STRTODATE(date_time)
Purpose
Returns a date and time that corresponds to the particular date and
time you specify in the date_time. The controller has a unique
number for each moment in time it can understand.
The system uses this date_time to process information about the
date and time. If you print a variable that is equal to a STRTODATE,
you receive the date_time.
Remarks
Spell the month as a word so that the day is the only other
number so low.
Use numbers for both month and day only if the day is greater
than 12, since any day between 1 and 12 could be interpreted as
a month.
The month can be:
JAN[UARY]
JUL[Y]
FEB[RUARY] AUG[UST]
MAR[CH]
SEP[TEMBER]
APR[IL]
OCT[OBER]
MAY
NOV[EMBER]
JUN[E]
DEC[EMBER]
STRTODATE, continued
Remarks
continued
YEAR
You may enter the year as a two- or four-digit year after 1988.
WEEKDAY
Since the controller already knows the day of the week that
corresponds to each date, you don't need the day. You can,
however, place the day of the week after the date; it must be either
the three-letter abbreviation or the completely spelled-out name of the
day.
The weekday can be:
MON[DAY]
TUE[SDAY]
WED[NESDAY]
THU[RSDAY]
FRI[DAY]
SAT[URDAY]
SUN[DAY]
TIME
You enter the time as the one- or two-digit hour and one- or two-digit
minute separated by a colon. You can type another colon and follow
it with seconds if you would like.
You can enter the time in 24-hour time or use regular time with AM or
PM after it. The controller translates that time into the 24-hour clock.
For instance, you can enter 3:00 PM and the controller automatically
translates it to 15:00:00.
The following are the acceptable time formats:
hh:mm:ss [AM/PM]
hh:mm [AM/PM]
Where AM and PM (upper- or lowercase) are optional and:
hh is hours (00 - 23) and 00 - 11 is AM and hh > 11 is
PM if
AM/PM isn't specified
mm is minutes (00 - 59)
ss
is seconds (00 - 59)
STRTODATE, continued
Example
Program File
Conv.Date = StrToDate ("December-21-2005 11:00 pm")
Alias
STRTOTIME
Products
Supported
Modes
Available
STRTONUM
Function
Format
STRTONUM(string)
Purpose
Remarks
The string is any number in ASCII form (in quotation marks) or string
expression that stands for a number in text form. If string is not a
valid numeral or series of numerals, STRTONUM fails. If STRTONUM
fails, the program either goes to LINE E (see LINE keyword) or
disables.
Once a number is in a numeric variable, it can be used in
mathematical expressions and operations.
Example
If you receive string input from the keyboard, but you want it to be
numeric so you can add it to another number, use STRTONUM. The
following program adds the string (in quotation marks) that contains
78.5 to the number 92.8:
Program File
Numeric Trans
Trans = StrToNum("78.5") + 92.8
Print Trans
Output
171.3
Alias
VAL
Products
Supported
Modes
Available
SUCCESS
Constant
Format
SUCCESS
Purpose
Remarks
Example
Program File
If OpenFile (C:\text\zone.txt, ReadOnly, ZoneData) = Success then
Print "Open Successful"
Endif
Related
Keywords
FAILURE
Products
Supported
Modes
Available
SUM
Format
Function
Purpose
Remarks
Example 1
To sum several timers, you place them directly in the SUM function
statement. You list them in parentheses after SUM, as follows:
Program File
Total.Timers = Sum (Timer1, Timer2, Timer3, Timer4)
SUM, continued
Example 2
Example 3
Example 4
Products
Supported
Modes
Available
SystemStatus
System variable
Format
SystemStatus
Purpose
Indicates the current access control mode of the ACX and CX series
controllers.
Remarks
Example 1
SystemStatus, continued
Example 2
If you want to take a particular action each time the Door1 700 series
controller has lost communication with the database, you can type the
following in a program:
Command Line
If Door1 SystemStatus = NoComm or Door1 SystemStatus =
NoDataBase then
Run InterimProcedure
Endif
Products
Supported
Modes
Available
TAB
Function
Format
TAB(number)
Purpose
Remarks
Example
Program File
Print tab(10); "This is a Title"
Output
This is a Title
Related
Keywords
Products
Supported
Modes
Available
Programs
TAN
Function
Format
TAN (number)
Purpose
Remarks
Example
Program File
Position = tan (3.14159/4)
Alias
TANGENT
Products
Supported
Modes
Available
TD
Program Attribute
Format
TD
Purpose
Contains the number of days (Time in Days) that have elapsed since
the program has been on the current line. The total is stored as an
IEEE floating point number.
Remarks
Example
In order to have a lead pump run for 3 days and then turn on the lag
pump, you would check to see if the pump has been running for 3
days after you activate it:
Program File
Line FirstPump
Turn On LeadPump
If Td = 3 then Goto SwitchPump
Line SwitchPump
If LeadPump = Pump1 then
Set LeadPump = Pump2
Else
Set LeadPump = Pump1
Endif
The controller measures 3 days starting the instant that the program
is on the line making the request for elapsed time.
Products
Supported
Modes
Available
Programs
TH
Program Attribute
Format
TH
Purpose
Remarks
Example
To have the lead fan run 1 hour and then run the lag fan, check to
see if the fan has been running for 1 hour after you activate it:
Program File
Line FirstFan
Turn On LeadFan
If Th = 1 then Goto SwitchFan
Line SwitchFan
If LeadFan = Fan1 then
Set LeadFan = Fan2
Else
Set LeadFan = Fan1
Endif
The controller measures 1 hour starting the instant that the program is
on the line making the request for elapsed time.
Products
Supported
Modes
Available
Programs
THE
Keyword (article)
Format
THE name
Purpose
Remarks
Example
Program File
Turn On the Fan
Products
Supported
Modes
Available
7-364
Schneider Electric
TIMEPIECE
Function
Format
Purpose
Retrieves the piece of time (hour, minute, second) or the piece of the
date (weekday, month, day of the month, year, day of the year) from
a variable or point.
Remarks
Example 1
Program File
DateTime Date1
Numeric CurrentMin
Date1 = StrToDate ("5-25-05 11:13:23")
CurrentMin = timepiece (Minute, Date1)
In this program, the TIMEPIECE function retrieves the minute from
DATE1 and returns 13.
Example 2
Program File
Numeric TodayMonth
TodayMonth = timepiece (Month, Date)
In this program, the TIMEPIECE function retrieves the month from the
DATE system variable. If the date is June 20, 2005, TodayMonth is
set to June.
TIMEPIECE, continued
Related
Keywords
DATE
DATETIME
HOUR
MINUTE
SECOND
HOD
TOD
MONTH
YEAR
DAYOFMONTH
DAYOFYEAR
Products
Supported
Modes
Available
7-366
Schneider Electric
TIMES
Operator
Format
Purpose
Remarks
Example 1
Program File
EnergyCost = Building1 KW times 1.78
Example 2
Program File
EnergyCost = Building1 KW * 1.78
Alias
MULTIPLIED BY
MULT
*
Products
Supported
Modes
Available
TM
Program Attribute
Format
TM
Purpose
Remarks
Example
Products
Supported
Modes
Available
Programs
7-368
Schneider Electric
TOD
System variable
Format
TOD
Purpose
Gives the time of the day, from 12:00 a.m. (midnight) to 11:59 p.m.
Also allows you to compare the time of day to 0 (midnight) to 2359,
where 2359 is the equivalent of 23:59 on the 24-hour clock.
Remarks
The time of day is the time from the controller clock. You cannot
change TOD. The controller automatically updates it.
Example 1
To check to see if the time of day is past 5:00 a.m., enter one of the
following:
Program File
If Tod is greater than 5:00 am then
If you do not give a.m. or p.m., the controller assumes you mean a.m.
You must include the colon with am or pm. Never use periods
after the A or M, or P or M.
Example 2
When you print out TOD, as in the following example, you always
receive the decimal representation of the time of day:
Program File
Print Tod
The time appears as follows:
20.000
(that means 8:00:00 pm)
Related
Keywords
HOD
HOUR
MINUTE
TOD, continued
Alias
TIMEOFDAY
Products
Supported
Modes
Available
7-370
Schneider Electric
TOUCHEDCELL
System variable
Format
TOUCHEDCELL
Purpose
Gives the number from 1 to 64 of the first block (cell) that an operator
touched on the DCX 250 Display Unit screen during the last scan. If
the operator touches more than one cell, the lowest (top leftmost) cell
number is the value.
Remarks
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
Figure 8-22. The DCX 250 Display Unit screen touch cells
The operator must press the cell for at least 100 ms. If the operator
presses the cell continuously, the TOUCHEDCELL value updates
every second.
You can reset TOUCHEDCELL to zero with CLEARSCREEN.
TOUCHEDCELL, continued
Example 1
Room1 Fan
Status
Room2 Fan
Status
Room3 Fan
Status
7-372
Schneider Electric
TOUCHEDCELL, continued
Example 2
Products
Supported
Modes
Available
Programs
TRUNCATE
Function
Format
TRUNCATE (number)
Purpose
Remarks
Example 1
Program File
CHP = truncate (4.5)
TRUNCATE returns 4 and the program statement sets CHP to 4.
Example 2
Program File
VAL.C = truncate (-1.7)
TRUNCATE returns -1 and the program statement sets VAL.C to -1.
Alias
TRUNC
Products
Supported
Modes
Available
7-374
Schneider Electric
TS
Program Attribute
Format
TS
Purpose
Remarks
Example
Products
Supported
Modes
Available
Programs
TURN
Statement
Format
Purpose
Sets the name or names to the top of the defined range for the point if
ON and to bottom of the range if OFF.
Remarks
Example 1
Suppose you want to turn on the fan and the pump. You can turn
both on in one program statement:
Program File
Turn On then Fan and the Pump
Example 2
You can place the word ON or OFF after the name of the point:
Program File
Turn the Pump Off
Example 3
You can also place ON or OFF before the name of the point:
Program File
Turn Off the Pump
7-376
Schneider Electric
TURN, continued
Related
Keywords
SET
Products
Supported
Modes
Available
UniquePIN
System variable
Format
UniquePin
Purpose
Indicates whether or not each person who has access must have a
unique personal identification number (PIN).
Remarks
You cannot set the UniquePIN system variable, but you can print or
access it from the command line or use it in a program. Its value is
always TRUE or FALSE.
You must connect to the applicable controller before you can access
UniquePIN from the command line. You can also access UniquePIN
using the full path.
Example 1
Example 2
Products
Supported
Modes
Available
7-378
Schneider Electric
UPDATE
Function
Format
Purpose
Remarks
You can use UpDate in a program, but not on the Command line.
When you use UpDate from a program, you must use it on a labeled
line by itself. After it executes, UpDate automatically moves the
program to the next labeled line. The next labeled line should then
test for the returned results of UpDate.
If a valid phone number string is provided, UpDate turns on DTR
(Data Terminal Ready) for the controllers port. Otherwise, UpDate
assumes that a PE program has opened the port and established a
connection.
Update automatically dials the call to the modem if you provide a valid
phone number string, so you do not use it with the dial keyword.
The phone number string can be a simple telephone number such as
978-470-0555.
CAUTION
Update momentarily changes the port to RAW mode,
while it is dialing. However, while the port is in Raw mode,
you cannot send it READ or PRINT statements. READ
and PRINT both return FAILURE and they drop any
characters you are attempting to send down the port.
UPDATE, continued
Remarks
continued
7-380
Schneider Electric
UPDATE, continued
Remarks
continued
Returned
Success
When
Controller has established connection with the
workstation
One of the following situations exists:
Failure
DialNoCarrier
DialNoAnswer
DialBusyTone
DialNotDialTone
Example
You can use UpDate to update alarms and events. The following
program is an example of using UpDate to update alarms and events
at an interval. It uses a FallThru program to force the controller to
"Push" its updates after a given time interval.
UPDATE, continued
Example
continued
7-382
Schneider Electric
UPDATE, continued
Example
continued
For example, if the controller calls the workstation and the workstation
is off line (busy), then the controller waits 4 minutes until the line is
dropped. If the workstation comes on-line within the 4 minutes, then
the UpDate will take effect.
Related
Keywords
InitModem
Products
Supported
Modes
Available
UpdateExtLog
Function
Format
Purpose
Remarks
Replace object with the name or full path and name of a point that is
set up as an extended log, a group (where some group members are
extended logs), or a controller (with some points that are extended
logs). When you give a controller, you must give the full path to the
controller. Can also be a local OBJECT variable.
Replace datetime (optional) with the datetime point or local variable
that the software automatically sets to the next time the extended log
needs to be updated. This point or variable gets its information from
the extended log setup information of the point, group, or controller. If
you do not provide a datetime point or variable, UpdateExtLog does
not return the next date and time to update the extended log.
You must use the UpdateExtLog statement on a line by itself. After
executing a statement formed with UpdateExtLog, the program
automatically proceeds to the next labeled line.
UpdateExtLog returns SUCCESS or FAILURE.
You update the extended log when you expect the log is full and
ready to store values long-term, in the extended log. Since you do not
know this information for every log you have set up, you can let the
software retrieve the information from the database.
As soon as the software sees the UpdateExtLog statement in a
program, it understands the purpose of the defined datetime variable
and retrieves the correct value for it from the database.
7-384
Schneider Electric
UpdateExtLog, continued
Remarks
continued
(You can, however, set the value of the datetime variable yourself, if
you prefer.)
You can run UpdateExtLog on only one extended log at a time per
workstation. If you attempt to update more than one extended log at a
time, the software considers it an error and displays that error in the
Error Log of the database.
The maximum number of entries allowed in an extended log is the
number of entries you would have if you logged the point value every
half-hour for one yearup to 17,520 entries. This number remains
the same, regardless of the interval. So, if you log the point every 15
minutes (twice as often), you can store up to 6 months (half as long a
period) of extended log entries for that point.
Example 1
7-385
UpdateExtLog, continued
Example 1
continued
This statement tells the software to update the TEMP1. First, the
statement retrieves the correct UpdateTimer value from the extended
log setup information. Then, when the current time is 60 seconds
greater than the UpdateTimer, the software retrieves values from the
regular log and stores them in the extended log on the workstation.
This way, old values are stored. The statement updates the log once,
and sets the UpdateTimer local DATETIME variable to the next time
the log should update.
The way it is written here, the program remains on the
WaitUntilLogTime until the next update time. If you would like, you
can have the program stop after the ELSE in the WaitUntilLogTime
line and run this program manually.
Example 2
Suppose you want to update a group of extended logs that are all
members of a group called TempPoints. You can use the
UpdateExtLog statement as shown in the following example:
Program File
Datetime UpdateTimer
Updating:
Result = UpdateExtLog (TempPoints, UpdateTimer)
Checking:
If Result = Success then
Goto WaitUntilLogTime
Else
Print "Could not update extended logs in TempPoints group"
Stop
Endif
WaitUntilLogTime:
If Time > = UpdateTimer then
Goto Updating
Else
Goto WaitUntilLogTime
Endif
This statement tells the software to update all of the extended logs
in the TempPoints group. First, the statement retrieves the correct
7-386
Schneider Electric
UpdateExtLog, continued
Example 2
continued
Example 3
If you want to update all of the extended logs on the Floor4 controller,
use the UpdateExtLog statement as shown in the following example:
Program File
Datetime UpdateTimer
Updating:
Result = UpdateExtLog (Building3 Floor4, UpdateTimer)
Checking:
If Result = Success then
Goto WaitUntilLogTime
Else
Print "Could not update extended logs in TempPoints group"
Stop
Endif
WaitUntilLogTime:
If Time > = UpdateTimer then
Goto Updating
Else
Goto WaitUntilLogTime
Endif
This statement tells the software to update all of the extended logs
in the Floor4 controller at the Building3 site. Remember that you must
give the full path to the controller.
7-387
UpdateExtLog, continued
Example 3
continued
First, the statement retrieves the correct UpdateTimer value from the
extended log setup information. Then, when the current time is 60
seconds greater than the UpdateTimer, the software retrieves values
from the regular log and stores them in the extended log on the
workstation. This way, the software stores the old log values. The
statement updates each log once, and sets the UpdateTimer local
DATETIME variable to the next time the extended logs on the
controller should update.
Example 4
If you want to update a single extended log from the Command line,
you can enter a simplified UpdateExtLog statement, with no datetime,
as follows:
Command Line
UpdateExtLog (Building3 Floor4 Temp1)
Example 5
Example 6
If you want to update all the extended logs on a single controller from
the Command line, you can enter a simplified UpdateExtLog
statement, with no datetime, as follows:
Command Line
UpdateExtLog (Building3 Floor4)
Example 7
To update only the input points on a controller, you can open a list of
input points using OpenList (see OpenList keyword) and then get
each point in the list. By testing the ExtLogSize attribute of each
point, you can determine whether or not the point is an extended log.
If it is an extended log, you can then update it as you did in the earlier
examples.
7-388
Schneider Electric
UpdateExtLog, continued
Example 7
continued
7-389
UpdateExtLog, continued
Example 7
continued
This statement tells the software to update all of the extended logs
in the Floor4 controller at the Building3 site. Remember, you must
give the full path to the controller.
For further information on getting point with GetObject, see the
OBJECT, OpenList, GetObject, and CloseList keywords.
Related
Keywords
DeleteExtLog
Products
Supported
CyberStation
Modes
Available
7-390
Schneider Electric
VERSION
System variable
Format
VERSION
Purpose
Remarks
Example
Products
Supported
Modes
Available
7-391
WEEKDAY
System variable
Format
WEEKDAY
Purpose
Remarks
Example 1
Constant
Short Name
Long Name
SUN
SUNDAY
MON
MONDAY
TUE
TUESDAY
WED
WEDNESDAY
THU
THURSDAY
FRI
FRIDAY
SAT
SATURDAY
You can spell out names for printing or for comparing to an actual
day:
Program File
If Weekday is Saturday then Print Weekday
Output
Saturday
7-392
Schneider Electric
WEEKDAY, continued
Example 2
You can use the short name or the constants 1 through 7 for
comparing the weekday in an IF statement:
Program File
If Weekday > Sun or Weekday < 7 then
Alias
WKD
Products
Supported
Modes
Available
7-393
WHILE
Statement
Format
WHILE number
statement
statement
...
ENDWHILE
Purpose
Carries out the instructions in the statements within the loop over and
over again as long as the given number is true.
Remarks
Example
CAUTION
The scan action limits the number of statements
that can execute on one line to 5000. Be careful
of exceeding the limit when using WHILE.
7-394
Schneider Electric
WHILE, continued
Related
Keywords
IS
BREAK
CONTINUE
Products
Supported
Modes
Available
Programs
7-395
WHITE
Constant
Format
WHITE
Purpose
Sets the graphics on the DCX 250 Display Unit screen to white when
you use it with SETDISPLAY.
Remarks
Example
You set the color of the graphics on the DCX 250 Display Unit, as
follows:
Program File
Set Display (WHITE)
Related
Keywords
BLUE
SETDISPLAY
Products
Supported
Modes
Available
Programs
7-396
Schneider Electric
WriteFile
Function
Format
Purpose
Puts data into (writes to) a text file you opened earlier with
OPENFILE.
Remarks
Example 1
Suppose you want to write a record to a text file. After you define the
FILE variable name and open the file, you can write to it with
WriteFile.
7-397
WriteFile, continued
Example 1
continued
In the example below, the WriteFile statement gives the FILE variable
name, the name of the string that contains the record (RecordLine),
the number of characters in the string (80), and a numeric variable to
receive the actual number of characters written (Chars).
If the entire process (OpenFile, WriteFile, and CloseFile) is
successful, the program stops at the end of the Closing line. If any
failures occur, the control system software runs the Failing line.
Once you have opened the file and taken action on it, you must close
the file with CloseFile using the name you created with FILE.
Program File
File ZoneData
String 80 RecordLine
Numeric Chars, OK
Line Opening
Set OK = OpenFile ("c:\text\zone.txt", WriteOnly, ZoneData)
If OK = Failure then Goto Failing Else Goto Writing
Line Writing
RecordLine = GetRecord() 'custom function to build record
OK = WriteFile(ZoneData, RecordLine, 80, Chars)
If OK = Failure then Goto Failing Else Goto Closing
Line Closing
OK = CloseFile(ZoneData)
If OK = Failure then Goto Failing
Print "File operation succeeded"
Stop
Line Failing
Print "File operation failed"
Example 2
To read multiple records from one text file and write them to another,
use ReadFile, then WriteFile. Because you have two files, you would
create two FILE variable names. Call the file that the control system
software should retrieve data from, ZoneData, and call the one it
should put data into, SetPTFile.
Next, test for ReadFile = EOF because you want the control system
software to read records until it reaches the end of the file. The
control system software should read 16 characters or until a carriage
return indicates the end of the record. (You can also use PositionFile
to set the position to begin the action first for reading, then for
writing.)
7-398
Schneider Electric
WriteFile, continued
Example 2
continued
For each record (16 characters long), you want WriteFile to put the
record in the new file, called SetPTFile, as follows:
Program File
WriteFile (SetPTFile, RecordLine, 16, CharsWritten)
Below is a complete program that copies the text from one file to
another:
Program File
File ZoneData, SetPTFile
String 80 DataLine, RecordLine, Result
Numeric CharsRead, CharsWritten, OK
Line Opening
CharsRead = 0
If OpenFile ("c:\text\zone.txt", ReadOnly, ZoneData) = Failure then
Result = "Could not open zone.txt file"
Goto Failing
Endif
If OpenFile("c:\text\stpt.txt", WriteOnly, SetPTFile) = Failure then
Result = "Could not open stpt.txt file"
Goto Failing Else Goto Copying
Endif
Goto Copying
Line Copying
OK = ReadFile (ZoneData, DataLine, 16, CharsRead, "|13")
If OK = Failure then
Result = "Could not read file"
Goto Failing
Else
If OK = EOF then
Result = "Could not read file"
Goto Closing
Endif
Endif
7-399
WriteFile, continued
Example 2
continued
Related
Keywords
FILE
CLOSEFILE
OPENFILE
READFILE
POSITIONFILE
FAILURE
SUCCESS
Products
Supported
CyberStation
Modes
Available
Programs
7-400
Schneider Electric
WriteProperty
Function
Format
Purpose
Remarks
Example 1
7-401
WriteProperty, continued
Example 2
Example 3
Example 4
Related
Keywords
ReadProperty
Relinquish
Products
Supported
Modes
Available
7-402
Schneider Electric
YEAR
System variable
Format
YEAR
Purpose
Remarks
Example
Related
Keywords
DAYOFMONTH
DAYOFYEAR
YEAR
Alias
YR
Products
Supported
Modes
Available
7-403
7-404
Schneider Electric
Appendix A
ASCII Codes
Most keyboards have a limited set of characters. There are no characters to control such
actions as feeding the paper, turning on a beep, scrolling the screen, and so on. For
these actions, you use a set of codes called the American Standard Code for Information.
Examples
You might use the ASCII code for a character in the StringFill
function. You must give the StringFill function the string length to fill,
and the code of the character with which you want to fill the string.
For example, to print a string of 10 characters where each character
is an asterisk:
42 is the ASCII code for the asterisk (*)
PRINT StringFill(10, 42)
To fill a string named Pressure with 20 pound sign characters:
35 is the ASCII code for the pound sign(#)
Pressure = StringFill(20, 35)
You can make a terminal beep, as follows:
Print "|7"
ASCII Codes
Examples
continued
More printer control statements may be possible for your printer. See
the manufacturer's documentation.
Interchange (ASCII). You use these codes in a PRINT statement to
control your printer or screen.
ASCII Code
Table
A-2
Character or Action
NUL
SOH
STX
ETX
EOT
ENQ
ACK
Beep.
Backspace.
TAB Forward.
10
Line Feed.
11
Vertical TAB.
12
Form Feed.
13
Carriage Return.
14
SO
15
SI
16
DLE
17
DC1
Schneider Electric
ASCII Codes
ASCII Code
Table
continued
Character or Action
18
DC2
19
DC3
20
DC4
21
NAK
22
SYN
23
ETB
24
CAN
25
EM
26
SUB
27
ESC
28
FS
29
GS
30
RS
31
US
32
Space.
33
34
"
35
36
37
38
&
39
(apostrophe)
40
41
42
43
44
, (comma)
A-3
ASCII Codes
ASCII Code
Table
continued
A-4
Character or Action
45
46
. (period)
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<
61
62
>
63
64
65
66
67
68
69
60
70
71
Schneider Electric
ASCII Codes
ASCII Code
Table
continued
Character or Action
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
A-5
ASCII Codes
ASCII Code
Table
continued
A-6
Character or Action
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
Schneider Electric
ASCII Codes
ASCII Code
Table
continued
Character or Action
126
127
DEL
A-7
A-8
Schneider Electric
Appendix B
Reserved Words
Reserved words are those words used as system constants, keywords, system functions,
and system variables that are reserved as part of Andover Continuums Plain English
programming language. Being familiar with these words helps avoid naming errors.
This appendix lists all Andover Continuum system reserved words. A tabular listing of
Continuum system constants begins on the next page. Following this table is a second
table containing an alphabetical listing of all other reserved words including Plain English
keywords, system functions, and system variables.
Make sure you do not use any of these words as a line label or program variable in any of
your Plain English programs.
Note:
Before you import older programs to your Andover Continuum system, check to
see if they contain any of these reserved words used as line labels or program
variables. Remove or replace any that do with appropriate substitute words.
System Constants
Table of
System
Constants
B-2
Schneider Electric
AccessModeNoDatabase
AccessModeNormal
ACCExpression
ACCFlashEmpty
ACCFlashFailure
ACCFlashValid
ACCPneumatic
ACCTemp(DEGC)
ACCTemp(DEGF)
Accumulator
ACCWarmStartOnly
ACCWarmToCool
ACFloatType
Ack
Ack_Alarms
AckAfterRTN
AckAll
AckAndRTN
Acked
AcknowledgeAlarm
AcknowledgeAlarms
AckOnly
AckOnlyThisOne
AckOrRTN
Acks
AckUntilTime
ACP
Active
Active-alarms-per-object
Active-alarms-under-a-controller
Active-alarms-under-a-field-controller
Active-alarms-under-a-network
Active-unACKed-alarms-per-controller
Activity_archiver
ActivityEvent
Activity-events-per-activity-type
System Constants
Table of
System
Constants
continued
A
Activity-events-per-controller
Activity-events-per-controller-withchildren
Activity-events-per-object
Activity-events-per-user
Activity-events-per-workstation
ActUnack
ACXDatabaseFault
ACXDatabaseFaultCleared
ADAExitRequestTrouble
ADAExitRequestTroubleCleared
ADAInputTrouble
ADAInputTroubleCleared
Add-areas-to-personnel
Add-column(s)-to-list-class
AddListElement
Add-object(s)-to-Report-memberlist
Add-recipient-to-notification
Add-triggers-to-point
Admin
Administrate
Alarm
Alarm_archiver
AlarmEnrollment
AlarmEvent
Alarms-for-an-event-object-with-alarmenrollment
Alarms-for-an-event-object-with-eventnotification
Alarm-transitions-per-object
Allowed
AllPaths
Alm0
Alm1
Alm2
Alm3
Alm4
Alm5
Alm6
Alm7
Alm8
AlmNotification
Amperes
Amperes-per-meter
Amperes-per-square-meter
Ampere-square-meters
AnalogInput
AnalogOutput
AnalogValue
Apr
April
Area
AreaBased
Areas-accessed-by-the-selected-person
Area-use-by-person
Armed
ASCIIDump
ASCIIReload
AtomicReadFile
AtomicWriteFile
AudioDatatype
AudioOnToFault
AudioOnToNormal
AudioOnToOffNormal
Aug
August
Authenticate
AuthenticationFailed
Automatic
AutomaticLifeSafety
Automatic-release-disabled
Automation
AutoSet
Available
Average
Average-of-object-value
Averaging
B-3
System Constants
Table of
System
Constants
continued
B-4
B
B_Abnormal
B_Active
B_Alarm
B_Armed
B_AutoReleaseDis
B_Blocked
B_Default
B_Delayed
B_Disabled
B_Disarmed
B_Disconnected
B_DuressState
B_EmergencyPower
B_Enabled
B_Fast
B_Fault
B_FaultAlarm
B_FaultPreAlarm
B_GeneralAlarm
B_Holdup
B_LocalAlarm
B_Manned
B_None
B_NotReady
B_Off
B_On
B_PreAlarm
B_Prearmed
B_Quiet
B_Reset
B_ResetAlarm
B_ResetFault
B_Silence
B_SilenceAudible
B_SilenceVisual
B_Slow
B_Supervisory
B_Tamper
B_TamperAlarm
Schneider Electric
B_Test
B_TestActive B_TestAlarm
B_TestFault
B_TestFaultAlarm
B_TestSupervisry
B_Unmanned
B_Unsilence
B_UnsilenceAud
B_UnsilenceVis
b3608
b3616
b3624
b3800
b3804
b3810
b3814
b3850
b3851
b3853
b3865
b3866
b3867
b3885
b3886
b3887
b3920
b4920
Backup-BACnet-Device
BackupToFlash
Backup-to-flash-including-the-children
Backup-to-flash-the-objects
Bars
Baud1200
Baud19200
Baud19-2K
Baud2400
Baud300
Baud38400
Baud38-4K
Baud4800
System Constants
Table of
System
Constants
continued
B-C
Baud76800
Baud76-8K
Baud9600
bCX4000
bCX4020
bCX4040
bCX4060
bCX9600
bCX9640
BeepOnToFault
BeepOnToNormal
BeepOnToOffNormal
Binary
BinaryInput
BinaryOutput
BinaryValue
Bit
Bitstring
BlinkOnAlarm
Blocked
Blue
BondSensorTrouble
BondSensorTroubleCleared
BondSensorViolation
BondSensorViolationCleared
BooleanType
Btus
BtusPerHour
BtusPerPoundDryAir
BufferOverflow
Buffer-purged
BufferReady
CabinetTamperDoorClosed
CabinetTamperDoorOpen
Calendar
Cancel-distribution-operation
Cancel-schedule
Candelas
Candelas-per-square-meter
CannotDelete
CannotRename
CardMode
Centimeters
CentimetersOfMercury
CentimetersOfWater
Change-Automatic-archiving-parameter
Change-Continuum-explorer-option
Change-in-GUI-field
ChangeOfBitstring
ChangeOfFailure
ChangeOfState
ChangeOfValue
Change-security-key-in-default-securitypage
Change-security-key-on-a-Class
Change-the-main-menu-page
Change-the-option-on-main-menu-page
ChangeValues
Channel-override-events-per-door
Char
CharacterSetNotSupported
CharType
Check-in-PE-program
Check-out-PE-program
CK34
ClassDefault
ClearDisplay
Clockwise
Closed
ClusteredBar
Coldstart
COM1
COM2
COM3
Command
Command_Line
CommandFailure
Commport
Completed-deleting-object-from-AccessControl-DB
Completed-deleting-objects-from-AccessControl-DB
B-5
System Constants
Table of
System
Constants
continued
B-6
C
Completed-refreshing-objects-to-AccessControl-DB
Completed-refreshing-object-to-AccessControl-DB
Config
ConfigurationError
ConfigurationInProgress
Configure
ConfirmedCOVNotification
ConfirmedEventNotification
ConfirmedPrivateTransfer
ConfirmedTextMessage
Connected
Connecting
Constant
Container
Controller-use-by-person
ControllerUser
Copy
CopyFromTemplate
Copy-object
Counter
CounterClockwise
Create-attempt-for-an-object
Create-link-between-2-objects
CreateObject
Create-object
Create-object-from-DBSync-activity
Create-object-from-template
Create-shortcut
Create-template-from-the-object
CriticalEquipmentControl
CriticalEquipmentMessage
CtsRts
CubicFeet
CubicFeetPerMinute
CubicFeetPerSecond
CubicMeters
CubicMetersPerHour
Cubic-meters-per-minute
CubicMetersPerSecond
Schneider Electric
C-D
Currency1
Currency10
Currency2
Currency3
Currency4
Currency5
Currency6
Currency7
Currency8
Currency9
Current
CurrentValue
CustomCard
CustomMagStripe
CustomWiegand
CX9000
CyclesPerHour
CyclesPerMinute
Data
DatabaseSynchronization
DataBits5
DataBits6
DataBits7
DataBits8
DateAndTimeType
DateDataType
DateTime
Days
DbSync
Dec
December
Default
DefaultTime
Deg-Phase
DegreeDaysCelsius
DegreeDaysFahrenheit
DegreesAngular
DegreesCelsius
DegreesCelsiusPerHour
DegreesCelsiusPerMinute
System Constants
Table of
System
Constants
continued
D-E
DegreesFahrenheit
DegreesFahrenheitPerHour
DegreesFahrenheitPerMinute
DegreesKelvin
Degrees-Kelvin-per-hour
Degrees-Kelvin-per-minute
DegreesPhase
Delayed
Delete
Delete-activity-log
Delete-area-from-all-controllers
Delete-arealink-from-all-controllers
Delete-extendedlogs
Delete-link-between-2-objects
DeleteObject
Delete-object
Delete-object-from-Access-Control-DB
Delete-object-from-DBSync-activity
Delete-objects-from-Access-Control-DB
Delete-the-Personnel-from-controller
Delta-degrees-Fahrenheit
Delta-degrees-Kelvin
Denied
Dereferenced
Device
DeviceAndBelow
DeviceBusy
DeviceCommunicationControl
DeviceOnly
Digital
Direct
Disable-area-links
Disabled
Disable-object
Disable-user-logging-flag
Disarmed
Disconnected
Disconnecting
DisplayAlarmView
DisplayPanel
DisplayVideo
DistNotUsed
DistributeAddAreasToPersonnel
DistributeAreaDeleteToAllACXS
DistributeAreaMemberDeleteToAllACXS
DistributeAreaMembersToAllACXS
DistributeAttributeSet
DistributeEnableDisableAreaLink
DistributeOnePersonToACX
DistributeOnePersonToAllACXS
DistributePersonDeleteToAllACXS
DistributePersonsToACX
DistributeResetPreload
Distribute-the-personnel-to-controller
Done
Door
Door_Ajar
DoorAjarCleared
DoorChannelOverrideAndDoorLocked
DoorChannelOverrideAndDoorUnlocked
DoorChannelOverrideCleared
DoorExitRequestTrouble
DoorExitRequestTroubleCleared
DoorLockedBySchedule
DoorSwitchTrouble
DoorSwitchTroubleCleared
DoorUnlockedBySchedule
Door-use-by-person
Double
DoubleType
DownloadInProgress
DownloadRequired
Download-schedule
Duress_state
DynamicArray
DynamicCreationNotSupported
Email
EmailAck
EmailOnOffNormal
EmailToFault
EmailToNormal
B-7
System Constants
Table of
System
Constants
continued
B-8
E
Emergency-power
Enable-area-links
Enable-Automatic-archiving
Enabled
EnableDisable
Enable-object
Enable-user-logging-flag
EndBackup
EndRestore
EntryKeypadTamper
EntryReaderFault
EntryReaderFaultCleared
Enumeration
Eof
Equal
ErrorEvent
Error-events-per-controller
Error-events-per-controller-with-children
Error-events-per-object
Error-events-per-user
Error-events-per-workstation
Ethernet802_2
Ethernet802_3
EthernetII
EthernetSNAP
Even
EventEnrollment
EventNotification
EventView
EvtNotification
Execute-Learn
Execute-learn-on-an-IOU-module
Execute-object
Execute-Teach
Executive_Privilege
ExitKeypadTamper
ExitReaderFault
ExitReaderFaultCleared
ExitRequestDenied_Lockdown
Export-security-keys-to-file
ExpressionAlarm
ExtendedLog
ExtLog_archiver
Schneider Electric
F
Failed
Failed-login-attempts-per-user
Failed-login-attempts-per-workstation
Failure
FallThru
False
Farads
Fast
Fault
Fault-alarm
Fault-pre-alarm
Feb
February
Feet
FeetPerHour
FeetPerMinute
FeetPerSecond
Female
File
FileAccessDenied
FileBegin
FileCurrent
FileDatatype
FileEnd
Fill
Find-BACnet-devices
FixedArray
Flashes-an-IOU-module
Flash-IOU-modules-from-controller
FloatingLimit
FloatType
FolderAndBelow
FolderOnly
FormCancel
Forward
Fri
Friday
System Constants
Table of
System
Constants
continued
GHI
G31
General-alarm
GeneralMode
Generic-action
GetAlarmSummary
GetEnrollmentSummary
GetEventInformation GlobalScope
Grams-per-minute
Grams-per-second
Graphics
GraphicsDisplayType
GreaterThan
GreaterThanOrEqual
Group
GUI
Halt
Halted
Hectopascals
Henrys
HIDCorp1000_35
HighAlarm
HighLimit
HighLimitEnable
HiLimit
HiResCurrent
HiResVoltage
History
Holdup
Holiday
Horizontal
Horsepower
Hours
Hundredths-seconds
i2608
i2616
i2624
i2800
i2804
i2810
i2814
i2850
i2851
i2853
i2865
i2866
i2867
i2885
i2886
i2887
i2888
I2889
i2920
IAm
Idle
IHave
Image
ImperialGallons
ImperialGallonsPerMinute
Import-object-from-dump-file
Import-security-keys-from-file
Inactive
InAlarm
Inches
InchesOfMercury
InchesOfWater
IncompatibleSecurityLevels
Incomplete
InconsistentParameters
InconsistentSelectionCriterion
Infinet
Infinity_37
InfinityController
InfinityData
InfinityDateTime
InfinityFunction
InfinityInfinetCtlr
InfinityInput
InfinityNumeric
InfinityOutput
InfinityProgram
B-9
System Constants
Table of
System
Constants
continued
B-10
IJ
InfinityString
InfinitySystemVariable
InheritFromTemplate
Initiate-Archiving-sequence
InProgress
InputCurrent
Instantaneous
Int
Intermitted
Internal
Invalid_Attempt
InvalidAPDUInThisState
InvalidArrayIndex
InvalidAttemptAntiPassbackViolation
Invalid-attempts-of-a-door
Invalid-attempts-of-an-area
Invalid-attempts-of-a-person
InvalidDataType
InvalidFileAccessMethod
InvalidFileStartPosition
Invalid-logon-attempt-from-workstation
InvalidOperatorName
InvalidParameterDataType
Invalid-password-in-Operator-text-dialogbox
InvalidTag
InvalidTimeStamp
Invalid-user-name-in-Operator-text-dialogbox
IOBidirectional
IOInput
IOOutput
IOUModule
Jan
January
Joules
Joule-seconds
JoulesPerDegreeKelvin
JoulesPerKilogramDegreeKelvin
Schneider Electric
JK-L
JoulesPerKilogramDryAir
Jul
July
Jun
June
KeyGenerationError
KiloBtus
Kilo-btus-per-hour
Kilograms
Kilograms-per-cubic-meter
KilogramsPerHour
KilogramsPerMinute
KilogramsPerSecond
Kilohertz
Kilohms
Kilojoules
Kilojoules-per-degree-Kelvin
KilojoulesPerKilogram
Kilojoules-per-kilogram-dry-air
KilometersPerHour
Kilopascals
KilovoltAmperes
KilovoltAmperesReactive
Kilovolts
KilowattHours
KilowattHoursPerSquareFoot
KilowattHoursPerSquareMeter
Kilowatts
KVA
KVAR
K-watt-hours
LAN
Last15min
Last30min
LastMonth
LastWeek
LastYear
Launch-Automatic-archiving-app
System Constants
Table of
System
Constants
continued
L-M
Lbus
LessThan
LessThanOrEqual Level_0 through
Level_255
LifeSafetyMessage
LifeSafetyOperation
LifeSafetyPoint
LifeSafetyZone
Lighting
List
ListView
Liters
LitersPerHour
LitersPerMinute
LitersPerSecond
Load
LoadFailed
Loading
Local-alarm
LocalScope
Locked
Lock-unlock-events-per-door
Log
LogAverage
Log-disabled
Login-attempts-per-user
LogInstantaneous
LogMaximum
LogMinimum
Logoff-from-workstation
LogView
LON
LongIntType
Loop
Looping
LowAlarm
LowLimit
LowLimitenable
Lumens
Luxes
Male
Manned
Manual
ManualAreaAssign
ManualLifeSafety
ManualOperator
Mar
March
Mark-personnel(s)-card-as-lost
Maximum
May
Mega-btus
Megahertz
Megajoules
Megajoules-per-degree-Kelvin
Megajoules-per-kilogram-dry-air
MegajoulesPerSquareFoot
MegajoulesPerSquareMeter
MegavoltAmperes
MegavoltAmperesReactive
Megavolts
Megawatt-hours
Megawatts
Megohms
Meters
Meters-per-hour
Meters-per-minute
MetersPerSecond
Meters-per-second-per-second
MilesPerHour
Milliamperes
Milliamps
Millibars
Millimeters
MillimetersOfMercury
Millimeters-per-minute
Millimeters-per-second
B-11
System Constants
Table of
System
Constants
continued
B-12
M
Milliohms
Milliseconds
Millivolts
Milliwatts
Minimum
MinimumOnOff
Minmax
Min-max-of-object-value
Minutes
MissingRequiredParameter
Modify-Global-preference
Momentary_Unlock
MomentaryUnlocked
Mon
Monday
Months
MonthToDate
MonthToNow
Most-accessed-areas
Most-accessed-controllers
Most-accessed-doors
Most-active-alarmed-objects
Most-active-persons
Most-active-persons-entering-selectedarea(s)
Most-active-persons-entering-selecteddoor(s)
Most-alarm(s)-acking-user
Most-alarm(s)-acking-workstation
Most-alarm(s)-logging-workstation
Most-alarm(s)-silencing-user
Most-alarm(s)-silencing-workstation
Most-common-activities
Most-common-errors
Most-offline-controller
Most-offline-field-controller
Most-offline-IOU
Move
Move-object
MSTP
Schneider Electric
M-N
Multiple
MultiPlot
MultiStateFault
MultistateInput
MultistateOutput
MultistateValue
MVA
MVAR
NCParallel
NCSeries
NCSerPar
NetBeui
NetBios
NETWARE
Network
NETWORK_CMDLINE
NetworkDialup
NetworkWide
New
Newton
Newton-meters
Newton-seconds
Newtons-per-meter
NoAccess
NoComm
NoDataBase
NoFaultDetected
Nofill
NoFlowControl
NonCollection
None
NonOperational
NoObjectsOfSpecifiedType
NoOutput
NoPad
NOParallel
Normal
NormalMessage
NoSegmentation
NoSensor
System Constants
Table of
System
Constants
continued
NO
O-P
NOSeries
NOSerPar
NoShortcuts
NoSpaceForObject
NoSpaceToAddListElement
NoSpaceToWriteProperty
NotAcked
NotConfigured
NotEqual
NotificationClass
Not-ready
NotSet
NoUnits
Nov
November
NoVTSessionsAvailable
Null
Object
ObjectClass
ObjectDeletionNotPermitted
ObjectId
ObjectIdentifierAlreadyExists
ObjectReference
Objects-created/saved-events-per-user
Object-value
Oct
October
Odd
Off
OffLine
Offline-alarms-per-controller
Offline-alarms-per-field-controller
Offline-alarms-per-IOU-module
OffNormal
Ohm-meters
Ohms
On
-On
Once
OneMonthToDate
OneMonthToNow
OnePlot
OneWeekToDate
OneWeekToNow
OneYearToDate
OneYearToNow
OnLine
Opened
OpenLoop
Open-object-for-editing
Operational
OperationalProblem
OperationalReadOnly
Other
Out_Of_Services
OutOfRange
OverRange
Overridden
PageAck
PageToFault
PageToNormal
PageToOffNormal
Paging
Panel
PanelMeter
ParameterOutOfRange
PartsPerBillion
PartsPerMillion
Pascals
PasswordFailure
PDF
PE_program
Pending
PendingReload
PendingRetry
Percent
Percent-obscuration-per-foot
Percent-obscuration-per-meter
PercentPerSecond
PercentRelativeHumidity
PerHour
B-13
System Constants
Table of
System
Constants
continued
B-14
P
Permanent_Unlock
Permanent_UnlockCleared
PerMinute
PerSecond
Personnel
Persons-accessed-the-selected-area
Pie
PinChange
PINMode
PINOnly
PIUTool-End
PIUTool-Import-End
PIUTool-Import-Start
PIUTool-Search-end
PIUTool-Search-Start
PIUTool-Start
PlayContinuous
PlayOnce
Polar
Port_OutOfServices
PoundsForcePerSquareInch
PoundsMass
PoundsMassPerHour
PoundsMassPerMinute
Pounds-Mass-Per-Second
PowerFactor
PPP
Pre-alarm
Prearmed
PreemptedByHigherPriorityTask
PrimaryEMail
PrimaryForward
PrimaryLog
PrimaryPaging
PrimaryPrint
Print
PrintAck
Printer
PrintReport
PrintToFault
Schneider Electric
PQ-R
PrintToNormal
PrintToOffNormal
Priority10
Priority11
Priority12
Priority13
Priority14
Priority15
Priority16
Priority3
Priority4
Priority7
Priority9
Probe
ProbeOff
ProbeOnDemand
ProcessError
Program
ProgrammingLevel
Prompt
Property
PropertyIsNotAList
PsiPerDegreeFahrenheit
PTP
PTPConnecting
PTPDisconnected
Pulse-Converter
Pwr-Factor
Quiet
Radians
Radians-per-second
Raw
ReadAccessDenied
ReaderDoor
ReadOnly
ReadProperty
ReadPropertyConditional
ReadPropertyMultiple
ReadRange
ReadWrite Ready
System Constants
Table of
System
Constants
continued
R-S
Real
RealTime
RefreshDatabase
Refreshed-Extended-Log
Refresh-object-from-template
Refresh-objects-to-Access-Control-DB
Refresh-object-to-Access-Control-DB
ReinitializeDevice
Reload-object-to-controller
RemoteScope
Remove-areas-from-personnel
Remove-column(s)-from-list-class
RemovedEnumValue
RemoveFromStatusWhenAcked
RemoveListElement
Remove-object(s)-from-Reportmemberlist
Remove-recipient-from-notification
Remove-triggers-from-point
Rename-object
RepeatEmail
RepeatLog
RepeatPaging
RepeatPrint
RequestKey
RequestToExit
RequiresCommission
Reset
Reset-alarm
Reset-controller-from-editor
Reset-fault
Resources
Restart
Restore-BACnet-Device
ReturnToNormal
Reverse
RevolutionsPerMinute
Rotate-object-to-another-label
RTD1000TempC
RTD1000TempC2W
RTD1000TempF
RTD1000TempF2W
RTDTemp(DEGC)
RTDTemp(DEGF)
RTDTempC2W
RTDTempF2W
RTNOnly
RTNs-for-an-event-object-with-alarmenrollment
RTNs-for-an-event-object-with-eventnotification
RtnUnack
Run
Running
Sat
Saturday
Save
Save-object
Save-object-to-database
Save-object-to-database(sendtoDatabase)
Save-object-to-dump-file
Save-schedule-auto-send-datetime
Save-schedule-configuration
Save-schedule-events
Schedule
ScheduleDownload
ScheduleMode
Seconds
Security
SecurityLevel
SecurityNotSupported
SegmentationNotSupported
SegmentedBoth
SegmentedReceive
SegmentedTransmit
Send-time-synch
Sep
September
ServiceRequestDenied
Services
B-15
System Constants
Table of
System
Constants
continued
B-16
S
Set-attribute
Set-attribute-in-buffered-mode
Set-Date-systemvariable
ShortcutCreate
ShortcutsAsShortcuts
ShortedLoop
ShortIntType
ShowDisplayValue
ShowMessage
ShowSpaceTemp
ShowTimeValue
Shutdown-Automatic-archiving-app
Shut-down-Continuum-on-a-workstation
Siemens
Siemens-per-meter
Silence
Silence-audible
Silence-visual
Singular
Site_Config
Site_ConfigB
SiteConfiguration
SiteMode
Slow
Smallint
Snapshot-of-object-value
Snapshot-of-Trend-Log-buffer-contents
SoftAck
SpecifiedByRules
SpecifiedByUser
SpecifiedElapsedTime
SpecifiedTime
SQLDateTime
Square-centimeters
SquareFeet
Square-inches
SquareMeters
Square-meters-per-Newton
Squ-Feet
Squ-Meters
StartBackup
Start-Continuum-on-a-workstation
Schneider Electric
S-T
Start-Relinquish-BACnet-Command
StartRestore
Start-the-object
Stop-Automatic-archiving
StopBit1
StopBit1.5
Stop-the-object
StopBit2
String
StringDataType
Structure
SubscribeCOV
SubscribeCOVProperty
Success
Sun
Sunday
Supervised
SvFloat
SX8000
System
Table
Tamper
Tamper-alarm
TankNet
TankProbe
TCP
TCP_IP
TCPIP
Temperature
TemplateCreate
TemplateRefresh
Teslas
Test
Test-active
Test-alarm
Test-fault
Test-fault-alarm
Text
TextType
ThermoCoupBTempC
ThermoCoupBTempF
System Constants
Table of
System
Constants
continued
T
ThermoCoupETempC
ThermoCoupETempF
ThermoCoupJTempC
ThermoCoupJTempF
ThermoCoupKTempC
ThermoCoupKTempF
ThermoCoupRTempC
ThermoCoupRTempF
ThermoCoupSTempC
ThermoCoupSTempF
ThermoCoupTTempC
ThermoCoupTTempF
Therms
Thu
Thursday
TimeDataType
TimedUnlock
Timeout
TimeStampType
TimeSynchronization
Tinyint
Today
ToFault
TonHours
ToNormal
Tons
Tons-per-hour
TonsRefrigeration
ToOffNormal
TooManyArguments
Trend
TrendLog
TriState
Trouble
True
Truncate-Log-table
TS_DateTime
TS_SequenceNumber
TS_Time
Tue
Tuesday
UDP
UDP_AND_TCP
T-U
UnArmed
Unassigned
UnauthorizedOpenDoor
UnauthorizedOpenDoorCleared
Unavailable
UncomfirmedEventNotification
UncomfirmedPrivateTransfer
UncomfirmedTextMessage
UnconfirmedCOVNotification
UndefinedEnumeration
UnderRange
Union
Unknown
UnknownDevice
UnknownObject
UnknownProperty
UnknownVTClass
UnknownVTSession
Unload
Unloaded
Unlocked
Unmanned
UnrecognizedService
UnreliableOther
Unset
UnsignedCharType
UnsignedLongType
UnsignedShortType
Unsilence
Unsilence-audible
Unsilence-visual
UnsupportedObjectType
Update-controller-from-DBSync-activity
Update-extendedlogs
Update-object-from-DBSync-activity
Update-the-OS-on-a-controller
Urgent
UrgentMessage
User-invalid-attempt
UsGallons
UsGallonsPerMinute
UtcTimeSynchronization
B-17
System Constants
Table of
System
Constants
continued
B-18
VW
V_Variable
VA
Valid_Access
ValidAccessAntiPassbackViolation
ValidAccessDuress
ValidAccessNoEntry
ValidAccessTimedAntiPassbackViolation
Valid-and-invalid-attempts-of-a-person
Valid-logon-from-workstation
ValueOutOfRange
ValueRepeat
VAR
Varbinary
Varchar
Vertical
VideoDatatype
View
ViewOnly
Voltage
Voltamperes
VoltAmperesReactive
Volts
Volts-per-degree-Kelvin
Volts-per-meter
VT
VT100
VT220
VtClose
VtData
VtOpen
VTSessionAlreadyClosed
VTSessionTerminationFailure
Waiting
Warmstart
WattHours
Watt-hours
Watts
Watts-per-meter-per-degree-Kelvin
WattsPerSquareFoot
WattsPerSquareMeter
WattsPerSquareMeterDegreeKelvin
Web
Schneider Electric
W X YZ
Webers
WebGraphic
WebGraphicControl
Wed
Wednesday
Weekly
Weeks
WeekToDate
WeekToNow
WhenFinished
White
WhoHas
WhoIs
Wiegand26
Window
Wireless
WithinController
WriteAccessDenied
WriteOnly
WriteProperty
WritePropertyMultiple
Wyse
X_Variable
Xdriver
XdrvInstalled
XdrvNotInstalled
XdrvRemove
XdrvRemoved
XdrvRun
XdrvRunning
XdrvStop
XdrvStopped
XdrvTransition
XonXoff
XonXoffCtsRts
Yearly
Years
YearToDate
YearToNow
Yesterday
ZoneNumberBased
Table of
Additional
Reserved
Words
Above
Abs
AccessLog
AccessServer
AckAlarm
Acos
Adjust
Advise
Alarms
All
Am
And
Append
Arcsine
Arctangent
Arctangent2
Arg
Asc
Asin
Ask
Atan
Atan2
AudioBell
AvailRecords
Average
Avg
Backlight
Basedon
Beep
BeginPolyLine
Below
Between
Bitand
Bitnot
Bitor
Bitxor
B-D
Break
Breakpoint
By
CabinetTamper
Case
Cd
Ceiling
Change
Chr
ClearScreen
Close
CloseFile
CloseList
CloseWindow
Cls
Connect
Continue
Control
Cos
Cosine
CPUPower
CurUser
Curvefit
CurWorkstation
Date
DateTime
DayOfMonth
DayOfYear
Dde
Del
Delete
DeleteExtLog
Dial
DiffTime
Dis
Disable
D-F
Disconnect
Div
Divided
Does
Dom
Doy
DrawEllipse
DrawLine
DrawRectangle
Dt
Dump
E
Either
Else
En
Enable
Encrypt
Encrypted
End
EndIf
EndPolyLine
EndSelect
EndWhen
EndWhile
EnergyNet
Equal
Equals
Erase
Errors
EventLogSize
Execute
Exists
Exp
Exponential
Fact
Factorial
F-L
First
Floor
For
Freemem
From
GetExtLog
GetName
GetObject
Go
Goto
Greater
HangUp
Hod
Hour
HourOfDay
Hr
If
ImportFile
In
Include
Infinit#Count
Initiate
InitModem
Input
Inputs
IOUCommFlt#
Is
Kill
Last
L-M
Line
LinePoint
Ln
Load
Locate
Log
Logoff
Logout
Lookup
Max
Maximum
Maxitem
MessageWindow
MicroPower
Mid
Min
Minimum
Minitem
Minus
Minute
Mod
Modify
Modulate
Month
Move
Mth
Mult
Multiplied
LCDPassword
continued
Left
Len
Length
Less
Let
Like
B-19
Table of
Additional
Reserved
Words
continued
B-20
N-R
Neither
NewAlarmCount
Next
Not
Number
Numeric
NumToStr
Object
Open
OpenFile
OpenList
Or
Output
Outputs
P
Param
Passed
Pid
PlayAudio
Plus
Pm
Poke
PollACValue
PopAlarm
PositionFile
Pr
PreParse
Print
Prompt
Random
Read
ReadFile
ReadProperty
ReceiveFile
Relinquish
Reload
Report
Request
Return
Right
Rnd
Rot
Schneider Electric
R-T
Rotate
Round
Run
Save
Sc
Scan
Sd
Search
Sec
Second
Select
SendCommand
SendEmail
SendFile
Set
SetACValue
SetDisplay
Shell
Show
ShowReport
Shut
Sin
Sine
Site
Sqrt
StandardDeviation
Start
Status
StatusLine
Step
Stop
String
Stringfill
StrToDate
StrToNum
StrToTime
Sum
SystemStatus
Tab
Tan
Tangent
Td
T-Y
Terminate
Th
Than
The
Then
Through
Thru
Time
TimeOfDay
Timepiece
Times
Tm
To
Tod
TouchedCell
Trace
Trunc
Truncate
Ts
Turn
Unadvise
UniquePIN
Until
Update
UpdateAlarms
UpdateEvents
UpdateExtLog
Val
Version
Weekday
Where
While
With
Wkd
Write
WriteFile
WriteProperty
Year
Yr
Appendix C
Objects and Attributes
The table below lists all of the objects available in the Plain English language for the
controllers and CyberStation workstations. Starting on the next page, the attributes for
each of these class objects are listed in tabular form.
BACnet controller properties vs. Plain English names are covered in Appendix E
AlarmEnrollment
AnalogInput
AnalogOutput
Area
BinaryInput
BinaryOutput
BinaryValue
Calander
CommPort
ControllerUser
DateTime
Device
Door
EventEnrollment
EventNotification
EventView
File
Filter
Folder
Function
Graphics
Group
InfinityController
InfinityDateTime
InfinityFunction
InfinityInfinetCtlr
InfinityInput
InfinityNumeric
InfinityOutput
InfinityProgram
InfinityString
InfinitySystemVariable
IOUModule
ListView
Loop
MultistateInput
MultistateOutput
MultistateValue
Network
NetworkDialup
Numeric
Personnel
Program
Report
RootClass
Schedule
SecurityLevel
ShortCut
String
TrendLog
User
AccessEvent Attributes
AccessEvent
Attributes
Table
The following list provides you with the attributes and meanings for an
AccessEvent object.
Attribute
C-2
Description
AreaID
CardNumber
Card Number
CardType
Card Type
Description
Description of Object
DeviceID
DoorID
EventMessage
EventType
ID
LoggingWorkstaID
NonABACardNumber
PersonID
SiteCode
TimeOfLog
TimeStamp
ZoneCode
Schneider Electric
ActivityEvent Attributes
ActivityEvent
Attributes
Table
The following list provides you with the attributes and meanings for an
ActivityEvent object.
Attribute
Description
ActionCode
Caller Code
Description
Description of Object
EventObjectID
EventObjectName
ID
NodeName
The name of the device from which the activity took place
Operator Text
OTUser
TimeStamp
UserID
UserName
C-3
ACXList Attributes
ACXList
Attributes
Table
C-4
The following list provides you with the attributes and meanings for an
ACXList object.
Attribute
Description
AreaID
AreaUsage
DeviceID
NetworkID
Schneider Electric
AlarmEnrollment Attributes
ALarmEnrollment
Attributes Table
The following list provides you with the attributes and meanings for an
AlarmEnrollment object.
Attribute
Description
AckTranstoFault
AckTranstoNorm
AckTranstoOffNorm
Alarm1Alarm8
Alarmenable
AlarmFaults
AlarmFlags
Alarmgraphicpage
AlarmInfo
AlarmType
Alias
AudioFileFault
AudioFileNormal
AudioFileOffNormal
BaseLink
CreatedBy
CreateTime
Description
Description of object
DeviceID
DeviceModel
DistPending
EditLock
EventNotificationID
EventType
FollowUpRule
Graphics
C-5
AlarmEnrollment Attributes
ALarmEnrollment
Attributes Table
continued
C-6
Attribute
Description
IconID
ID
IncludeObject
LastChangeBy
LockedBy
LockingWorkstation
MsgTextFault
MsgTextNormal
MsgTextOffNormal
Name
NetworkNumber
NotifyType
Owner
Owner of object
Properties
ReferenceCount
ReferencePoint1
ReferencePoint4
RefObjectType
RefTemplate
ReportID
ScheduleEvents
SecurityLevel
Template
TemplateAlias
Alias that will be used when creating objects from this template
object - meaningful only for templates
TemplateCreateRule
TemplateName
Name that will be used when creating objects from this template
object - meaningful only for templates
TimeLocked
Type
Virtual Flag
Schneider Electric
AlarmEvent Attributes
ALarmEvent
Attributes
Table
The following list provides you with the attributes and meanings for an
AlarmEvent object.
Attribute
Description
AckbyUser
AckbyWorkstation
Active
Set to true if the alarm has not satisfied all of its return criteria
EventNotificationID
EventObjectID
EventObjectValue
Value of object
EventType
Alarm Type
FromState
ID
InitDeviceID
LoggingWkstaID
The name of the workstation that logs the alarm to the database
MasterAlmID
MessageText
OperatorActions
OPeratorText
SilencedbyUser
SilencedbyWorkstation
Silenced Time
TimeofAck
TimeofLog
TimeStamp
ToState
C-7
AlarmInfo Attributes
AlarmInfo
Attributes
Table
C-8
The following list provides you with the attributes and meanings for an
AlarmInfo object.
Attribute
Description
AckTranstoFault
AckTranstoNorm
AckTranstoOffNorm
Alarm1Alarm8
AlarmEnable
AlarmFaults
AlarmFlags
AlarmInfo
AlarmLink1AlarmLink8
ParentObject
ReferencePoint1
ReferencePoint4
ReportID
Schneider Electric
AnalogInput Attributes
AnalogInput
Attributes
Table
The following list provides you with the attributes and meanings for an
AnalogInput object.
Attribute
Description
AckedTransitions
AckTranstoFault
AckTranstoNorm
AckTranstoOffNorm
Alarmgraphicpage
Alarm1Alarm8
AlarmEnable
AlarmFaults
AlarmFlags
AlarmInfo
Alias
BaseLink
Channel
ClassSortID
Conversion
CreatedBy
CreateTime
DeadBand
Amount that the value must differ from low or hi limit in Basic
Alarm (WS points only)
Description
Description of Object
DeviceID
DeviceModel
DeviceType
DigitalFilter
DistPending
EditLock
ElecScaleBot
C-9
AnalogInput Attributes
AnalogInput
Attributes
Table
continued
C-10
Attribute
Description
ElecScaleTop
ElecType
ElecValue
EngScaleBot
EngScaleTop
EventEnable
Lists which of the 3 basic alarms are enabled - Alarm, RTN, Fault
(WS points only)
EventNotificationID
EventState
Lists current basic alarm State - Alarm, RTN, Fault (WS points
only)
FollowUpRule
Format
Graphics
HighLimit
IconID
ID
IncludeObject
IOU
IsShortcut
LastChangeBy
LCDSettable
LimitEnable
LockedBy
LockingWorkstation
LogIntervalSecs
LogType
LowLimit
Name
NetworkNumber
NotifyType
OutOfService
Owner
Owner of object
Properties
Schneider Electric
AnalogInput Attributes
AnalogInput
Attributes
Table
continued
Attribute
Description
ReferencePoint1
ReferencePoint4
RefTemplate
Reliability
ReportID
Resolution
ScheduleEvents
SecurityLevel
Size
StatusFlags
Template
TemplateAlias
Alias that will be used when creating objects from this template
object - meaningful only for templates
TemplateCreateRule
TemplateName
Name that will be used when creating objects from this template
object - meaningful only for templates
Threshold
TimeDelay
The time delay used in evaluating Basic Alarms (WS points only)
TimeLocked
TriggerThreshold
Type
Units
UpdateInterval
The update interval to be used for this object (WS points only)
Value
The value of this object after any conversions that may be required
C-11
AnalogOutput Attributes
AnalogOutput
Attributes
Table
The following list provides you with the attributes and meanings for an
AnalogOutput object.
Attribute
C-12
Description
AckedTransitions
AckTranstoFault
Binary bitmap that corresponds to the alarm number that has made
a transition from normal to Fault
AckTranstoNorm
Binary bitmap that corresponds to the alarm number that has made
a transition back to Normal
AckTranstoOffNorm
Binary bitmap that corresponds to the alarm number that has made
a transition from normal to Alarm
Alarmgraphicpage
Alarm1Alarm8
AlarmEnable
AlarmFaults
AlarmFlags
AlarmInfo
Alias
BaseLink
Channel
Conversion
CreatedBy
CreateTime
DeadBand
Amount that the value must differ from low or hi limit in Basic
Alarm (WS points only)
Description
Description of Object
DeviceID
DeviceModel
DeviceType
DigitalFilter
DistPending
DistPending
EditLock
Schneider Electric
AnalogOutput Attributes
AnalogOutput
Attributes
Table
continued
Attribute
Description
ElecScaleBot
ElecScaleTop
ElecType
ElecValue
EngScaleBot
EngScaleTop
EventEnable
Lists which of the 3 basic alarms are enabled - Alarm, RTN, Fault
(WS points only)
EventNotificationID
EventState
Lists current basic alarm State - Alarm, RTN, Fault (WS points only)
FollowUpRule
Format
Graphics
HighLimit
IconID
ID
IncludeObject
IOU
LastChangeBy
LCDSettable
LimitEnable
LockedBy
LockingWorkstation
LogIntervalSecs
LogType
LowLimit
Name
NetworkNumber
NotifyType
OutOfService
OverrideValue
Owner
Owner of object
Properties
C-13
AnalogOutput Attributes
AnalogOutput
Attributes
Table
continued
C-14
Attribute
Description
ReferencePoint1
ReferencePoint4
RefTemplate
Reliability
ReportID
Resolution
ScheduleEvents
SecurityLevel
Size
StatusFlags
Template
TemplateAlias
Alias that will be used when creating objects from this template object
- meaningful only for templates
TemplateCreateRule
TemplateName
Name that will be used when creating objects from this template
object - meaningful only for templates
Threshold
The amount, in engineering units, that the value must change before it
will update
TimeDelay
The time delay used in evaluating Basic Alarms (WS points only)
TimeLocked
Type
Units
UpdateInterval
The update interval to be used for this object (WS points only)
Value
The value of this object after any conversions that may be required
Schneider Electric
Area Attributes
Area Attributes
Table
The following list provides you with the attributes and meanings for
an Area object.
Attribute
Description
AckTranstoFault
AckTranstoNorm
AckTranstoOffNorm
Alarm1Alarm8
AlarmEnable
AlarmFaults
AlarmFlags
Alarmgraphicpage
AlarmInfo
Alias
BaseLink
CreatedBy
CreateTime
DeletePending
Description
Description of Object
DeviceID
DeviceModel
DistPending
EditLock
FollowUpRule
Graphics
IconID
ID
IncludeObject
KnownOccupCount
LastChangeBy
LockedBy
C-15
Area Attributes
Area Attributes
Table continued
C-16
Attribute
Description
LockingWorkstation
Name
NetworkNumber
Owner
Owner of object
Properties
ReferencePoint1
ReferencePoint4
RefTemplate
ReportID
ScheduleEvents
SecurityLevel
State
Template
TemplateAlias
Alias that will be used when creating objects from this template
object - meaningful only for templates
TemplateCreateRule
TemplateName
Name that will be used when creating objects from this template
object - meaningful only for templates
TimeLocked
Type
Schneider Electric
AreaLink Attributes
AreaLink
Attributes
Table
The following list provides you with the attributes and meanings for an
AreaLink object.
Attribute
Description
AreaID
DeletePending
DistPending
DistTime
ID
PersonID
PreLoad
SchedID
State
TimeEntered
C-17
BinaryInput Attributes
BinaryInput
Attributes Table
C-18
The following list provides you with the attributes and meanings for a
BinaryInput object.
Attribute
Description
AckedTransitions
AckTranstoFault
AckTranstoNorm
AckTranstoOffNorm
ActiveText
Alarm1Alarm8
AlarmEnable
AlarmFaults
AlarmFlags
Alarmgraphicpage
AlarmInfo
Alias
BaseLink
ChangeofStateCount
ChangeOfStateTime
CreatedBy
CreateTime
Description
Description of Object
DeviceID
DeviceModel
DeviceType
DistPending
EditLock
ElapsedActiveTime
ElecValue
EventEnable
EventNotificationID
Schneider Electric
BinaryInput Attributes
BinaryInput
Attributes Table
continued
Attribute
Description
EventState
Lists current basic alarm State - Alarm, RTN, Fault (WS points
only)
FollowUpRule
Graphics
IconID
ID
InactiveText
IncludeObject
IOU
LastChangeBy
LCDSettable
LockedBy
LockingWorkstation
LogIntervalSecs
LowLimit
Name
NetworkNumber
NotifyType
OutOfService
Owner
Owner of object
Polarity
Properties
ReferencePoint1
ReferencePoint4
RefTemplate
Reliability
ReportID
ScheduleEvents
SecurityLevel
Size
StatusFlags
Template
TemplateAlias
Alias that will be used when creating objects from this template
object - meaningful only for templates
TemplateCreateRule
C-19
BinaryInput Attributes
BinaryInput
Attributes Table
continued
C-20
Attribute
Description
TemplateName
TimeDelay
TimeLocked
TimeofActiveTime
Reset
Time stamp of most recent time that the active state was reset
TimeofStateCount
Reset
Time stamp of most recent time that the state counter was reset
Type
Value
Schneider Electric
BinaryOutput Attributes
BinaryOutput
Attributes Table
The following list provides you with the attributes and meanings for a
BinaryOutput object.
Attribute
Description
AckedTransitions
AckTranstoFault
AckTranstoNorm
AckTranstoOffNorm
ActiveText
Alarm1Alarm8
AlarmEnable
AlarmFaults
AlarmFlags
Alarmgraphicpage
AlarmInfo
Alias
BaseLink
ChangeofStateCount
ChangeOfStateTime
ChangeofStateCount
ChangeOfStateTime
CreatedBy
CreateTime
Description
Description of Object
DeviceID
DeviceModel
DeviceType
DistPending
EditLock
ElapsedActiveTime
ElecValue
C-21
BinaryOutput Attributes
BinaryOutput
Attributes Table
continued
C-22
Attribute
Description
EventEnable
EventNotificationID
EventState
Lists current basic alarm State - Alarm, RTN, Fault (WS points
only)
FollowUpRule
Graphics
IconID
ID
InactiveText
IncludeObject
IOU
LastChangeBy
LCDSettable
LockedBy
LockingWorkstation
LogIntervalSecs
LowLimit
MinimumOffTime
MinimumOnTime
Name
NetworkNumber
NotifyType
OutOfService
OverrideValue
Owner
Polarity
Properties
ReferencePoint1
ReferencePoint4
RefTemplate
Reliability
RelinquishDefault
ReportID
Schneider Electric
BinaryOutput Attributes
BinaryOutput
Attributes Table
continued
Attribute
Description
ScheduleEvents
SecurityLevel
Size
StatusFlags
Template
TemplateAlias
Alias that will be used when creating objects from this template
object - meaningful only for templates
TemplateCreateRule
TemplateName
TimeDelay
TimeLocked
TimeofActiveTimeR
eset
Time stamp of most recent time that the active state was reset
TimeofStateCountRe
set
Time stamp of most recent time that the state counter was reset
Type
Value
C-23
BinaryValue Attributes
BinaryValue
Attributes Table
The following list provides you with the attributes and meanings for
a BinaryValue object.
Attribute
C-24
Description
AckedTransitions
AckTranstoFault
AckTranstoNorm
AckTranstoOffNorm
ActiveText
Alarm1Alarm8
AlarmEnable
AlarmFaults
AlarmFlags
Alarmgraphicpage
AlarmInfo
Alias
BaseLink
ChangeofStateCount
ChangeofStateTime
CreatedBy
CreateTime
Description
Description of Object
DeviceID
DeviceModel
DistPending
EditLock
ElapsedActiveTime
EventEnable
EventNotificationID
EventState
Schneider Electric
BinaryValue Attributes
BinaryValue
Attributes Table
continued
Attribute
Description
FollowUpRule
Graphics
IconID
ID
InactiveText
IncludeObject
LastChangeBy
LockedBy
LockingWorkstation
LogIntervalSecs
LogType
MinimumOffTime
MinimumOnTime
Name
NetworkNumber
NotifyType
OutOfService
Owner
Owner of object
Properties
ReferencePoint1
ReferencePoint4
RefTemplate
Reliability
ReportID
ScheduleEvents
SecurityLevel
Size
StatusFlags
Template
TemplateAlias
TemplateCreateRule
TemplateName
C-25
BinaryValue Attributes
BinaryValue
Attributes Table
continued
C-26
Attribute
Description
TimeDelay
TimeLocked
TimeofActiveTimeReset
Time stamp of most recent time that the active state was
reset
TimeofStateCountReset
Time stamp of most recent time that the state counter was
reset
Type
Value
Schneider Electric
Calander Attributes
Calander
Attributes
Table
The following list provides you with the attributes and meanings for a
Calander object.
Attribute
Description
Description
Description of object
Value
DateList
CalendarEntryName
C-27
ClassName Attributes
ClassName
Attributes
Table
The following list provides you with the attributes and meanings for a
ClassName object.
Attribute
C-28
Description
ObjectTypeID
ObjectTypeName
Schneider Electric
CommPort Attributes
CommPort
Attributes Table
The following list provides you with the attributes and meanings for a
CommPort object.
Attribute
Description
AckTranstoFault
AckTranstoNorm
AckTranstoOffNorm
Alarm1Alarm8
AlarmEnable
AlarmFaults
AlarmFlags
Alarmgraphicpage
AlarmInfo
CommStatus
Not Meaningful to the user for this object - always reads online
CreatedBy
CreateTime
CTS
Clear To Send
CurrCommDir
CurrentUser
CXD
Carrier Detect
DataLength
DefaultBaud
DefaultMode
Description
Description of Object
DeviceID
DeviceModel
DialPrefix
DialSuffix
DirectConnect
DistPending
C-29
CommPort Attributes
CommPort
Attributes Table
continued
Attribute
Description
DSR
DTR
EditLock
FlowControl
FollowUpRule
Graphics
HangUpCmd
IconID
ID
IncludeObject
LastChangeBy
Learn
LockedBy
LockingWorkstation
MaxPrintCols
MaxPrintRows
MenuBar
Messages
C-30
Mode
ModemInit
Name
NetworkNumber
NotChangeable
Owner
ParamLabels
Parity
PortNum
PrintDone
ProgramAttached
Properties
Reconfigs
ReferencePoint1
ReferencePoint4
Schneider Electric
CommPort Attributes
CommPort
Attributes Table
continued
Attribute
Description
RefTemplate
ReportID
RequestedMode
Resume
RI
Ring Indicator
RTS
Ready to Send
ScheduleEvents
SecurityLevel
StartCharacter
State
StatusBar
The bar at the bottom of the screen when the port is configured
as autoset
StopBits
Template
TemplateAlias
Alias that will be used when creating objects from this template
object - meaningful only for templates
TemplateCreateRule
TemplateName
TerminalType
TimedOut
Indicates that the port has timed out of its previous instruction
TimeLocked
TimeOutValue
TrackCXD
TransmitCount
Number of transmissions
Type
Windows
XDriverErrCount
XdriverError
XdriverErrTime
XdriverFile
XdriverStatus
C-31
ControllerUser Attributes
ControllerUser
Attributes Table
C-32
The following list provides you with the attributes and meanings for
a ControllerUser object.
Attribute
Description
AckTranstoFault
AckTranstoNorm
AckTranstoOffNorm
Alarm1Alarm8
AlarmEnable
AlarmFaults
AlarmFlags
Alarmgraphicpage
AlarmInfo
Alias
BaseLink
ClassSortID
CreatedBy
CreateTime
Description
Description of Object
DeviceID
DeviceModel
DistPending
EditLock
FullName
Graphics
IconID
ID
IncludeObject
LastChangeBy
LockedBy
LockingWorkstation
Schneider Electric
ControllerUser Attributes
ControllerUser
Attributes Table
continued
Attribute
Description
LoginProgram
LogOutProgram
Name
NetworkNumber
Owner
Preemption
Properties
ReferencePoint1
ReferencePoint4
RefTemplate
ReportID
ScheduleEvents
State
Template
TemplateAlias
Alias that will be used when creating objects from this template
object - meaningful only for templates
TemplateCreateRule
TemplateName
TimeLocked
Type
VirtualFlag
C-33
DateTime Attributes
DateTime
Attributes Table
C-34
The following list provides you with the attributes and meanings for
a DateTime object.
Attribute
Description
AckTranstoFault
AckTranstoNorm
AckTranstoOffNorm
Alarm1Alarm8
AlarmEnable
AlarmFaults
AlarmFlags
Alarmgraphicpage
AlarmInfo
Alias
BaseLink
CreatedBy
CreateTime
DateValue
Description
Description of Object
DeviceID
DeviceModel
DistPending
EditLock
EventEnable
EventNotificationID
EventState
Lists current basic alarm State - Alarm, RTN, Fault (WS points
only)
FollowUpRule
Graphics
HighLimit
Schneider Electric
DateTime Attributes
DateTime
Attributes Table
continued
Attribute
Description
IconID
ID
IncludeObject
LastChangeBy
LockedBy
LockingWorkstation
LogIntervalSecs
LogValue
LowLimit
Name
NetworkNumber
NotifyType
OutOfService
Owner
Owner of object
Properties
ReferencePoint1
ReferencePoint4
RefTemplate
Reliability
ReportID
ScheduleEvents
SecurityLevel
Size
StatusFlags
Template
TemplateAlias
TemplateCreateRule
TemplateName
TimeLocked
TimeValue
Type
Value
C-35
Device Attributes
Device
Attributes Table
C-36
The following list provides you with the attributes and meanings for
a Device object.
Attribute
Description
AccessEventViewer
MaxEntries
AcknowledgeEmail
FormatFile
AcknowledgePager
FormatFile
AcknowledgePrinter
FormatFile
AckTranstoFault
AckTranstoNorm
AckTranstoOffNorm
Alarm1Alarm8
AlarmCount
AlarmEmailFormat
File
AlarmEnable
AlarmFaults
AlarmFlags
Alarmgraphicpage
AlarmInfo
AlarmPagerFormat
File
AlarmPrinterFormat
File
AlarmPrinterPath
AlarmViewerMax
Entries
Alias
APDUSegTimeout
Schneider Electric
Device Attributes
Device
Attributes Table
continued
Attribute
APDUTimeout
ApplSoftwareVer
BackupFailureTimeout
BasdgeFormatFile
Location
BaseLink
CommandlinePrompt
CommStatus
ConfigurationFileList
CreatedBy
CreateTime
DaylightSavings
Status
DefaultBadgeFormat
DefaultFolder
DefaultImageCropping
DefaultReportViewer
DefaultRouter
Description
DeviceID
DeviceModel
DistPending
EditLock
FirmwareRev
FolderType
FollowUpRule
Graphics
IAMBroadcastIntvl
IAMBroadcastScope
IAMRemoteNetwork
IconID
ID
IncludeObject
IncrementReportFile
Description
Time in milliseconds between retransmission of an APDU
segment that requires ack but that has not been received.
Application software version
Device being backed up or restored must wait before ending
the backup or restore procedure.
Default location of this type of format file
Meaningless to the user
Prompt to be used on the command line
Communication status of device
File objects contained in the Configuration File List property
for that device
Name of user who created object
Time of object creation
States if device is currently under DST
Format file to be used when printing badges
Folder into which all new objects will be placed when
created.
True/False as to the use of the default image cropping
Program to use for the viewing of report files
IP address of the default router
Description of Object
Name of the device owning the object
Not Currently Implemented
Indicates that distribution is pending for this object
Indicates if object has been locked to additional Edits
Not meaningful to user
Not Meaningful to the User.
Not Meaningful to the User
Not Meaningful to the User
Not Currently Implemented
Not Currently Implemented
Not Currently Implemented
Not Meaningful to the User
SQL Object ID - Not Meaningful to the User
Not Meaningful to the User
If true subsequent reports by the same name will be appended
to existing report file
C-37
Device Attributes
Device
Attributes Table
continued
C-38
Attribute
Description
IPAddress
LastBackupTime
LastChangeBy
LastRestoredFilePath
LastRestoreTime
LocalDate
LocalTime
Location
LockedBy
LockingWorkstation
MainMenuFile
MaxAPDUAccepted
MaxResponseTime
ModelName
Continuum CyberStation
Name
NetworkFlag
NetworkNumber
NumberAPDURetries
OperatorTextAlarmAck
Owner
PrimaryAccessServer
ProbeTime
Properties
ProtocolConfClass
ProtocolObjectTypes
Support
ProtocolServicesSupport
ProtocolVersion
ReferencePoint1
ReferencePoint4
RefTemplate
ReportID
Schneider Electric
Device Attributes
Device
Attributes Table
continued
Attribute
Description
ScheduleADL
ScheduleEvents
SecondaryAccessServer
SecurityLevel
SegmentationSupport
StatusFlags
SubnetMask
SystemStatus
Template
TemplateAlias
TemplateCreateRule
TemplateName
TimeLocked
Type
Units
UTCOffset
VendorIdentifier
VendorName
C-39
DistributionBatch Attributes
DistributionBatch
Attributes Table
C-40
The following list provides you with the attributes and meanings for a
DistributionBatch object.
Attribute
Description
DelayOffset
DelayTime
DelayType
ID
ReferenceCount
StartTime
UserID
WrkStatID
Schneider Electric
DistributionObject Attributes
DistributionObject
Attributes Table
The following list provides you with the attributes and meanings for a
DistributionObject object.
Attribute
Description
BatchID
ClassFilter
CreateTime
DistOpts
Distribution Options
DistTime
EditTime
EditUser
ExtraData1
ExtraData2
ExtraID1
ExtraID2
ID
NotifyOpts
Operation
OperationOpts
SourceID
Status
StringParam
TargetID
UserID
WrkStatID
C-41
Door Object
Attributes Table
C-42
The following list provides you with the attributes and meanings for a
Door object.
Attribute
Description
AckTranstoFault
AckTranstoNorm
AckTranstoOffNorm
ADAChannel
ADADoorAjarTime
ADAOutputTime
Alarm1Alarm8
AlarmChannel
AlarmEnable
AlarmFaults
AlarmFlags
Alarmgraphicpage
AlarmInfo
Alias
ArmCode
ArmMode
BaseLink
BondChannel
BondFailure
BondSensor
BondType
CardFormats
CreatedBy
CreateTime
Description
Description of Object
DeviceID
DeviceModel
DistPending
Schneider Electric
Door Attributes
Door Attributes
Table continued
Attribute
Description
DoorAjar
Indicates that the door has been left open too long
DoorAjarTime
DoorChannel
DoorFault
DoorSchedule
DoorStrikeTime
DoorSwitch
DoorSwitchChan
DoorSwitchType
Duress
EditLock
EntEgrViol
EntryNormMode
EntryNotReentry
EntryPinDuress
EntryRvrsCrdDur
EntrySchedule
EntryZone
ExitAntiPassTime
ExitArea
ExitChannel
ExitCount
ExitEntEgr
ExitEntrAntiPass
ExitEntrEntEgr
ExitEntrRvrsCrd
ExitIOU
ExitKyPdChan
ExitLastCard
ExitLastSite
Site code of last card number have valid access through exit
reader
ExitMode
ExitNoCommMode
ExitNoDataMode
ExitNoRentry
C-43
Door Attributes
Door Attributes
Table continued
Attribute
Description
ExitNormMode
ExitPinDuress
ExitRequest
ExitRequestChan
ExitRequestType
ExitRvrsCrdDur
ExitSchedule
ExitZone
Export
Indicates that the object value has been tagged for export.
FollowUpRule
ForcedEntry
GeneralCode
Graphics
IconID
ID
ExitEntrRvrsCrd
IncludeObject
InvalidAttempt
InvalidEntryTime
InvalidExitTime
Invert
Revers Polarity
LastChangeBy
LastDepEtrdPnt
LastDepExitdPnt
C-44
LastInvalidEntry
LastInvalidExit
LastPersonEntrd
LastPersonEntrdDep
LastPersonExitd
LastPersonExitdDep
LCDSettable
LockedBy
Schneider Electric
Door Attributes
Door Attributes
Table continued
Attribute
Description
LockingWorkstation
Name
NetworkNumber
OpenOnExitRequest
OperatingMode
Override
OverrideValue
Indicates the true value of the door when it has been overridden
in the field
Owner
Param1Param6
Port
Properties
RecordDrAjarHist
RecordExitRqHist
RecordForcedHist
RecordInvalHist
ReferencePoint1
ReferencePoint4
Refresh
RefTemplate
RelockOnClose
ReportID
ScheduleEvents
SecurityLevel
Site1Site4
State
Template
TemplateAlias
Alias that will be used when creating objects from this template
object - meaningful only for templates
TemplateCreateRule
TemplateName
TimeEntered
TimeExited
TimeLocked
C-45
Door Attributes
Door Attributes
Table continued
C-46
Attribute
Description
Type
UnlockSchedule
ValidAccess
Value
Schneider Electric
DoorList Attributes
DoorList
Attributes Table
The following list provides you with the attributes and meanings for a
DoorList object.
Attribute
Description
AreaID
DeviceID
DoorID
ID
NetworkID
Name of Network
C-47
ElevatorInfo Attributes
ElevatorInfo
Attributes Table
The following list provides you with the attributes and meanings for a
ElevatorInfo object.
Attribute
C-48
Description
AreaID
DoorID
ID
InputChannel
InputIOU
OutputChannel
OutputIOU
State
Schneider Electric
ErrorEvent Attributes
ErrorEvent
Attributes Table
The following list provides you with the attributes and meanings for a
ErrorEvent object.
Attribute
Description
Description
Description of Object
ErrorCode
EventObjectID
ID
TimeStamp
Time of error
UserID
WrkStatID
C-49
EventEnrollment Attributes
EventEnrollment
Attributes Table
C-50
The following list provides you with the attributes and meanings for a
EventEnrollment object.
Attribute
Description
AckedTransitions
AckTranstoFault
AckTranstoNorm
AckTranstoOffNorm
Alarm1Alarm8
AlarmEnable
AlarmFaults
AlarmFlags
Alarmgraphicpage
AlarmInfo
AlarmReference
Alarm name
AlarmType
Type of alarm
Alias
BaseLink
CreatedBy
DeviceModel
DistPending
EditLock
EventEnable
EventNotificationID
EventState
Lists current basic alarm State - Alarm, RTN, Fault (WS points
only)
FollowUpRule
Graphics
IconID
ID
IncludeObject
Schneider Electric
EventEnrollment Attributes
EventEnrollment
Attributes Table
continued
Attribute
Description
IssueConfirmedNotif
ication
LastChangeBy
LockedBy
LockingWorkstation
Name
NetworkNumber
NotifyType
OldRefBitString
OldRefValue
Owner
Owner of object
Priority
ProcessIdentifier
Properties
ReferencePoint1
ReferencePoint4
RefTemplate
ReportID
ScheduleEvents
SecurityLevel
Template
TemplateAlias
Alias that will be used when creating objects from this template
object - meaningful only for templates
TemplateCreateRule
TemplateName
TimeLocked
Type
C-51
EventLogControl Attributes
EventLogControl
Attributes Table
C-52
The following list provides you with the attributes and meanings for a
EventLogControl object.
Attribute
Description
ArchiveFrequency
ArchiveName
ArchivePath
ArchiveStartTime
ArchiveStatus
ID
LastArchived
LogClassID
MaxAge
MaxRecords
PrimaryArchiver
SecondaryArchiver
TruncateOnly
Schneider Electric
EventNotification Attributes
EventNotification
Attributes Table
The following list provides you with the attributes and meanings for a
EventNotification object.
Attribute
Description
AcknowledgementRu
les
AckRequired
AckTranstoFault
AckTranstoNorm
AckTranstoOffNorm
Alarm1Alarm8
AlarmEnable
AlarmFaults
AlarmFlags
AlarmFont
Alarmgraphicpage
AlarmInfo
AlarmOptions
Alias
AudioFileFault
AudioFileNormal
AudioFileOffNormal
BackGroundCOlor
BaseLink
CreatedBy
CreateTime
DeactivateCriteria
Description
Description of Object
DeviceID
DeviceModel
DistPending
C-53
EventNotification Attributes
EventNotification
Attributes Table
continued
C-54
Attribute
Description
EditLock
EventNotificationID
FollowUpRule
Graphics
IconID
ID
IncludeObject
InPlaceAlarm
LastChangeBy
LockedBy
LockingWorkstation
NetworkNumber
Owner
Owner of object
Properties
ReferencePoint1
ReferencePoint4
RefTemplate
ReportID
ScheduleEvents
SecurityLevel
SendToAll
Template
TemplateAlias
Alias that will be used when creating objects from this template
object - meaningful only for templates
TemplateCreateRule
TemplateName
TextColor
TimeLocked
ToFaultBGColor
ToFaultFGColor
ToFaultFont
ToRTNBGColor
ToRTNFGColor
ToRTNFont
Type
Schneider Electric
EventView Attributes
EventView
Attributes Table
The following list provides you with the attributes and meanings for a
EventView object.
Attribute
Description
AckTranstoFault
AckTranstoNorm
AckTranstoOffNorm
Alarm1Alarm8
AlarmEnable
AlarmFaults
AlarmFlags
Alarmgraphicpage
AlarmInfo
Alias
BaseLink
CreatedBy
CreateTime
Description
Description of Object
DeviceID
DeviceModel
DistPending
EditLock
EventMaximum
FollowUpRule
Graphics
IconID
ID
IncludeObject
LastChangeBy
LockedBy
LockingWorkstation
Name
C-55
EventView Attributes
EventView
Attributes Table
continued
C-56
Attribute
Description
NetworkNumber
Owner
Owner of object
PrimarySortDirection
PrimarySortKey
Properties
ReferencePoint1
ReferencePoint4
RefTemplate
ReportID
Reserved1
Reserved4
ScheduleEvents
SecondarySortDirecti
on
SecurityLevel
Template
TemplateAlias
Alias that will be used when creating objects from this template
object - meaningful only for templates
TemplateCreateRule
TemplateName
TernarySortDirection
TernarySortKey
TimeLocked
Type
Schneider Electric
File Attributes
File Attributes
Table
The following list provides you with the attributes and meanings for a
File object.
Attribute
Description
AccessMethod
Archive
The file object has been saved for historical or backup purposes
Description
Description of Object
FileData
FileSequenceNum
FileType
IsConfigurationFile
LastChange
ModificationDate
Name
ReadOnly
RecordCount
Size
Type
C-57
Filter Attributes
Filter Attributes
Table
C-58
The following list provides you with the attributes and meanings for a
Filter object.
Attribute
Description
AckTranstoFault
AckTranstoNorm
AckTranstoOffNorm
Alarm1Alarm8
AlarmEnable
AlarmFaults
AlarmFlags
Alarmgraphicpage
AlarmInfo
Alias
BaseLink
CreatedBy
CreateTime
Description
Description of Object
DeviceID
DeviceModel
DistPending
Duration
EditLock
EndDateTime
EndTime
FollowUpRule
Graphics
IconID
ID
IncludeObject
LastChangeBy
LockedBy
Schneider Electric
Filter Attributes
FilterAttributes
Table continued
Attribute
Description
LockingWorkstation
Name
NetworkNumber
Owner
PreCreatedFlags
Properties
ReferencePoint1
ReferencePoint4
RefTemplate
Relative Time
ReportID
ScheduleEvents
SecurityLevel
Template
TemplateAlias
Alias that will be used when creating objects from this template
object - meaningful only for templates
TemplateCreateRule
TemplateName
TimeLocked
Type
WeekdaysArray
C-59
Folder Attributes
Folder
Attributes Table
C-60
The following list provides you with the attributes and meanings for a
Folder object.
Attribute
Description
AckTranstoFault
AckTranstoNorm
AckTranstoOffNorm
Alarm1Alarm8
AlarmEnable
AlarmFaults
AlarmFlags
Alarmgraphicpage
AlarmInfo
Alias
BaseLink
ContainerCreateRule
CreatedBy
CreateTime
DefaultDevice
Description
Description of Object
DeviceID
DeviceModel
DistPending
EditLock
FolderType
FollowUpRule
Graphics
IconID
ID
IncludeObject
LastChangeBy
Schneider Electric
Folder Attributes
Folder
Attributes Table
continued
Attribute
Description
LockedBy
LockingWorkstation
Name
NetworkNumber
Owner
Owner of object
Properties
ReferencePoint1
ReferencePoint4
RefTemplate
ReportID
ScheduleEvents
SecurityLevel
Template
TemplateAlias
Alias that will be used when creating objects from this template
object - meaningful only for templates
TemplateCreateRule
TemplateName
TimeLocked
Type
ReportID
ScheduleEvents
SecurityLevel
Template
TemplateAlias
Alias that will be used when creating objects from this template
object - meaningful only for templates
TemplateCreateRule
TemplateName
TimeLocked
Type
C-61
Function Attributes
Function
Attributes Table
C-62
The following list provides you with the attributes and meanings for a
Function object.
Attribute
Description
AckTranstoFault
AckTranstoNorm
AckTranstoOffNorm
Alarm1Alarm8
AlarmEnable
AlarmFaults
AlarmFlags
Alarmgraphicpage
AlarmInfo
Alias
ArgumentList
BaseLink
ByteCode
CommandLine
CreatedBy
CreateTime
CurrentObject
DbgStatus
Description
Description of Object
DescriptionOfHalt
DeviceID
DeviceModel
DistPending
EditLock
ErrorCode
FileAccess
FileSize
FileSize
Schneider Electric
Function Attributes
Function
Attributes Table
continued
Attribute
Description
FollowUpRule
Graphics
IconID
ID
IncludeObject
InstanceOf
LastChangeBy
LocalVarData
LocalVarList
LockedBy
LockingWorkstation
Name
NetworkNumber
OutOfService
Owner
ProgEntry
ProgInfo
ProgOffset
Properties
ReasonForHalt
ReferencePoint1
ReferencePoint4
RefTemplate
Reliability
ReportID
ScheduleEvents
SecurityLevel
StatusFlags
Template
TemplateAlias
Alias that will be used when creating objects from this template
object - meaningful only for templates
TemplateCreateRule
TemplateName
Name that will be used when creating objects from this template
object - meaningful only for templates
TimeLocked
Type
C-63
Graphics Attributes
Graphics
Attributes Table
C-64
The following list provides you with the attributes and meanings for a
Graphics object.
Attribute
Description
Not Meaningful to
the User
AckTranstoNorm
AckTranstoOffNorm
Alarm1Alarm8
AlarmEnable
AlarmFaults
AlarmFlags
Alarmgraphicpage
AlarmInfo
Alias
BaseLink
CreatedBy
CreateTime
Description
Description of Object
DeviceID
DeviceModel
DistPending
EditLock
FollowUpRule
Graphics
GraphicsFileName
HighLimit
IconID
ID
IncludeObject
LastChangeBy
LockedBy
LockingWorkstation
Schneider Electric
Graphics Attributes
Graphics
Attributes Table
continued
Attribute
Description
Name
NetworkNumber
ObjectList
Owner
Owner of object
Properties
ReferencePoint1
ReferencePoint4
RefTemplate
ReportID
ScheduleEvents
ScreenHeight
ScreenWidth
SecurityLevel
Template
TemplateAlias
Alias that will be used when creating objects from this template
object - meaningful only for templates
TemplateCreateRule
TimeLocked
Type
WindowHeight
WindowState
WindowWidth
WindowXPos
WindowXScrollPos
WindowYPos
WindowYScrollPos
Group Attributes
Group
Attributes
Table
C-66
The following list provides you with the attributes and meanings for a
Group object.
Attribute
Description
AckTranstoFault
AckTranstoNorm
AckTranstoOffNorm
Alarm1Alarm8
AlarmEnable
AlarmFaults
AlarmFlags
Alarmgraphicpage
AlarmInfo
Alias
BaseLink
CreatedBy
CreateTime
DefaultView
Description
Description of Object
DeviceID
DeviceModel
DistPending
EditLock
FollowUpRule
Format
Graphics
GroupFlags
HistoryInterval
HistoryPage
IconID
ID
Schneider Electric
Group Attributes
Group
Attributes Table
continued
Attribute
Description
IncludeObject
LastChangeBy
LockedBy
LockingWorkstation
Name
NetworkNumber
Owner
Owner of object
PadType
Properties
ReferencePoint1
ReferencePoint4
RefreshRate
Time period after which to get live data on the objects in the
member list
RefTemplate
ReportID
ScaleStep
ScaleType
ScheduleEvents
SecurityLevel
Template
TemplateAlias
Alias that will be used when creating objects from this template
object meaningful only for templates
TemplateCreateRule
TemplateName
Name that will be used when creating objects from this template
object - meaningful only for templates
TimeLocked
TimeView
Type
Units
GroupMember Attributes
GroupMember
Attributes
Table
The following list provides you with the attributes and meanings for a
GroupMember object.
Attribute
C-68
Description
ClassID
GroupMemberBos
GroupMemberColor
GroupMemberController
GroupMemberFlag
GroupMemberOwned
GroupMemberOwner
GroupMemberSite
GroupMemberTos
HistoryInterval
ID
PadType
ScalesStep
ClassID
Schneider Electric
ImExportRef Attributes
ImExportRef
Attributes
Table
The following list provides you with the attributes and meanings for an
ImExportRef object.
Attribute
Description
AlarmFlag
ExportMast1
ExportMast8
Handle
ID
ImportFlag
InfExportMast
NetAddress
Site
InfinityController Attributes
InfinityController
Attributes Table
C-70
The following list provides you with the attributes and meanings for an
InfinityController object.
Attribute
Description
AckTranstoFault
AckTranstoNorm
AckTranstoOffNorm
Alarm1Alarm8
AlarmEnable
AlarmFaults
AlarmFlags
Alarmgraphicpage
AlarmInfo
Alias
BaseLink
CommStatus
CommStatus
ControllerOptions
CreatedBy
CreateTime
DefaultFolder
Folder into which all new objects will be placed when created.
DefaultRouter
Description
Description of Object
DeviceID
DeviceModel
DistPending
EditLock
EthernetID
FolderType
FollowUpRule
Graphics
IconID
Schneider Electric
InfinityController Attributes
InfinityController
Attributes Table
continued
Attribute
Description
ID
IncludeObject
IOU1Model
IOU8Model
IPAddress
IP address of controller
LastChangeBy
Location
LockedBy
LockingWorkstation
MaxResponseTime
Model
Model of controller
Name
NetworkID
NetworkNumber
Owner
PPPIPAddress
PPP IP address
PPPSubnetMask
ProbeTime
Properties
ReferencePoint1
ReferencePoint4
RefTemplate
ReportID
ScheduleEvents
SecurityLevel
SerialNum
SubnetMask
Template
TemplateAlias
Alias that will be used when creating objects from this template
object - meaningful only for templates
TemplateCreateRule
TemplateName
Name that will be used when creating objects from this template
object - meaningful only for templates
TimeLocked
Type
VersionNum
InfinityDateTime Attributes
InfinityDateTime
Attributes Table
C-72
The following list provides you with the attributes and meanings for an
InfinityDateTime object.
Attribute
Description
AckTranstoFault
AckTranstoNorm
AckTranstoOffNorm
Alarm1Alarm8
AlarmEnable
AlarmFaults
AlarmFlags
Alarmgraphicpage
AlarmInfo
Alias
BaseLink
Channel
CreatedBy
CreateTime
Description
Description of Object
DeviceID
DeviceModel
DistPending
EditLock
Export
Indicates that the object value has been tagged for export.
ExtLogInterval
ExtLogSize
FollowUpRule
Graphics
IconID
ID
IncludeObject
IODirection
Schneider Electric
InfinityDateTime Attributes
InfinityDateTime
Attributes Table
continued
Attribute
Description
IOU
LastChangeBy
LastExtLogTime
LastLogTime
LCDState
LockedBy
LockingWorkstation
LogIntervalSecs
LogType
Name
NetworkNumber
Owner
Param1
Param6
Port
Properties
ReferencePoint1
ReferencePoint4
Refresh
RefTemplate
ReportID
ScheduleEvents
SecurityLevel
Setpoint
Size
State
StatusFlags
Template
TemplateAlias
Alias that will be used when creating objects from this template
object - meaningful only for templates
TemplateCreateRule
TemplateName
Name that will be used when creating objects from this template
object - meaningful only for templates
TimeLocked
Type
Value
InfinityFunction Attributes
InfinityFunction
Attributes
Table
C-74
The following list provides you with the attributes and meanings for an
InfinityFunction object.
Attribute
Description
AckTranstoFault
AckTranstoNorm
AckTranstoOffNorm
Alarm1Alarm8
AlarmEnable
AlarmFaults
AlarmFlags
Alarmgraphicpage
AlarmInfo
Alias
BaseLink
ByteCode
CommandLine
CreatedBy
CreateTime
DbgStatus
Description
Description of Object
DeviceID
DeviceModel
DistPending
EditLock
FileSize
Bytes in file
FollowUpRule
Graphics
IconID
ID
Schneider Electric
InfinityFunction Attributes
InfinityFunction
Attributes Table
continued
Attribute
Description
IncludeObject
LastChangeBy
LockedBy
LockingWorkstation
Name
NetworkNumber
Owner
Properties
ReferencePoint1
ReferencePoint4
RefTemplate
ReportID
ScheduleEvents
SecurityLevel
State
StatusFlags
Template
TemplateAlias
Alias that will be used when creating objects from this template
object - meaningful only for templates
TemplateCreateRule
TemplateName
Name that will be used when creating objects from this template
object - meaningful only for templates
TimeLocked
Type
InfinityInfinetCtrl Attributes
InfinityInfinetCtrl
Attributes Table
C-76
The following list provides you with the attributes and meanings for an
InfinityInfinetCtrl object.
Attribute
Description
AckTranstoFault
AckTranstoNorm
AckTranstoOffNorm
Alarm1Alarm8
AlarmEnable
AlarmFaults
AlarmFlags
Alarmgraphicpage
AlarmInfo
Alias
BaseLink
CommStatus
CreatedBy
CreateTime
DefaultFolder
Folder into which all new objects will be placed when created.
Description
Description of Object
DeviceID
DeviceModel
DistPending
EditLock
FolderType
FollowUpRule
Graphics
Handle
Numerical identifier
IconID
ID
IncludeObject
InfinetError
Schneider Electric
InfinityInfinetCtrl Attributes
InfinityInfinetCtrl
Attributes Table
continued
Attribute
Description
InfinetErrorCount
InfinetErrTime
InfinetID
LastChangeBy
Location
LockedBy
LockingWorkstation
Model
Name
NetworkID
NetworkNumber
Owner
Port
PortNum
Properties
ReferencePoint1
ReferencePoint4
RefTemplate
ReportID
ScheduleEvents
SecurityLevel
SerialNum
Template
TemplateAlias
Alias that will be used when creating objects from this template
object - meaningful only for templates
TemplateCreateRule
TemplateName
Name that will be used when creating objects from this template
object - meaningful only for templates
TimeLocked
Type
VersionNum
Software version
InfinityInput Attributes
InfinityInput
Attributes
Table
C-78
The following list provides you with the attributes and meanings for an
InfinityInnput object.
Attribute
Description
AckTranstoFault
AckTranstoNorm
AckTranstoOffNorm
Alarm1Alarm8
AlarmEnable
AlarmFaults
AlarmFlags
Alarmgraphicpage
AlarmInfo
AlarmVlaue
Alias
BaseLink
Button1Button6
Channel
Conversion
CreatedBy
CreateTime
Description
Description of Object
DeviceID
DeviceModel
DigitalFilter
DisplayMsg
DisplaySelect
DisplayValue
DistPending
EditLock
Schneider Electric
InfinityInput Attributes
InfinityInput
Attributes Table
continued
Attribute
Description
ElecScaleBot
ElecScaleTop
ElecType
ElecValue
EngScaleBot
EngScaleTop
ExtLogInterval
ExtLogSize
FollowUpRule
Format
Graphics
IconID
ID
IncludeObject
Invert
IOU
LastChangeBy
LastExtLogTime
LastLogTime
LCDState
LockedBy
LockingWorkstation
LogIntervalSecs
LogType
LowerFluidLevel
Name
NetworkNumber
Owner
Param1Param6
Port
Properties
InfinityInput Attributes
InfinityInput
Attributes Table
continued
C-80
Attribute
Description
ReferencePoint1
ReferencePoint4
Refresh
RefTemplate
ReportID
ResistorType
RTD1RTD6
ScheduleEvents
SecurityLevel
Size
State
Template
TemplateAlias
Alias that will be used when creating objects from this template
object - meaningful only for templates
TemplateCreateRule
TemplateName
Name that will be used when creating objects from this template
object - meaningful only for templates
Threshold
TimeLocked
Type
Units
Value
Schneider Electric
InfinityNumeric Attributes
InfinityNumeric
Attributes
Table
The following list provides you with the attributes and meanings for an
InfinityNumeric object.
Attribute
Description
AckTranstoFault
AckTranstoNorm
AckTranstoOffNorm
Alarm1Alarm8
AlarmEnable
AlarmFaults
AlarmFlags
Alarmgraphicpage
AlarmInfo
AlarmVlaue
Alias
BaseLink
Channel
CreatedBy
CreateTime
Description
Description of Object
DeviceID
DeviceModel
DistPending
EditLock
Export
Indicates that the object value has been tagged for export.
ExtLogInterval
ExtLogSize
FollowUpRule
Format
Graphics
IconID
ID
InfinityNumeric Attributes
InfinityNumeric
Attributes Table
continued
C-82
Attribute
Description
IncludeObject
IODirection
IOU
LastChangeBy
LastExtLogTime
LastLogTime
LCDState
LockedBy
LockingWorkstation
LogIntervalSecs
LogType
Name
NetworkNumber
Owner
Param1Param6
Port
Properties
ReferencePoint1
ReferencePoint4
Refresh
RefTemplate
ReportID
ScheduleEvents
SecurityLevel
Setpoint
Size
State
Template
TemplateAlias
Alias that will be used when creating objects from this template
object - meaningful only for templates
TemplateCreateRule
TemplateName
Name that will be used when creating objects from this template
object - meaningful only for templates
TimeLocked
Type
Units
Value
The value of this object after any conversions that may be required
Schneider Electric
InfinityOutput Attributes
InfinityOutput
Attributes
Table
The following list provides you with the attributes and meanings for an
InfinityOutput object.
Attribute
Description
AckTranstoFault
AckTranstoNorm
AckTranstoOffNorm
Alarm1Alarm8
AlarmEnable
AlarmFaults
AlarmFlags
Alarmgraphicpage
AlarmInfo
AlarmVlaue
Alias
BaseLink
Channel
Conversion
CreatedBy
CreateTime
Description
Description of Object
DeviceID
DeviceModel
DistPending
EditLock
ElecScaleBot
ElecScaleTop
ElecType
ElecValue
InfinityOutput Attributes
InfinityOutput
Attributes Table
continued
C-84
Attribute
Description
EngScaleBot
EngScaleTop
Export
Indicates that the object value has been tagged for export.
ExtLogInterval
ExtLogSize
FollowUpRule
Format
Graphics
IconID
ID
IncludeObject
Invert
IOU
LastChangeBy
LastExtLogTime
LastLogTime
LCDState
LockedBy
LockingWorkstation
LogIntervalSecs
LogType
Name
NetworkNumber
Override
OverrideValue
Owner
Param1Param6
Port
Properties
ReferencePoint1
ReferencePoint4
Refresh
RefTemplate
Schneider Electric
InfinityOutput Attributes
InfinityOutput
Attributes Table
continued
Attribute
Description
ReportID
ScheduleEvents
SecurityLevel
Size
State
Template
TemplateAlias
Alias that will be used when creating objects from this template
object - meaningful only for templates
TemplateCreateRule
TemplateName
Name that will be used when creating objects from this template
object - meaningful only for templates
TimeLocked
Type
Units
Value
InfinityProgram Attributes
InfinityProgram
Attributes
Table
C-86
The following list provides you with the attributes and meanings for an
InfinityProgram object.
Attribute
Description
AckTranstoFault
AckTranstoNorm
AckTranstoOffNorm
Alarm1Alarm8
AlarmEnable
AlarmFaults
AlarmFlags
Alarmgraphicpage
AlarmInfo
Alias
AutoStart
BaseLink
CommandLine
CreatedBy
CreateTime
CurrentLine
DefaultPort
Description
Description of Object
DeviceID
DeviceModel
DistPending
EditLock
ErrorCode
ExecTimeOut
FileAccess
FileSize
Schneider Electric
InfinityProgram Attributes
InfinityProgram
Attributes Table
continued
Attribute
Description
FlowType
FollowUpRule
Graphics
CurrentLine
IconID
ID
IncludeObject
LastChangeBy
LineStartTime
LockedBy
LockingWorkstation
Name
NetworkNumber
Owner
ProgPending
Properties
ReferencePoint1
ReferencePoint4
RefTemplate
ReportID
ScheduleEvents
SecurityLevel
State
TD
Template
TemplateAlias
Alias that will be used when creating objects from this template
object - meaningful only for templates
TemplateCreateRule
TemplateName
Name that will be used when creating objects from this template
object - meaningful only for templates
TH
TimeLocked
TM
TS
Type
InfinityString Attributes
InfinityString
Attributes
Table
C-88
The following list provides you with the attributes and meanings for an
InfinityString object.
Attribute
Description
AckTranstoFault
AckTranstoNorm
AckTranstoOffNorm
Alarm1Alarm8
AlarmEnable
AlarmFaults
AlarmFlags
Alarmgraphicpage
AlarmInfo
Alias
BaseLink
Channel
CreatedBy
CreateTime
Description
Description of Object
DeviceID
DeviceModel
DistPending
EditLock
Export
Indicates that the object value has been tagged for export.
FollowUpRule
Graphics
IconID
ID
IncludeObject
IODirection
IOU
LastChangeBy
Schneider Electric
InfinityString Attributes
InfinityString
Attributes Table
continued
Attribute
Description
LastLogTime
LockedBy
LogIntervalSecs
LogType
Name
NetworkNumber
Owner
Param1Param6
Port
Properties
ReferencePoint1
ReferencePoint4
Refresh
RefTemplate
ReportID
ScheduleEvents
SecurityLevel
Setpoint
Size
State
StringSize
Template
TemplateAlias
Alias that will be used when creating objects from this template
object - meaningful only for templates
TemplateCreateRule
TemplateName
Name that will be used when creating objects from this template
object - meaningful only for templates
TimeLocked
Type
Value
InfinitySystemVariable Attributes
InfinitySystem
Variable
Attributes Table
C-90
The following list provides you with the attributes and meanings for
an InfinitySystemVariable object.
Attribute
Description
AckTranstoFault
AckTranstoNorm
AckTranstoOffNorm
Alarm1Alarm8
AlarmEnable
AlarmFaults
AlarmFlags
Alarmgraphicpage
AlarmInfo
Alias
BaseLink
CreatedBy
CreateTime
Description
Description of Object
DeviceID
DeviceModel
DistPending
EditLock
Export
Indicates that the object value has been tagged for export.
ExtLogInterval
ExtLogSize
FollowUpRule
Graphics
IconID
ID
IncludeObject
LastChangeBy
LastExtLogTime
Schneider Electric
InfinitySystemVariable Attributes
InfinitySystem
Variable
Attributes Table
continued
Attribute
Description
LastLogTime
LCDState
LockedBy
LockingWorkstation
LogIntervalSecs
LogType
Name
NetworkNumber
Owner
Properties
ReferencePoint1
ReferencePoint4
Refresh
RefTemplate
ReportID
ScheduleEvents
SecurityLevel
Size
State
SVType
Template
TemplateAlias
Alias that will be used when creating objects from this template
object - meaningful only for templates
TemplateCreateRule
TemplateName
Name that will be used when creating objects from this template
object - meaningful only for templates
TimeLocked
Type
Value
IOUModule Attributes
IOUModule
Attributes
Table
C-92
The following list provides you with the attributes and meanings for an
IOUModule object.
Attribute
Description
AckTranstoFault
AckTranstoNorm
AckTranstoOffNorm
Alarm1Alarm8
AlarmEnable
AlarmFaults
AlarmFlags
Alarmgraphicpage
AlarmInfo
Alias
BaseLink
CommStatus
CreatedBy
CreateTime
Description
Description of Object
DeviceID
DeviceModel
DistPending
EditLock
FollowUpRule
Graphics
IconID
ID
IncludeObject
IOU
LastChangeBy
Learn
LockedBy
Schneider Electric
IOUModule Attributes
IOUModule
Attributes Table
continued
Attribute
Description
LockingWorkstation
ModelName
Module type
ModuleID
Name
NetworkNumber
Owner
ProgramID
Version of IO firmware
Properties
ReferencePoint1
ReferencePoint4
RefTemplate
ReportID
ScheduleEvents
SecurityLevel
Template
TemplateAlias
Alias that will be used when creating objects from this template
object - meaningful only for templates
TemplateCreateRule
TemplateName
Name that will be used when creating objects from this template
object - meaningful only for templates
TimeLocked
Type
Wink
ListView Attributes
ListView
Attributes
Table
C-94
The following list provides you with the attributes and meanings for a
ListView object.
Attribute
Description
AckTranstoFault
AckTranstoNorm
AckTranstoOffNorm
Alarm1Alarm8
AlarmEnable
AlarmFaults
AlarmFlags
Alarmgraphicpage
AlarmInfo
Alias
BaseLink
CreatedBy
CreateTime
DBQualifier
Description
Description of Object
DeviceID
DeviceModel
DistPending
EditLock
Filter
FollowUpRule
Graphics
HighlightBKColor
HighlightFGColor
HighlightQualifier
IconID
ID
IncludeObject
Schneider Electric
ListView Attributes
ListView
Attributes Table
continued
Attribute
Description
LastChangeBy
ListClass
ListTemplate
Template of a list
LiveDataonDemand
Force list to go out to the field to gather live data when the list is
first viewed
LiveDataRefreshRate
LiveQualifier
LockedBy
LockingWorkstation
Name
NetworkNumber
Owner
PathType
PromptFlag
Properties
ReferencePoint1
ReferencePoint4
RefTemplate
ReportID
ReportTemplate
ScheduleEvents
SecurityLevel
Shortcuts
ShowGridLines
Template
TemplateAlias
Alias that will be used when creating objects from this template
object - meaningful only for templates
TemplateCreateRule
TemplateName
Name that will be used when creating objects from this template
object - meaningful only for templates
TimeLocked
Type
Loop Attributes
Loop
Attributes
Table
The following list provides you with the attributes and meanings for a
Loop object.
Attribute
AckedTransitions
Action
Bias
ControlledVariableUnits
ControlledVariableValue
COVIncrement
Description
DerivativeConstant
DerivativeConstantUnits
ErrorLimit
EventEnable
EventNotificationClassId
EventState
IntegralConstant
IntegralConstantUnits
MaximumOutput
MinimumOutput
NotifyType
OutOfService
OutputUnits
Priority
ProportionalConstant
ProportionalConstantUnits
Reliability
Setpoint
StatusFlags
TimeDelay
UpdateInterval
Value
C-96
Schneider Electric
Description
This string records the last alarms that were acked, in order.
Determines whether the Loop is Direct or Reverse acting.
The amount added to the output of the PID algorithm before its
written to Value of the Loop.
The units for the controlled variable reference.
This is the value of the ControlledVariableReference.
This is the maximum change of value of the loop that is allowed
before the loop issues an alarm.
The description of the Loop object.
The derivative portion of the PID algorithm.
The units for the Derivative constant.
This is the size that the error can grow before the Loop issues an
alarm.
These flags determine whether the Loop should alarm on Alarm,
Return To Normal and Fault.
This is the object identifier of the notification class that is used to
determine the recipients of an alarm.
This is the state the Loop is in with regard to intrinsic alarming.
The integral portion of the PID algorithm.
The units of the integral constant.
The maximum possible value of the Loop.
The minimum possible value for the Loop.
The type of notification that is sent..
True when the Loop is out of service. The Value can only be
written when the Loop is out of service.
The output units for the Loop.
The priority of the Loop (1 is highest, 16 is lowest).
The proportional parameter of the PID algorithm.
The units for the proportional constant.
This status line details whether the Loop is working reliably or
not.
This is either the value of the SetpoinntReference, or the value
that the Loop uses as its setpoint if the SetpointReference is not
set.
A series of flags that detail the status of the Loop.
The amount of time that the Loop waits until it issues an alarm
The time in milliseconds that the PID algorithm sleeps before it
updates its output value.
This is the value that the Loop is writing to the
ManipulatedVariableReference.
MultiStateInput Attributes
MultiStateInput
Attributes
Table
The following list provides you with the attributes and meanings for a
MultiStateInput object.
Attribute
Description
AckedTransitions
AckTranstoFault
AckTranstoNorm
AckTranstoOffNorm
Alarm1Alarm8
AlarmEnable
AlarmFaults
AlarmFlags
Alarmgraphicpage
AlarmInfo
Alias
BaseLink
Channel
CreatedBy
CreateTime
Description
Description of Object
DeviceID
DeviceModel
DeviceType
DigitalFilter
DistPending
EditLock
ElecType
ElecValue
EventEnable
EventNotificationID
MultiStateInput Attributes
MultiStateInput
Attributes Table
continued
C-98
Attribute
Description
EventState
Lists current basic alarm State - Alarm, RTN, Fault (WS points
only)
FollowUpRule
Graphics
IconID
ID
IncludeObject
IOU
LastChangeBy
LCDSettable
LockedBy
LockingWorkstation
LogIntervalSecs
LogType
Name
NetworkNumber
NotifyType
NumberofStates
OutOfService
Owner
Properties
ReferencePoint1
ReferencePoint4
RefTemplate
Reliability
ReportID
ScheduleEvents
SecurityLevel
Size
StatusFlags
Template
TemplateAlias
Alias that will be used when creating objects from this template
object - meaningful only for templates
TemplateCreateRule
Schneider Electric
MultiStateInput Attributes
MultiStateInput
Attributes Table
continued
Attribute
Description
TemplateName
Name that will be used when creating objects from this template
object - meaningful only for templates
TimeDelay
The time delay used in evaluating Basic Alarms (WS points only)
TimeLocked
TriggerThreshold
Type
Value
MultiStateOutput Attributes
MultiStateOutput
Attributes Table
The following list provides you with the attributes and meanings for a
MultiStateOutput object.
Attribute
Description
AckedTransitions
AckTranstoFault
AckTranstoNorm
AckTranstoOffNorm
Alarm1Alarm8
AlarmEnable
AlarmFaults
AlarmFlags
Alarmgraphicpage
AlarmInfo
Alias
BaseLink
Channel
CreatedBy
CreateTime
Description
Description of Object
DeviceID
DeviceModel
DeviceType
DigitalFilter
DistPending
EditLock
ElecType
ElecValue
EventEnable
EventNotificationID
MultiStateOutput Attributes
MultiStateOutput
Attributes Table
continued
Attribute
Description
EventState
Lists current basic alarm State - Alarm, RTN, Fault (WS points
only)
FollowUpRule
Graphics
IconID
ID
IncludeObject
IOU
LastChangeBy
LCDSettable
LockedBy
LockingWorkstation
LogIntervalSecs
LogType
Name
NetworkNumber
NotifyType
NumberofStates
OutOfService
Owner
Properties
ReferencePoint1
ReferencePoint4
RefTemplate
Reliability
RelinquishDefault
ReportID
ScheduleEvents
SecurityLevel
Size
StatusFlags
Template
TemplateAlias
Alias that will be used when creating objects from this template
object - meaningful only for templates
MultiStateOutput Attributes
MultiStateOutput
Attributes Table
continued
Attribute
Description
TemplateCreateRule
TemplateName
Name that will be used when creating objects from this template
object - meaningful only for templates
TimeDelay
The time delay used in evaluating Basic Alarms (WS points only)
TimeLocked
TriggerThreshold
Type
Value
MultiStateValue Attributes
MultiStateValue
Attributes
Table
The following list provides you with the attributes and meanings for a
MultiStateValue object.
Attribute
Description
AckedTransitions
AckTranstoFault
AckTranstoNorm
AckTranstoOffNorm
Alarmgraphicpage
Alarm1Alarm8
AlarmEnable
AlarmFaults
AlarmFlags
AlarmInfo
Alias
BaseLink
CreatedBy
CreateTime
Description
Description of Object
DeviceID
DeviceModel
DistPending
EditLock
EventEnable
EventNotificationID
EventState
Lists current basic alarm State - Alarm, RTN, Fault (WS points
only)
FollowUpRule
Graphics
IconID
ID
MultiStateValue Attributes
MultiStateValue
Attributes Table
continued
Attribute
Description
IncludeObject
LastChangeBy
LCDSettable
LockedBy
LockingWorkstation
LogIntervalSecs
LogType
Name
NetworkNumber
NotifyType
OutOfService
Owner
Properties
ReferencePoint1
ReferencePoint4
RefTemplate
Reliability
ReportID
ScheduleEvents
SecurityLevel
Size
StatusFlags
Template
TemplateAlias
Alias that will be used when creating objects from this template
object - meaningful only for templates
TemplateCreateRule
TemplateName
Name that will be used when creating objects from this template
object - meaningful only for templates
TimeDelay
The time delay used in evaluating Basic Alarms (WS points only)
TimeLocked
TriggerThreshold
Type
Value
Network Attributes
Network
Attributes
Table
The following list provides you with the attributes and meanings for a
Network object.
Attribute
Description
AckTranstoFault
AckTranstoNorm
AckTranstoOffNorm
Alarm1Alarm8
AlarmEnable
AlarmFaults
AlarmFlags
Alarmgraphicpage
AlarmInfo
AlarmReferencePointf
orUpdates
AlarmUpdateIntvl
Set period of time after which a remote site will have its alarms
updated
Alias
BaseLink
CarrierWait
CommID
ConnectScript
ConnectWaitTime
CreatedBy
CreateTime
DefaultFolder
Folder into which all new objects will be placed when created.
Description
Description of Object
DeviceID
DeviceModel
DialWait
DisableUpdate
Network Attributes
Network
Attributes Table
continued
Attribute
Description
DisconnectScript
DisconnectWaitTime
DistPending
EditLock
EventRefPoint
EventUpdatInterval
Set period of time after which a remote site will have its events
updated
FolderType
FollowUpRule
GraceInterval
Graphics
IconID
ID
IncludeObject
LastALarmUpdate
LastChangeBy
LastEventUpdate
LockedBy
LockingWorkstation
MaxResponseTime
Name
NetworkNumber
NetworkProtocol
NetworkType
NetworkUTCOffset
Owner
PhoneNumber
PortNum
Properties
ReferencePoint1
ReferencePoint4
RefTemplate
RemovePersonSynch
ReportID
Network Attributes
Network
Attributes Table
continued
Attribute
Description
SafetyInterval
ScheduleEvents
SecurityLevel
SendtoACX
SendtoCX
SynchDB
Template
TemplateAlias
Alias that will be used when creating objects from this template
object - meaningful only for templates
TemplateCreateRule
TemplateName
Name that will be used when creating objects from this template
object - meaningful only for templates
TimeDifference
TimeLocked
Type
UniquePins
NetworkDialUp Attributes
NetworkDialUp
Attributes
Table
The following list provides you with the attributes and meanings for a
NetworkDialUp object.
Attribute
Description
AckTranstoFault
AckTranstoNorm
AckTranstoOffNorm
ActiveAlarmSync
ActiveEventSync
Alarmgraphicpage
AlarmPollInterval
Amount of time in minutes that will pass between dial ups to poll
for alarms
Alarm1Alarm8
AlarmEnable
AlarmFaults
AlarmFlags
AlarmInfo
Alias
BaseLink
CreateTime
Description
Description of Object
DeviceID
DeviceModel
DisconnectIdleTime
DistPending
EditLock
EventPollInterval
Amount of time in minutes that will pass between dial ups to poll
for events
FollowUpRule
Graphics
IconID
ID
NetworkDialUp Attributes
NetworkDialUp
Attributes Table
continued
Attribute
Description
IncludeObject
LastChangeBy
LockedBy
LockingWorkstation
Name
NetworkNumber
Owner
PhoneBookEntry
PhoneFile
Properties
ReferencePoint1
ReferencePoint4
RefTemplate
RemoteNetwork
ReportID
RouterCX
ScheduleEvents
Template
TemplateAlias
Alias that will be used when creating objects from this template
object - meaningful only for templates
TemplateCreateRule
TemplateName
Name that will be used when creating objects from this template
object - meaningful only for templates
TimeLocked
Type
Numeric Attributes
Numeric
Attributes
Table
The following list provides you with the attributes and meanings for a
Numeric object.
Attribute
Description
AckedTransitions
AckTranstoFault
AckTranstoNorm
AckTranstoOffNorm
Alarmgraphicpage
Alarm1Alarm8
AlarmEnable
AlarmFaults
AlarmFlags
AlarmInfo
Alias
BaseLink
CreatedBy
CreateTime
DeadBand
Amount that the value must differ from low or hi limit in Basic
Alarm (WS points only)
DeviceID
DeviceModel
DistPending
EditLock
EventEnable
EventNotificationID
EventState
Lists current basic alarm State - Alarm, RTN, Fault (WS points
only)
FollowUpRule
Format
Graphics
Numeric Attributes
Numeric
Attributes Table
continued
Attribute
Description
HighLimit
IconID
ID
IncludeObject
LastChangeBy
LimitEnable
LockedBy
LockingWorkstation
LogIntervalSecs
LogType
LowLimit
Name
NetworkNumber
NotifyType
OutOfService
Owner
Properties
ReferencePoint1
ReferencePoint4
RefTemplate
Reliability
RelinquishDefault
ReportID
ScheduleEvents
SecurityLevel
Size
StatusFlags
Template
TemplateAlias
Alias that will be used when creating objects from this template
object - meaningful only for templates
TemplateCreateRule
TemplateName
Name that will be used when creating objects from this template
object - meaningful only for templates
Threshold
TimeDelay
The time delay used in evaluating Basic Alarms (WS points only)
Numeric Attributes
Numeric
Attributes Table
continued
Attribute
Description
TimeLocked
Type
Units
Value
ParamInfo Attributes
ParamInfo
Attributes
Table
The following list provides you with the attributes and meanings for a
ParamInfo object.
Attribute
Description
ID
Param1Param6
Port
ID
Personnel Attributes
Personnel
Attributes
Table
The following list provides you with the attributes and meanings for a
Personnel object.
Attribute
Description
AckTranstoFault
Binary bitmap that corresponds to the alarm number that has made a
transition from normal to Fault
AckTranstoNorm
Binary bitmap that corresponds to the alarm number that has made a
transition back to Normal
AckTranstoOffNorm
Binary bitmap that corresponds to the alarm number that has made a
transition from normal to Alarm
ActivationDate
ADA
Address
Address
Alarm1Alarm8
Equals "on" if alarm attached in this position is in alarm else equals "off"
AlarmEnable
Binary bitmap that corresponds to which of the eight alarm positions are
enabled
AlarmFaults
Reflect fault status of any alarm link attached - not currently implemented
AlarmFlags
Bitmap of which alarms are active (as with alarmvalue) - not currently
implemented
Alarmgraphicpage
AlarmInfo
Alias
Alias of object
AllowEntEntRgr
BaseLink
Blood
CardNumber
CardType
City
ClearanceLevel
Country
CreatedBy
CreateTime
CustomControl1
Custom attribute
CustomControl2
Custom attribute
CustomControl3
Custom attribute
DefaultClearanceLevel
DateOfBirth
DeletPending
Department
Personnel Attributes
Personnel
Attributes Table
continued
Attribute
Description
DepartmentCode
DeviceID
DeviceModel
DistFailed
DistPending
Duress
EditLock
EmergencyCOntact
EmergencyPhone
EmpNumber
EntryEgress
ExecutivePrivilege
ExpirationDate
EyeColor
FirstName
FollowUpRule
FullName
Graphics
HairColor
Height
HomePhone
IconID
ID
InactiveDisableDays
IncludeObject
Info1Info6
JobTitle
LastChangeBy
LastDoorEntered
LastEvent
LastEventTime
LastName
Last Name
LastZone
LicenseNumber
LockedBy
LockingWorkstation
Personnel Attributes
Personnel
Attributes Table
continued
Attribute
Description
LostCard
MiddleName
Middle name
Name
NetworkNumber
NonABACardNumber
OfficeLocation
Owner
ParkingSticker
PhotoFile
PIN
Properties
ReferencePoint1
ReferencePoint4
RefTemplate
ReportID
SavedActivationDate
SavedCardNumber
SavedCardType
SavedExpirationDate
SavedPIN
SAvedSiteCode
SavedState
ScheduleEvents
SecurityLevel
Sex
Signature
SiteCode
SocSecNo
StartDate
State
StatOfResidence
Supervisor
Template
TemplateAlias
Alias that will be used when creating objects from this template
object - meaningful only for templates
TemplateCreateRule
Personnel Attributes
Personnel
Attributes Table
continued
Attribute
Description
TemplateName
Name that will be used when creating objects from this template
object - meaningful only for templates
TimeEntered
TimeLocked
Type
Value
VehicleInfo
Visitor
Weight
Program Attributes
Program
Attributes
Table
The following list provides you with the attributes and meanings for a
Program object.
Attribute
Description
AckTranstoFault
AckTranstoNorm
AckTranstoOffNorm
Alarm1Alarm8
AlarmEnable
AlarmFaults
AlarmFlags
Alarmgraphicpage
AlarmInfo
Alias
BaseLink
ByteCode
CommandLine
CreatedBy
CreateTime
CurrentLine
CurrentObject
DbgStatus
Description
Description of Object
DescriptionOfHalt
DeviceID
DeviceModel
DistPending
EditLock
ErrorCode
FileAccess
FileSize
FlowType
FollowUpRule
Program Attributes
Program
Attributes Table
continued
Attribute
Description
Graphics
IconID
ID
IncludeObject
InstanceOf
LabelList
LastChangeBy
LineStartTime
LocalVarList
LockedBy
LockingWorkstation
Name
NetworkNumber
NextFiringOrder
OutputType
Owner
PrevFiringOrder
PreviousLine
PrintDestination
PrintOutputFileName
ProgError
ProgInfo
ProgOffset
ProgStartTime
Properties
ReasonForHalt
ReferencePoint1
ReferencePoint4
RefTemplate
Reliability
ReportID
ScheduleEvents
SecurityLevel
ShareFlag
State
Program Attributes
Program
Attributes Table
continued
Attribute
Description
Status
StatusChange
StatusFlags
TD
Template
TemplateAlias
Alias that will be used when creating objects from this template
object - meaningful only for templates
TemplateCreateRule
TemplateName
Name that will be used when creating objects from this template
object - meaningful only for templates
TH
TimeLocked
TM
TS
Type
WinFileHandle
Report Attributes
Report
Attributes
Table
The following list provides you with the attributes and meanings for a
Report object.
Attribute
Description
ChartSubType
ChartType
ColumnList
DataSource
Description
Description
Email Address
Email Address
File Path
FirstMemberList
IsFixedScale
Is Report LogFilter
Number of plots
OrderBy
PathId
ReportEndDate
ReportFilter
The time range of the report will be specified through this filter
ReportFootnote
ReportFormat
Report Format
ReportHeading
ReportMax
ReportStartDate
ReportSubheading
ReportType
Report Type
ReportXCaption
ReportYCaption
ScaleFrom
Scale To
SecondMemberList
UseFullPath
Z Caption
RootClass Attributes
RootClass
Attributes
Table
The following list provides you with the attributes and meanings for a
RootClass object.
Attribute
Description
AckTranstoFault
AckTranstoNorm
AckTranstoOffNorm
Alarmgraphicpage
Alarm1Alarm8
AlarmEnable
AlarmFaults
AlarmFlags
AlarmInfo
Alias
BaseLink
CreatedBy
CreateTime
DeviceID
DeviceModel
DistPending
EditLock
FollowUpRule
Graphics
IconID
ID
IncludeObject
LastChangeBy
LockedBy
LockingWorkstation
Name
NetworkNumber
Owner
Properties
RootClass Attributes
RootClass
Attributes Table
continued
Attribute
Description
ReferencePoint1
ReferencePoint4
RefTemplate
ReportID
ScheduleEvents
SecurityLevel
Template
TemplateAlias
Alias that will be used when creating objects from this template
object - meaningful only for templates
TemplateCreateRule
TemplateName
Name that will be used when creating objects from this template
object - meaningful only for templates
TimeLocked
Type
Schedule Attributes
Schedule
Attributes
Table
The following list provides you with the attributes and meanings for a
Schedule object.
Attribute
Description
AckTranstoFault
AckTranstoNorm
AckTranstoOffNorm
Alarm1Alarm8
AlarmEnable
AlarmFaults
AlarmFlags
Alarmgraphicpage
AlarmInfo
Alias
Alias of object
AutoSendFlag
AutoSendTime
BaseLink
CreatedBy
CreateTime
Description
Description of Object
DeviceID
DeviceModel
DistPending
Download
EditLock
FollowingTransitionTime
FollowUpRule
Graphics
IconID
ID
IncludeObject
LastChangeBy
Schedule Attributes
Schedule
Attributes Table
continued
Attribute
LastDownloadTime
LockedBy
LockingWorkstation
Name
NetworkNumber
NextTransitionTime
Note
OccTimePoint
OccupancyFlag
OccupancyTime
OutofService
Owner
PreviousTransitionTime
Priority
Properties
ReferencePoint1
ReferencePoint4
RefTemplate
Reliability
ReportID
ScheduleEvents
SecurityLevel
State
StatusFlags
Template
TemplateAlias
TemplateCreateRule
TemplateName
TimeLocked
Type
UnOccTimePoint
UnoccupancyTime
Value
Description
Time that the schedule was last downloaded to the controller
Not Currently Implemented
Not Currently Implemented
Name of the object
Not Meaningful to the User
Time when the schedules value is next scheduled to change
after the time indicated by Next_Transition
An area that allows a user to type in notes that are associated
with schedule events. Not viewable from a list
Datetime point to be used to store next occupied time
Numeric to be turned on/off by schedule
Time of occupancy
A Boolean value that indicates whether or not the internal
calculations of the schedule object are used to determine the
value of the Value propert.
Owner of the Object.
Time when the schedules present value most recently
changed.
Not Meaningful to the User
Not Meaningful to the User
Alarm Referenece Point
Name and path of template from which object was created
Binary bitmap that indicates if the schedule object is in a
consistent state
Not Meaningful to the USer
Not viewable by user
Name and path of any security level attached to the object
Indicates if an object has been enabled or disabled
Binary bitmap that indicates the general Health of the
schedule object.
When true, indicates that object was made from a template
Alias that will be used when creating objects from this
template object - meaningful only for templates
Not meaningful to user
Name that will be used when creating objects from this
template object - meaningful only for templates
The time the object was last opened
The type of the object
Datetime point to be used to store next unoccupied time
Time occupancy ends
The value of this object after any conversions that may be
required
SecurityLevel Attributes
SecurityLevel
Attributes
Table
The following list provides you with the attributes and meanings for a
SecurityLevel object.
Attribute
Description
AckTranstoFault
AckTranstoNorm
AckTranstoOffNorm
Alarmgraphicpage
Alarm1Alarm8
AlarmEnable
AlarmFaults
AlarmFlags
AlarmInfo
Alias
BaseLink
CreatedBy
CreateTime
Description
Description of Object
DeviceID
DeviceModel
DistPending
EditLock
FollowUpRule
Graphics
IconID
ID
IncludeObject
LastChangeBy
LockedBy
LockingWorkstation
Name
NetworkNumber
SecurityLevel Attributes
SecurityLevel
Attributes Table
continued
Attribute
Description
Owner
Properties
ReferencePoint1
ReferencePoint4
RefTemplate
ReportID
ScheduleEvents
SecurityLevel
Template
TemplateAlias
Alias that will be used when creating objects from this template
object - meaningful only for templates
TemplateCreateRule
TemplateName
Name that will be used when creating objects from this template
object - meaningful only for templates
TimeLocked
Type
SecurityLink Attributes
SecurityLink
Attributes
Table
The following list provides you with the attributes and meanings for a
SecurityLink object.
Attribute
Description
Action
ID
Locks1Locks4
SecLevelObject
SecurityLinkClass
ShortCut Attributes
ShortCut
Attributes
Table
The following list provides you with the attributes and meanings for a
ShortCut object.
Attribute
Description
AckTranstoFault
AckTranstoNorm
AckTranstoOffNorm
Alarmgraphicpage
Alarm1Alarm8
AlarmEnable
AlarmFaults
AlarmFlags
AlarmInfo
Alias
BaseLink
CreatedBy
CreateTime
Description
Description of Object
DeviceID
DeviceModel
DistPending
EditLock
FollowUpRule
Graphics
IconID
ID
IncludeObject
LastChangeBy
LockedBy
LockingWorkstation
Name
NetworkNumber
Owner
ShortCut Attributes
ShortCut
Attributes Table
continued
Attribute
Description
Properties
ReferencePoint1
ReferencePoint4
RefTemplate
ReportID
ScheduleEvents
SecurityLevel
Template
TemplateAlias
Alias that will be used when creating objects from this template
object - meaningful only for templates
TemplateCreateRule
TemplateName
Name that will be used when creating objects from this template
object - meaningful only for templates
TimeLocked
Type
String Attributes
String
Attributes
Table
The following list provides you with the attributes and meanings for a
String object.
Attribute
Description
AckTranstoFault
AckTranstoNorm
AckTranstoOffNorm
Alarmgraphicpage
Alarm1Alarm8
AlarmEnable
AlarmFaults
AlarmFlags
AlarmInfo
Alias
BaseLink
BaseLink
CreatedBy
CreateTime
Description
Description of Object
DeviceID
DeviceModel
DistPending
EditLock
Graphics
IconID
ID
IncludeObject
LastChangeBy
LockedBy
LockingWorkstation
LogIntervalSecs
LogType
String Attributes
String
Attributes Table
continued
Attribute
Description
Name
NetworkNumber
OutOfService
Owner
Properties
ReferencePoint1
ReferencePoint4
RefTemplate
ReportID
ScheduleEvents
SecurityLevel
Size
StringSize
Template
TemplateAlias
Alias that will be used when creating objects from this template
object - meaningful only for templates
TemplateCreateRule
TemplateName
Name that will be used when creating objects from this template
object - meaningful only for templates
Type
Value
TemplateInfo Attributes
TemplateInfo
Attributes
Table
The following list provides you with the attributes and meanings for a
TemplateInfo object.
Attribute
Description
TemplateAlias
Alias that will be used when creating objects from this template
object - meaningful only for templates
TemplateName
Name that will be used when creating objects from this template
object - meaningful only for templates
TemplateObj
TrendLog Attributes
TrendLog
Attributes
Table
The following list provides you with the attributes and meanings for a
TrendLog object.
Attribute
Description
AckedTransitions
BufferSize
COVResubscriptionInterval
Description
EventEnable
EventNotificationClassId
EventState
LastNotifyRecord
LogEnable
LogInterval
NotificationThreshold
NotifyType
RecordCount
RecordsSinceNotification
StartTime
StopTime
StopWhenFull
If this property is true, logging will stop when the buffer fills
up.
TotalRecordCount
User Attributes
User Attributes
Table
The following list provides you with the attributes and meanings for a
User object.
Attribute
Description
AckTranstoFault
AckTranstoNorm
AckTranstoOffNorm
Alarm1Alarm8
AlarmEnable
AlarmFaults
AlarmFlags
Alarmgraphicpage
Alias
BaseLink
CardNumber
CommandPriority
CreatedBy
CreateTime
Description
Description of Object
DeviceID
DeviceModel
DistPending
EditLock
EmpNumber
ExpirationDate
FollowUpRule
FullName
Graphics
HomePhone
IconID
ID
InactivityTimer
User Attributes
User Attributes
Table continued
Attribute
Description
IncludeObject
LastChangeBy
LastChangePassword
Date
LastLoggedOnDate
LockedBy
LockingWorkstation
LoginProgram
LogOutProgram
Name
NetworkNumber
OperatorTextLogEnab
le
Owner
PasswordChangeNext
Login
PersonnelRecord
Preemption
Properties
ReferencePoint1
ReferencePoint4
RefTemplate
ReportID
RequireAlarmAckOpe
ratorText
Forces operator to get sign off on all alarm acknowledgements requires CFR setting
ScheduleEvents
SecurityKey
SecurityLevel
SSN
StartDate
StartUpFile
State
Template
TemplateAlias
Alias that will be used when creating objects from this template
object - meaningful only for templates
TemplateCreateRule
TemplateName
Name that will be used when creating objects from this template
object - meaningful only for templates
User Attributes
User Attributes
Table continued
Attribute
Description
TimeLocked
Title
Type
UserLevel
UserReport
WorkPhone
Appendix D
Programming the DCX 250
Display Unit
The DCX 250-Display Unit has a touch-sensitive, 4.9 x 4.2-inch liquid crystal display
(LCD) screen. The screen is divided into 64 numbered squares, beginning in the upper
left-hand corner and ending in the lower right-hand corner (see below).
Text and graphics are positioned on the 250-display screen with line points (dots). There
are 320 line points horizontally across the screen (left-to-right) and 200 vertically (bottomto-top).
200
1
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
1
320
Predrawn
Control
Graphics
Title
4 Title
Title
6 Title
5 Title
7 Title
8 Title
9 Title
####.##
###.##
10 Title
11 Title
####.##
12 Title
13 Title
######### ##:##:##
D-2
Schneider Electric
Predrawn
Control
Graphics
continued
1 Title
2 Title
Title
Title
D-3
Preliminary
Steps
Before you place the control, always be sure to carry out these steps:
y
y
y
Basic
Considerations
Additional
Considerations
Prior to placing a control graphic on the 250 screen you will need to
know the following information about the control:
y
y
y
Style Number
y
y
y
y
y
y
y
D-4
Location
Schneider Electric
A title
Frame style
Direction (sliders only)
Top and bottom of scale
Tick marks (knobs and gauges)
Number of settings the control can be set to (called steps)
Format (for the numbers on the tick marks)
The CONTROL
Keyword
D-5
The Arguments
bottom
right
top
point_or_attribute_path
title
Schneider Electric
left
user_change
D-6
Replace With
frame
direction
Replace With
bot_scale
top_scale
tickmarks
Steps
format
D-7
CONTROL
Keyword
Example
Setting Up the
Software
AirFlow
50
100
150
200
250
D-8
Schneider Electric
Format
Control Style
Top and
Bottom
of Scale
Format
CONTROL 7, 50, 50, 280, 180, TRUE, ROOM6 AirFlow, "AirFlow", 4,, 50, 250, 5, 8, "###"
Location
on Screen
Controller
and Point
Name
Frame Style
Tick
Marks
Steps
Comma Means
Skipping Argument
Argument
Descriptions
The left, bottom, right, and top values position the frame so its lower
left corner is at 50, 50 and its upper right at 280, 180. The control
appears sized and centered within the frame (Frame Style 4).
TRUE allows the operator to set the value of the control.
ROOM6 AirFlow is the path to the point.
"AirFlow" is the title of the control.
The 4 is the frame style.
The extra comma after the 4 indicates you are leaving out an
argumentthe direction that does not apply to gauges. The gauge
always turns clockwise.
The 50 is the bottom of the scale and the 250 is the top.
D-9
Argument
Descriptions
continued
If you did not specify a bottom and top of scale, the control would
automatically be a digital gauge. The bottom of scale would become
Off and the top of scale On.
"###" defines the numbers format and indicates that up to three digits
can appear in the numbers around the gauge scale.
If you did not specify a number of steps, you would never see the
gauge setting change, because it would automatically have 180
settings (one for each degree around the portion of the circle the
gauge is composed of).
To specify a particular number of steps, set 5 as the number of tick
marks and 8 as the number of steps. Normally the control would
have 4 steps with 5 tick marks. Because the control has 8 steps, it
has an extra step between each pair of tick marks.
The unnumbered steps (settings) would be 75, 125, 175, and 225.
You can set the needle to one of those values.
Positioning the
Control
Notice that the gauge control has two arrows. You press these arrows
to raise or lower the setting of the point or attribute.
The arrows must be the size of at least two cells (see Figure D-1),
rather than one. You should position this control so that the two
arrows are each on top of separate cells. This rule applies as long as
you want the operator to have the option of setting the control. If you
set the user_point argument to False, the arrows do not appear.
Switches and
Knobs Cannot
be Resized
When you specify the left, bottom, right, and top, the software
automatically sizes the control to fit into the area you designate
unless it is Control Style 3, 4, or 5 (switches), or Control Style 6
(knob).
You cannot resize Control Styles 3, 4, 5, or 6. However, when you
give the location for any of the switches (Control Styles 3, 4, and 5),
the center of the control must be at least 21 line points from any edge
of the screen. The center of a knob (Control Style 6) must be at least
30 line points from any edge of the screen.
Gauge Controls
Retain Their
Shape
+
Gauge Control (Control Style 7) Centered on Screen
D-11
Gauge Controls
Retain Their
Shape
On the other hand, if you designate a short wide area for a circular
control, its height fits the area and its width becomes proportional to
the height. The control is then horizontally centered within the space
you have defined.
In either case, the gauge retains its semicircular shape.
Minimum
Control Size
Any control style that you can resize never displays unless it is at
least the size of one cell on the 250 screenapproximately 0.5 inch
square. What are cells? The 250 screen has an underlying grid of 64
squares (see Figure D-1), approximately 0.6 x 0.5-inch. The blocks
are called cells or touch cells.
The software can sense when you have touched one of these cells.
You must position the control so that it can use these cells.
If a control is a button or switch, it can be as small as one cell;
approximately 40 line points wide and 25 line points high. Any other
control style must be at least two cells wide, 80 line points wide if
horizontally positioned or 50 line points high if vertically positioned.
(To be sure about the minimum size for any particular control, refer to
"Graphic Control Style Specifications" beginning on the next page).
If the Control
Doesn't Appear
If the control cannot display in the space you give, the software
disables the file; you can then find the error message in the File
Configuration window. Any time the control does not appear, check
the size of the area you designated
Type
Raised Button
Title
Details
y
y
y
y
y
y
tickmarksNot applicable.
directionNot applicable.
bot_scaleOptional. Automatically set to OFF or one of the two
values of a digital attribute, such as DISABLED for STATE.
stepsNot applicable.
formatNot applicable.
D-13
Type
Flat Button
Title
Details
y
y
y
y
y
y
tickmarksNot applicable.
directionNot applicable.
bot_scaleOptional. Automatically set to OFF or one of the two
values of a digital attribute, such as DISABLED for STATE.
stepsNot applicable.
formatNot applicable.
Type
Light Switch
Title
Details
y
y
directionNot applicable.
y
y
y
tickmarksNot applicable.
stepsNot applicable.
formatNot applicable.
Andover Plain English Language Reference
D-15
Type
Toggle Switch
Title
Details
y
y
directionNot applicable.
y
y
y
tickmarksNot applicable.
stepsNot applicable.
formatNot applicable.
Type
Sliding Switch
Title
Details
y
y
directionNot applicable.
y
y
y
tickmarksNot applicable.
stepsNot applicable.
formatNot applicable.
Andover Plain English Language Reference
D-17
Type
Knob
Title
Details
y
y
frameOptional.
Details
continued
D-19
Type
Title
Details
frameOptional.
Details
continued
D-21
Type
Title
###.##
Details
frameOptional.
Details
continued
D-23
Type
Title
####.##
Details
y
y
y
frameOptional.
directionNot applicable.
bot_scaleRequired if it is not a digital control. If it is for a digital
point or attribute, automatically set to OFF or one of the two
values of a digital attribute, such as DISABLED for STATE.
Details
continued
y
y
tickmarksNot applicable.
y
y
formatNot applicable.
D-25
Type
Value Bar
Title
####.##
Details
y
y
y
frameOptional.
directionNot applicable.
bot_scaleRequired if it is not a digital control. If it is for a digital
point or attribute, automatically set to OFF or one of the two
values of a digital attribute, such as DISABLED for STATE.
Details
continued
y
y
tickmarksNot applicable.
formatNot applicable.
The value that appears in the box automatically appears in the format
for the point that the control represents.
D-27
Type
Title
Details
y
y
frameOptional.
Details
continued
D-29
Type
Title
Details
y
y
frameOptional.
Details
continued
D-31
Type
Title
######### ##:##:##
Details
y
y
frameOptional.
directionNot applicable.
Details
continued
y
y
y
y
y
bot_scaleNot applicable.
top_scaleNot applicable.
tickmarksNot applicable.
stepsNot applicable.
formatNot applicable.
You must specify a datetime point or the control does not appear.
D-33
Appendix E
BACnet Properties and Plain
English
When you create an Infinity object in a BACnet controller it automatically becomes a
certain type of BACnet object. The first table on the next page lists the Infinity object
class and indicates its BACnet object equivalent.
Following the first table are multiple tables that are arranged by BACnet Object Type. The
tables map each BACnet objects properties to the equivalent Plain English name. You
would use the Plain English name in a Plain English program.
Any properties not listed in the following tables are properties that are not supported in
Plain English. The READ/WRITE column indicates whether these properties can be
changed (W) or just read (R) by Plain English.
The Restrictions column indicates any Andover Continuum specific restriction on the
property. Our restrictions do not necessarily coincide with those of a third party device.
BACnet PICS:
As the Andover Continuum BACnet product line expands, some of the information
contained in the tables that follow may change. For up-to-date information on properties
supported and any restrictions placed on their use, refer to the Continuum Product
Implementation Conformance Statement (PICS) for the particular controller you are
using. These may be obtained through your dealer or through the Schneider Electric
website.
E-2
INFINITY CLASS
Analog Input
Analog Input
Analog Input
Analog Input
Analog Input
Binary Input
Multi-State Input
Analog Output
Analog Output
Binary Output
Multi-State Output
Numeric
Binary Value
Numeric
Analog Value
Numeric
Multi-State Value
Program
Program
Schedule
Schedule
Calendar
Calendar
Device
Device
EventEnrollment
Event Enrollment
EventNotification
Notification Class
File
File
Loop
Loop
TrendLog
TrendLog
Schneider Electric
ANALOG INPUT
BACnet
Property
Plain English
Name
READ/WRITE
R/W
Restrictions
COV Increment
COVIncrement
Description
Description
Limited to 32 characters
Always Normal
Event_State
EventState
Object_Name
Name
Object_Type
Type
Out_Of_Service
OutOfService
Present_Value
Value
Units
Units
BINARY INPUT
BACnet
Property
Plain English
Name
READ/WRITE
R/W
Restrictions
Description
Description
Limited to 32 characters
Event_State
EventState
Always Normal
Object_Name
Name
Object_Type
Type
Out_Of_Service
OutOfService
Polarity
Polarity
Present_Value
Value
MULTISTATE INPUT
BACnet
Property
Plain English
Name
READ/WRITE
R/W
Restrictions
Description
Description
Limited to 32 characters
Event_State
EventState
Always Normal
3
Number_Of_States
NumberOfStates
Object_Name
Name
Object_Type
Type
Out_Of_Service
State
Present_Value
Value
E-3
ANALOG OUTPUT
BACnet
Property
Plain English
Name
READ/WRITE
R/W
Restrictions
COV Increment
COVIncrement
Description
Description
Limited to 32 characters
Event_State
EventState
Always Normal
Object_Name
Name
Object_Type
Type
Out_Of_Service
OutOfService
Present_Value
Value
Relinquish_Default
RelinquishDefault
Units
Units
BINARY OUTPUT
BACnet
Property
Plain English
Name
READ/WRITE
R/W
Restrictions
Description
Description
Limited to 32 characters
Event_State
EventState
Always Normal
Object_Name
Name
Object_Type
Type
Out_Of_Service
OutOfService
Polarity
Polarity
Present_Value
Value
Relinquish_Default
RelinquishDefault
MULTISTATE OUTPUT
BACnet
Property
Description
E-4
Plain English
Name
Description
READ/WRITE
R/W
W
Restrictions
Limited to 32 characters
Event_State
EventState
Always Normal
Number_Of_States
NumberOfStates
Object_Name
Name
Object_Type
Type
Out_Of_Service
OutOfService
Present_Value
Value
Relinquish_Default
RelinquishDefault
Schneider Electric
The following tables are for objects that do not have an ElecType. When you create the
Infinity Numeric object indicated on the left of the table, you must select a BACnet Object
Type from a drop down list within the editor. See note regarding numerics on the
following page.
ANALOG VALUE
BACnet
Property
Plain English
Name
READ/WRITE
R/W
Restrictions
COV Increment
COVIncrement
Description
Description
Limited to 32 characters
Event_State
EventState
Always Normal
Object_Name
Name
Object_Type
Type
Out_Of_Service
OutOfService
Present_Value
Value
Relinquish_Default
RelinquishDefault
Units
Units
BINARY VALUE
BACnet
Property
Description
Plain English
Name
Description
READ/WRITE
R/W
Restrictions
Limited to 32 characters
Always Normal
Event_State
EventState
Object_Name
Name
Object_Type
Type
Out_Of_Service
OutOfService
Present_Value
Value
Relinquish_Default
RelinquishDefault
MULTISTATE VALUE
BACnet
Property
Plain English
Name
READ/WRITE
R/W
Restrictions
Description
Description
Limited to 32 characters
Event_State
EventState
Always Normal
Number_Of_States
NumberOfStates
255*
Object_Name
Name
Object_Type
Type
Out_Of_Service
OutOfService
Present_Value
Value
Relinquish_Default
RelinquishDefault
0..255
E-5
PROGRAM
BACnet
Property
Plain English
Name
READ/WRITE
R/W
Description
Description
Object_Name
Name
Object_Type
Type
Out_Of_Service
OutOfService
Program_Change
StatusChange
Program_State
Status
Restrictions
Limited to 32 characters
Inactive = Idle
Active & Disabled = Halted
Active & Enabled = Running
SCHEDULE
BACnet
Property
Plain English
Name
READ/WRITE
R/W
Description
Description
Object_Name
Name
Object_Type
Type
Present_Value
Value
Priority_For_Writing
Priority
Restrictions
Limited to 32 characters
CALANDER
BACnet
Property
E-6
Plain English
Name
READ/WRITE
R/W
Description
Description
Object_Name
Name
Object_Type
Type
Present_Value
Value
Schneider Electric
Restrictions
Limited to 32 characters
DEVICE
BACnet
Property
APDU_Segment_Timeout
Plain English
Name
APDUSegTimeout
ADPU_Timeout
ADPUTimeout
READ/WRITE
R/W
Restrictions
W
W
Application_Software_version
ApplSoftwareVersion
Backup_Failure_Timeouut
BackupFailureTimeout
Configuration_Files
ConfigurationFileList
Daylight_Savings_Status
DaylightSavingsStatus
Firmware_Revision
FirmwareRevision
Last_Restore_Time
LastRestoreTime
Local_Date
LocalDate
Local_Time
LocalTime
Max_ADPU_Length_Accepted
MaxAPDUAccepted
Model_Name
ModelName
Number_Of_ADPU_Retries
NumberAPDURetries
Object_Name
Name
Object_Type
Type
Protocol_Conformance_Class
ProtocolConfClass
Protocol_Version
ProtocolVersion
Segmentation_Supported
SegmentationSupport
System_Status
System_Status
UTC_Offset
UTCOffset
Vendor_Identifier
VendorIdentifier
Vendor_Name
VendorName
0-255
E-7
EVENT ENROLLMENT
BACnet
Property
Plain English
Name
READ/WRITE
R/W
Description
Description
Event_State
EventState
Event_Type
EventType
Notify_Type
NotifyType
Object_Name
Name
Object_Type
Type
Restrictions
Limited to 32 characters
* see below
NOTIFICATION CLASS
BACnet
Property
Plain English
Name
READ/WRITE
R/W
Description
Description
Object_Name
Name
Object_Type
Type
Restrictions
Limited to 32 characters
FILE
BACnet
Property
E-8
Plain English
Name
READ/WRITE
R/W
Object_Name
Name
Object_Type
Type
Description
Description
File_type
FileType
File_Size
Size
Archive
Archive
Read_Only
ReadOnly
File_Access_Method
AccessMethod
Schneider Electric
Restrictions
LOOP
BACnet
Property
Plain English
Name
READ/WRITE
R/W
Action
Action
Bias
Bias
Controlled_Variable_Units
ControlledVariableUnits
Controlled_Variable_Value
ControlledVariableValue
Derivative_Constant
DerivativeConstant
Derivative_Constant_Units
DerivativeConstantUnits
Description
Description
Event_State
EventState
Integral_Constant
IntegralConstant
Integral_Constant_Units
IntegralConstantUnits
Maximum_Output
MaximumOutput
Minimum_Output
MinimumOutput
Object_Name
Name
Out_Of_Service
OutOfService
Output_Units
OutputUnits
Present_Value
Value
Priority_For_Writing
Priority
Proportional_Constant
ProportionalConstant
Proportional_Constant_Units ProportionalConstantUnits
Reliability
Reliability
Setpoint
Setpoint
Update_Interval
UpdateInterval
Restrictions
E-9
TRENDLOG
BACnet
Property
Buffer_Size
E-10
Plain English
Name
BufferSize
READ/WRITE
R/W
W
COV_Resubscription_Interval COVResubscriptionInterval
Description
Description
Event_State
EventState
Log_Enable
LogEnable
Log_Interval
LogInterval
Object_Name
Name
Object_Type
Type
Record_Count
RecordCount
Stop_When_Full
StopWhenFull
Total_Record_Count
TotalRecordCount
Schneider Electric
Restrictions
Appendix F
Alarm Functions
This appendix describes how you can write your own Plain English alarm
functions. It also describes the Plain English PopAlarm and AckAlarm functions.
Format
Purpose
As an option, you may write your own Plain English alarm functions
that run at workstations when one of the following conditions occurs:
An alarm occurs
An alarm is acknowledged
A return-to-normal condition occurs
For example, you would use the user-defined Plain English alarm
functions with an alarm video-monitoring system, to play video clips
when alarms occur.
In the event that all available video controllers are busy playing video
clips, a video control needs to be freed. Meanwhile, if alarms occur
while all video controls are busy, their corresponding user-defined
alarm function calls are stacked (placed in a buffer) and processed, or
popped, at a later time. For more information regarding popping,
refer to the Plain English PopAlarm function later in this appendix.
At times, it may also be necessary to acknowledge alarms
automatically (or via script within the Pinpoint graphic application). For
more information regarding acknowledging alarms, refer to the Plain
English AckAlarm function later in the appendix.
Returns SUCCESS or FAILURE.
Remarks
F-2
Schneider Electric
The return value defaults to Failure and will push the alarm onto the
stack. You must add the Return Success statement.
An execution failure of the function creates an error log entry and
drops the alarm.
If returned SUCCESS Alarm is successfully processed
If returned FAILURE Alarm is not successfully processed.
CyberStation buffers the alarm function call.
Each alarm function that you write must correspond to one of the three
conditions listed above. Therefore, in the registry you must define the
following keys for all three types of Plain English user-defined alarm
functions:
PEAlmFunction (when an alarm occurs)
PEAckFuntion (when an alarm is acknowledged)
PERtnFunction (when a return-to-normal condition occurs)
To create the required AlmFunction, AckFunction, RtnFunction,
MaxBufferedAlarm, and PopAlarm keys, perform the following steps.
1. Open the registry, using the Windows application, regedit.
2. Each key should be create in the registry at the following
location:
HKEY_LOCAL_MACHINE\Software\Andover
Controls\Settings
3. Create the keys with the following charactertistics:
Name
PEAlmFunction
Data Type
String
PEAckFuntion
String
PERtnFunction
String
PEMaxBufferedAlarms
PEPopAlarm
DWORD
DWORD
Value
User-defined name for
the workstation function
User-defined name for
the workstation function
User-defined name for
the workstation functions
50 (hex), 80(dec)
0
Description
Network Alias Name (a 16-byte string)
Controller Alias Name (a 16-byte string)
F-3
Arg3
Arg4
Arg5
Arg6
Arg7
Arg8
Arg9
Arg10
Arg11
Arg12
Arg13
Arg14
Arg15
Example
1 AlmNetwork
2 AlmController
3 AlmInfinet
4 AlmObjName
5 AlmObjAlias
6 AlmObjDesc
7 AlmObjValue
8 AlmState
9 AlmPanel
10 AlmMessage
11 AlmEnrollment
12 AlmEvent
13 Alm Priority
Schneider Electric
Products
Supported
Workstation Only
Modes
Available
F-5
PopAlarm
Format
Function
PopAlarm ( )
Purpose
Remarks
Typically, in the event all available video controls are busy playing
video clips, a guard needs to free a video control. If alarms occur
while all video controls are busy, their corresponding user-defined
alarm function calls are stacked. The PopAlarm function allows you
to process or pop each of these stacked alarms at a later time.
Alarms are popped based on their corresponding event notification
priority highest priority first.
If returned SUCCESS An alarm was popped and a call was made
to its corresponding user-defined Plain English function.
If returned FAILURE No alarm was popped (empty buffer case).
Example 1
Command Line
Simply Type:
PopAlarm
F-6
Schneider Electric
Example 2
Products
Supported
Workstation Only
Modes
Available
F-7
AckAlarm
Format
Purpose
Function
AckAlarm (Arg1, Arg2, , Arg11)
Remarks
Argument
Arg1
Arg2
Arg3
Arg4
Arg5
Arg6
Arg7
Arg8
Arg9
Arg10
Arg11
Description
Timestamp (a 16-byte string)
Network Alias Name (a 16-byte string)
Controller Alias Name (a 16-byte string)
Infinet Controller Alias Name (a 16-byte string)
Object Name (a string)
AlarmEnrollment Alias (a 16-byte string)
State (a 3-byte string: ALM, RTN, or ACK)
Acked By User (a 64-byte string)
User Actions Text (a 64-byte string)
Operator Text (a 255-byte string)
Logging Workstation (a string)
In the table above, Arg1 through Arg6 identify the alarm, based on the
Plain English alarm function. Arg7 through Arg11 provide
acknowledgment information.
Example 1
F-8
Schneider Electric
Example 2
Example 3
Products
Supported
Workstation Only
Modes
Available
F-9
F-10
Schneider Electric
Appendix G
Area Lock Down Features
This appendix described the area lock down feature, ForceLock, which you can use in
Plain English program statements to lock down areas and doors. It also describes how to
define your own functions to lock down areas and doors. For more information on using
area lockdown in CyberStation, please see the CyberStation online help.
ForceLock
Format
ForceLock
Purpose
Example 1
Example 2
G-2
Schneider Electric
Purpose
Remarks
Example 1
Numeric i
For i = 2 to 15
If passed(i) then Arg[i] ForceLock = ForceLockValue
Next i
Return Success
Note: If the PE statement is acting on Areas, it needs to be in a
CyberStation program. However, if the statement is acting on
Doors, it can be in either a CyberStation program or the
controller.
Example 2
G-3
Example 3
Example 4
G-4
Schneider Electric
30-3001-872