EC GfxProgram UG
EC GfxProgram UG
User Guide
1. Version 6.0 - June 2016: Added information for Emulator connection method, updated Resource
Configuration information
2. Version 6.1 - November 2017: Added the nLight offline programming information
3. Version 6.2 - June 2018: Added the Remote Devices/Points, and the BLE Room Device and M-
Bus Device blocks
4. Version 6.3 - November 2018: Added Custom Image and Language support for BLE Room
Devices, and updated Modbus block, Resource Configuration Information, and Block Actions.
5. Version 6.3a - November 2018: Added information on how to configure the myDC Control applica-
tion and the HORYZON displays using the Lcd Screen block.
6. Version 6.4 - April 2019: Added Color Encoder, Color Decoder, EnOcean Device, nLight Channel,
nLight Channel Calculator, and Generic nLight Channel blocks, updated Light Output (ECB & ECY
Series expansion modules) block (added Color port) and Configure the Light Output section;
updated BLE Room Device block (added Custom Actions ports and Custom Actions configura-
tion); updated Modbus Device (ECY Series) block (added Resource Binding section and Data
Units field; updated Scale and Offset fields); updated Wireless Sensor for ECB and ECL series
(replaced module with sensor; updated Learn window); updated Supported Wireless Receivers
and Supported Wireless Sensor Profiles section; updated Limit block (ports).
7. Version 6.X - XXXXXX 2019: Updated Light Output (ECB & ECY Series expansion modules) block
(Dali Reliability field)
8. Version 6.5 - December 2019: New BLE room devices input/output ports (remote support); Proj-
ect’s configuration and compile code separately now available for ECY; Renumbering resource
objects; Updated the Unused Resources screenshot; added a new Selector block; Collapse/
expand block added to the right-click on block menu; New Reset and Set Value commands added
to the right-click on block menu for time blocks; drag multiple resource blocks on the programming
sheet using the CTRL key; Renumbering/Swapping resource objects.
9. Version 6.6 - April 2020: Adding controller specific configurations for Network Objects and
EnOcean devices, project identifier, and a synchronization option to reinitialize controller specific
configurations
10. Version 6.6a - January 2021: Adding RSSI feature for EC-Multi-Sensor-BLE and UNIWAVE
11. Version 6.7 - June 2021: Adding APEX and ECY-STAT support
EC-gfxProgram_UG_67_EN
While all efforts have been made to verify the accuracy of information in this manual, Distech Controls
is not responsible for damages or claims arising from the use of this manual. Persons using this man-
ual are assumed to be trained HVAC professionals and are responsible for using the correct wiring
procedures, correct override methods for equipment control and maintaining safe working conditions in
fail-safe environments. Distech Controls reserves the right to change, delete or add to the information
in this manual at any time without notice.
Distech Controls, the Distech Controls logo, and Innovative Solutions for Greener Buildings are regis-
tered trademarks of Distech Controls, Inc. BACnet is a registered trademark of ASHRAE. All other
trademarks are property of their respective owners.
TABLE OF CONTENTS
CHAPTER 1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Introduction to EC-gfxProgram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
About this user guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Conventions used in this document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
CHAPTER 2
Quick Start Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Creating a new project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Developing a control sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Synchronizing a project with a device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Debugging a project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
CHAPTER 3
User Interface Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Overview of the user interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Ribbons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
File menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Resource Report Print Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Print Preview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Page Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Print Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Connection Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
EC-gfxProgram Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Home ribbon. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Auto increment (ECP & ECL Series and EBC Series controllers only) . . . . . . . . . . . . . . . . . 65
Auto increment (ECY Series controllers only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
Project buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
Text documents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Project Synchronization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
Debugging buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Resources button (ECY Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
Drawing ribbon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
Alignment button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
Distribution buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
Size button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
View ribbon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
Zoom buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
Show/Hide buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
Panes button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
Tools ribbon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
Tools button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
Controller connection and debugging status indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
Shortcuts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
Programming sheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
Resizing the programming sheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
Tabs to access programming sheets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
Adding another document to the programming sheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
Reopening a closed document. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
Reordering documents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
Removing a document from the programming sheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
EC-gfxProgram 1
Table of Contents
CHAPTER 4
Resources Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
Adding resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
Renumbering/Swapping Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
Configuration Variable Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
Resources Summary view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
Configuring properties. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
Blocks that are configured in the Resources Configuration window. . . . . . . . . . . . . . . . . . 171
Configuring a resource block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
Trending (ECY Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
ENVYSION Data Tree (ECY Series). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
Adding resources to the ENVYSION Data Tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
Cleaning up unused resources in a project. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
CHAPTER 5
Using EC-gfxProgram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
Dragging and dropping blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
Connecting blocks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
Connection rules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
Connection types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
Build sequencing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
RAM usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
Data processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
Data types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
ECP Series controllers data processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
Data type conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
Persistent values (ECP Series controllers). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
ECL, ECB & ECY Series controller data processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212
Out-of-Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213
Data type conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214
2 EC-gfxProgram
Table of Contents
CHAPTER 6
Block Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
Overview of block objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234
Block objects description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234
Collapsed blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
Common block properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
ByteLight. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
ByteLight Group (ECY Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
Comparators. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
Between . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242
Equal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
Greater or Equal. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244
Greater Than . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245
Is Null (ECL, ECB & ECY Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246
Less or Equal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
Less Than . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
Not Equal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249
Constants and variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250
Internal constant. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251
Internal variable (ECL, ECB & ECY Series). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252
Null value (ECL, ECB & ECY Series). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253
ECP Series specific blocks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
Constant Enum (ECP Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256
Constant Numeric (ECP Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257
Variable Enum (ECP Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258
Variable Numeric (ECP Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260
ECL Series specific constant and variable blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262
Boolean Constant (ECL Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
Boolean Value (ECL Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265
Enum Constant (ECL Series). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
Enum Value (ECL Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269
Numeric Constant (ECL Series). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271
Numeric Value (ECL Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273
Setpoint Constant (ECL Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275
ECB & ECY Series specific blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279
Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279
EC-gfxProgram 3
Table of Contents
Commandable and non-commandable values (ECB & ECY Series controllers) . . . . . . . . 279
Constants and variables supported by ECB & ECY Series controllers . . . . . . . . . . . . . . . 280
Analog Value (ECB & ECY Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281
Binary Value (ECB & ECY Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 285
Multi State Value (ECB & ECY Series). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289
Custom . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293
Creating project code in a custom document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294
Adding exported inputs and exported outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
About exported input and output formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
Making an exported input automatic, optional, or mandatory . . . . . . . . . . . . . . . . . . . . . . . 296
Show in Containing Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298
Converting selected project code in a custom block/conditional custom block shortcut . . 298
Conditional Custom Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299
Custom block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302
For Loop (ECL, ECB & ECY Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303
Loop Info (ECL, ECB & ECY Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307
General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 308
Color Decoder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
Color Encoder. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 310
Count Down . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312
Count Up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
Device Info (ECL Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317
Device Info (ECB & ECY Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 319
Digital Fault. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320
Dual Pid (ECP Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323
Falling Edge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 330
Hysteresis. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 332
Latch. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335
Lcd Screen (ECL, ECB & ECY Series). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337
Limit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 347
Linear . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 349
Notification Class (ECB & ECY Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 352
Numeric Fault . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 354
Pid (ECP Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 357
Pid Loop (ECL Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363
Pid Loop (ECB & ECY Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375
Ramp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 384
Rising Edge . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 388
Startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 389
Toggle. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 391
Weather (ECB & ECY Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 394
Generics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 399
Generic Analog Value (ECB & ECY Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 400
Generic Binary Value (ECB & ECY Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 402
Generic Boolean Value (ECL Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 405
Generic ComSensor Condition (ECL, ECB & ECY Series) . . . . . . . . . . . . . . . . . . . . . . . . 406
Generic ComSensor Value (ECL, ECB & ECY Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . 407
Generic Internal Variable (ECL, ECB & ECY Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 408
Generic Boolean Constant (ECL Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 409
Generic Enum Constant (ECL Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 409
Generic Enum Value (ECL Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 410
Generic Floating Output (ECL Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 412
Generic Floating Output (ECB & ECY Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 413
Generic Hardware Input (ECL Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 414
4 EC-gfxProgram
Table of Contents
EC-gfxProgram 5
Table of Contents
6 EC-gfxProgram
Table of Contents
EC-gfxProgram 7
Table of Contents
CHAPTER 7
Block Actions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1183
Advanced configuration windows overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1184
Opening a block action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1185
Set Constant (ECL Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1186
Set Value. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1187
View content . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1188
Format Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1189
Creating and using enumerations (8-Bit) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1192
Format editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1192
Setting an enumeration range (ECY Series controllers). . . . . . . . . . . . . . . . . . . . . . . . . . 1196
Importing and exporting enumerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1197
Creating and using enumerations (ECP Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1197
Creating and using enumerations (ECL Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1199
Format editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1200
Setting an enumeration range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1202
Importing and exporting enumerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1202
Enumeration Picker (ECP & ECL Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1203
Format Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1204
Edit Value (ECP Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1206
Edit Mode and Value (ECP Series). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1206
Emergency override and emergency auto (ECB & ECY Series) . . . . . . . . . . . . . . . . . . . . . . 1207
Override and auto . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1208
Find All References (ECL, ECB & ECY Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1211
Copy From . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1211
Configure Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1212
Show/Hide Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1215
Set and reset timer (ECY series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1217
Replacing blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1218
Network Properties Configuration window (ECL, ECB & ECY Series) . . . . . . . . . . . . . . . . . . 1218
Network properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1219
BACnet network properties. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1222
Change Type (ECP & ECL Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1224
Alarms (ECB & ECY Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1227
Dynamic alarm activation thresholds adjust . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1229
AlarmInhibit input (ECY Series controllers) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1230
Binary value block and digital input alarms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1231
Digital and pulse hardware output alarm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1233
Analog/Pulse input alarms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1235
Multi state value block and multilevel input alarms. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1237
Notification message configuration (ECY Series controllers) . . . . . . . . . . . . . . . . . . . . . . 1239
Configuring alarm recipients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1241
BACnet notification class configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1241
About alarms with the EC-Net platform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1243
8 EC-gfxProgram
Table of Contents
CHAPTER 8
The Toolbox Builder Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1253
Toolbox tool overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1254
Overview of the toolbox builder user interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1255
Toolbox builder main menu toolbar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1256
Using toolboxes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1258
Creating a new toolbox. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1260
Creating a new toolbox with the toolbox builder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1262
Toolbox troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1268
CHAPTER 9
Calendar and Schedule Tool (ECL, ECB & ECY Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1269
Using schedules and calendars . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1270
Calendar and schedules configuration overview (ECL, ECB & ECY Series) . . . . . . . . . . . . . . 1271
Getting started on the calendar and schedule tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1272
Overview of the calendar and schedule user interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1275
File menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1277
Home ribbon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1280
Current view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1284
Shortcuts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1285
Schedule/Calendar instance selector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1286
About the calendar and scheduler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1287
Configuring a schedule (calendar and schedule tool) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1290
Configuring a calendar (Calendar and Schedule tool) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1303
CHAPTER 10
Scheduler Configuration Tool (ECP Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1309
Quick start guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1310
Calendar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1313
Week schedules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1315
Special day schedules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1318
Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1320
Data Manage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1327
Object Manage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1329
Message Logger. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1331
CHAPTER 11
Real Time Clock Configuration Tool (ECP Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1333
Daylight Saving Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1334
Object Manage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1337
CHAPTER 12
EC-Net Platform Support Pack Features for ECP & ECL Series Controllers . . . . . . . . . . . . . . . . . 1339
Typical controller internal points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1340
Automatic generation of control points from EC-gfxProgram code . . . . . . . . . . . . . . . . . . . . . 1345
Manual creation of internal control points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1350
EC-gfxProgram 9
Table of Contents
CHAPTER 13
EC-Net Platform Support Pack Features for ECB & ECY Series Controllers . . . . . . . . . . . . . . . . . 1385
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1386
Automatic generation of control points from EC-gfxProgram code . . . . . . . . . . . . . . . . . . . . . 1387
Hide/Show point actions (ECB & ECY Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1390
Configuring weather information for controllers with an operator interface. . . . . . . . . . . . . . . 1391
CHAPTER 14
Configuration Assistant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1399
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1400
Typical configuration assistant window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1401
Configuration Assistant toolbar. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1402
Configuration Assistant menu. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1402
Configuration Assistant configuration parameters and tabs . . . . . . . . . . . . . . . . . . . . . . . 1403
Steps to Create a Configuration Assistant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1403
Creating a configuration variable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1404
Creating a configuration variable directly from a configuration parameter . . . . . . . . . . . . 1405
Creating a configuration variable to later associate it with a configuration parameter . . . 1406
Configuring a configuration variable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1408
Once a binding has been made . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1415
Creating live configuration variables. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1417
Creating a live configuration variable directly from a resource block . . . . . . . . . . . . . . . . 1417
Creating a live configuration variable to later associate it with a resource block . . . . . . . 1418
Configuring a live configuration variable. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1419
Creating a configuration assistant sheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1427
Configuration assistant ribbon. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1428
Creating the configuration assistant sheet layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1430
Configuration assistant configuration parameters and tabs . . . . . . . . . . . . . . . . . . . . . . . 1430
Setting a variable’s presentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1434
Writing a Javascript expression . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1437
Adding a logo to the Configuration Assistant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1441
Setting the Configuration Assistant’s properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1442
Validating the Configuration Assistant sheets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1443
Reorder. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1443
Configuration Assistant scheme management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1444
Created schemes appear in the configuration assistant synchronization. . . . . . . . . . . . . 1446
Download to multiple devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1447
Initiating Configuration Assistant synchronization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1447
CHAPTER 15
EC-gfxProgram vs Line-by-Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1449
Example description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1450
Wiring diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1452
Line-by-line code. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1453
10 EC-gfxProgram
Table of Contents
CHAPTER 16
Air Physics Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1461
Air physics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1462
CHAPTER 17
Tuning a PID Loop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1465
Tuning a PID loop. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1466
CHAPTER 18
Supported EnOcean Wireless Sensor Profiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1469
Supported Wireless Receivers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1470
Supported Wireless Sensor Profiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1471
CHAPTER 19
Thermistor Resistance Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1477
10kilohm Type II Thermistor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1478
10kilohm Type III Thermistor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1485
Platinum RTD Sensor: Pt1000 (1kilohm) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1492
Nickel RTD Sensor: Ni1000 (1kilohm) @ 0ºC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1499
Nickel RTD Sensor: Ni1000 (1kilohm) @ 21ºC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1506
EC-gfxProgram 11
Table of Contents
12 EC-gfxProgram
Introduction
CHAPTER 1
Introduction
This chapter introduces EC-gfxProgram’s Graphical Programming Interface.
Is also summarizes its features, and provides an overview of the user guide.
Topics
Introduction to EC-gfxProgram
About this user guide
Conventions used in this document
EC-gfxProgram 13
Introduction to EC-gfxProgram
EC-gfxProgram supports powerful features that allow for lean, efficient, and
cost effective system design. For example, the For Loop can be used to auto-
mate the comparison of multiple network values between each other at once,
to find the average, highest/lowest value, etc. Schedules can be used to save
energy and resources, and can also be bound to receive information from a
BAS for optimum start sequencing. Many other features including a real-time
clock, persistent values, and PID loops, make EC-gfxProgram a complete
BAS programming package.
14 EC-gfxProgram
Introduction
Purpose of the This user guide is intended to provide information and instructions on using
user guide EC-gfxProgram to program controllers managed by a LNS-based network
management tool or with EC-Net. For IP controllers, a network management
tool is optional. Information on installing and configuring EC-gfxProgram is
found in the Getting Started User Guide. This guide is not intended to instruct
the user on how to use the network management tool software or programma-
ble controllers and therefore it is assumed that the user already has prior
knowledge of said software and controllers.
WARNING: This user guide does not explain hardware installation or how to
wire a controller. Please refer to individual device installation
guides for specific hardware installation information.
This user guide does not provide and does not intend to provide
instructions for safe wiring practices. It is the user’s responsibility
to adhere to the safety codes, safe wiring guidelines and safe
working practices of the local area. This user guide does not
intend to provide all the information and knowledge of an experi-
enced HVAC technician or engineer.
Context- Help is context sensitive. Select a block and press F1 on the keyboard to go
sensitive help directly to the documentation about the block. To access the regular help sys-
tem, press Ctrl+F1 on the keyboard.
Intended This user guide is intended for system designers, integrators, and field techni-
audience cians who have experience with control systems. It is recommended that any-
one installing and configuring the devices specified in this user guide have
prior training in the usage of these devices.
EC-gfxProgram 15
Conventions used in this document
Notes NOTE: This is an example of Note text. Provides a time-saving tip or a refer-
ence to associated information of interest.
Warnings WARNING: This is an example of Warning text, which draws your attention to
an important safety concern or to the risk that a given action, if
done improperly, might have a drastic effect on the device, equip-
ment, and/or network.
Conventions for
using the mouse
Convention Description
Acronyms and
abbreviations
used in this Acronym Definition
document
AI Analog Imput
AO Analog Output
AV Analog Value
BC Boolean Constant
16 EC-gfxProgram
Introduction
Acronym Definition
CCW Counter-Clockwise
CP Configuration Property
CW Clockwise
EC Enumeration Constant
EV Enumeration Variable
GD Derivable Gain
GI Integral Gain
GP Proportional Gain
HOA Hand-Off-Automatic
ID Identity
IO Input/Output
MS/TP Master-Slave/Token-Passing
EC-gfxProgram 17
Acronym Definition
NC Numeric Constant
PB Proportional Band
PC Personal Computer
PD Differential Pressure
PF Pilot Factor
RH Relative Humidity
SP Setpoint
TD Derivative Time
TI Integral Time
UI User Interface
18 EC-gfxProgram
Introduction
Acronym Definition
EC-gfxProgram 19
20 EC-gfxProgram
Quick Start Guide
CHAPTER 2
Quick Start Guide
This Quick Start Guide provides a brief overview of how EC-gfxProgram
works. Its purpose is to help you get accustomed to some of the typical proce-
dures that are necessary to know when working with EC-gfxProgram.
Through a simple example, this guide broadly covers the process of creating
a new project, developing a basic control sequence, synchronizing a project
with a device, and debugging a project.
For the purposes of this guide, it is already assumed that the EC-gfxProgram
software has been installed, connected to a device, and launched.
Topics
Creating a new project
Developing a control sequence
Synchronizing a project with a device
Debugging a project
EC-gfxProgram 21
Creating a new project
1. Open the Project Explorer pane by clicking Project Explorer on the edge
of the programming sheet or in the View ribbon, or pressing F6 on the
keyboard.
2. Select a project.
Figure 2: Project explorer pane
22 EC-gfxProgram
Quick Start Guide
EC-gfxProgram 23
Developing a control sequence
Add a Hardware 1. Open the Toolbox pane and select the Inputs and Outputs category.
Input block
1. Drag and drop the Hardware Input block on the programming sheet (see
Dragging and dropping blocks).
Figure 4: Dragging and dropping the Hardware Input block
24 EC-gfxProgram
Quick Start Guide
2. With the Hardware Input block selected, enter the name of the block in
the Properties pane.
Figure 5: Naming Hardware Input 1 block
3. Resize the block to fit its name by clicking and dragging a resize handle
(the red dot on either side of the block).
Figure 6: Resizing a block
4. Open the Resource Configuration window for the Hardware Input block by
selecting the Configure link in the Properties pane, or right-clicking and
selecting Configure in the drop-down menu.
Figure 7: Opening the Hardware Input Configuration window
EC-gfxProgram 25
5. Configure a standard 10kΩ type II thermistor with a range of 32°F-122°F.
Figure 8: Configuring hardware input block (options vary according to controller
models)
6. For ECL series controllers, select the SNVT_temp_p network type. Click
OK.
Figure 9: Changing the network variable type
Add a Less Or 1. From the Toolbox, drag and drop the Less Or Equal block (under Com-
Equal block parators) on the programing sheet.
2. Open the Configure Ports window by right-clicking the Less Or Equal
block and selecting Configure Ports.
26 EC-gfxProgram
Quick Start Guide
4. Connect the two blocks on the programming sheet by clicking on the Out-
put port of the Hardware Input block, dragging the connector, and
releasing it once it locks on the Input port of the Less Or Equal block
(see Simple connection).
Figure 11: Connecting the Hardware Input block to the Less Or Equal block
EC-gfxProgram 27
6. Give the Internal Constant block a value of 70 in the value field of the
Link To Internal Constant window or of the block’s Properties pane.
Figure 13: Entering the value of the internal constant block
28 EC-gfxProgram
Quick Start Guide
the value’s unit to be correctly shown on the LCD screen. See LCD
interface supported units.
Add a Hardware 1. From the Toolbox, add a Hardware Output block to the programming
Output block sheet.
2. Open the Resource Configuration window for the hardware output block
by selecting the Configure link in the Properties pane, or right-clicking
and selecting Configure in the drop-down menu.
3. Select Digital in the Signal type field and Inactive in the Default field.
Figure 16: Configuring the Hardware Output block
EC-gfxProgram 29
4. Monitor the Output of the Hardware Output block by right-clicking the
output port and selecting Link To > Monitor from the drop-down menu.
Figure 17: Adding a Monitor block
5. Connect the Input of the Hardware Output block to the Output port of
the Less Or Equal block.
Figure 18: Completed control sequence
30 EC-gfxProgram
Quick Start Guide
Once the control sequence is created, it must be synchronized with the device
to be put in effect. Synchronization builds the code from the control sequence
and sends the code to the device.
3. Click Next.
EC-gfxProgram 31
NOTE: When synchronizing for the first time, always select bot the Reinitial-
ize non-controller specific values and constants and Reinitialize
controller specific values and constants options. See also Control-
ler specific values and device synchronization options (ECL, ECB &
ECY Series).
32 EC-gfxProgram
Quick Start Guide
As your project is synchronized with the device, information about your code
can be viewed in various panes at the bottom of EC-gfxProgram.
1. To open each pane, click the corresponding tab on the bottom edge of the
programming sheet or the corresponding button in the View ribbon.
The Output pane shows the progress of the build of the control sequence and
displays the steps involved.
The Statistics pane presents the memory used, the compilation time, and the
resources allocated to the build by the device.
EC-gfxProgram 33
The Error List pane highlights any errors that may have occurred in the
assembly of the sequence.
The Resource Viewer pane displays information about all the inputs, outputs,
constants, and variables available in the device.
34 EC-gfxProgram
Quick Start Guide
Debugging a project
Once the control sequence is synchronized with the device, the debugging
can be run and the Present Values viewed. This is useful to view the execu-
tion of the sequence and to spot any anomalies or errors in the control logic.
To start debugging the control sequence when both the LNS/Server and Con-
troller Connection Status Indicators are green (see Controller Connection and
Debugging Status Indicators):
EC-gfxProgram 35
36 EC-gfxProgram
User Interface Overview
CHAPTER 3
User Interface Overview
This chapter describes the EC-gfxProgram user interface, including the differ-
ent ribbons and utility panes.
Topics
Overview of the user interface
Ribbons
Project Synchronization
Drawing ribbon
View ribbon
Tools ribbon
Help
Controller connection and debugging status indicators
Shortcuts
Programming sheet
Utility panes
EC-gfxProgram 37
Overview of the user interface
7 Statistics 14 Properties
38 EC-gfxProgram
User Interface Overview
Ribbons
The ribbons are situated at the top of the EC-gfxProgram UI. They contain the
commands and options that are needed to manage and use EC-gfxProgram.
File menu
This menu contains the essential functions for starting, saving, and managing
a project. It also provides access to the EC-gfxProgram Options.
Parameter Description
Close Project Closes the current document of the current project. The
current document can also be closed by pressing
Ctrl+F4 on the keyboard. Closing a document does not
modify or remove the code. The project doesn’t need to
be saved before closing a document. A document is a
view on top of the actual document that is managed by
the project.
The document can be reopened through the Project
Explorer pane.
EC-gfxProgram 39
Parameter Description
40 EC-gfxProgram
User Interface Overview
Parameter Description
EC-gfxProgram 41
Parameter Description
Object not When importing a project code that was created from an incompatible version
supported by the (for example, opening project code originally created for a ECP Series con-
current device troller in a ECL Series controller), some blocks have no direct equivalent in
the current programming environment. These blocks are flagged with “The
object “[object name]” is not supported by the current device.” errors in
the error list. These errors can be solved as follows:
1. To automatically convert incompatible blocks, use the option File > Con-
vert Project.
Blocks that could not automatically be converted to an equivalent in the
new controller model remain flagged as unsupported by the current
device. In that case:
42 EC-gfxProgram
User Interface Overview
After the conversion, you may need to modify the configuration parameters for
certain blocks to make them compatible with the current controller model. For
example: When the project code for a network value on an ECB Series con-
troller is configured for a local broadcast and this project code is converted for
an ECY Series controller, the local broadcast is for all subnets which will sig-
nificantly increase network traffic unless the configuration parameter is
changed. For more information, see Error List.
When importing a project code that has more floating pair outputs than can be
supported by the current controller, save your project to remove these floating
pair outputs.
Figure 29: The Resource Report Print Options window (options vary according to
controller model)
EC-gfxProgram 43
Report options
Parameter Description
Include title Check to include a title in the report. Use the textbox
next to this option to specify the title.
Include date Check to include the current date (as specified in the
PC settings) in the report.
Include device Check to include the device name in the report. The
name device name is specified by the user when it is added
to the network.
Start each table Check to start each table selected in the Select Tables
on new page frame on a new page in the report.
Table options
Parameter Description
Scale to fit Check to scale down the tables to fit on one page.
Table selection
options
Parameter Description
Select Tables Check the tables to include in the report. The list is
automatically updated to reflect content of the
Resource Viewer.
Select All Checks all the fields in the Select Tables frame.
44 EC-gfxProgram
User Interface Overview
Column
selection
options Parameter Description
Select All Checks all the fields in the Select [Table Name]
Columns frame.
Print Preview
The Print Preview window is used to preview how the project will look when
printed.
EC-gfxProgram 45
File menu Figure 31: Print Preview window - File menu
Parameter Description
Exit Exist the Print Preview window. This window can also
be closed by clicking the Close button on the Standard
toolbar.
Parameter Description
46 EC-gfxProgram
User Interface Overview
Parameter Description
Margin Width
Margin Width or on the Standard toolbar scales
the preview so the entire page width within the margins
is visible in the window.
EC-gfxProgram 47
Parameter Description
48 EC-gfxProgram
User Interface Overview
Parameter Description
Hand Tool
Hand Tool, on the Standard toolbar, or Ctrl+H on
the keyboard is used to move the page in the preview.
When this command is enabled, left-click and hold
anywhere on the page, and move the cursor to drag the
page to the desired position.
• If there is more than one page visible in the pre-
view, the hand tool can be used to scroll up and
down through the pages. This can also be done by
rolling the mouse wheel (if available) up and down.
• If only a portion of the page is visible, the hand tool
can be used to move the page in any direction to
view any other portion. This can also be done by
pressing and holding the mouse wheel (if available)
and then moving the mouse.
EC-gfxProgram 49
Parameter Description
Zoom Out Tool Zoom Out Tool or on the Standard toolbar is used
to zoom out of a specific location in the preview.
When this command is enabled:
• left-click anywhere on the page to zoom out of that
location by a pre-defined percentage, or
• left-click and drag a box around an area of the
page to zoom out to include that specific location.
To switch to the Zoom In Tool, press and hold Ctrl on
the keyboard while you click on the page.
Page Setup
The Page Setup window is used to define the size and orientation of the doc-
uments in the project, as well as how they are printed. The size and orienta-
tion of the document is displayed in the bottom-right corner of the window.
50 EC-gfxProgram
User Interface Overview
Parameter Description
Printer Select the name of the printer to use from the drop-
down list.
Margins Specify the size of each margin (Left, Right, Top, and
Bottom).
EC-gfxProgram 51
Page Size Figure 37: Page Setup window - Page Size
Parameter Description
Size Select and set the Size of the document in the project:
• Same as printer size uses the printer paper size
set in the Page Setup tab.
• Pre-defined size uses the size selected from the
drop-down list.
• Custom size uses the size defined by the user.
52 EC-gfxProgram
User Interface Overview
Print Project
This window allows you to print:
EC-gfxProgram 53
Parameter Description
Page Setup Click to define the size and orientation of the printed
documents. See Page Setup.
Print Preview Click to preview how the project will look when printed.
See Print Preview.
54 EC-gfxProgram
User Interface Overview
Connection Methods
When you open EC-gfxProgram, you are prompted to choose one of four
methods to connect to a server. For more information on these methods,
press F1 when the Connect To Server window is active.
NOTE: For ECLYPSE controllers, if you are using the admin default password
(Username: admin, Password: admin), you will have insufficient privi-
leges to access certain features for security reasons. You must
change your password to a strong password for the admin account to
protect access to the controller. This can be done in two ways:
In the Connect To Server window, use the Server type drop-down menu to
select the connection method to use. Choose:
EC-gfxProgram 55
56 EC-gfxProgram
User Interface Overview
• Emulator to program and test your code without the need for a real con-
troller and/or an EC-Net station. This simulates the programming and
debugging environment of any ECB & ECY Series controller.
EC-gfxProgram Options
The Options window is used to define application defaults such as the default
measurement system, whether the interface automatically saves projects
when they are downloaded to a device, etc.
EC-gfxProgram 57
General tab Figure 40: Options window - General tab
Parameter Description
58 EC-gfxProgram
User Interface Overview
Parameter Description
Project name When checked, the name given to the project is the
follows the name same as the name given to the project file if the project
of exported files is exported to the PC. If unchecked, the project can be
given a name that is different than that of the exported
file.
Assign tag name When checked, linking to a Reference Hub block will
to linked automatically assign the name of the source object to
Reference Hub the Reference Hub block (when linked to an Output
port, it will use the block’s name only; any other port will
use the combination of the block’s name and the port’s
name).
If the name of the reference hub already exists, an
automatically incremented number is added to the end
of the block name.
EC-gfxProgram 59
Network tab The Network tab configuration parameters only apply to ELP & ECL Series
controllers.
Parameter Description
Add nvi or nvo When checked, network variables that are exported to
prefix to network LNS or EC-Net are automatically given a prefix of nvi or
variable name nvo for network variable inputs and network variable
outputs respectively.
60 EC-gfxProgram
User Interface Overview
Parameter Description
Display debug When checked, debug values are shown at both ends
values in inputs of a link when possible (space permitting). This is
useful when projects include long links, making it
difficult to see the debug value shown at the source
object.
Default Page This sets the page size of any programming sheet
Size added to the project. The default page size is set n the
Default Page Size window (see below).
EC-gfxProgram 61
Default Page The Default Page Size window is used to set the page size of any program-
Size ming sheet added to the project. The size and orientation of the document is
displayed in the bottom-right corner of the window.
Parameter Description
Home ribbon
This ribbon has buttons for Clipboard, Editing, Project, and Debugging com-
mands.
62 EC-gfxProgram
User Interface Overview
Category See
Clipboard
buttons
Parameter Description
EC-gfxProgram 63
Editing buttons
Parameter Description
Reverses an action.
or
Ctrl+Z on the NOTE: Some operations cannot be undone with this
keyboard command: changes made to the configuration
screen, for instance.
64 EC-gfxProgram
User Interface Overview
Parameter Description
Auto Increment See Auto increment (ECP & ECL Series and EBC
Series controllers only) or Auto increment (ECY Series
controllers only).
Block numbering changes according to how the block is added to the pro-
gramming sheet and according to the current Auto Increment setting. See:
EC-gfxProgram 65
Copying & The Auto Increment mode controls the way the resource block number is
pasting or automatically incremented when block(s) currently on the Programming Sheet
duplicating are copied & pasted or duplicated.
blocks currently
on the Option Description
programming
sheet Auto Increment The block number is not incremented, but rather
Cleared remains the same every time a block of the same type
is copied & pasted or duplicated on the programming
sheet.
Not incrementing block numbers and using multiple
copies of the same block with the same number can be
beneficial and can simplify programming in some
cases. For instance, having multiple instances of a
Variable Numeric 1 block in the project code permits
the reuse of the same value throughout the project
wherever necessary. Also, changing the current value
in one of the Variable Numeric 1 blocks instantly
changes the value everywhere this block is used in the
code.
To copy the configuration from another block instance, right-click the block
and select Copy From.
NOTE: The Floating Output, Wireless Sensor, and Wireless Module (ECP
Series) blocks also have a limited number of instances that are sup-
ported by the device. However, they are not affected by this function
(they are created dynamically).
There is only one instance of the following blocks: Led Output (ECP
Series), SmartSensor Module (ECP Series), Real Time Clock (ECP
Series), Real Time Clock (ECL Series), Real Time Clock (ECB & ECY
Series), Damper Control (ECP Series), and Flow Sensor (ECP
Series). These blocks do not have a block number to increment.
For more information about the supported quantity for each type of
block, see Block Objects.
66 EC-gfxProgram
User Interface Overview
Dragging a A code snippet can include numbered blocks. The block numbering when the
snippet from the code snippet is dragged on the programming sheet from the Code Library is
code library on affected by whether Auto Increment is enabled, and by a setting made when
the the code snippet is saved.
programming
• The Keep numbers setting was cleared when saving the code snippet
sheet
(see Saving a code snippet) and the Auto Increment option is enabled:
dragging a code snippet that uses numbered blocks from the Code
Library on the programming sheet reassigns the numbered blocks in the
snippet’s code to the first available one.
• The Keep numbers setting was set when saving the code snippet (see
Saving a code snippet) and the Auto Increment option is enabled or dis-
abled: dragging a code snippet that uses numbered blocks from the Code
Library on the programming sheet keeps the same block numbers as the
ones specified in the original design of the code snippet.
When the code snippet is dragged on the programming sheet from the Code
Library, you can choose to overwrite the current configuration with the config-
uration from the code snippet, or to keep the current configuration. See Add-
ing a snippet to a programming sheet.
Dragging a block When a block is dragged from the Toolbox pane on the programming sheet,
from the toolbox the block number is always incremented to the first available unused number
on the regardless of the current Auto Increment option.
programming
sheet Dragging a resource block from the Toolbox pane on the programming sheet
never overwrites the block’s configuration previously set in the Resources
Configuration window.
To copy the configuration from another block instance, right-click the block
and select Copy From.
NOTE: There is only one instance of the following blocks: Real Time Clock
(ECB & ECY Series), Actuator Control (ECB & ECY Series), VAV Dif-
ferential Pressure (ECY Series), Flow Calculation (ECB & ECY
Series), and Internal Actuator (ECB & ECY Series). These blocks do
not have a block number to increment.
For more information about the supported quantity for each type of
block, see Block Objects.
EC-gfxProgram 67
Auto increment (ECY Series controllers only)
Auto increment applies to countable resources found in the Resource Viewer,
such as Analog Value, Pid, Hardware Input, Hardware Output, Schedule,
Timer, etc. These blocks have a Number in their properties.
When programming ECY Series controllers, you can add and configure the
parameters of a resource block in the Resources Configuration window
before creating the resource on the programming sheet. See Resources Con-
figuration.
Block numbering changes according to how the block is added to the pro-
gramming sheet and the current Auto Increment setting. See:
Copying and The Auto Increment mode controls the way the resource block number is
pasting blocks automatically incremented when block(s) currently on the Programming Sheet
currently on the are copied & pasted or duplicated.
programming
sheet Parameter Description
68 EC-gfxProgram
User Interface Overview
Parameter Description
To copy the configuration from another block instance, right-click the block
and select Copy From.
NOTE: The Auto Increment (To Next) option behaves like the Auto Incre-
ment (To New) option with the Floating Output block.
There is only one instance of the following blocks: Real Time Clock
(ECB & ECY Series), Actuator Control (ECB & ECY Series), VAV Dif-
ferential Pressure (ECY Series), Flow Calculation (ECB & ECY
Series), and Internal Actuator (ECB & ECY Series). These blocks do
not have a block number to increment.
For more information about the supported quantity for each type of
block, see Block Objects.
EC-gfxProgram 69
Dragging a A code snippet can include numbered blocks. The block numbering when the
snippet form the code snippet is dragged on the programming sheet from the Code Library is
code library on affected by whether Auto Increment is enabled, and by a setting made when
the the code snippet is saved.
programming
• The Keep numbers setting was cleared when saving the code snippet
sheet
(see Saving a code snippet) and either the Auto Increment (To Next) or
Auto Increment (To New) option is enabled: dragging a code snippet
that uses numbered blocks from the Code Library on the programming
sheet reassigns the numbered blocks in the snippet’s code to the first
available one (unused block instance with To Next or unconfigured block
instance with To New).
• The Keep numbers setting was set when saving the code snippet (see
Saving a code snippet) and the Auto Increment option is set: dragging a
code snippet that uses numbered blocks from the Code Library on the
programming sheet keeps the same block numbers as the ones specified
in the original design of the code snippet.
When the code snippet is dragged on the programming sheet from the Code
Library, you can choose to overwrite the current configuration with the config-
uration from the code snippet, or to keep the current configuration. See Add-
ing a snippet to a programming sheet.
Dragging a block When a block is dragged from the Toolbox pane on the programming sheet,
from the toolbox the block number is always incremented to the first available unused number
on the regardless of the current Auto Increment option.
programming
sheet Dragging a resource block from the Toolbox pane on the programming sheet
never overwrites the block’s configuration previously set in the Resources
Configuration window.
To copy the configuration from another block instance, right-click the block
and select Copy From.
NOTE: There is only one instance of the following blocks: Real Time Clock
(ECB & ECY Series), Actuator Control (ECB & ECY Series), VAV Dif-
ferential Pressure (ECY Series), Flow Calculation (ECB & ECY
Series), and Internal Actuator (ECB & ECY Series). These blocks do
not have a block number to increment.
For more information about the supported quantity for each type of
block, see Block Objects.
70 EC-gfxProgram
User Interface Overview
Project buttons
Parameter Description
EC-gfxProgram 71
Parameter Description
72 EC-gfxProgram
User Interface Overview
Text documents
A text document can be used to document your project code by providing a
detailed sequence of operation. Content can be copied from design docu-
ments (created in a word-processing program) including pictures (created in a
drawing program) and pasted into the Text Document. The formatting of
pasted text will be preserved as best as possible, especially when the source
text comes from a word-processing program that supports rich text format.
Since pictures take a lot of memory space on controllers, do not add too many
pictures to text documents, especially if you intend to backup the project code
to a controller. Another solution is to first reduce the size of the images with
the compress pictures feature (if available) in your word-processing program
before copying the content to the Text Document.
NOTE: When the Backup code to device option is selected during the project
synchronization, all Text Document content, including images, is
backed up to the controller.
EC-gfxProgram 73
Project Synchronization
• To send a project and its configuration that has been imported from a file
to a controller.
• To send a project to more than one controller at a time.
• When returning to online mode from offline mode, you will need to syn-
chronize your project.
• When you change the project’s units (from Metric to US, for example).
Figure 48: Project Synchronization window (options vary according to controller
model)
During the Selection step, the Synchronization Mode and Options are set.
In the next step, the Status of the synchronization can be followed. Finally, in
the Finish step, the success or failure of the synchronization is displayed.
74 EC-gfxProgram
User Interface Overview
When any of the following Synchronization Options are selected, the cur-
rent project code will be backed up in the database:
• Project's Configuration
• ECL Series Controllers: Reinitialize non-controller specific values and
constants
• ECL Series Controllers: Reinitialize controller specific values and con-
stants
• ECB & ECY Series controllers: Reinitialize non-controller specific values
• ECB & ECY Series controllers: Reinitialize controller specific values
• Send Schedule's configuration
• Save Code to the database
• Compile code and send it to device
Upload from Uploads the actual values from the device into the
device current project code objects. This is useful, for
example, to view the controller’s current value when
the network has updated an internal value.
EC-gfxProgram 75
Parameter Description
Upload from Uploads the actual values from to two or more devices
multiple devices at a time into the respective device’s database. See
Upload from device and upload from multiple devices
synchronization options.
76 EC-gfxProgram
User Interface Overview
EC-gfxProgram 77
This Applies to:
78 EC-gfxProgram
User Interface Overview
EC-gfxProgram 79
This Applies to:
80 EC-gfxProgram
User Interface Overview
EC-gfxProgram 81
This Applies to:
82 EC-gfxProgram
User Interface Overview
Upload from Uploads the actual values from the device into the current project code
device and objects. This may be necessary to view the current controller values that can
upload from change due to inputs from network variables, or from controller human inter-
multiple devices faces (for example, from the ComSensor).
synchronization
When the Upload from Multiple Devices option is selected, a screen allows
options
you to select the devices from which the project code will be uploaded. See
Figure 50. Synchronization options vary by controller model.
EC-gfxProgram 83
This Applies to:
84 EC-gfxProgram
User Interface Overview
EC-gfxProgram 85
This Applies to:
Controller This is a feature that allows you to conserve constant values and VAV calibra-
specific values tion parameters that have been previously set in the controller from being
and device over-written by the values currently set in the project code (for example, the
synchronization minimum air flow set point or K factor). By setting the constant and value
options (ECL, block instances as Controller Specific, you have the choice to overwrite these
values or not with the two following synchronization options: Reinitialize non-
ECB & ECY
controller specific values and constants and Reinitialize controller spe-
Series)
cific values and constants.
86 EC-gfxProgram
User Interface Overview
For ECL, ECB & ECY Series controllers, a block can be set to be controller
specific in the Resources Configuration window.
Blocks for ECP & ECL Series Blocks for ECB & ECY Series
Controllers Controllersa
Boolean Constant (ECL Series) Analog Value (ECB & ECY Series)
Boolean Value (ECL Series)
Enum Constant (ECL Series) Binary Value (ECB & ECY Series)
Enum Value (ECL Series)
Numeric Constant (ECL Series) Multi State Value (ECB & ECY Series)
Numeric Value (ECL Series)
For example, two or more VAVs have been balanced and you want to down-
load updated project code to them. In doing so, you do not want to over write
the controller-specific constant values such as the K Factor and VAV calibra-
tion parameters currently saved in the controllers. To avoid doing so, when
creating project code for controller specific constants, ensure that Controller
Specific is set to True in the properties pane for these blocks. During synchro-
nization, in the Project Synchronization window, ensure to:
To reset controller specific constants to those used in your code, select Reini-
tialize controller specific values and constants during synchronization.
WARNING: When you download to multiple devices and you deselect Update
non-controller specific values and constants or Update con-
EC-gfxProgram 87
troller specific values and constants, the values of the current
project for these options are written to the database for all
selected devices. However the Update non-controller specific
values and constants or Update controller specific values
and constants are not written to the actual devices themselves.
To see the actual device values, open the project for that device
and perform a Project Synchronization again with Upload
from device and Update non-controller specific values and
constants or Update controller specific values and constants
set.
Information If you select a device for synchronization that is different than the current
about device type, the synchronization process may fail during compilation (for
synchronization example, trying to push an air handling unit project code into a VAV device
that has fewer IOs).
Compilation errors are shown in the Details screen, Compilation Errors tab of
the Report screen once synchronization is complete. In this case, the configu-
ration will have been written to the device even though the compilation fails.
Debugging buttons
The Debugging buttons are used to debug the project after it has been built.
When in debugging mode, the controller executes the project code and EC-
gfxProgram displays debug Present Values on each block’s output and
optionally on the block’s input (depending on whether the Display debug val-
88 EC-gfxProgram
User Interface Overview
You do not have to start debugging for the controller to run its control
sequence. Debugging simply enables the reading of values from the control-
ler.
EC-gfxProgram 89
Parameter Description
Round Debug This limits the number of digits to be shown after the
Values decimal place to better show the available significant
digits.
Clear Debug Clears all debug values that were generated during
Values debugging mode.
90 EC-gfxProgram
User Interface Overview
Parameter Description
EC-gfxProgram 91
Drawing ribbon
This ribbon has drawing buttons help to better organize and clean up a proj-
ect’s work space.
Category See
Alignment button
These buttons align two or more selected blocks on the Programming Sheet.
NOTE: When aligning blocks, the last block selected will be the reference
block (highlighted in red).This means that all the other blocks selected
(highlighted in gray) will be aligned to the reference block. The refer-
ence block can be changed once the blocks are selected by clicking
the block you want to be the new reference block (release the ctrl and
shift keys). As long as you click objects that are already selected, the
selection will stay intact, only the reference block will change.
Parameter Description
92 EC-gfxProgram
User Interface Overview
Distribution buttons
These buttons make the space between three or more selected blocks equi-
distant from each other.
Parameter Description
Size button
These buttons make two or more selected blocks equal in width
NOTE: When resizing blocks, the last block selected will be the reference
block (highlighted in red).This means that all the other blocks selected
(highlighted in gray) will be resized to match the width of the reference
block. The reference block can be changed once the blocks are
selected by clicking the block you want to be the new reference block
(release the ctrl and shift keys). As long as you click objects that are
already selected, the selection will stay intact, only the reference block
will change..
Parameter Description
EC-gfxProgram 93
View ribbon
This ribbon has buttons for setting the zoom of the current view and for select-
ing the utility panes (Project Explorer, etc.), thumbnail, and gridlines to be dis-
played.
Category See
Zoom buttons
Parameter Description
94 EC-gfxProgram
User Interface Overview
Parameter Description
Zoom Out Zooms out of the Programming Sheet. Every time you
click this command, the zoom percentage decreases
by 25%. The Programming Sheet can also be zoomed
out of by pressing Ctrl+Shift+O on the keyboard or by
pressing Ctrl and rolling the mouse wheel down (if a
wheel-mouse is available).
EC-gfxProgram 95
Show/Hide buttons
Parameter Description
Panes button
Parameter Description
Toolbox Displays and selects the Toolbox pane. This pane can
also be displayed and selected by selecting the
Toolbox pane or by pressing F7 on the keyboard.
Code Library Displays and selects the Code Library pane. This pane
can also be displayed and selected by selecting the
Code Library pane or by pressing F8 on the keyboard.
Error List Displays and selects the Error List pane. This pane can
also be displayed and selected by selecting the Error
List pane or by pressing F12 on the keyboard.
Project Explorer Displays and selects the Project Explorer pane. This
pane can also be displayed and selected by selecting
the Project Explorer pane or by pressing F6 on the
keyboard.
Statistics Displays and selects the Statistics pane. This pane can
also be displayed and selected by selecting the
Statistics pane.
96 EC-gfxProgram
User Interface Overview
Parameter Description
Messages The Messages History window lists all system or network errors.
history
Figure 56: Messages History window
EC-gfxProgram 97
Tools ribbon
Tools button
Parameter Description
Toolbox Builder The Toolbox Builder is a tool that allows you to create
your own blocks from project code snippets that can be
distributed to your colleagues in a toolbox. This allows
you to:
• Standardize and reuse project code in your organi-
zation by sharing toolboxes.
• Complete jobs faster and simplify field support by
providing technicians with tested, non-modifiable,
application-specific blocks that are known to work.
• Centralize the maintenance of a block’s logic and
updates to be easily applied to user’s code.
Select Device Opens the Select device window. Select the device on
the network to connect to for programming and
debugging purposes.
Export to EDE Allows you to export the project’s BACnet Objects into
an Engineering Data Exchange (EDE) file format,
which is a standard format that uses a collection of .csv
files to share information about BACnet controllers
between vendors.
98 EC-gfxProgram
User Interface Overview
Select device The Select Device window displays the devices available on the current net-
work and allows one to be selected so as to open it in an application for pro-
gramming and debugging purposes.
Clear Show only current device type to show all devices available on the
network.
Device The Device Information window displays device information according to the
information type of controller that is currently connected. This includes the date and time,
user name, and on which computer the last build and backup was performed
for this project among other information.
EC-gfxProgram 99
The Device Extensions tab displays information about hardware connected to
the controller.
Upgrade Upgrade the firmware of one or more compatible ECL Series or ECB Series
firmware (for devices, ECx-400 Series Extension Modules, operator interface modules,
ECL Series or ECx-Display, Multi Sensor, or ComSensors with the Firmware Upgrade wiz-
ECB Series ard. This sends a firmware file across the network to one or more controllers.
controllers only)
The ECx-400 Series Extension Module, operator interface module, ECx-Dis-
play, Multi Sensor, or ComSensor firmware upgrade files are separate from
controller firmware upgrade files. As such, they must be sent to the controller
by running the Upgrade Firmware tool for each firmware upgrade file to be
sent to the controller. For example, should a controller and its attached ECx-
400 Series Extension Module (or ComSensor) require firmware upgrades,
both firmware upgrade files must be sent to the controller by running the
Upgrade Firmware tool twice: The first time to upgrade the controller with the
controller firmware upgrade, and a second time to send to the controller the
ECx-400 Series Extension Module (or ComSensor) firmware upgrade.
100 EC-gfxProgram
User Interface Overview
upgrade, it is normal that the controller’s STATUS led blinks during this opera-
tion. Do not disconnect communication wiring or remove power from the con-
troller, ECx-400 Series Extension Module(s), Multi Sensor, or ComSensor(s)
during a firmware upgrade.
Upgrade the firmware for each type of device (controller, ECx-400 Series
Extension Modules, Multi Sensor, or ComSensors), one type of device at a
time as follows.
EC-gfxProgram 101
4. Click to select the firmware file to download to the device. Click Open.
Figure 62: Select the firmware file to use for the upgrade
5. From your PC’s filesystem, select the firmware file to upload. Click Open.
A summary screen shows if the selected firmware file is compatible with
the controller model and the firmware file is not corrupt (CRC check is
sucessful).
6. Set Upgrade firmware regardless of current device firmware version
to allow a firmware down-grade on the controller with an earlier firmware
version.
Figure 63: Firmware file status
102 EC-gfxProgram
User Interface Overview
Upgrade Firmware for Subnet extensions used by the Subnet Extension (ECL
firmware for Series) and Subnet Extension (ECB & ECY Series) blocks can also be
Subnet upgraded by sending the firmware for the Subnet extension to the con-
extensions troller which will then send the upgrade on to the Subnet extension. How-
ever, the controller is only able to internally save the firmware for one
Subnet extension at a time (only the last Subnet extension firmware will
be kept in the controller). Because of this, to upgrade the firmware for two
different types of Subnet extensions, proceed as follows:
1. Upgrade the firmware on the controller for the first Subnet extension. See
Upgrade firmware (for ECL Series or ECB Series controllers only).
2. Wait for the controller to upgrade the Subnet extension’s firmware.
3. Upgrade the firmware on the controller for the second Subnet extension.
See Upgrade firmware (for ECL Series or ECB Series controllers only).
Upgrade Upgrade the firmware of one or more compatible ECY Series controllers and
firmware (for related modules. This opens the controller’s web interface through which the
ECY Series firmware files can be uploaded to the controller. See the ECLYPSE User
controllers) Guide for more information.
EC-gfxProgram 103
Help
These buttons are used to access EC-gfxProgram‘s help file, as well as the
version and build number in About.
Parameter Description
104 EC-gfxProgram
User Interface Overview
NOTE: When the LNS / EC-Net Server and Controller’s Connection Status
indicators are green, the Debugging Activity status indicator is shown
only when debugging has been started. To start debugging, see
Debugging buttons.
LNS / EC-Net
Server’s
Description
Connection
Status
EC-gfxProgram 105
Interpret the controller’s connection status indicators as follows.
Controller’s
Connection Description
Status
When debugging is available (the LNS / EC-Net Server and Controller’s Con-
nection Status indicators are green) and has been started (see Debugging
buttons), interpret the debugging status indicator as follows.
Debugging
Description
Activity
106 EC-gfxProgram
User Interface Overview
Debugging
Description
Activity
EC-gfxProgram 107
Shortcuts
Several commands have a keyboard shortcuts associated with them for more
rapid use. The table below shows the most useful keyboard shortcuts.
Description Shortcut
Save Ctrl+S
Print Ctrl+P
Undo Ctrl+Z
Redo Ctrl+Y
Cut Ctrl+X
Copy Ctrl+C
Paste Ctrl+V
Duplicate Ctrl+D
Delete Delete
Zoom In Ctrl+Shift+I
108 EC-gfxProgram
User Interface Overview
Description Shortcut
Project Synchronization F9
Start Debugging F5
EC-gfxProgram 109
Programming sheet
This is the main section of the user interface and is where device program-
ming is done. Block objects are dragged and dropped from the Toolbox pane
onto the programming sheet and then linked together using a “click, drag, and
release” technique.
110 EC-gfxProgram
User Interface Overview
Size field of the Properties pane (next to Page Size), or right-click the pro-
gramming sheet in the project explorer and select properties.
Figure 69: Accessing the Page Setup window through the Properties pane
• Clicking the File menu, Print then Page Setup. See Page Setup.
EC-gfxProgram 111
Tabs to access programming sheets
A project can have more than one document of block coding. By default EC-
gfxProgram will display the first document of the project when started. The
other documents are shown as tabs in the upper left corner of the Program-
ming Sheet.
To access the other documents simply click on the desired document tab. The
other documents will also be displayed in the Project Explorer pane.
• In the Home ribbon, select Add in Project buttons and then click Pro-
gramming Sheet.
• Right-click the project name in the Project Explorer and select Add, Pro-
gramming Sheet.
A new document tab will appear in the upper left corner of the Programming
sheet as shown in the above figure.
112 EC-gfxProgram
User Interface Overview
Reordering documents
There are two ways to reorder documents:
EC-gfxProgram 113
Showing multiple documents in the same view
You can display multiple documents in the same view at the same time by
splitting the screen in two or more regions by dragging the tab over the pro-
gramming sheet.
When you drag and drop a tab on the programming sheet, the following
options are shown.
Parameter Description
New Horizontal Place the tab into a new horizontal tab window.
Tab Group
Move to Next Moves the tab into the horizontal tab window.
Tab Group
114 EC-gfxProgram
User Interface Overview
Thumbnail
The srogramming sheet employs a dynamic Thumbnail display in the upper
right corner. The Thumbnail displays the current view of the Programming
Sheet (marked by the purple box) with a miniature representation of the block
layout. The purple box can also be used to move the view to another part of
the Programming Sheet simply by clicking and dragging the box around the
Thumbnail display.
EC-gfxProgram 115
Utility panes
Pane dynamics
All the utility panes have dynamic properties. These properties affect how
these panes are displayed, moved, and selected. The following is a list of the
dynamic properties of utility panes:
116 EC-gfxProgram
User Interface Overview
• From the View ribbon, Panes button, click the utility pane that is to be
opened.
• Press the shortcut button of the utility pane that is to be opened. For
example, Press F7 to open the Toolbox pane. See Shortcuts for a list of
available shortcuts.
The way this works is that when the mouse pointer is placed over a utility
pane, it will open and remain open until the mouse pointer moves off of the
utility pane. If a utility pane is left-clicked anywhere on the pane by the mouse
pointer, it will open and remain open until the mouse pointer left-clicks any-
where off of the utility pane.
EC-gfxProgram 117
The pinning feature does the opposite of the auto-hiding feature and allows
the utility panes to remain displayed on EC-gfxProgram even if it is not being
used at the moment. This keeps all the usability of the utility panes immedi-
ately available to the user; however this reduces the available space for view-
ing code.
The auto-hiding and pinning features can be enabled in one of the following
ways:
• Click the pin in the top-right corner of the pane. means the auto-hiding
feature is enabled and means the utility pane is held open (pinning fea-
ture is enabled).
• Right-click the title area of the pane and check the Auto Hide option to
enable the auto-hiding feature or deselect it to enable the pinning feature.
When a pane is moved, it can either be left floating (on a second monitor, if
you PC has one) or it can be docked. To leave it floating:
118 EC-gfxProgram
User Interface Overview
When a pane is being moved, certain indicators appear on the user interface.
If a pane is dragged over one of these indicators, it is docked to a certain spot
on the interface, depending on which indicator is selected.
Outer docking If a pane is docked using one of the outer indicators, it will use up the maxi-
indicators mum space of the user interface and “push” other panes out of the way.
EC-gfxProgram 119
Inner docking The inner docking indicators move with the selected pane. What this means is
indicators that if the selected pane is held over the Programming Sheet, the inner dock-
ing indicators will appear and apply to the Programming Sheet. Likewise, if
the selected pane is held over some other displayed utility pane, the inner
docking indicators will appear and apply to the displayed utility pane.
120 EC-gfxProgram
User Interface Overview
If a pane is docked using one of the inner arrow indicators, it will use up the
maximum space within the area in which the inner indicators are located and
will not “push” other panes out of the way.
EC-gfxProgram 121
If a pane is docked using the middle inner indicator, it will create a tab for the
pane within the area in which the inner indicators are located. When a tab is
created, all the tabs in the same area are grouped together. Thus pinning or
moving operations are done on all panes that are tabbed together.
122 EC-gfxProgram
User Interface Overview
Pane types
The following utility panes are used for a variety of purposes. The following is
a list of these panes:
• Toolbox
• Code Library
• Project Explorer
• Properties Pane
• Output
• Error List
• Statistics
• Resource Viewer
• Search Results
• Task Viewer
• Watch List
Toolbox
The Toolbox pane is where the block object library can be found. Blocks are
dragged and dropped from the Toolbox pane onto the programming sheet for
you to connect them together to form working code.
The blocks are divided into 14 different categories. For more information on
the block object categories and the block objects themselves, refer to the
Block Objects section.
EC-gfxProgram 123
To help you find a block in any toolbox, use the search tool: Type the name of
a block and the search results are shown in real time.
Figure 84: Toolbox pane showing the search feature at the top
Custom A standard library of blocks is provided with the installation. A custom toolbox
toolboxes can contain predefined blocks for the specific needs of a designer that makes
coding more efficient and standardized.
Toolbox blocks are template driven. This means that by updating a custom
toolbox block and installing the toolbox on all design PCs, the project code in
a project that uses the updated blocks will automatically adopt the update and
apply the new project code’s behavior. This is unlike a snippet, where updat-
ing a snippet does not update snippets that have already been added to a
programming sheet.
Toolbox blocks cannot be modified and the project code for a block cannot be
viewed by a user.
124 EC-gfxProgram
User Interface Overview
Information about the selected toolbox (including the version) can be viewed
by clicking .
For more information about how to create a toolbox, see The Toolbox Builder
Tool.
Code Library
The Code Library pane contains saved applications, projects, codes, or parts
of codes (snippets) that can be dragged and dropped onto the Programming
Sheet.
Right-click on a code library folder to open a drop-down menu that has func-
tions to populate the pane with folders, projects, and code snippets.
EC-gfxProgram 125
Parameter Description
126 EC-gfxProgram
User Interface Overview
Parameter Description
Parameter Description
EC-gfxProgram 127
Parameter Description
Adding projects A project file, code snippet file, or a directory containing these file types can
and code be added to the Code Library by dragging the files or directory from Windows
snippets from Explorer and dropping them onto the Code Library pane.
Windows
Explorer to the
code library
Saving a code Code snippets are an excellent way of saving a code, section of project code
snippet or Custom block so that it can be used again in either the same project or any
other one. This way if there is a certain function, process, or block that does
not exist in the Toolbox pane, it can be created and saved in the Code Library
as a code snippet.
Code Snippets save the configuration parameters of the individual blocks that
are used to make the Code Snippet.
128 EC-gfxProgram
User Interface Overview
2. Right-click one of the selected blocks and select Save As Code Snippet.
The Add To Library window will open.
Figure 91: Saving as a code snippet
3. Enter the name of the code snippet and where it should be stored in the
Code Library by selecting the desired folder from the Create in drop-
down list or click Create new folder to create a new folder in the currently
selected folder. Once you click OK, the code snippet will appear in the
Code Library and a snippet file will be saved in the default location. About
the Keep numbers option:
EC-gfxProgram 129
Figure 93: Code snippet in code library
Adding a snippet To add a snippet to a programming sheet, click a snippet in the Code Library,
to a drag, and drop it on to the Programming Sheet.
programming
sheet TIP: You can press and hold the Shift key as you drag a code snippet on the
Programming Sheet to insert it in its original location.
When you add a snippet to the Programming Sheet from the Code Library
that contains Input, Output, Constant, or Variable blocks, a popup asks if the
current configuration should be overwritten.
Click Yes to have the block configuration parameters from the snippet over-
write the block configuration parameters used in the current project.
For example, when the Code Snippet was created, the configuration parame-
ters of the individual blocks that are used to make the Code Snippet were
saved in the Code Snippet. By clicking Yes, the settings saved in the Code
Snippet will override the current settings of the same blocks used in the proj-
ect. This applies to countable resources found in the Resource Viewer or in
the Resources Configuration window such as Pid, Hardware Input, Analog
Value (ECB & ECY Series), Constant Enum (ECP Series), Constant Numeric
(ECP Series), Variable Enum (ECP Series), Variable Numeric (ECP Series),
Network Variable Input, Hardware Output, Network Variable output,
ComSensor, Schedule, Timer, etc.
NOTE: When importing a snippet that was created for another controller using
blocks that have no direct equivalent in the current programming envi-
ronment, these blocks will be flagged with “The object “[object
name]” is not supported by the current device.” errors in the Error
List. If this occurs, see Object not supported by the current device.
130 EC-gfxProgram
User Interface Overview
Project Explorer
The Project Explorer pane employs a tree-view list that allows for easy navi-
gation through the documents and blocks of a project.
EC-gfxProgram 131
Right-click on the project name or an empty space in the Project Explorer to
open a drop-down menu containing functions that pertain to the management
of the project.
Parameter Description
132 EC-gfxProgram
User Interface Overview
Project The project Properties Pane allows the measurement system of the project to
properties be set and contains information about the project file.
Parameter Description
Enumeration Place your mouse cursor over this field and click the
System
button to open the Enumeration Configuration
window. This allows you to add or modify the
enumerations available in this project. For ECL, ECB &
ECY Series controllers, you can also import the
enumerations previously saved from another project or
export the enumeration from this project. See Creating
and using enumerations (ECP Series), Creating and
using enumerations (ECL Series), or Creating and
using enumerations (8-Bit).
EC-gfxProgram 133
Parameter Description
Location (ECP & Specify where the device is located. This is written in
ECL Series SCPTlocation configuration property under the device
controllers only) NodeObject.
134 EC-gfxProgram
User Interface Overview
Parameter Description
CreationDate Displays the date and time when the project was first
created (Read-Only).
LastModification Displays the date and time when the project was last
Date saved (Read-Only).
EC-gfxProgram 135
Right-click on a document name in the Project Explorer to open a drop-down
menu containing functions that pertain to the selected document.
Parameter Description
Parameter Description
136 EC-gfxProgram
User Interface Overview
Parameter Description
Properties
The Properties Pane is used to define the properties of the project, docu-
ments, and each block object in the programming sheet. The properties dis-
played in the pane are dependent on what is selected by the user. Properties
Pane options vary according to the controller model.
Some block objects have minimal properties where only the block’s name,
location, and width are definable through the Properties Pane. Other block
objects are more complex and possess separate Block Actions windows. For
more information on a block’s properties, refer to the Block Objects section.
EC-gfxProgram 137
Output
The Output pane shows background operations being done, such as the
progress of a build.
Error List
The Error List pane indicates any errors that occur while building a project or
control sequence. This pane assists the user to locate, troubleshoot, and
debug problems.
The Error List pane will also show the user where exactly the problem is.
When an error message is double-clicked, a tooltip points to the input, output,
or object that is the source of the error on the programming sheet. In order to
avoid having build errors, refer to the Connection rules section.
138 EC-gfxProgram
User Interface Overview
Statistics
After a project is built, the Statistics pane will display certain statistics such as
memory usage, input, and output usage, compiling time, etc. This information
pertains to the device associated with the project.
Figure 104: Statistics pane (ECP & ECL Series and ECB Series controllers)
Persistent Values are values that are saved by the controller during any type
of controller reset or power cycling. See Persistent values (ECP Series con-
trollers) and Persistent values (ECL, ECB & ECY Series controllers).
EC-gfxProgram 139
NOTE: When the option Show compilation errors in real-time is set in EC-gfx-
Program Options, the statistics are updated in real time. When the
option Show compilation errors in real-time is cleared, the statistics
are updated only when the project is built.
Resource Viewer
The Resource Viewer pane displays information about all the inputs, outputs,
constants, and variables in the device. These points can also be configured
and printed from this pane.
Figure 106: Resource Viewer pane (options vary according to controller model)
Depending on the tab selected and depending on the controller model, the
options and fields available in the pane will change.
The Resource Viewer always displays the project values except for Network
Variables as these values come from the network.
The Refresh All and Refresh Selected buttons read the values from the net-
work and update the project values accordingly. For example, if the project
contains the value 30 for Variable Numeric 1 and this value has been changed
on the network to 45, the Resource Viewer will continue to display 30 until you
click the Refresh button. When you click Refresh, the network value 45 then
replaces the value of the project.
Parameter Description
View Mode Select between Used Only and All. Used Only
displays only those blocks that appear in the
programming sheet. All displays every possible block
whether it is used in the project or not.
140 EC-gfxProgram
User Interface Overview
Parameter Description
Add Floating Adds a Floating Pair output for use with the Floating
Pair (for ECP & Output object. This opens the Advanced Configuration
ECL Series and dialog for ECP Series controllers or Resources
ECB Series Configuration dialog for ECL, ECB & ECY Series
controllers only) controllers.
Fields The fields shown vary according to the selected tab and according to control-
ler model.
Parameter Description
Source (for For controllers with one or more ECY-IO Series or ECx-
controllers that 400 Series Extension Modules connected to it, a
support Source column shows on which device the input or
Extension output is located: Controller, IO Module 1, or IO
Modules) Module 2.
EC-gfxProgram 141
Parameter Description
Force Visible Shows the status of Force Visible On. This indicates
(ECB Series that the Present Value of a hardware input or output is
controllers only) exposed to the BACnet network even when there is no
instance of a Hardware Input (ECB & ECY Series) or
Hardware Output (ECB & ECY Series) block on any
programming sheet.
142 EC-gfxProgram
User Interface Overview
Parameter Description
Reverse Action If False, the control loop acts directly. Thus an increase
in the error will be directly proportional to the output
(the more positive the error; the more positive the
output).
If True, the control loop acts in reverse. Thus an
increase in the error will be inversely proportional to the
increase in the output (the more positive the error; the
more negative the output).
Sat. Time Low The PID loop’s current saturation time low limit status.
Limit
Sat. Time High The PID loop’s current saturation time high limit status.
Limit
Time Interval The Network Value (ECB & ECY Series)’s poll or write
(ECB & ECY interval time.
Series
controllers only)
Present Value Lists the current block’s value. The value is formatted
according to the format setting that you applied to the
block.
EC-gfxProgram 143
Parameter Description
Edit Mode and Opens the Edit Mode and Value (ECP Series) window.
Value (ECP &
ECL Series
controllers only)
144 EC-gfxProgram
User Interface Overview
Supported The number of BACnet objects an ECY Series controller can support depends
number of on the amount of current available memory during operation. The number of
BACnet objects trend logs and the number of BACnet objects used in your project code are
with an ECY the main factors that affect memory usage.
Series controller
• Limit your project code to use less than 2000 BACnet objects otherwise
controller performance may degrade. These BACnet objects are listed in
ECB & ECY Series resource block configuration.
• The combined buffer size of all trend logs should not exceed total 500 000
records. For example, this can be 100 trend logs with the buffer set to
5000 records or it could be 1000 trend logs with the buffer set to 500
records.
• Limit the total number of BACnet object that have alarms enabled to less
than 1000.
The number of hardware inputs and outputs depend on the type and quantity
of ECY-IO Series Extension Modules connected to the controller (see the con-
troller’s datasheet for more information). Once all the ECY-IO Series Exten-
sion Modules have been added to the Resource Tree (see Adding a
Hardware IO extension module (ECY Series)), the number of Hardware
Inputs and Outputs can be viewed in the Resource Tree under IO Modules.
Block options To configure a resource, right-click the resource in the Resource Viewer to
select any of the options from the drop-down list. See Advanced configuration
windows overview for more information about these configuration settings.
These options vary according to the block type and according to whether the
debug mode is running or stopped (see Controller connection and debugging
status indicators).
Before some items are shown in the drop-down list, the resource may have to
have been previously configured, set to Force Visible, or shown as Visible.
Figure 107: Right-click an entry in the resource viewer (options vary according to controller model)
ECB ECY
ECP & ECL
Series Series
Property Series Description
Controller Controller
Controllers
Object Object
EC-gfxProgram 145
ECB ECY
ECP & ECL
Series Series
Property Series Description
Controller Controller
Controllers
Object Object
146 EC-gfxProgram
User Interface Overview
ECB ECY
ECP & ECL
Series Series
Property Series Description
Controller Controller
Controllers
Object Object
EC-gfxProgram 147
Find object and replace object
The powerful search pattern language called Regular Expression can be used
to select and replace a complex information pattern when the Use regular
expressions option is selected.
Find Object search setting provide control over what objects will be found.
Parameter Description
Find Object tab Find objects within the scope set in Look in.
Replace Object Find and replace objects within the scope set in Look
tab in.
Find what Specify the text (a name or property) you are looking
for.
Replace with When the Replace Object tab has been selected, this
is the text to replace the text being searched for.
148 EC-gfxProgram
User Interface Overview
Parameter Description
Match whole Select to make the search finds complete words only
word (for example, if you search for Pid, it will not find Pid1).
Find All List all instances in the Search Results in the Search
Results window. See below.
Replace When the Replace Object tab has been selected, this
replaces the searched for text for with the Replace
with text.
Replace All When the Replace Object tab has been selected, this
replaces all searched for text instances for with the
Replace with text.
Replace Object When the Replace Object Properties tab has been
properties selected, this replaces the searched for property with
new properties (e.g.: Description, WatchVariableName,
ProgrammaticName or InputNames.
EC-gfxProgram 149
Search Results
Search results are shown in the Search Results pane. Double-click a search
result to focus the programming sheet on that object, which is shown high-
lighted.
Figure 110: Double-click a search result to focus the programming sheet on the search result
The Resources Configuration Properties search type returns all the blocks in
the project with a property containing the specified text. This includes blocks
used on the programming sheet ( ) as well as unused blocks configured in
the Resources Configuration window ( ).
Task Viewer
EC-gfxProgram is able to carry out background tasks simultaneously during
project code creation. The Task Viewer shows the tasks waiting to be pro-
cessed.
Watch List
Shows a table of values from Monitor blocks in which a name has been
assigned to the WatchVariable in the Block’s Properties Pane of the Monitor
block.
150 EC-gfxProgram
User Interface Overview
Favorites List
The Favorites tab in the Resource Viewer is a convenient way to organize
and access resources that are important to you, thereby making system-criti-
cal information readily available. The Favorites list shows the resource’s
name, value, and format. Favorites can be organized into groups for conve-
nience.
The following procedure describes how to create groups and add and orga-
nize favorites.
Adding and 1. In the Favorites tab, right-click on a blank area and select Add Group
organizing and enter the name of the group you wish to create.
favorites
Figure 112: The Favorites list in the Resource Viewer (options vary according to controller model)
EC-gfxProgram 151
2. To add a favorite, right click a resource in the Resource Viewer, and
select Add to Favorites (see Block options). The Favorites Group
Selection window is displayed.
Figure 113: Favorites Group Selection window
NOTE: Not all resources that can be added to the Favorites list will become
available in the controller’s operator’s interface / ECx-Display (color
LCD screen), when equipped. For example, Network Value (ECB &
ECY Series) blocks and Internal variable (ECL, ECB & ECY Series)
blocks added as a Favorite will not be available on the controller’s
operator’s interface. Only the first 50 favorites in each group will be
available in the controller’s operator’s interface / ECx-Display (color
LCD screen).
4. To delete a favorite, right click an entry in the list and select Delete.
5. To view the selected favorite in the Resource Viewer, right click an entry
and select Show in Resource Viewer.
Figure 114: Right-click an entry in the Favorites list
6. To reorder entries in the Favorites list, click an entry and drag and drop it
into its new position within the list.
152 EC-gfxProgram
Resources Configuration
CHAPTER 4
Resources Configuration
This chapter describes the Resources configuration window.
Topics
Adding resources
Renumbering/Swapping Resources
Resources Summary view
Configuring properties
Configuring a resource block
Trending (ECY Series)
ENVYSION Data Tree (ECY Series)
Cleaning up unused resources in a project
For ECL, ECB & ECY Series controllers, the Resources Configuration win-
dow centralizes the configuration parameters of resource blocks, the control-
ler’s real time clock synchronization with other networked controllers, trend
logs, and for BACnet controllers, BACnet notification classes. For a list of
resource blocks, see ECL Series resource block configuration and ECB &
ECY Series resource block configuration.
The Resources Configuration window allows you to select more than one
resource block at a time to let you set a number of common configuration
parameters for the selected blocks (only values that are changed will be
applied to the selected blocks). The Resources Configuration window will
already be populated with any resource block that has been added to a Pro-
gramming Sheet. For ECB & ECY Series controllers, all objects configured in
the Resources Configuration window are exposed to the BACnet network.
The number of resources a controller can support varies by model. See Num-
ber of resources supported by a controller.
1.For Internal Variable and ComSensor blocks, right-click the block and
select Configure.
EC-gfxProgram 153
Figure 115: The Resources Configuration window
Item Description
4 The Resource Tree shows the resource types and any resource
block instances configured for this project. When a branch has
items underneath it, click to expand it or to collapse it.
When a resource block is selected in the tree, its properties are
shown in the right pane. When two or more resource blocks are
selected in the tree, their common properties are shown in the
right pane.
154 EC-gfxProgram
Resources Configuration
Item Description
Resources The following types of icons may be shown in the Resources Configuration
Configuration toolbar:
toolbar
• Icons mostly related to navigating the Resource Tree (always visible).
• Icons related to the current selection in the Resource Tree (visible based
on selection).
Icon Description
EC-gfxProgram 155
Icon Description
Set the format for the selected resource. See Format editor.
Import the ENVYSION Data Tree structure that was saved on your
file system. Opens the Open window.
Export the ENVYSION Data Tree to your PC’s file system. The
Save As window opens.
Imports the ENVYSION Data Tree structure from the currently con-
nected device.
Resources The following icons appear in the Resources Configuration when certain con-
configuration figuration options have been enabled in an object’s configuration.
icons
Icon Description
An alarm has been configured for this object instance. See Alarms
(ECB & ECY Series).
A trend log has been configured for this object instance. See
Trending (ECY Series).
This object instance has been set as Controller specific. See Proj-
ect Synchronization and Controller specific values and device syn-
chronization options (ECL, ECB & ECY Series).
156 EC-gfxProgram
Resources Configuration
Icon Description
Favorite and Favorite and recent units permit instant recall of units:
recently-used
units • That you have added to the favorites list as Favorite Units.
• Any recently-used format (history) as Recent Units.
Parameter Description
Manage Favor- Allows you to delete a unit from the list of Favorite
ites Units. Right-click a unit and select Delete from the list.
Clear Recent Removes all recently-used units from the Recent Units
List list.
Adding resources
EC-gfxProgram 157
Adding resource Resource block instances can be added to a project by right-clicking a branch
block instances in the Resource Tree.
to the resource
tree NOTE: These actions are also available from the toolbar. See Resources
Configuration toolbar.
Parameter Description
Add Floating When two hardware outputs are selected, co-joins the
Pair outputs to create a floating output or floating pair. See
Adding a Floating Output (ECL Series) or Adding a
Floating Output (ECB & ECY Series).
Resource block A number of operations can be performed on a resource block instance in the
instance Resource Tree. A resource blocks’ instance operations vary according to the
operations type of resource block currently selected.
158 EC-gfxProgram
Resources Configuration
Parameter Description
EC-gfxProgram 159
Parameter Description
Test From This Sends a test email message from an email account to
PC verify that it has been properly configured. See e Con-
figuring a notification class to send email alerts (ECY
Test From Series).
Device
160 EC-gfxProgram
Resources Configuration
Renumbering/Swapping Resources
Renumbering a From the Resources Configuration window, you can assign new instance
resource numbers to resource objects while preserving their configuration.
2. In the New Number cell, enter the new number you wish to assign to the
selected resource and click OK.
EC-gfxProgram 161
Renumbering 1. Select multiple resources using the CTRL or SHIFT key.
multiple 2. Right-click on the selected resources and select Renumber.
resources
3. Enter the new numbers for the selected resources in the New Number
cells and click OK.
1. Select the entire list using the CTRL key or click on the parent resource
and click Renumber. The entire list is displayed in the Renumber
Resources window.
2. Select the entire list or partial list that you wish to renumber using the
CTRL key and select Set numbers.
162 EC-gfxProgram
Resources Configuration
3. Enter the starting number you wish to assign to the new numbering. All
resources will be renumbered sequentially starting with that value.
Swapping You can exchange one resource instance number for another using the Swap
resources feature. Swapping occurs between two resources of the same type.
EC-gfxProgram 163
3. Enter the new numbers you wish to assign in the New Number cell and
click OK.
Both the parent IO modules and the child resources are renumbered accord-
ingly. For instance, the IOM10 parent module will have input/outputs 1001,
1002, 1003, etc. because the submodule numbers are associated to the par-
ent IO module.
Renumbering If you wish to renumber the input/outputs (child), select two instances to swap
inputs/outputs or select three or more to renumber but within the selected range of numbers.
(child IO)
1. Select three or more inputs/outputs.
2. Right-click on the selected objects and select Renumber.
164 EC-gfxProgram
Resources Configuration
3. In the New Number cells, select the number you wish to assign to the
input/outputs from the dropdown list provided.
NOTE: The numbers provided in the list are the current numbers of the
selected objects. You can only reassign numbers within that range in
order to preserve the predefined numbers of the inputs/outputs.
2. Set the configuration variable group’s name in Name and select the folder
where the configuration variable group is to be located in Create in.
EC-gfxProgram 165
If a new folder is needed to organize variables into logical or structural
group, click Create new folder. Click OK.
166 EC-gfxProgram
Resources Configuration
Binding Once the Configuration Variable group has been created, it can be bound to
resources to other resources.
existing
Configuration 1. Right-click a resource block instance or click on the right of a config-
Variable Groups uration property group, and select Bind to Existing Configuration Vari-
able.
2. From the Variable Selector list, select the Configuration Variable Group
you previously created. Click OK.
Reusing You can create Configuration Variable Groups to use as templates for fre-
Configuration quently used configurations. Once you have Configuration Variable Groups,
Variable Groups you can export these fully configured variable groups from your project to a
in different .gvx file and then import this file in other projects.
projects
NOTE: Bindings are not exported, and must be redone whenever a Configu-
ration Variable Group is imported in a project.
1. Drill down in the Configuration Variables folder to the group you want to
export.
2. Right-click the group to export and select Export to File.
EC-gfxProgram 167
3. In the Save As window, select a location and specify the File name, and
click Save.
1. Drill down in the Configuration Variables folder to the group where you
want to import the variables.
2. Right-click the destination group and select Import from File.
168 EC-gfxProgram
Resources Configuration
The Configuration Variable Groups in the .gvx file are added to the
resource tree, and can be bound to resources in your project.
EC-gfxProgram 169
Resources Summary view
Configuring properties
When one resource block instance is selected in the Resource Tree, the
resource block’s properties can be configured in the right pane.
When two or more resource block instances are selected in the Resource
Tree, the common resource block’s properties can be configured in the right
pane. Any modification to the resource block’s properties are applied to all
selected instances.
170 EC-gfxProgram
Resources Configuration
System Set the time zone where the controller is located and
the time synchronization interval. See Real Time
Clock (ECL Series).
EC-gfxProgram 171
Resource block Configuration information
ECB & ECY The blocks shown in the following table can be configured in the Resources
Series resource Configuration window. See also Resource block configuration parameter
block
configuration Resource block Configuration information
Multi State Values Multi State Value (ECB & ECY Series)
Light Sunblind
Modules Light Output (ECB & ECY Series expansion mod-
ules)
Sunblind Output (ECB & ECY Series expansion
module)
System Set the time zone where the controller is located and
the time synchronization interval. See Real Time
Clock (ECB & ECY Series). This controller can also
send time synchronization to other networked con-
trollers.
172 EC-gfxProgram
Resources Configuration
Email Accounts These email accounts are used to send alarm notifi-
cations. See Configuring a notification class to send
email alerts (ECY Series).
EC-gfxProgram 173
Configuring a resource block
Resource block A Resource blocks’ configuration parameters vary based on the type currently
configuration selected.
parameter
Figure 123: Typical resource block configuration parameters
174 EC-gfxProgram
Resources Configuration
Resource block
Configuration information
parameter
General Sets:
• The block’s resource name in Object name. This is
used to identify the object in the Resource Viewer
and on the controller’s operator interface (if
equipped). For certain BACnet objects, the Object
name is exposed on the BACnet network as the
BACnet object name.
• Whether the instance is Controller specific. See
Project Synchronization and Controller specific val-
ues and device synchronization options (ECL, ECB
& ECY Series).
• Whether the value of this object is to be saved by
the controller during any type of controller reset or
power cycling by setting Persist. This may apply to
Timer and Internal Variable Blocks. See Per-
sistent values (ECL, ECB & ECY Series control-
lers).
Mode Sets the mode of the Network Variable Input block. See
Advanced Network Object configuration (ECY Series).
Parameters Sets the Pid loop properties. See Pid Loop (ECL
Options Series) or Pid Loop (ECB & ECY Series).
Inhibit binary For certain blocks, alarms that have been configured
value can be temporarily suppressed by turning off the
block’s alarm management so that no alarms will be
reported by the block during this time. See AlarmInhibit
input (ECY Series controllers).
Alarm (ECB & Sets the alarm thresholds that will trigger the dispatch
ECY Series of a notification message to other BACnet devices. See
only) Alarms (ECB & ECY Series).
Trending (ECY Configures the BACnet trend log object for the related
Series control- resource. See Trending (ECY Series).
lers only)
EC-gfxProgram 175
Resource block
Configuration information
parameter
Some resources support the ability to record a history of their values, when
certain conditions are met, so they can be later reviewed to show a variation
or trend over time. The number of values that can be recorded is set by the
buffer size.
First, set the Generate trend logs option for the resource you want to record a
trend log for.
NOTE: For ECB & ECY Series controllers, when the trend log is enabled for
an object, the BACNet interface can be used to trigger the trend log,
through EC-net for example. See Automatic generation of control
points from EC-gfxProgram code.
The trend log configuration for the resources is available under the resource
and under Trend Logs in the Resource Tree.
176 EC-gfxProgram
Resources Configuration
Parameter Description
Data Source Identifies the object associated with this trend log. For
information purposes only.
Trending > When checked, enables trend logging for this object.
Enabled
EC-gfxProgram 177
Parameter Description
Trending > Log- Polled: The object value is recorded at regular time
ging Type intervals set in Logging interval.
COV: The value is recorded according to a threshold
for a minimum change in value set in COV Increment.
In Fallback poll interval, set the period after which the
controller will log the object value if the COV update
fails to arrive.
Triggered: A pulse at the block’s TriggerTrendLog
input forces the object’s present value to be recorded in
the trend log. To show the TriggerTrendLog port on
the block, see Configure Ports.
Log Buffer > Sets the number of values that can be saved in this
Buffer size trend log. The oldest values are overwritten unless
Stop when full is set.
Log Buffer > When checked, the trend log records the number of
Stop when full values set in Buffer size, and then stops recording val-
ues.
When unchecked, the oldest values are overwritten
once the log buffer is filled, so only the most recent his-
tory is available.
Logging Param- Sets a regular time interval to record the object’s pres-
eters > Logging ent value in the trend log.
interval
Logging Param- Aligns the Logging Interval to be on the hour plus any
eters > Align Interval offset.
intervals When checked, the beginning of any Logging interval
value that divides evenly to an hour (60 minutes) or day
(1440 minutes) without any remainder, is aligned to the
hour or day, respectively, plus any Interval offset.
178 EC-gfxProgram
Resources Configuration
Parameter Description
Logging Param- When COV is set, determines the period after which
eters > Fallback the controller will log the object value if the COV update
poll interval fails to arrive.
Notifications > Sets the types of service status change that trigger a
Events enabled notification message according to the trend log’s reli-
ability status to support the automatic Trend Log
Retrieval mechanism.
To offnormal: the trend log’s reliabiliry is offnormal.
To fault: the trend log has become unreliable.
To normal: the trend log’s reliability is normal.
EC-gfxProgram 179
Viewing a trend A trend log can be viewed by right-clicking the programming block on the pro-
log gramming sheet and selecting View Trend Log History in the context menu.
The trend log is shown for the block. See Viewing a trend log (ECY Series).
To avoid duplicate work, this structure can be exported to a file on your PC.
This structure can be also imported from the ENVYSION Data Panel interface
or from a file on your PC.
Parameter Description
Add Folder Adds a new folder to the ENVYSION Data Tree at the
current location.
Import From File Imports the ENVYSION Data Tree structure that was
saved on your file system. Opens the Open window.
Export To File Exports the ENVYSION Data Tree structure to your file
system. Opens the Save As window.
Import From Imports the ENVYSION Data Tree structure from the
Device currently connected device.
180 EC-gfxProgram
Resources Configuration
Parameter Description
EC-gfxProgram 181
Figure 128: Adding a resource to the ENVYSION Data Tree
4. Click Add to add the selected resources and leave the window so you
can continue adding resources. Click OK when you’re done.
Adding elements To add elements to the resource’s metadata configuration so they appear in
to the resource’s the ENVYSION Data Tree in one or more places:
metadata
configuration 1. In a resource that can be added to the ENVYSION Data Tree (Metadata is
available in its configuration), click + to add the resource to the ENVYS-
ION Data Tree.
2. If the structure of the ENVYSION Data Tree has already been created,
click the drop down arrow to select the path where this resource is to be
shown in the ENVYSION Data Tree. Or create a new path by typing it in,
using back slashes (\) or forward slashes (/) to create the path and to sep-
arate the data tree branches.
Figure 130: Adding a resource to the pre-existing ENVYSION Data Tree structure
182 EC-gfxProgram
Resources Configuration
To streamline and help clean your programs of unnecessary objects that may
have been created during the setup and programming of the job, you can
access a window that quickly finds and shows all the resources that have no
references in the project. You can then decide whether to leave these
resources in the project, or to delete them permanently.
Finding and 1. To find unused resources in the project, click the toolbar icon
Deleting Unused The Unused Resources window opens and lists the unused resources
Resources found in the project or the selected category.
3. Click .
EC-gfxProgram 183
184 EC-gfxProgram
Using EC-gfxProgram
CHAPTER 5
Using EC-gfxProgram
This chapter provides a basic understanding of how EC-gfxProgram works
and outlines best practices to ensure that the user gets the most out of the
software. More specifically, the way to drag and drop blocks, connect blocks,
process data, and build control sequences are described herein.
Topics
Dragging and dropping blocks
Connecting blocks
Build sequencing
RAM usage
Data processing
LONWORKS network description
BACnet objects, services, and data priority
Commandable object priority array levels
EC-gfxProgram 185
Dragging and dropping blocks
186 EC-gfxProgram
Using EC-gfxProgram
3. While still holding the block, drag it over to the Programming Sheet. The
block’s icon will be shown beside the mouse pointer.
Figure 132: Dragging the block
4. Place the mouse pointer over the desired location in the Programming
Sheet and release the block.
Figure 133: Dropping the block
Adding multiple You can add multiple resource blocks by pressing the CTRL key while drag-
resource blocks ging the block to the Programming Sheet.
1. Press and hold the CTRL key while dragging the block on to the Program-
ming Sheet. The Add Blocks dialog box is displayed.
EC-gfxProgram 187
2. In the Quantity field, enter the number of blocks you wish to add to the
Programming Sheet.
3. In the Start number field, enter the starting number for the first block in
the sequence.
4. Click OK. The selected number of blocks with the assigned sequential
numbers will be created on the Programming sheet.
188 EC-gfxProgram
Using EC-gfxProgram
Connecting blocks
Connection rules
The ways in which blocks are connected are governed by a few rules. These
rules are in place to ensure that the control sequence behaves in the way it is
supposed to and to ensure there is no ambiguity in the results or processes.
The following is a list of the applicable rules:
• Two output ports cannot be connected to each other. Neither can two
input ports be connected to each other. An output port can only be con-
nected to an input port and an input port can only be connected to an out-
put port.
• Any output can be connected to any input. The data types are automati-
cally converted.
• An output port can be connected to multiple input ports.
• An input port can only be connected to one output port.
• All blocks must have at least one connection (except for the Custom block
and Lcd Screen (ECL, ECB & ECY Series) block).
• Input and output ports with connection indicators (see Block objects
description) must be connected.
NOTE: If there is an input port that the user does not need, but needs to be
linked nevertheless, connect it to an Internal constant block and give it
a value.
If there is an output port that the user does not need, but needs to be
linked nevertheless, connect it to a Monitor block.
Connection types
Blocks can be connected in a variety of ways depending upon the user’s
needs. The following is a list of the various connection types:
• Simple connection
• Monitoring an output port
• Monitoring all output ports
• Exposing an output port to a network variable
• Turnaround connection
• Fan-out connection
EC-gfxProgram 189
• Connection via references
•
• Re-linking an input or output port connection
• Autolinking ports between blocks
Simple A simple connection is connecting the input port of one block to the output
connection port of another block. In order to create a simple connection between two
blocks:
1. Select and hold an Output port of one of the blocks once the connection
symbol appears on the mouse pointer.
Figure 134: Simple connection - selecting the input or output port
2. While still holding, drag the connector to the desired Input port of the
other block. You do not have to point directly to the destination port, the
cursor can be anywhere over the block, and the connection will lock on
the port that corresponds to the mouse’s vertical position.
Figure 135: Simple connection - dragging the connector
3. Once the connector locks on to the desired Input port, release the con-
nector.
Figure 136: Simple connection - completing the connection
190 EC-gfxProgram
Using EC-gfxProgram
Monitoring an Use the Monitor block to monitor values to debug project code or to provide
output port connections to block outputs that require connections (see Connection rules).
1. Place the mouse pointer over an Output port of block so that the connec-
tion symbol appears.
2. Right-click the output port and select Link to in the list and then Monitor.
Figure 137: Adding a monitor to an output port
EC-gfxProgram 191
Monitoring all Quickly add Monitor blocks to all unconnected output ports of one or more
output ports selected blocks as follows:
• Press Ctrl+Space.
• Right-click the top title area of the block and select Monitor All.
Figure 138: Adding a Monitor block to all output ports
NOTE: To monitor all outputs of more than one block in one operation, select
the blocks, then right-click the top title area of any block and select
Monitor All.
Exposing an Use a network variable to make a block’s output data available on the network
output port to a for use by other controllers.
network variable
For a LONWORKS network, this makes the data available as a Network Vari-
able Output (NVO) – The 5 numeric variables nvoVnX_Y and the nvoVe1_27
on the device interface, under the FreeProg object.
For a BACnet network, this makes the data available to the Network as set in
the block’s configuration window.
Proceed as follows:
1. Place the mouse pointer over an Output port of block so that the connec-
tion symbol appears.
192 EC-gfxProgram
Using EC-gfxProgram
2. Right-click the output port and select Link to in the list and then a variable
type according to the table below.
ECB & ECY Series controllers Analog Value (ECB & ECY Series)
EC-gfxProgram 193
Turnaround A turnaround is a way to inject into an input a previously calculated value. A
connection turnaround connection in its simplest form is connecting an input port of a
block to an output port of the same block. The purpose of this type of connec-
tion is to use the output value of a block as an input to the same block. In
order to create a turnaround connection on a block:
1. Select and hold an Output port of the block once the connection symbol
appears on the mouse pointer.
Figure 139: Turnaround connection - selecting the input or output port
2. While still holding, drag the connector to the desired Input port of the
same block.
Figure 140: Turnaround connection - dragging the connector
3. Once the connector locks on to the desired Input port, release the con-
nector.
Figure 141: Turnaround connection - completing the connection
A turnaround connection can also be made with the autolink feature; see
Autolinking turnaround connection example.
194 EC-gfxProgram
Using EC-gfxProgram
Fan-out A fan-out connection is connecting the output port of one block to the input
connection ports of one or more other blocks. This type of connection transmits informa-
tion from one block to many blocks at once. In order to create a fan-out con-
nection between several blocks:
1. Select and hold an Output port of one of the blocks once the connection
symbol appears on the mouse pointer.
Figure 142: Fan-out connection - selecting the input
2. While still holding, drag the connector to the desired Input port of one of
the other blocks.
Figure 143: Fan-out connection - dragging the connector
3. Once the connector locks on to the desired Input port, release the con-
nector.
Figure 144: Fan-out connection - completing the connection
EC-gfxProgram 195
4. Repeat steps 1 to 3 for all other connections.
Figure 145: Fan-out connection - completing multiple connections
Connection via A connection via references is done by connecting the output port of one
references block to a Reference Hub block and then connecting a corresponding Refer-
ence Target block to the input port(s) of other blocks. This is how you pass
values between two Programming Sheets to inter-connect blocks (however it
does not allow you to pass values to or from custom blocks, or between two
custom blocks).
This type of connection helps to keep the programming sheet clean, without
having too many connectors, and thus make it easier to see where connec-
tions are going.
NOTE: When Assign tag name to linked reference hub7 is set in the EC-gfx-
Program Options, linking to a Reference Hub block will automatically
assign to it the name of the source object being linked (when linked to
an Output port, it will use the block’s name only; any other port will
use the combination of the block’s name and the port’s name).
If the name for the Reference Hub block already exists, an automati-
cally incremented number is added to the end of the block name.
1. Add a Reference Hub block for the block from which the connection will
be coming from. Place the mouse pointer over an Output port of block so
that the connection symbol appears.
196 EC-gfxProgram
Using EC-gfxProgram
2. Right-click the output port and select Link to in the list and then Reference
Hub. The Reference Hub and target blocks can also be dropped from the
Toolbox.
Figure 146: Connection via references - adding a reference hub
4. Add Reference Target blocks for each block to which the connection will
be going: place the mouse pointer over an Output port of block so that the
connection symbol appears.
EC-gfxProgram 197
5. Right-click the input port and select Link To in the list and then Refer-
ence Target.
Figure 148: Connection via references - adding reference targets
6. In the Reference Hub Selection popup, select the Reference Hub block
from the drop-down menu (identified by its TagName).
Figure 149: Connection via references - selecting a reference target
7. Add Reference Target blocks as necessary to the Input ports of the other
blocks.
Figure 150: Connection via references - adding reference target blocks to input
ports
NOTE: A Reference Target block inside a Custom block cannot be used with
a Reference Hub block outside of the Custom block and vice versa.
However, it is permitted to use a Reference Target block and a Refer-
198 EC-gfxProgram
Using EC-gfxProgram
Copying blocks If you select a block with a connected Reference Hub and then copy and
with reference paste them, the name of the reference hub will remain the same, however a
hubs number is appended to the end of the name to differentiate it from the source
reference hub.
If you do this with the Reference Target and its corresponding Reference Hub
both selected, the name of both the Reference Target and the Reference
Hub will be changed (a number is appended to the end of the name) such that
they still link to each other but they are not linked to the original Reference
Target / Reference Hub blocks.
Figure 151: Copying blocks with reference target and its corresponding reference hub ‘SetpointReset’
Figure 152: The pasted reference target/reference hub (second row) are now automatically named
‘SetpointReset1’
Transforming Once you have made a connection, you can transform it to a Hub/Target con-
reference and nection or direct link, as needed.
direct link
connections Transforming a direct link to a Reference Hub/Target
EC-gfxProgram 199
The resulting Reference Hub and Reference Target are named as per
your EC-gfxProgram options. For more information, see Connection via
references.
200 EC-gfxProgram
Using EC-gfxProgram
EC-gfxProgram 201
Re-linking an Once you have made a connection, you may need to change the port to which
input or output the connection has been made. This can be done when debugging is
port connection stopped.
For an input port or an output port with a single connection, this can be done
as follows:
1. Hover your mouse cursor over the connection near the input or output
port. The cursor changes to become . This is shown below.
Figure 153: Hover your mouse cursor near the input port so it changes style
Figure 154: Hover your mouse cursor near the output port so it changes style
2. Click your mouse and move the connection to another port. A connection
to an input port can only be remade to another input port, while a connec-
tion to an output port can only be remade to another output port.
For an output port with two or more connections, a single connection can be
reconnected as follows:
2. Hover your mouse cursor over the connection near the input or output
port. The cursor changes to become . This is shown below.
Figure 156: Click to move the connection you want to reconnect
3. Click your mouse and move the connection to another output port. A con-
nection to an output port can only be remade to another output port.
NOTE: To reconnect two or more connections at once, hold down the <Shift>
key and select the connections to be reconnected.
202 EC-gfxProgram
Using EC-gfxProgram
If an output port has two or more connections, and you want to recon-
nect all of them to another output port, simply click your mouse (with-
out any connection being previously selected) and move the
connections to another output port.
Autolinking Autolinking allows you to quickly connect the ports between two or more
ports between blocks by using a context menu or keyboard shortcut. For this, the ports must
blocks be unconnected to any other port. Use any one of the following methods to
autolink ports:
Autolinking can link ports when they are vertically aligned. Autolinking through
the context menu is shown below or by pressing Ctrl+q (for quick link) on your
keyboard.
EC-gfxProgram 203
Autolinking by port order
Autolinking can link ports by their vertical order when all blocks to be linked
are selected.
Autolinking can also be done while a block is selected and moved next to the
block you want to autolink to, and then while the block is still selected, use the
shortcut to link the ports, then move the selected block to its final position.
This can be done as follows.
1. Move the block into position so that its ports are vertically aligned with the
ports to be linked on the other blocks.
Figure 159: Autolinking ports: moving the block into position
204 EC-gfxProgram
Using EC-gfxProgram
2. Once the block is aligned, press ‘l’ (lower-case L) on your keyboard to link
the ports.
Figure 160: Autolinking ports: press “l” to link the ports
3. Now move the block to its final position and release it.
Figure 161: Autolinking ports: move the block to its final position and release it
1. Move the block so that its Output port is vertically aligned with the Input2
port.
2. Press 'l' (lower-case L) on your keyboard to link the ports. Do not release
the block at this time.
EC-gfxProgram 205
Build sequencing
To begin with, the compiler optimizes the project code in a way that if a block
or group of blocks does not execute something that is used or is not linked to
any block giving an end result, these blocks are not executed. For example,
although the project code shown below is built since it follows all the Connec-
tion rules, the Custom and Add blocks are not executed since their outputs
are not linked to anything.
The first things that determine the order of compilation are “endpoints”. End-
points are the last blocks in a sequence of connected blocks. The compiler
locates these endpoints and starts the building process from here. It then fol-
lows the connections to the beginning of the sequence.
The second thing that determines the build order is location. In the Program-
ming Sheet, if there are two or more separate groups of connected blocks,
then the one located higher on the y-axis will be compiled before the lower
ones and the one located further to the left of the x-axis will be compiled
before the ones located further to the right.
206 EC-gfxProgram
Using EC-gfxProgram
culated and stored for two days, therefore at the end of the day, the project
code needs to transfer today’s value to yesterday’s value and yesterday’s
value to the value 2 days ago. The sequence in which this is done is import-
ant: Yesterday’s value needs to be transferred to the value 2 days ago before
today’s value is transferred to yesterday’s value or else today’s value will be
transferred to both yesterday’s value and the value 2 days ago. This operation
happens in the Custom block called Day change OAT AVG. As shown in the
lower image, the transfer of today’s value to yesterday’s value can be located
below or to the right of the transfer of yesterday’s value to the value 2 days
ago for it to be executed second and have proper control logic.
Figure 166: Inside day change OAT AVG - acceptable location for execution sequence
Figure 167: Inside day change OAT AVG - acceptable location execution sequence
Figure 168: Inside day change OAT AVG - unacceptable location - incorrect sequence
EC-gfxProgram 207
Figure 169: Inside day change OAT AVG - unacceptable location - incorrect sequence
NOTE: Should you change the relative order of blocks on the programming
sheet, the project needs to be synchronized before the new project
code can be executed. In this case, select Compile code and send it
to device synchronization option only. For example, should you move
the blocks shown in Figure 168 to change their relative order to
become as shown in Figure 166, you will have to Synchronize the
project code before running it.
208 EC-gfxProgram
Using EC-gfxProgram
RAM usage
Once a project is built, the Statistics pane displays information concerning the
compilation time, as well as the amount of resources and memory used by the
controller. One of these statistics is RAM usage. The following is a list of gen-
eral issues that affect RAM usage:
• The type of block, block layout, and connections can affect RAM usage.
• Each output of Conditional Custom Block use one unit of RAM.
• Turnaround connections use one unit of RAM.
• For ECY Series controllers: The number of BACnet objects used in your
code. See Supported number of BACnet objects with an ECY Series con-
troller.
EC-gfxProgram 209
Data processing
Data types
The way in which EC-gfxProgram processes data can greatly affect expected
results, resource, and memory usage, as well as several other factors that are
pertinent to the development of a proper control sequence. It is important to
know and understand the different data types, values, and ranges in order to
be able to predict how the control sequence will react to them.
8-Bit The following controller model use an 8-bit microprocessor: ECP Series. See
ECP Series controllers data processing.
32-Bit The following controller models use an 32-bit microprocessor: ECL, ECB &
ECY Series. See ECL, ECB & ECY Series controller data processing.
Numeric -83886.08 to Signed 24-Bit number with two decimal places. Often used for
+83886.07 sensor values and calculations.
Enum -128 to 127 Enumerations are used for values that have corresponding
actions associated with each integer value such as schedules,
HVAC modes, fan speeds, etc.
Integer -83886 to +83886 Same as Numeric, however the two decimal places are
truncated. Often used for properties associated with time or
iterations.
210 EC-gfxProgram
Using EC-gfxProgram
Each block in EC-gfxProgram can actually receive any type of data type into
its inputs. The block will receive a value and then convert it to the data type of
the block’s input according to a certain set of rules. The following are a list of
rules that apply to Enumeration and Integer inputs when they receive numeric
values:
Table 3: Persistent values for ECP Series controllers equipped with a real-time clock
Count Up
Count Down
Latch
Timer
Toggle
EC-gfxProgram 211
ECL, ECB & ECY Series controller data processing
The type of data dictates the way a value will appear, its range, and the way it
will react when that range is surpassed. The type of data depends on the type
of block, type of input or output, type of property, etc. The following table lists
and describes all the data types in EC-gfxProgram for ECL, ECB & ECY
Series controllers with 32-Bit floating-point numeric precision.
Numeric ±3.4028×1038 Signed 32-Bit number with 8 significant digits that is scaled
using an exponent. Used for sensor values, digital values,
and calculations.
Enum (ECP & -128 to 127 Used for values that have corresponding actions
ECL Series associated with each integer value such as schedules,
controllers only) HVAC modes, fan speeds, etc.
Multi State (ECB 1 to 255 Used for values that have corresponding actions
& ECY Series associated with each integer value such as schedules,
controllers only) HVAC modes, fan speeds, etc.
212 EC-gfxProgram
Using EC-gfxProgram
Out-of-Service
The Out-of-Service property indicates a known problem with a service that
provides a status, data, or values. For example, this can be due to a user
override.
For ECP & ECL Series controllers only: When Out-of-Service is set (True) for
an object, this means the point is under manual or remote control. For exam-
ple, the point is overridden by nviModify or, for hardware outputs only, by the
HOA switch or the nvi of the output LONMARK Object.
For ECB & ECY Series controllers only: When Out-of-Service is set (True) for
an object:
EC-gfxProgram 213
Data type conversion
In reality there are only two types of numerical data in EC-gfxProgram:
Numeric and Enumeration. Integer and digital data are actually numeric val-
ues that are restricted to be only integers (Integer data) or 0 and 1 (Digital
data). So an integer value of 279 is actually 2.79 × 102 and a digital value of 0
is actually 0 × 100.
Each block in EC-gfxProgram can actually receive any type of data type into
its inputs. The block will receive a value and then convert it to the data type of
the block’s input according to a certain set of rules. The following are a list of
rules that apply to Enumeration and Integer inputs when they receive numeric
values:
• For ECP & ECL Series controllers, it is converted to the highest allow-
able Enumeration, which is 127.
NOTE: Values are persistent only when the value is written directly to the
blocks listed below.
Persistence is not supported when a value is written to a generic ver-
sion of these blocks (if such a block exists). However a generic ver-
sion of the block can be used to read values that have persistence
enabled after a controller reset or power cycling.
Persistent The following blocks support persistent values. For blocks that can support
values for ECL persistence, persistence is enabled by setting the Persist to True in the
Series block’s Properties Pane.
controllers
214 EC-gfxProgram
Using EC-gfxProgram
Internal variable (ECL, ECB & ECY Enum Constant (ECL Series)
Series)
Persistent The following blocks support persistent values. For blocks that can support
values for ECB & persistence, persistence is enabled by setting the Persist to True in the
ECY Series block’s Properties Pane.
controllers
Internal variable (ECL, ECB & ECY Multi State Value (ECB & ECY Series)
Series)b
Toggle
• The out-of-service flag, and the following priority levels are persistent:
1 (Manual Life-Safety), 8 (Manual Operator), and Relinquish Default.
EC-gfxProgram 215
• The priority level 16 is optionally persistent by setting Persist value 16
in the Resources Configuration window for the following blocks: Ana-
log Value, Binary Value, and Multi State Value, and Pid Loop (inputs
only). See also Commandable values (ECY Series controllers).
For example, an Add block outputs a Numeric value of 9.48 to the digital
input, Enable, of a Min On Time block. The Min On Time block converts 9.48
into 1 and thus activates the Enable input and the block is turned On.
216 EC-gfxProgram
Using EC-gfxProgram
When adding and subtracting highly disparate Numeric numbers having many
orders of magnitude of difference between them will have no effect. For exam-
ple, the operation of adding 1 and 1 quintillion (1×1018) has no effect as there
are not enough significant digits in the Numeric data type to capture and take
into account the addition of 1 under such conditions. An example of this effect
is shown below.
Figure 170: adding 1 to a large number using the numeric data types
Significant digits
Numbers are displayed with a maximum of 8 significant digits. When a value
has more than 8 significant digits, the truncated number is shown in blue.
EC-gfxProgram 217
Reliability property
The reliability property is an enumeration that provides an indication of
whether current value or the operation of the physical input in question is reli-
able as far as the controller can determine and, if not, why. The reliability
property supports the following enumeration values.
Enumeration Description
Open Loop The connection between the defined object and the
physical device is providing a value indicating an open
circuit condition.
This threshold for an open circuit condition is set in
Check signal fault when available (see the Check
signal fault setting in the block’s Advanced
Configuration or in the Resources Configuration
window).
Shorted Loop The connection between the defined object and the
physical device is providing a value indicating a short
circuit condition.
The threshold for a short circuit condition is set in
Check signal fault when available (see the Check
signal fault setting in the block’s Advanced
Configuration or in the Resources Configuration
window).
218 EC-gfxProgram
Using EC-gfxProgram
Enumeration Description
Unreliable Other The controller has detected that the Present Value is
unreliable, but none of the other conditions describe
the nature of the problem. A generic fault other than
those listed above has been detected, e.g. a Digital
Input is not cycling as expected, or a schedule is empty
(it has not yet been configured).
EC-gfxProgram 219
LONWORKS network description
Communication services
An NVO can be bound to many NVIs to send values to many devices. This is
called a fan out. In the same way, many NVOs can be bound to one NVI. This
is a fan in. For example, a fan in is useful for a roof top unit to calculate the
terminal load of all VAV boxes. An example of how to code a fan in is shown in
Using LONWORKS network variables to fan in values from many controllers.
220 EC-gfxProgram
Using EC-gfxProgram
Figure 172: Example of a LONMARK object, SVNTs, UNVTs, CPs, and NCIs of a
LONWORKS device
EC-gfxProgram 221
Priority levels in LONWORKS (ECL Series)
There are four ways to control a hardware output. A priority hierarchy shown
in Table 7 determines which method will control the controller’s hardware out-
put. In practice, 1 is the highest priority and 4 is the lowest priority. For exam-
ple, now the project code can know if the output is being controlled by its HOA
switch, by a network binding, or by EC-gfxProgram code. This current priority
value is available to your project code through the block’s Priority port output.
Figure 173: Typical LONWORKS Properties tab that shows the Network Variable
Information
222 EC-gfxProgram
Using EC-gfxProgram
Present value The Present Value property is the value of the Input / Output / Value at the
moment. For properties that are commandable, the method by which the
Present Value is determined is explained in Commandable object priority
array levels When a property is Out-of-Service, it is manually overridden as
explained below.
BACnet
Block Description Type
Acronym
EC-gfxProgram 223
Table 8: Non-commandable and commandable objects for standard BACnet objects
BACnet
Block Description Type
Acronym
Binary Value (ECB & BV Digital Value For ECB Series controllers:
ECY Series)
• Commandable Object
Generic Binary Value
• Non-Commandable Object
(ECB & ECY Series)
For ECY Series controllers: all
instances are Commandable Objects
Multi State Value (ECB & MSV Multi State For ECB Series controllers:
ECY Series) Value
• Commandable Object
Generic nLight Channel
• Non-Commandable Object
(ECY Series)
For ECY Series controllers: all
instances are Commandable Objects
Analog Value (ECB & AV Analog Value For ECB Series controllers:
ECY Series)
• Commandable Object
Generic Analog Value
• Non-Commandable Object
(ECB & ECY Series)
For ECY Series controllers: all
instances are Commandable Objects
Hardware Output (ECB & BO Digital Output For ECB Series controllers:
ECY Series)
• Commandable Object
• Non-Commandable Object
For ECY Series controllers: all
instances are Commandable Objects
Non- EC-gfxProgram supports the writing of values that are without priority. These
commandable values are written directly to the Present Value. The last write to a Writable
objects Property overwrites any previous writes that were made to the Writable Prop-
properties erty.
224 EC-gfxProgram
Using EC-gfxProgram
Reading and BACnet devices can support a number of services to exchange values from
writing network one controller to another. Typically read services retrieve a value from a BAC-
points net object property. On the other side, a write service sends a value to a BAC-
net object property.
Controller
See
Model
ECB Series Methods for reading from a network point (ECB Series)
Methods for writing to a network point (ECB Series)
ECY Series Methods for reading from a network point (ECY Series)
Methods for writing to a network point (ECY Series)
ECB Series controllers support the following services to read a network point.
Read Property Read multiple points in one telegram. This reduces the
Multiple amount of network traffic required to transmit data. It is
preferable to use the Read Property Multiple service
when a device supports this service, instead of using
the Read Property service.
If the device that is servicing the request does not
support the Read Property Multiple service, the
controller will fall-back to using the Read Property
service to satisfy the request.
EC-gfxProgram 225
Table 9: Methods for reading from a network point - ECB Series
226 EC-gfxProgram
Using EC-gfxProgram
Write Property Write multiple points in one telegram. This reduces the
Multiple amount of network traffic required to transmit data. No
confirmation message is returned and there is no
guarantee that the write message was successfully
received. If the device being written support the write
property multiple service execution, this service is
preferred over Write Property.
Send Local The local device (server) watches the object property
Broadcast COV value and the change criteria. The change criteria are
determined by a change in value, and throttling rules
for the minimum and maximum period between object
value transmissions. When the change criteria for the
value are met, the server broadcasts a COV notification
for the new value to any client that may need it (remote
device) located on the local BACnet MS/TP data bus
(all devices that share the same Network Number or
are on the same subnet).
This broadcast COV is not passed on (repeated) by a
Building Controller.
Clients do not return a confirmation message to the
server to validate that the message was received. This
reduces the amount of traffic on the network. This
method is less secure as lost messages are not resent.
EC-gfxProgram 227
Table 10: Methods for writing to a network point - ECB Series
Send Global The local device (server) watches the object property
Broadcast COV value and the change criteria. The change criteria are
determined by a change in value, and throttling rules
for the minimum and maximum period between object
value transmissions. When the change criteria for the
value are met, the server broadcasts a COV notification
for the new value to any client (remote device) located
on the BACnet intranetwork that may need it. This
broadcast COV is passed on (repeated) by Building
Controllers according to their routing configuration.
Clients do not return a confirmation message to the
server to validate that the message was received. This
reduces the amount of traffic on the network. This
method is less secure as lost messages are not resent.
ECY Series controllers support services to read a network point either locally
or remotely when Operation is set to Read Local Property or Read Remote
Property. When reading a remote property, the controller discovers the ser-
vice type that the remote controller is configured for. It will detect and auto-
matically configure itself for the service type the remote network point has
been configured to provide, as follows: Read Property, Read Property Multi-
ple, Confirmed COV Subscription, Unconfirmed COV Subscription, or
Receive Broadcast COV. These properties are configured in the Resources
Configuration and the parameters are described in Network Value (ECB &
ECY Series).
228 EC-gfxProgram
Using EC-gfxProgram
Write Property Write multiple points in one telegram. This reduces the
Multiple amount of network traffic required to transmit data. No
confirmation message is returned and there is no
guarantee that the write message was successfully
received. If the device being written support the write
property multiple service execution, this service is
preferred over Write Property.
Send Local The local device (server) watches the object property
Broadcast COV value and the change criteria. The change criteria are
determined by a change in value, and throttling rules
for the minimum and maximum period between object
value transmissions. When the change criteria for the
value are met, the server broadcasts a COV notification
for the new value to any client that may need it (remote
device) located on the local IP network (all devices that
share the same Network Number).
This broadcast COV is not passed on (repeated) by a
Building Controller.
Clients do not return a confirmation message to the
server to validate that the message was received. This
reduces the amount of traffic on the network. This
method is less secure as lost messages are not resent.
Send Global The local device (server) watches the object property
Broadcast COV value and the change criteria. The change criteria are
determined by a change in value, and throttling rules
for the minimum and maximum period between object
value transmissions. When the change criteria for the
value are met, the server broadcasts a COV notification
for the new value to any client (remote device) located
on the BACnet intranetwork that may need it. This
broadcast COV is passed on (repeated) by Building
Controllers according to their routing configuration.
Clients do not return a confirmation message to the
server to validate that the message was received. This
reduces the amount of traffic on the network. This
method is less secure as lost messages are not resent.
Fault status flag Logical True (1) if the Reliability property is present and does not have a
value of No Fault Detected, otherwise logical False (0).
EC-gfxProgram 229
Commandable object priority array levels
3 User-Defined
4 User-Defined
7 User-Defined
8 Manual Operator
9 User-Defined
10 User-Defined
11 User-Defined
12 User-Defined
13 User-Defined
15 User-Defined
230 EC-gfxProgram
Using EC-gfxProgram
If two devices command the same priority level, it is the device that makes the
last write to the priority array level that will be in effect.
EC-gfxProgram 231
Item Description
2 The 16 priority levels and their set values. To set the Null value
for a field, leave it empty and click away.
Relinquish default
When all command priority level values in the Priority Array have a Null value,
the Relinquish Default becomes the Present Value.
Relinquishing a To relinquish a priority level in the Priority Array, send a Null value at that pri-
priority ority level to free the slot. A relinquish can have three outcomes:
• The Present Value does not change as there is currently a non-Null value
at a higher priority level.
• The Present Value changes to the value of the next highest priority level
as the relinquish command was for the current highest priority level.
• The Priority Array is now empty (all slots are Null) and the Relinquish
Default value adopted is the Present Value.
232 EC-gfxProgram
Block Objects
CHAPTER 6
Block Objects
This chapter describes the EC-gfxProgram block objects that can found in the
Toolbox pane.
Topics
Overview of block objects
ByteLight
Comparators
Constants and variables
ECP Series specific blocks
ECL Series specific constant and variable blocks
ECB & ECY Series specific blocks
Custom
General
Generics
HVAC
Inputs and Outputs
LONMARK Objects (ECL Series)
Logic
Logic (Binary)
Math
nLight
Psychrometric
SNVT Conversions (ECP Series specific blocks)
Time
Tools
VAV
EC-gfxProgram 233
Overview of block objects
1. Block icon
2. Input port(s). See Configure Ports for more information.
3. Block name (editable). See Common block properties for more informa-
tion.
4. Block type and number (if applicable). For controllers that support ECx-
400 Series Extension Modules, this shows the controller or ECx-400
Series Extension Module on which a Hardware Input or Hardware Output
has been configured (for example, 205 is the fifth output of the second
ECx-400 Series Extension Module).
5. Output port(s). See Configure Ports for more information.
6. Port connection indicator(s) (white for connected port; red for uncon-
nected port). Ports that have connection indicators must be connected to
be able to build the code, otherwise an error will appear in the Error List
pane. See Configure Ports for more information.
7. Some blocks show their configuration type as set in the block’s advanced
properties.
234 EC-gfxProgram
Block Objects
Collapsed blocks
Certain blocks can be collapsed in order to conserve space on the program-
ming sheet.
Figure 177: The bottom image shows blocks that have been collapsed
EC-gfxProgram 235
To collapse a block, only one input or output port for the block must be
exposed. Proceed as follows.
2. The collapsed block can expose only one port. Select the one port the
collapsed block is to expose; ensure that all other ports are deselected.
Figure 180: Selecting the port exposed on the collapsed block
236 EC-gfxProgram
Block Objects
5. While the block is selected, set the Collapsed property to True in the
block’s Properties Pane.
Figure 182: Setting the Collapsed property to true
OR
7. To expand the collapsed block, set the Collapsed property to False in the
block’s Properties Pane or right-click on the block and select Expand.
NOTE: You can also select multipe blocks and collapse/expand the blocks
simultaneously.
EC-gfxProgram 237
Property Type Range Default Description
Controller Menu True or False When this is set to True, this allows
Specific False the option of not overwriting the value
(available during project code synchronization
with certain (see Project Synchronization). When
blocks) sending updated project code to two
or more controllers, this is useful to
avoid overwriting:
• VAV box balancing values such
as Minimum Flow, Maximum
flow or K Factor.
• Setpoints (for example, for the
Setpoint Constant (ECL Series)
block).
For ECY Series controllers, this
option can also be set in the
Resources Configuration.
Collapsed Menu True or False When only one output port is made
(available False visible on the block (see Configure
with certain Ports), this can be set to True. This
blocks) reduces the block to a slim format.
The single port that was made visible
then becomes the block’s only visible
port. See Collapsed blocks.
When set to False, the normal block
format is shown.
238 EC-gfxProgram
Block Objects
ByteLight
Description Provides an interface to the ByteLight network. ByteLight controls can be con-
nected to certain ECY Series controller models. See your controller’s data-
sheet for more information about the number and type of ByteLight modules
that are supported.
Advanced Resources Configuration, Alarms (ECB & ECY Series), Network Properties
configuration Configuration window (ECL, ECB & ECY Series), Emergency override and
emergency auto (ECB & ECY Series), Override and auto, Set Value, Find All
References (ECL, ECB & ECY Series), Copy From, Configure Ports, Show/
Hide Ports
Input(s)
Feedback Digital 0 or 1 When alarms are enabled for this block, and the
value at this input is different from the Present
Value, this triggers a notification message. See
Alarms (ECB & ECY Series) to configure the alarm
settings.
EC-gfxProgram 239
Port Type Range Description
Output(s)
Output Numeric ±3.4028×1038 The luminaire’s current dimming level. The Present
Value. See Commandable object priority array
levels.
Fault Digital 0 or 1 Logical True (1) if the Reliability Property does not
have a value of No Fault Detected, otherwise logical
False (0).
InAlarm Digital 0 or 1 When Enable Alarms is set for this block and the
present value is outside of the High limit and Low
limit settings and taking into consideration the Dead
band and Time delay settings, this output is On (1).
See Alarms (ECB & ECY Series) to configure the
alarm settings.
Number Menu See Description Not Set The ByteLight Group instance. Click the
drop-down arrow to select the ByteLight
Group to use for the selected block.
240 EC-gfxProgram
Block Objects
Comparators
Comparators are blocks that evaluate two numeric inputs using a particular
function (=, , <, , >, and ). The block will output whether the comparison is
True (1) or False (0) relative to the function used.
• Between
• Equal
• Greater or Equal
• Greater Than
• Is Null (ECL, ECB & ECY Series)
• Less or Equal
• Less Than
• Not Equal
Example Comparators are basic blocks that are often implicitly incorporated within
other more complex blocks. However, they are useful when building simple
control sequences. The example below shows how a Baseboard (Hardware
Output block) is controlled based on the comparison (Equal block) of the
scheduled occupancy (Schedule block) to an occupancy setpoint (Internal
Constant block) and (And block) the comparison (Less Than block) of the
Room Temperature to a temperature Setpoint (Hardware Input blocks).
The Equal block compares the occupancy from the Schedule block to the set
occupancy from the Internal Constant block. Thus the output of the Equal
block will only be True when the occupied mode is scheduled. Similarly, the
Less Than block compares the Room Temperature from a Hardware Input
block to a Setpoint also from a Hardware Input block. Therefore the output of
the Less Than block will only be True when the Room Temperature is below
EC-gfxProgram 241
the Setpoint. The And block checks the outputs of the Equal and Less Than
blocks and only when both conditions are True will the Output of the And
block be True and turn the Baseboard (Hardware Output block) On.
Between
Description The output will be True (1) if the value of Input is within the range of the Low-
Limit and HighLimit inputs where Input is greater or equal to LowLimit AND
Input is less or equal to HighLimit.
The output will be False (0) if the value of Input is outside of the range of the
LowLimit and HighLimit inputs.
Input(s)
32-Bit 8-Bit
Input Numeric ±3.4028×1038 -83886.08 to Block input. The value that is tested
+83886.07 whether it is within range.
242 EC-gfxProgram
Block Objects
Output(s)
Equal
Description The output will be True (1) if the value of Input1 is equal to the value of
Input2 (Input1 = Input2).
The output will be False (0) if the value of Input1 is not equal to the value of
Input2 (Input1 Input2).
Input(s)
32-Bit 8-Bit
Inputx Numeric ±3.4028×1038 -83886.08 to Block input. The two values that are
+83886.07 compared. For a Null Input value, see
(x=1 to 2)
below.
EC-gfxProgram 243
Output(s)
Greater or Equal
Description The output will be True (1) if the value of Input1 is greater than or equal to the
value of Input2 (Input1 Input2).
The output will be False (0) if the value of Input1 is less than the value of
Input2 (Input1 < Input2).\
Input(s)
32-Bit 8-Bit
Input1 Numeric ±3.4028×1038 -83886.08 to Block input. The value being compared.
+83886.07 For a Null Input value, see below.
Input2 Numeric ±3.4028×1038 -83886.08 to Block input. The comparator value. For a
+83886.07 Null Input value, see below.
244 EC-gfxProgram
Block Objects
Output(s)
Greater Than
Description The output will be True (1) if the value of Input1 is greater than the value of
Input2 (Input1 > Input2).
The output will be False (0) if the value of Input1 is less than or equal to the
value of Input2 (Input1 Input2).
Input(s)
32-Bit 8-Bit
EC-gfxProgram 245
Output(s)
Description An IsNull block evaluates if the input is Null according to the following logic
table.
Input Output
±3.4028×1038 0
Null 1
Input(S)
Input Numeric ±3.4028×1038 Block input. The value being tested for being Null.
Output(s)
246 EC-gfxProgram
Block Objects
Less or Equal
Description The output will be True (1) if the value of Input1 is less than or equal to the
value of Input2 (Input1 Input2).
The output will be False (0) if the value of Input1 is greater than the value of
Input2 (Input1 > Input2).
Input(s)
32-Bit 8-Bit
Input1 Numeric ±3.4028×1038 -83886.08 to Block input. The value being compared.
+83886.07 For a Null Input value, see below.
Input2 Numeric ±3.4028×1038 -83886.08 to Block input. The comparator value. For a
+83886.07 Null Input value, see below.
Output(s)
EC-gfxProgram 247
Less Than
Description The output will be True (1) if the value of Input1 is less than the value of
Input2 (Input1 < Input2).
The output will be False (0) if the value of Input1 is greater than or equal to
the value of Input2 (Input1 Input2).
Input(s)
32-Bit 8-Bit
Input1 Numeric ±3.4028×1038 -83886.08 to Block input. The value being compared.
+83886.07 For a Null Input value, see below.
Input2 Numeric ±3.4028×1038 -83886.08 to Block input. The comparator value. For
+83886.07 a Null Input value, see below.
Output(s)
248 EC-gfxProgram
Block Objects
Not Equal
Description The output will be True (1) if the value of Input1 is not equal to the value of
Input2 (Input1 Input2).
The output will be False (0) if the value of Input1 is equal to the value of
Input2 (Input1 = Input2).
Input(s)
32-Bit 8-Bit
Inputx Numeric ±3.4028×1038 -83886.08 to Block input. The two values that are
+83886.07 compared. For a Null Input value, see
(x=1 to 2)
below.
Output(s)
EC-gfxProgram 249
Constants and variables
Constants are blocks that are mostly used to configure set values (setpoints,
delays, limits, etc.) that may need to be made available to an HMI. Variables
are blocks that are mostly used to monitor changing values or calculate new
values using old ones that may need to be made available to an HMI.
• Internal constant
• Internal variable (ECL, ECB & ECY Series)
• Null value (ECL, ECB & ECY Series)
About internal There is also another type of constant block. The Internal Constant block is
constants used within the program only and is not exposed to the network or an HMI.
Value blocks allow values to be changed during runtime while Internal Con-
stant blocks require the project code to be recompiled. The number of Values
that are available is limited as they are a resource while the number of Inter-
nal Constants is not limited in number.
About internal Internal Variable blocks are used to internally store results from a calculation
variables (the value is not available to the network). For example, it can be used to
store the highest value when using a For Loop. Also, it can be used to store a
value with persistence, to store the time for optimum start, or to calculate a
daily parameter that does not need to be on the network interface.
A unit can be assigned to the value. They can be formatted to any standard
enumeration or to Boolean values (True or False).
About null A special value to indicate ‘no value’ or an ‘unknown value’. See Null value
values (ECL, ECB & ECY Series). For example, for ECB & ECY Series controllers,
this is useful to release a priority for a value - see How commandable object
priority levels work.
250 EC-gfxProgram
Block Objects
Internal constant
Description Mainly used for internal math processing or for constant values that do not
requiring monitoring. They can be formatted to any standard enumeration or
to Boolean values (True or False).
NOTE: When the value of this block is modified, the project code must be
recompiled.
Persistence The current value is persistent; this allows a value to be saved during a con-
troller power cycle or reset. See Persistent values (ECP Series controllers)
and Persistent values (ECL, ECB & ECY Series controllers).
Input(s) N/A
Output(s)
32-Bit 8-Bit
32-Bit 8-Bit
EC-gfxProgram 251
Internal variable (ECL, ECB & ECY Series)
Description Used to internally store results from a calculation. The value is not available to
the network. For example, it can be used to store the highest value when
using a For Loop. Also, it can be used to store a value with persistence, to
store the time for optimum start, or to calculate a daily parameter that does
not need to be on the network interface but that must be stored in controller’s
memory when the device is reset.
A unit can be assigned to the value. They can also be formatted to any stan-
dard enumeration or to Boolean values (True or False).
Slim format This block can be collapsed into a slim format. See Collapsed in Common
support block properties.
Number of For ECL Series and ECB Series controllers: The number of Internal Variable
blocks block instances supported by a controller is shown in the Number drop-down
list in the Properties or Statistics panes.
For ECY Series controllers: see Supported number of BACnet objects with an
ECY Series controller.
Persistence Allows a value to be saved during a controller power cycle or reset. For ECL
Series and ECB Series controllers: the number of persistent Internal Variables
supported by a controller is shown in the Statistics pane, or refer to the con-
troller’s datasheet. For ECY Series controllers: see Supported number of
BACnet objects with an ECY Series controller. See Persistent values (ECL,
ECB & ECY Series controllers).
Advanced Resources Configuration, Set Value, Find All References (ECL, ECB & ECY
configuration Series), Copy From, Configure Ports, Show/Hide Ports
Related blocks Generic Internal Variable (ECL, ECB & ECY Series)
Input(s)
252 EC-gfxProgram
Block Objects
Output(s)
Number Menu See Internal Use this drop-down menu to select an instance
Description Variable 1 of this block. See Number of blocks for the
number of block instances supported by the
current controller model.
Persist Menu See False When this option is True, the output and mode is
Description preserved during a controller reset. The number
of persistent Internal Variables supported by a
controller is shown in the Statistics pane, or refer
to the controller’s datasheet. See Persistent
values (ECL, ECB & ECY Series controllers).
Description A special value to indicate ‘no value’ or an ‘unknown value’. For example, a
block’s output can have this value when the resource for the output is not
available. This can occur when a network connection is lost.
Input(s) N/A
EC-gfxProgram 253
Output(s)
254 EC-gfxProgram
Block Objects
There are two types of constant and variable blocks. Numeric blocks output
any decimal number between -83886.08 and +83886.07. They can be used
for several purposes including creating setpoints, storing the results of a cal-
culation, monitoring values, etc. Enumeration (enum) blocks output any inte-
ger value from -128 to 127. They are often used to correspond to various
equipment modes (HVAC, fan, occupancy, etc.) or as two-state Boolean val-
ues representing “True” or “on” with a value of 1 and “False” or “off” with a
value of 0.
There is also another type of constant block. The Internal constant block is
used within the program only and is not exposed to the network or an HMI.
Constant and Variable blocks allow values to be changed during runtime while
Internal Constant blocks require the project code to be recompiled. The
number of Constants and Variables that are available is limited as they are a
resource while the number of Internal Constants is not limited in number.
Example Constants and Variables are blocks that are used to set and monitor values.
These values are either used for internal calculation only or they can be
exposed to the network. The example below shows how a Supply Air Tem-
perature Setpoint (Variable Numeric block) is calculated based on the Out-
door Air Temperature (Hardware Input block) being interpolated linearly
(Linear block) and limited (Limit block) by a Maximum and Minimum Supply
Air Temperature (Constant Numeric blocks) and a maximum and minimum
outdoor air temperature (Internal Constant block).
The Internal Constant blocks set the outdoor air temperature limits, which
are not required to change. The Constant Numeric blocks set the supply air
temperature min and max values, which can be changed through an HMI over
the network. The Linear block then creates a linear interpolation based on
these min and max values and the Limit block sets the values received from
EC-gfxProgram 255
the Constant Numeric blocks as outdoor air temperature limits. The Hard-
ware Input block sends the value of the Outdoor Air Temperature and the
Supply Air Temperature Setpoint is calculated and outputted by the Limit
block to the Variable Numeric block where it can be monitored by an HMI
over the network.
Description Mainly used for adjustable mode values or for constant values requiring moni-
toring. They can be formatted to any standard enumeration or to Boolean val-
ues (True or False). These blocks are available in a structured configuration
property (UCPT_constant_enum_1to31) implemented as a NCI (nciCe1_31).
The user can read or write the values of the Constant Enum blocks 1 to 31
directly through these configuration properties.
Number of 31
blocks
Advanced Edit Value (ECP Series),Creating and using enumerations (ECP Series),
configuration Copy From, Configure Ports, Show/Hide Ports
Input(s) N/A
Output(s)
Output Enum -128 to 127 Block output. The constant enumeration value.
256 EC-gfxProgram
Block Objects
Number Menu 1 to 31 Constant Use this drop-down menu to select from the
Enum 1 31 available block instances.
See
Description
NOTE: When a new block instance is added
to the Programming Sheet, the
block’s number is incremented to
the next available block number
according to the current Auto Incre-
ment setting. See Auto Increment
(ECP & ECL Series and ECB Series
Controllers only).
Description Mainly used for adjustable setpoint values or for constant values requiring
monitoring. These blocks are available in four structured configuration proper-
ties and implemented as NCIs as follows.
UCPT_constant_num_1to7nciCn1_7
UCPT_constant_num_8to14nciCn8_14
UCPT_constant_num_15to21nciCn15_21
UCPT_constant_num_22to28nciCn22_28
The user can read or write the values of the Constant Numeric blocks 1 to 7,
8 to 14, 15 to 21, and 22 to 28 directly through these configuration properties.
Number of 28
blocks
EC-gfxProgram 257
Advanced Edit Value (ECP Series), Copy From, Configure Ports, Show/Hide Ports
configuration
Input(s) N/A
Output(s)
Description Mainly used for variable values requiring monitoring. They can be formatted to
any standard enumeration or to Boolean values (True or False). These blocks
are available in a structured Network Variable Output (NVO). nvoVe1_27 con-
tains the values and modes of Variable Enum blocks 1 to 27. The user can
read the values and modes of the Variable Enum blocks directly through this
NVO. nviModify can be used to write to the values and modes of the blocks by
specifying the internal value type (Enum Variable), the index (Block Number),
the mode (Automatic or Manual) and the value (-128 to 127).
258 EC-gfxProgram
Block Objects
Number of 27
blocks
Advanced Edit Mode and Value (ECP Series), Creating and using enumerations (ECP
configuration Series), Copy From, Configure Ports, Show/Hide Ports
Input(s)
Output(s)
Output Enum -128 to 127 Block output. The read (Automatic) value or set (Manual)
value.
Number Menu 1 to 27 Variable Use this drop-down menu to select from the
Enum 1 27 available block instances.
See
Description
NOTE: When a new block instance is added
to the programming sheet, the
block’s number is incremented to
the next available block number
according to the current Auto Incre-
ment setting. See Auto increment
(ECP & ECL Series and EBC Series
controllers only).
Persist Menu See False When this option is True, the output and
Description mode is preserved during any type of reset.
EC-gfxProgram 259
Variable Numeric (ECP Series)
Description Mainly used for variable values requiring monitoring. These blocks are avail-
able in 5 structured NVOs as follows.
nvoVn1_7 1 to 7
nvoVn8_14 8 to 14
nvoVn15_21 15 to 21
nvoVn22_28 22 to 28
nvoVn29_35 29 to 35
The user can read the values and modes of the Variable Numeric blocks
directly through these NVOs. nviModify can be used to write to the values and
modes of the blocks by specifying the internal value type (NUM_VARIABLE),
the index (Block Number), the mode (Automatic or Manual) and the value (-
83886.08 to 83886.07)(±3.4028×1038).
The block can be set to be controller specific to allow the option of not over-
writing the value during code synchronization (see Project Synchronization).
This is useful to avoid overwriting VAV box balancing values when sending
updated code to two or more controllers.
Number of 35
blocks
Advanced Edit Mode and Value (ECP Series), Copy From, Configure Ports, Show/Hide
configuration Ports
Input(s)
260 EC-gfxProgram
Block Objects
Output(s)
Output Numeric -83886.08 to Block output. The read (Automatic) value or set (Manual)
+83886.07 value.
Number Menu 1 to 35 Variable Use this drop-down menu to select from the
Numeric 1 35 available block instances.
See
Description
NOTE: When a new block instance is added
to the programming sheet, the
block’s number is incremented to
the next available block number
according to the current Auto Incre-
ment setting. See Auto increment
(ECP & ECL Series and EBC Series
controllers only).
Persist Menu See False When this option is True, the output and
Description mode is preserved during any type of reset.
EC-gfxProgram 261
ECL Series specific constant and variable blocks
Constants are blocks that are mostly used to configure set values (setpoints,
delays, limits, etc.) that may need to be made available to an HMI. Variables
are blocks that are mostly used to monitor changing values or calculate new
values using old ones that may need to be made available to an HMI.
Values and Values and constants are stored in any one of the following data types.
constants
• A Value data type has a range of any numeric number between
±3.4028×1038. This data type can be used for several purposes including
creating setpoints, storing the result of a calculation, monitoring values,
etc.
• An Enum data type has a range of any integer value from -128 to 127.
They are often used to correspond to various equipment modes (HVAC,
fan, occupancy, etc.).
• A Boolean data type represents two-states: “True” with a value of 1 and
“False” with a value of 0.
Initial value A constant sets the initial value for a process or setpoint. A value can be mod-
ified during debugging and is exposed to the network.
These blocks can be set to be controller specific to allow the option of not
overwriting the value during project code synchronization (see Project Syn-
chronization). This is useful to avoid overwriting values when sending
updated project code to two or more controllers.
Example Values and Constants are blocks that are used to set and monitor values.
These values are either used for internal calculation only or they can be
exposed to the network. The example below shows how a Supply Air Tem-
perature Setpoint (Numeric Value block) is calculated based on the Outdoor
Air Temperature (Hardware Input block) being interpolated linearly (Linear
block) and limited (Limit block) by a Maximum and Minimum Supply Air Tem-
262 EC-gfxProgram
Block Objects
perature (Numeric Value blocks) and a maximum and minimum outdoor air
temperature (Internal constant block).
The Internal Constant blocks set the outdoor air temperature limits, which
are not required to change. The Numeric Value blocks set the supply air tem-
perature min and max values, which can be changed through an HMI over the
network. The Linear block then creates a linear interpolation based on these
min and max values and the Limit block sets the values received from the
Numeric Value blocks as outdoor air temperature limits. The Hardware Input
block sends the value of the Outdoor Air Temperature and the Supply Air
Temperature Setpoint is calculated and outputted by the Limit block to the
Numeric Value block where it can be monitored by an HMI over the network.
Description Used for True or False constant values. They can be formatted to a Boolean
value (True or False). These blocks are available in one structured configura-
tion property (UCPT_constant_bool_1to124)implemented as an NCI
(nciCb01_124). The user can read or write the values of the Boolean Con-
stant blocks 1 to 124 directly through this configuration property.
Configuration parameters for this block are set in the Resources Configura-
tion window. This sets the Initial Value for this block according to the format
that has been applied to the block when the controller is Online. Values writ-
ten at the Input ports will overwrite the value set in this window (the current
value can be viewed in the Constants tab, Present Value column of the
Resource Viewer). The following value ranges are valid: True / False.
Slim format This block can be collapsed into a slim format. See Collapsed in Common
support block properties.
EC-gfxProgram 263
Persistence The current value is persistent; this allows a value to be saved during a con-
troller power cycle or reset. See Persistent values (ECL, ECB & ECY Series
controllers).
Advanced Resources Configuration, Set Constant (ECL Series), Find All References
configuration (ECL, ECB & ECY Series), Copy From, Configure Ports, Show/Hide Ports
Input(s)
Output(s)
Number Menu See Boolean Use this drop-down menu to select an instance
Descripti Constant 1 of this block. See Number of blocks for the
on number of block instances supported by the
current controller model.
264 EC-gfxProgram
Block Objects
Description Used for True or False constant values. Mainly used for variable values
requiring monitoring. These blocks are available in one structured Network
Variable Output (nvoVb1_124) as follows. The user can read and write to the
values of the Boolean Value blocks 1 to 124 directly through this NVO. nvi-
Modify can be used to write to the values and modes of the blocks by specify-
ing the internal value type (BOOL_VARIABLE), the index (Block Number), the
mode (Automatic or Manual), and the value (True or False).
The block can be set to be controller specific to allow the option of not over-
writing the value during project code synchronization (see Project Synchroni-
zation). This is useful to avoid overwriting values when sending updated
project code to two or more controllers.
Slim format This block can be collapsed into a slim format. See Collapsed in Common
support block properties.
Persistence The current value is persistent; this allows a value to be saved during a con-
troller power cycle or reset. See Persistent values (ECL, ECB & ECY Series
controllers).
Input(s)
EC-gfxProgram 265
Output(s)
Output Digital 0 or 1 Block output. The actual value read (Automatic) or set
value (Manual).
266 EC-gfxProgram
Block Objects
Description Used for enumeration constant values. They can be formatted to any stan-
dard enumeration. These blocks are available in two structured configuration
properties and implemented as NCIs as follows.
Structured configuration
NCIs
properties
UCPT_constant_enum_1to31 nciCe01_31
UCPT_constant_enum_32to62 nciCe32_62
The user can read or write the values of the Enum Constant blocks 1 to 31
and 32 to 62 directly through this configuration property.
Configuration parameters for this block are set in the Resources Configura-
tion window. This sets the Initial Value for this block according to the format
that has been applied to the block when the controller is Online. Values writ-
ten at the Input ports will overwrite the value set in this window (the current
value can be viewed in the Constants tab, Present Value column of the
Resource Viewer). The following value ranges are valid: Any integer value
between -128 and 127.
Slim format This block can be collapsed into a slim format. See Collapsed in Common
support block properties.
Persistence The current value is persistent; this allows a value to be saved during a con-
troller power cycle or reset. See Persistent values (ECL, ECB & ECY Series
controllers).
EC-gfxProgram 267
Input(s)
Output(s)
Output Enum -128 to 127 Block output. The enumeration constant value.
268 EC-gfxProgram
Block Objects
Description Used for enumeration values. Mainly used for variable values requiring moni-
toring. These blocks are available in two structured Network Variable Outputs
(NVOs) as follows.
nvoVe1_27 1 to 27
nvoVe28_54 28 to 54
The user can read and write to the values of the Enum Value blocks directly
through this NVO. nviModify can be used to write to the values and modes of
the blocks by specifying the internal value type (Enum Variable), the index
(Block Number), the mode (Automatic or Manual), and the value (-128 to
127).
The block can be set to be controller specific to allow the option of not over-
writing the value during project code synchronization (see Project Synchroni-
zation). This is useful to avoid overwriting VAV box balancing values when
sending updated project code to two or more controllers.
Slim format This block can be collapsed into a slim format. See Collapsed in Common
support block properties.
Persistence The current value is persistent; this allows a value to be saved during a con-
troller power cycle or reset. See also Persistent values (ECL, ECB & ECY
Series controllers).
EC-gfxProgram 269
Input(s)
Output(s)
Output Enum -128 to 127 Block output. The read (Automatic) value or set
(Manual) value.
270 EC-gfxProgram
Block Objects
Description Used for numeric constant values. These blocks are available in eight struc-
tured configuration properties and implemented as NCIs as follows.
UCPT_constant_numf_1to7 nciCn01_07
UCPT_constant_numf_8to14 nciCn08_14
UCPT_constant_numf_15to21 nciCn15_21
UCPT_constant_numf_22to28 nciCn22_28
UCPT_constant_numf_29to35 nciCn29_35
UCPT_constant_numf_36to42 nciCn36_42
UCPT_constant_numf_43to49 nciCn43_49
UCPT_constant_numf_50to56 nciCn50_56
The user can read or write the values of the Numeric Constant blocks 1 to 7, 8
to 14, 15 to 21, 22 to 28, 29 to 35, 36 to 42, 43 to 49, and 50 to 56 directly
through this configuration property.
Configuration parameters for this block are set in the Resources Configura-
tion window. This sets the Initial Value for this block according to the format
that has been applied to the block when the controller is Online. Values writ-
ten at the Input ports will overwrite the value set in this window (the current
value can be viewed in the Constants tab, Present Value column of the
Resource Viewer). The following value ranges are valid: Any decimal value
between ±3.4028×1038.
Slim format This block can be collapsed into a slim format. See Collapsed in Common
support block properties.
Persistence The current value is persistent; this allows a value to be saved during a con-
troller power cycle or reset. See also Persistent values (ECL, ECB & ECY
Series controllers).
Advanced Resources Configuration, Set Constant (ECL Series), Find All References
configuration (ECL, ECB & ECY Series), Copy From, Configure Ports, Show/Hide Ports
EC-gfxProgram 271
Related blocks Generic Numeric Constant (ECL Series)
Input(s)
Output(s)
272 EC-gfxProgram
Block Objects
Description Mainly used for variable values requiring monitoring. These blocks are avail-
able in eight structured NVOs as follows.
nvoVn1_7 1 to 7
nvoVn8_14 8 to 14
nvoVn15_21 15 to 21
nvoVn22_28 22 to 28
nvoVn29_35 29 to 35
nvoVn36_42 36 to 42
nvoVn43_49 43 to 49
nvoVn50_56 50 to 56
The user can read the values and modes of the Numeric Value blocks directly
through these NVOs. nviModify can be used to write to the values and modes
of the blocks by specifying the internal value type (NUM_VARIABLE), the
index (Block Number), the mode (Automatic or Manual) and the value
(±3.4028×1038).
The block can be set to be controller specific to allow the option of not over-
writing the value during project code synchronization (see Project Synchroni-
zation). This is useful to avoid overwriting VAV box balancing values when
sending updated project code to two or more controllers.
Slim format This block can be collapsed into a slim format. See Collapsed in Common
support block properties.
Persistence The current value is persistent; this allows a value to be saved during a con-
troller power cycle or reset. See Persistent values (ECL, ECB & ECY Series
controllers).
EC-gfxProgram 273
Advanced Resources Configuration, Network Properties Configuration window (ECL,
configuration ECB & ECY Series), Override and auto, Set Value, Find All References (ECL,
ECB & ECY Series), Copy From, Configure Ports, Show/Hide Ports
Input(s)
Output(s)
Output Numeric ±3.4028×1038 Block output. The read (Automatic) value or set
(Manual) value.
274 EC-gfxProgram
Block Objects
Description Used to set the initial values of multiple heating and cooling setpoints. These
blocks are available in one structured configuration property (SCPTsetPnts)
implemented as an nci (nciSetPoint). The user can read or write the values of
the Setpoint constant block directly through this configuration property.
The block can be set to be controller specific to allow the option of not over-
writing the value during project code synchronization (see Project Synchroni-
zation). This is useful to avoid overwriting setpoint values when sending
updated project code to two or more controllers.
Slim format This block can be collapsed into a slim format. See Collapsed in Common
support block properties.
Number of 1
blocks
Advanced Resources Configuration, Edit Value (ECP Series), Set Constant (ECL
configuration Series), Advanced configuration, SCPTsetPnts Value, Find All References
(ECL, ECB & ECY Series), Copy From, Configure Ports, Show/Hide Ports,
Creating and using enumerations (ECL Series)
EC-gfxProgram 275
Input(s)
Occupied Cool Numeric -273.17 to 327.67ºC The Occupied Cool setpoint input.
-459.7 to 621.8ºF
Occupied Heat Numeric -273.17 to 327.67ºC The Occupied Heat setpoint input.
-459.7 to 621.8ºF
Output(s)
Occupied Cool Numeric -273.17 to 327.67ºC The Occupied Cool setpoint output.
-459.7 to 621.8ºF
Occupied Heat Numeric -273.17 to 327.67ºC The Occupied Heat setpoint output.
-459.7 to 621.8ºF
276 EC-gfxProgram
Block Objects
Advanced Configuration parameters for this block are set in the Resources Configura-
configuration tion window where the initial value of multiple heating and cooling setpoints.
Values written at the Input ports will overwrite the corresponding value set in
this window.
Parameter Description
SCPTsetPnts Set the value according to the format that has been applied to the block.
Value
Figure 188: Setpoint Constant configuration window
Parameter Description
EC-gfxProgram 277
Parameter Description
278 EC-gfxProgram
Block Objects
Values are blocks that are mostly used to monitor changing values or calcu-
late new values using old ones that may need to be made available to an HMI.
Values
Values are stored in any one of the following data types.
• An Analog Value data type has a range of any numeric number between
±3.4028×1038. This data type can be used for several purposes including
creating setpoints, storing the result of a calculation, monitoring values,
etc.
• A Multi-State Value data type has a range of any integer value from 1 to
255. They are often used to correspond to various equipment modes
(HVAC, fan, occupancy, etc.).
• Binary Value data type represents two-states: “Active” with a value of 1
and “Inactive” with a value of 0.
Commandable For ECB Series controllers only: certain instances of Values blocks are com-
values (ECB mandable. The main interest in using a Commandable value is it allows the
Series Present Value to be overridden. Typically, a setpoint value is not manually
controllers) overridden but simply replaced with a new value that has a higher priority.
However, the result of a calculation such as the cooling load may need to be
manually overridden for test purposes or to provide additional cooling.
There are two sub-types of each Values block that are available: Command-
able and Non-commandable Values. Both types of Values can be used for any
application such as storing a setpoint value or the result of a calculation such
as totaling the cooling load. In the Toolbox, the same object can represent
either a Commandable or Non-commandable Values. See Non-commandable
and commandable objects for standard BACnet objects. Once an Analog
Value (ECB & ECY Series) block, Multi State Value (ECB & ECY Series)
EC-gfxProgram 279
block, or Binary Value (ECB & ECY Series) block has been dropped on the
Programming Sheet, you select the instance number of the block, by which
you also choose to make the block instance Commandable or not. The num-
ber of block instances supported by the connected controller is shown during
block instance selection or in the Statistics pane.
Figure 189: Setting the block number (in the block‘s properties pane) selects whether
the block instance is commandable or not (ECB Series controllers)
Commandable For ECY Series controllers only: all instances of Values blocks are command-
values (ECY able. Commandable values allow the Present Value to be overridden. Typi-
Series cally, a setpoint value is not manually overridden but simply replaced with a
controllers) new value that has a higher priority. However, the result of a calculation such
as the cooling load may need to be manually overridden for test purposes or
to provide additional cooling.
280 EC-gfxProgram
Block Objects
Example Constants and Variables are blocks that are used to set and monitor values.
These values are either used for internal calculation only or they can be
exposed to the network. The example below shows how a Supply Air Tem-
perature Setpoint (Analog Value block) is calculated based on the Outdoor
Air Temperature (Hardware Input block) being interpolated linearly (Linear
block) and limited (Limit block) by a Maximum and Minimum Supply Air Tem-
perature (Analog Value blocks) and a maximum and minimum outdoor air
temperature (Internal constant block).
The Internal Constant blocks set the outdoor air temperature limits, which
are not required to change. The Analog Value blocks set the supply air tem-
perature min and max values, which can be changed through an HMI over the
network. The Linear block then creates a linear interpolation based on these
min and max values and the Limit block sets the values received from the
Analog Value blocks as outdoor air temperature limits. The Hardware Input
block sends the value of the Outdoor Air Temperature and the Supply Air
Temperature Setpoint is calculated and outputted by the Limit block to the
Analog Value block where it can be monitored by an HMI over the network.
Description Used for either non-commandable constants (used for adjustable setpoint val-
ues for example) or commandable variables that support command priorities
(used for automatic control with manual override for example).
EC-gfxProgram 281
Alarms (ECB & ECY Series) are available with B-AAC and B-BC controller
models only (see the controller’s datasheet for more information) and for ECB
Series controllers, commandable value instances of this block only (see Com-
mandable value).
Slim format This block can be collapsed into a slim format. See Collapsed in Common
support block properties.
Number of For ECB Series controllers: The number of Analog Value block instances sup-
blocks ported by a controller is shown in the Number drop-down list in the Properties
or Statistics panes. When selecting a block instance, it is possible to see
which Values are Commandable and which are not.
For ECY Series controllers: see Supported number of BACnet objects with an
ECY Series controller.
Persistence Allows a value to be saved during a controller power cycle or reset. See Per-
sistent values (ECL, ECB & ECY Series controllers).
Advanced Network Properties Configuration window (ECL, ECB & ECY Series),
configuration Resources Configuration, BACnet network properties, Alarms (ECB & ECY
Series), Emergency override and emergency auto (ECB & ECY Series),
Override and auto, Set Value, Find All References (ECL, ECB & ECY Series),
Copy From, Configure Ports, Show/Hide Ports
282 EC-gfxProgram
Block Objects
Input(s)
TriggerTrend Digital 0 or 1 When Trend Logs are enabled for this object
Log and the Logging Type is set to Triggered, a
pulse at this input forces the present value to be
recorded in the object’s trend log. See Trending
(ECY Series).
Alarm Setpoint Numeric ±3.4028×1038 When alarms are enabled for this block (see
(B-AAC and B- Alarms (ECB & ECY Series)), a positive input
BC controllers value increases the alarm setpoint values set in
only) the Resources Configuration’s Alarms
configuration for the block (a negative value
reduces the alarm setpoint values): The High
limit is now the High limit value (set in the
Resources Configuration’s Alarms configuration
for the block) plus AlarmSetpoint and the Low
limit is now the Low limit value (set in the
Resources Configuration’s Alarms configuration
for the block) plus AlarmSetpoint. See
Dynamic alarm activation thresholds adjust.
EC-gfxProgram 283
Output(s)
284 EC-gfxProgram
Block Objects
Description Used for either non-commandable constants (used for True or False values
for example) or commandable variables that support command priorities
(used for automatic control with manual override for example).
Alarms (ECB & ECY Series) are available with B-AAC and B-BC controller
models only (see the controller’s datasheet for more information) and for ECB
Series controllers, commandable value instances of this block only (see Com-
mandable value).
For ECY Series controllers, alarms that have been configured for this block
can be suppressed by turning off the block’s alarm management so that while
EC-gfxProgram 285
this mechanism is engaged, no alarms will be reported by the block. See
AlarmInhibit input (ECY Series controllers).
Slim format This block can be collapsed into a slim format. See Collapsed in Common
support block properties.
Number of For ECB Series controllers: The number of Binary Value block instances sup-
blocks ported by a controller is shown in the Number drop-down list in the Properties
pane (see Commandable value) or in the Statistics pane. When selecting a
block instance, it is possible to see which Values are Commandable and
which are not.
For ECY Series controllers: see Supported number of BACnet objects with an
ECY Series controller.
Persistence Allows a value to be saved during a controller power cycle or reset. See Per-
sistent values (ECL, ECB & ECY Series controllers).
Input(s)
286 EC-gfxProgram
Block Objects
Priority Integer 1 to 16 For a Commandable Value only, the value at the Input is
written at the priority level specified at this input. If a value
is not linked to this input, the value at the Input is written
into the default priority level. See Commandable object
priority array levels.
AlarmValue Digital 0 or 1 When alarms are enabled for this block (see Alarms (ECB
(B-AAC & B- & ECY Series)), this input overrides the alarm value set in
BC the Resources Configuration’s Alarms configuration for
controllers the block.
only)
NOTE: When the AlarmValue input is disconnected, you
must reset the controller (see Project Synchroniza-
tion) or connect a Null value (ECL, ECB & ECY
Series) block to this port so the controller will
release this port as being unconnected.
When the AlarmValue input is disconnected, the
alarm value property can be overwritten through
the BACnet interface.
TriggerTrend Digital 0 or 1 When Trend Logs are enabled for this object and the
Log Logging Type is set to Triggered, a pulse at this input
forces the present value to be recorded in the object’s
trend log. See Trending (ECY Series).
ResetElapse Digital 0 or 1 A pulse at this input resets the timer for the
dActiveTime ElapsedActiveTime output (see below).
ResetChang Digital 0 or 1 A pulse at this input resets the counter for the
eOfStateCou ChangeOfStateCount output (see below).
nt
Output(s)
EC-gfxProgram 287
Port Type Range Description
Elapsed Numeric 3.4028×1038 Cumulates the time this value is set to true (1).
ActiveTime
(ECY Series
controllers
only)
ChangeOf Numeric 3.4028×1038 Cumulates the number of this value’s state changes.
StateCount
(ECY Series
controllers
only)
Number Menu See Binary Use this drop-down menu to select an instance
Description Value 1 of this block. See Number of blocks for the
number of block instances supported by the
current controller model.
288 EC-gfxProgram
Block Objects
These blocks are network read/writable as BACnet objects. They can be for-
matted to any standard enumeration or to Boolean values (True or False). For
more information about the enumeration to use with this block, see Creating
and using enumerations (8-Bit).
Alarms (ECB & ECY Series) are available with B-AAC and B-BC controller
models only (see the controller’s datasheet for more information) and for ECB
Series controllers, commandable value instances of this block only (see Com-
mandable value).
For ECY Series controllers, alarms that have been configured for this block
can be suppressed by turning off the block’s alarm management so that while
this mechanism is engaged, no alarms will be reported by the block. See
AlarmInhibit input (ECY Series controllers).
Slim format This block can be collapsed into a slim format. See Collapsed in Common
support block properties.
EC-gfxProgram 289
Number of For ECB Series controllers: The number of Multi State Value block instances
blocks supported by a controller is shown in the Number drop-down list in the Prop-
erties or Statistics panes. When selecting a block instance, it is possible to
see which Values are Commandable and which are not.
For ECY Series controllers: see Supported number of BACnet objects with an
ECY Series controller.
Persistence Allows a value to be saved during a controller power cycle or reset. See Per-
sistent values (ECL, ECB & ECY Series controllers).
Input(s)
Priority Integer 1 to 16 For a Commandable Value only, the value at the Input is
written at the priority level specified at this input. If a
value is not linked to this input, the value at the Input is
written into the default priority level. See Commandable
object priority array levels.
290 EC-gfxProgram
Block Objects
Output(s)
Fault (B-AAC Digital 0 or 1 When Enable Alarms is set for this block and the
and B-BC block is in an alarm state, only the InAlarm output is
controllers On (1). When the block is in a fault state, both the
only) InAlarm and Fault outputs are On (1).
InAlarm (B- Digital 0 or 1 See Alarms (ECB & ECY Series) to configure the
AAC and B- alarm settings.
BC
controllers
only)
Number Menu See Multi State Use this drop-down menu to select an
Description Value 1 instance of this block. See Number of
blocks for the number of block instances
supported by the current controller
model.
EC-gfxProgram 291
292 EC-gfxProgram
Custom
For Loop (ECL, ECB & Is used to simplify project code by using a
ECY Series) For Loop block that can sequentially
process data. This block is usually used with
Generics blocks.
Loop Info (ECL, ECB & Is used with the For Loop block only.
ECY Series)
The Conditional Custom Block, Custom Block, and For Loop blocks can
also be used to create blocks that do not already exist in the standard Toolbox
pane and they can be saved in the Code Library pane for easy reuse (see
Saving a code snippet). A Custom block can also be converted into a toolbox
with The Toolbox Builder Tool.
EC-gfxProgram 293
Creating project code in a custom document
Create project code in a Custom block, a Conditional Custom Block, or a For
Loop (ECL, ECB & ECY Series) block object as follows.
294 EC-gfxProgram
Sheet document to the calling block object. See Adding exported inputs
and exported outputs.
Figure 196: Content of the conditional custom block, custom block, or For loop block objects
• Adding Exported Input blocks and Exported Output blocks from the
Toolbox. Connect a graphic control sequence to these inputs and outputs
as usual. Set the name for these blocks in the Properties pane.
Figure 197: Creating exported input and output objects
• Right-clicking an object’s input or output port and select Link To in the list
and then Exported Input or Exported Output.
Figure 198: Creating an Exported Input or Exported Output block
NOTE: Exported input and output ports can be renamed and reordered in the
Conditional Custom Block, Custom Block, or For Loop blocks
through the Configure Ports window.
EC-gfxProgram 295
About exported input and output formats
Setting the format of a Conditional Custom Block, Custom block, or For Loop
(ECL, ECB & ECY Series) blocks output also applies the change to the output
that is linked to that port inside the Conditional Custom Block, Custom
Block, or For Loop block’s Programming Sheet document. Equally, setting
the format of a block that is linked to an input of a Conditional Custom
Block, Custom Block, or For Loop block changes the format at that input
and consequently the format of that input for that port inside the Conditional
Custom Block, Custom Block, or For Loop block’s Programming Sheet
document.
The ConnectionType property controls how the port for this block will behave
on the Conditional Custom Block, Custom block, or For Loop (ECL, ECB &
ECY Series) block.
• Automatic: The port inherits the connection type from the input port of
the block it is connected to. For example, making a connection to the first
two Add block inputs are mandatory (as shown by the or symbol at
the input port), therefore the first two Custom block inputs have inherited
this property and making a connection to the first two Custom Block
inputs are also mandatory. Likewise, making a connection to the third
Add block inputs is optional (there is no or symbol at the input port),
therefore the third Custom Block input has inherited this property and
making a connection to the third Custom Block input is also mandatory.
Figure 200: The exported input automatic property setting inherits the connection type requirement from the
connected port
Conditional Custom Block, Custom Block, or For Loop Block programming sheet
296 EC-gfxProgram
If the Exported Input block is connected to two or more block inputs, any of
which are mandatory (as shown by the or symbol at the input port), the
Custom Block input will also be mandatory.
Figure 202: MinValidValue and MaxValidValue inputs are unlimitted when left
unconnected due to the OptionalValue being set to -Infinity and +Infinity
EC-gfxProgram 297
Show in Containing Page
When viewing project code inside a Conditional Custom Block, a Custom
block, or a For Loop (ECL, ECB & ECY Series), and you want to return to the
Conditional Custom Block, Custom Block, or For Loop block object, right-
click a blank area of the programming sheet and select Show in Containing
Page.
Figure 203: Returning to the Conditional Custom Block, Custom Block, or For Loop
(ECL, ECB & ECY Series) block objects
Encapsulate When you have project code that you want to make into a Custom block or a
shortcut Conditional Custom Block, use the Encapsulate shortcut which allows you to
select one or more blocks and to move them into a Custom Block or a Con-
ditional Custom Block. Proceed as follows.
298 EC-gfxProgram
The results are shown below. The input and output ports of the Custom
Block/Conditional Custom Block can be renamed if necessary or re-
ordered (change the order in which the ports are shown): right-click the Cus-
tom Block or Conditional Custom Block and select Configure Ports. See
Configure Ports.
This Custom Block can then be reused by copying and pasting it or by saving
it as a code snippet so it can be easily reused from the Code Library. See
Saving a code snippet. A Custom block can also be converted into a toolbox
with The Toolbox Builder Tool.
This block is used as the root block when creating a toolbox. See The Toolbox
Builder Tool for more information.
Slim format This block can be collapsed into a slim format. See Collapsed in Common
support block properties.
Related blocks Exported Input, Exported Output (see Adding exported inputs and exported
outputs)
EC-gfxProgram 299
Input(s)
Enabled Digital 0 or 1 Used to enable or disable the block. Setting this to 0 disables the
block while setting it to 1 enables the block. If the block is
disabled, each connected output holds the last value. For this
reason, each output will consume 1 unit of RAM.
When this block is disabled, the programming sheet for this block
shows the following message: This logic is not currently
executed by the device.
Programmatic String Unlimited [blank] Assign a name to this block’s type or class
Name for identification purposes. This text is
shown underneath the block’s name. This is
useful when you are creating code snippets
or a toolbox.
When left blank, the default block’s type is
shown underneath the block’s name
(Conditional Custom Block).
Creating a Add a Conditional Custom Block object to a project. See Creating project
custom block code in a custom document and Show in Containing Page.
document
By adding Exported Input objects and Exported Output objects on the pro-
gramming sheet document for the new Conditional Custom Block, inputs
and outputs are added to the Conditional Custom Block object.
Figure 206: Custom Block with exported input and exported output objects in the
corresponding document
300 EC-gfxProgram
Example Custom blocks simplify control sequence representation by allowing a com-
plex project code to be built within a single block. Therefore, as seen in the
example below, an apparently simple control sequence that uses a wireless
Light Switch (Wireless Sensor block) to dim (Conditional Custom block) a
Light (Hardware Output block) is displayed (see figure below). However,
within the Conditional Custom block is a more complex project code consist-
ing of several Internal constant blocks, a Switch block, an Add block, and a
Limit block (see figure below).
The only exposed inputs to the Conditional Custom block are Input
(exported input) and Enabled. Each time the Light Switch (Wireless Sensor
block) is pressed, a pulse is sent that enables the Conditional Custom block
and the On or Off signal is sent to the Input of the Conditional Custom
block. The inputted value is then taken inside the Conditional Custom block
to follow the sequence and is then sent to the exported output, Level, and in
turn to the Light (Hardware Output block).
Inside the Conditional Custom block, the Input value is sent to the Switch
block. Internal Constant blocks are used by the Switch block to increase or
decrease the light dimming level by 10% depending on whether the Light
Switch is turned On or Off. The Add block receives the increase or decrease
to the light dimming level from the Switch block and adds it to the current
level. The Limit block receives the Output of the Add block, evaluates if it is
within the High and Low limits specified by a pair of Internal Constant blocks
and outputs the current dimming level to the Add block and the Level output
of the Conditional Custom block.
EC-gfxProgram 301
Custom block
This block is used as the root block when creating a toolbox. See The Toolbox
Builder Tool for more information.
Slim format This block can be collapsed into a slim format. See Collapsed in Common
support block properties.
Advanced Configure Ports, Show/Hide Ports, Adding exported inputs and exported out-
configuration puts
Creating a Add a Custom Block block to a project. See Creating project code in a cus-
Custom Block tom document and Show in Containing Page.
document
By adding Exported Input blocks and Exported Output blocks on the pro-
gramming sheet document within the new Custom Block, inputs and outputs
are added to the Custom Block block.
Figure 209: Custom Block with exported input and exported output blocks in the
corresponding document
302 EC-gfxProgram
See Adding exported inputs and exported outputs.
The only exported input in the Custom block is Outdoor Air Temperature. The
Outdoor Air Temperature value inputted into this port from the Hardware
Input block is then taken inside the Custom block to follow the sequence and
is then sent to the exported output, Supply Air Temperature Setpoint.
Inside the Custom block, the Outdoor Air Temperature input is sent to the
Linear block. Supply air and outdoor air temperature min and max values
from the Internal Constant blocks are used by the Linear block to create a
linear interpolation. The Limit block receives the Output of the Linear block,
evaluates it against the High and Low outdoor air temperature min and max
values from the Internal Constant blocks and outputs the result to the Supply
Air Temperature Setpoint output of the Custom block.
Description Used to execute project code created on the associated programming sheet a
pre-determined number of times as set by the StartIndex and StopIndex.
This block is typically used to compare multiple network values between each
other (use Generic Network Value (ECB & ECY Series)), to find the average,
highest/lowest value, etc.
EC-gfxProgram 303
The output of the related Loop Info block shows the current value of the For
Loop (see Adding a Loop index).
Advanced Configure Ports, Show/Hide Ports, Adding exported inputs and exported out-
configuration puts
Related blocks Loop Info (ECL, ECB & ECY Series), Exported Input, Exported Output (see
Adding exported inputs and exported outputs)
Input(s)
StartIndex Integer -16 777 216 to The count start point. Each time the loop has completed,
16 777 216 the index is increased by 1.
StopIndex Integer -16 777 216 to When the index is greater than or equal to the value of
16 777 216 StopIndex, the loop stops.
Creating a For Add a For Loop block to a project. See Creating project code in a custom
Loop document document and Show in Containing Page.
By adding Exported Input blocks and Exported Output blocks on the pro-
gramming sheet document for the new For Loop, inputs and outputs are
added to the For Loop block.
Figure 212: For Loop block with exported input and exported out put blocks in the
corresponding document
304 EC-gfxProgram
See About exported input and output formats.
Adding a Loop A Loop Info block provides the current index value of the For Loop. A Loop
index Info can only be used on the programming sheet page that was created for
the new For Loop as shown in the below. See Loop Info (ECL, ECB & ECY
Series).
For Loop block A For Loop block executes project code created on the associated program-
example for ECB ming sheet a pre-determined number of times as set by the StartIndex and
& ECY Series StopIndex at each controller scan cycle. In the following example, a For Loop
controllers is used to find the instantaneous maximum value (high select) of four Analog
Value (ECB & ECY Series) blocks (shown as Value1 through Value4).
Figure 213: ECB & ECY Series controller For Loop block example
Within the For Loop block is the project code that finds the highest value. The
Equal block resets the Maximum block with a large negative value (-999999)
that is normally out of range of the maximum values being tested for, when
the loop is at the start of its cycle. The Generic Analog Value (ECB & ECY
Series) block uses the output of the For Loop to scan through the four Analog
Values. The Maximum block finds the highest value which is sent to the
Exported Output block (named as Maximum). The Exported Output block
appears as an output port on the For Loop block.
Figure 214: Inside the For Loop programming sheet document
EC-gfxProgram 305
As with a Custom block, an Exported Input can be used to add an input port
on the For Loop block to make values available within the associated For
Loop programming sheet. See Adding exported inputs and exported outputs.
For Loop block NOTE: For an example of using the For Loop block to fan in values from
example for ECL many controllers, see Using LONWORKS network variables to fan in
Series values from many controllers
controllers
A For Loop block executes project code created on the associated program-
ming sheet a pre-determined number of times as set by the StartIndex and
StopIndex at each controller scan cycle. In the following example, a For Loop
is used to find the instantaneous maximum value (high select) of four Numeric
Value (ECL Series) blocks (shown as Numeric Value1 through Numeric Val-
ue4).
Within the For Loop block is the project code that finds the highest value. The
Equal block resets the Maximum block with a large negative value (-3E+36)
that is normally out of range of the maximum values being tested for, when
the loop is at the start of its cycle. The Generic Numeric Value (ECL Series)
block uses the output of the For Loop to scan through the four Numeric Val-
ues. The Maximum block finds the highest value which is sent to the
Exported Output block (named as Maximum). The Exported Output block
appears as an output port on the For Loop block.
306 EC-gfxProgram
As with a Custom block, an Exported Input can be used to add an input port
on the For Loop block to make values available within the associated For
Loop programming sheet. See Adding exported inputs and exported outputs.
For Loop block A Null Input to this block should be avoided. If any Input to a For Loop block is
with null input Null, the block may experience unexpected behavior.
Description Provides the status of the For Loop (ECL, ECB & ECY Series) block. This
block can only be used inside the For Loop Block.
Input(s) N/A
Output(s)
Output Integer -16 777 216 to Block output. Each time the loop has completed, the
16 777 216 index is increased by 1.
TotalLoops Integer 0 to 33 554 432 The number of times the loop is to execute.
Remaining Integer 0 to 33 554 432 The number of remaining times the loop is to execute.
Loops
EC-gfxProgram 307
General
General blocks are used to perform various important control loop functions in
a program to provide control and supervision of a process.
• Color Decoder
• Color Encoder
• Count Down
• Count Up
• Device Info (ECL Series)
• Device Info (ECB & ECY Series)
• Digital Fault
• Dual Pid (ECP Series)
• Falling Edge
• Hysteresis
• Latch
• Lcd Screen (ECL, ECB & ECY Series)
• Limit
• Linear
• Notification Class (ECB & ECY Series)
• Numeric Fault
• Pid (ECP Series)
• Pid Loop (ECL Series)
• Pid Loop (ECB & ECY Series)
• Ramp
• Rising Edge
• Startup
• Toggle
• Weather (ECB & ECY Series)
308 EC-gfxProgram
Color Decoder
Description Used to decode an encoded light color value, that is to transform it into stan-
dard Red, Green, Blue, and White numeric values.
Related blocks Light Output (ECB & ECY Series expansion modules), Color Encoder
Input(s)
32-Bit 8-Bit
Output(s)
32-Bit 8-Bit
EC-gfxProgram 309
Color Encoder
Description Used to transform standard Red, Green, Blue, and White numeric values into
a RGB or RBGW light color code. The resulting code is meant to be input into
a Light Output block, thus allowing it to manage the light color of the con-
nected light expansion module.
NOTE: You can use a graphics editor to choose a color and find the corre-
sponding Red, Green, Blue, and White values to write into the respec-
tive input ports of this block.
Related blocks Color Decoder, Light Output (ECB & ECY Series expansion modules)
Input(s)
32-Bit 8-Bit
Output(s)
32-Bit 8-Bit
310 EC-gfxProgram
Block properties See also Common block properties.
EC-gfxProgram 311
Count Down
Persistence For ECL, ECB & ECY Series controllers, he current value is persistent; this
allows a value to be saved during a controller power cycle or reset. See Per-
sistent values (ECP Series controllers) and Persistent values (ECL, ECB &
ECY Series controllers).
Input(s)
32-Bit 8-Bit
StartPoint Integer 0 to 3×1038 0 to 83886 The count start point. The counter will then
commence counting down to 0. When the
Output has reached 0, the UnderFlow is set
to 1 for one execution cycle and the Output is
reset to 0.
312 EC-gfxProgram
Output(s)
32-Bit 8-Bit
CountType Menu See RisingEdge Set the condition under which the count is
Description decremented: RisingEdge (Off-to-On),
FallingEdge (On-to-Off) or Both (Off-to-On
or On-to-Off).
Persist Menu See False When this option is True, the output count is
Description preserved during any type of reset. See
Persistent values (ECP Series controllers)
and Persistent values (ECL, ECB & ECY
Series controllers).
When Persist is set for a new block, you must reset the persistent value that
is associated with the block after the project code has been sent to the device.
The application cannot really determine if the persistent value that is stored in
the controller is the one you want. So a manual operation is required to reset
this value the first time you setup it on a block. The procedure to do so is the
following:
EC-gfxProgram 313
Count Down The Count Down block can be used to count down the number of Off to On
example values received by its Input. The example below shows how a Pump Mainte-
nance Notice (Latch and Variable Enum block) is issued after a Pump (Hard-
ware Output block) turns On 1000 times (Count Down and Internal constant
block). After the Pump Maintenance Notice is dealt with, the count is reset
(Constant Enum (ECP Series) and Rising Edge block).
The Count Down block receives values from the Pump command (Hardware
Output block) and outputs a Pump Maintenance Notice (Variable Enum
block) from the UnderFlow output through a Latch block once the block
receives 1000 Pump (Hardware Output block) starts, that is, the count limit.
The Count Down block is programmed to be reset by a Manual Count Reset
(Constant Enum block).
Count Up
Persistence For ECL, ECB & ECY Series controllers, the current value is persistent; this
allows a value to be saved during a controller power cycle or reset. See Per-
sistent values (ECP Series controllers) and Persistent values (ECL, ECB &
ECY Series controllers).
Input(s)
32-Bit 8-Bit
314 EC-gfxProgram
Port Type Range Description
32-Bit 8-Bit
CntLimit Integer 0 to 3×1038 0 to 83886 The upper limit for the OverFlow. When the
Output has reached this number, the
OverFlow is set to 1 for one execution cycle
and the Output is reset to 0.
Output(s)
32-Bit 8-Bit
CountType Menu See RisingEdge Set the condition under which the count is
Description incremented: RisingEdge (Off-to-On),
FallingEdge (On-to-Off) or Both (Off-to-
On or On-to-Off).
Persist Menu See False When this option is True, the output count
Description is preserved during any type of reset. See
Persistent values (ECP Series controllers)
and Persistent values (ECL, ECB & ECY
Series controllers).
When Persist is set for a new block, you must reset the persistent value that
is associated with the block after the project code has been sent to the device.
EC-gfxProgram 315
The application cannot really determine if the persistent value that is stored in
the controller is the one you want. So a manual operation is required to reset
this value the first time you setup it on a block. The procedure to do so is the
following:
Example The Count Up block can be used to count the number of Off to On values
received by its Input. The example below shows how the Number of Chiller
Starts (Variable Numeric (ECP Series) block) is counted (Count Up and Inter-
nal constant block) for maintenance purposes, every time the Chiller (Hard-
ware Output block) turns On. After the issue is dealt with, the count is reset
(Constant Enum (ECP Series) and Rising Edge block).
The Count Up block receives values from the Chiller command (Hardware
Output block) and outputs the number of times it receives an On value to a
Variable Numeric block. Once the count reaches the specified limit of 1000
(Internal Constant block), the OverFlow output sends a 1 value to a second
Count Up block. This second Count Up block is used to collect the overflow
from the first one and continues to count every 1000 Chiller (Hardware Out-
put block) starts and sends the count to a second Variable Numeric block.
Both Count Up blocks are programmed to be reset by a Manual Count Reset
(Constant Enum block).
316 EC-gfxProgram
Device Info (ECL Series)
Description Used to show information about the device. This block allows project code
behavior to adapt to the current controller model (in order to facilitate project
code reuse between controllers).
Slim format This block can be collapsed into a slim format. See Collapsed in Common
support block properties.
Output(s)
Internal Integer See Number of Internal variable (ECL, ECB & ECY Series)
VariablesQty Description blocks supported by the current controller.
Enum Integer See Number of Enum Value (ECL Series) blocks supported
ValueQty Description by the current controller.
EC-gfxProgram 317
Port Type Range Description
Example As the NodeId is a unique number for each controller, use this output to set
the amount of delay for sequential equipment startup after a power failure,
thereby avoiding a current spike when all equipment is turned on at once.
The following project code multiplies the NodeId value by 5 seconds which
sets the startup time delay before the fan will start after controller startup.
318 EC-gfxProgram
Device Info (ECB & ECY Series)
Description Used to show information about the device. This block allows project code
behavior to adapt to the current controller model (in order to facilitate project
code reuse between controllers).
Slim format This block can be collapsed into a slim format. See Collapsed in Common
support block properties.
Input(s) N/A
Output(s)
Internal Integer See Number of Internal variable (ECL, ECB & ECY Series)
VariablesQty Description blocks supported by the current controller.
Analog Integer See Number of Analog Value (ECB & ECY Series) blocks
ValueQty Description supported by the current controller.
Binary Integer See Number of Binary Value (ECB & ECY Series) blocks
ValueQty Description supported by the current controller.
MultiState Integer See Number of Multi State Value (ECB & ECY Series)
ValueQty Description supported by the current controller.
EC-gfxProgram 319
Port Type Range Description
MacAddress Integer See The current controller’s MAC Address. For example,
(for ECB Description use this value to set the amount of delay for sequential
Series equipment startup after a power failure, thereby
controllers avoiding a current spike when all equipment is turned
only) on at once. See Example.
Example As the MAC Address is a unique number for each controller, use this output to
set the amount of delay for sequential equipment startup after a power failure,
thereby avoiding a current spike when all equipment is turned on at once.
The following project code multiplies the MAC Address value by 5 seconds
which sets the startup time delay before the fan will start after controller
startup.
Digital Fault
Description Used to evaluate a digital fault condition such as a fan or a pump stop or a
manual override. When the input is different than the status for a defined time
period (Activation Delay), the block will output a fault. There are two types of
faults; run faults and stop faults.
0 0 0 0
1 1 0 0
320 EC-gfxProgram
Advanced Configure Ports, Show/Hide Ports
configuration
Input(s)
Output(s)
RunFault Digital 0 or 1 State of the run fault. If On (1), it means that the
equipment is manually overridden (forced) to run.
For ECL, ECB & ECY Series controllers: If no Input to
this block is Null, then the block’s output is the normal
result. If one or more Inputs to this block are Null, then
the Output of this block is always Null.
StopFault Digital 0 or 1 State of the stop fault. If On (1), it means that the
equipment is commanded to start, but it does not start
or that the equipment has stopped without having
been commanded to stop.
For ECL, ECB & ECY Series controllers: If no Input to
this block is Null, then the block’s output is the normal
result. If one or more Inputs to this block are Null, then
the Output of this block is always Null.
32-Bit 8-Bit
Activation Integer 0 to 3×1038 0 to 83886 60 The time (in seconds) that a fault
Delay condition must be True before a
fault is activated.
Example The Digital Fault block can be used to determine whether a digital condition
is working properly. The example below shows how Supply and Return Fan
State Alarms (Digital Fault blocks) are evaluated based on the Supply and
EC-gfxProgram 321
Return Fan State (Hardware Input blocks) inputs they are receiving and the
actual Supply and Return Fan statuses (Hardware Output blocks).
The Digital Fault blocks compare the Input (the desired state) to the Status
(the actual state) and checks if they are the same. In the case of the Supply
Fan, the Input is On, but the Status is Off, therefore once the Activation Delay
has passed, the StopFault turns On. In the case of the Return Fan, the Input,
and Status are both Off, therefore both Faults remain Off. These Fault values,
along with values from the Numeric Fault and Hardware Input blocks, are
then sent to a SNVT_state Mux block which in turn sends all these fault val-
ues to a Network Variable Output block.
322 EC-gfxProgram
Dual Pid (ECP Series)
Description Used to provide a proportional, integral, and derivative (PID) loop control for
two setpoints. Often used for generating heating and cooling demands based
on a room temperature input and heating and cooling setpoints.
Input(s)
HiSetPt Numeric -83886.08 to The upper setpoint limit. Usually the cooling setpoint.
83886.07
LowSetPt Numeric -83886.08 to The lower setpoint limit. Usually the heating setpoint.
83886.07
EC-gfxProgram 323
Output(s)
HiVal Numeric 0 to 100.00 High value output of the PID loop. Usually the cooling
loop.
LowVal Numeric 0 to 100.00 Low value output of the PID loop. Usually the heating
loop.
Number Menu 1 to 16 Dual Pid 1 Use this drop-down menu to select from
the 16 available block instances.
See
Description
NOTE: When a new block instance is
added to the programming sheet,
the block’s number is incremented
to the next available block number
according to the current Auto
Increment setting. See Auto incre-
ment (ECP & ECL Series and
EBC Series controllers only).
Advanced The Dual Pid Configuration window provides an interface giving full control of
configuration the proportional, integral, and derivative parameters. See also Tuning a PID
Loop.
The only difference between the Dual Pid block and the Pid (ECP Series)
block is that the Dual Pid block has two control loops that have two outputs
based on two separate setpoints while using only one of the controller’s PID
loops.
324 EC-gfxProgram
GP = Proportional gain (200/PB; PB = Proportional band)
GI = Integral gain
TI = Integral time
GD = Derivative gain
TD = Derivative time
EC-gfxProgram 325
With proportional (P) only control, the output is a function of the error or differ-
ence between the control point and setpoint. The control point eventually sta-
bilizes, but most often not on the setpoint, creating an offset.
326 EC-gfxProgram
Property Description
Proportional The proportional band is the error value that is necessary to span the extent of
band the output range, that is, to move the output from 0 to 100%. The proportional
gain is the instantaneous effect of the error on the output. The proportional gain
and proportional band have the following relationship: proportional gain = 200/
(proportional band).
For example, If the proportional band is set to 4ºF, then a 2ºF error (deviation
from the setpoint) will result in 100% output. The proportional band is
sometimes referred to as a "throttling range" or "modulating range".
Integral gain A multiplication factor that adds weight to the integral part of the PID loop. The
accumulated error is multiplied by the integral gain value and contributes to the
control output. If required, it is recommended to adjust the integral time and
leave the integral gain equal to the proportional gain. Integral control particularly
helps to stabilize the input close to the setpoint.
Integral time The integral time is a factor of the effect of the error (deviation from setpoint)
over time. The integral time determines how quickly the system responds to a
given error.
Derivative gain A multiplication factor that adds weight to the derivative part of the PID loop.
The accumulated error is multiplied by the derivative gain value and contributes
to the control output. Derivative control particularly helps to reduce overshoot
and the time it takes for the input to stabilize close to the setpoint.
Derivative time The derivative time determines the effect of the derivative action on the system
response. The derivative time is sometimes referred to as "rate time".
EC-gfxProgram 327
Property Description
Dead band The dead band is a range (centered on the setpoints) in which no corrective
action is taken, that is, the output of the PID loop remains the same.
For example, the graph below shows the effect of a 2°F dead band on a Dual
Pid loop that has a proportional band of 4°F. The low setpoint is 72°F while the
high setpoint is 75°F. The dead band is 2°F centered on each of the setpoints
and thus the output of the Dual Pid loop does not change when the input is
between 71-73°F or 74-76°F. No matter how the Dual Pid loop is configured
(change to proportional, integral, derivative control, or bias) the dead band
remains centered on the setpoints.
Figure 225: Effect of 2°C Dead Band on Dual Pid
328 EC-gfxProgram
Property Description
Bias The bias is the default percentage of output when there is no error (setpoint =
Input). It is a constant value that is applied to the control loops to correct offsets.
For example, The graphs below show the effect of a 50% bias on a Dual Pid
loop that has a proportional band of 4°F. The low setpoint is 72°F while the high
setpoint is 75°F. The bias is 50% and thus the total output of the Dual Pid loop is
increased by 50% so that previously a 72°F input temperature resulted in an
output of 0% and now results in an output of 50%.
NOTE: Biasing the output may cause the control loops to intersect. This may
cause unpredictable and undesired reactions. It is recommended to
always set the bias to 0 for a Dual Pid.
NOTE: To setup and tune a PID loop, refer to the Tuning a PID Loop for fur-
ther information.
EC-gfxProgram 329
Example The Dual Pid block is used to provide PID loop control for a pair of setpoints.
The example below shows how the cooling and heating demands are deter-
mined (Dual Pid block) based on the Room Temperature (Hardware Input
block) and cooling and heating setpoints (Internal constant blocks) and how
these demands are used (Greater Than, Switch, Multiplexer, and Internal
Constant blocks) to determine the HVAC modes and display them on a
SmartSensor Module (ECP Series) block.
The Dual Pid block receives the Room Temperature (Hardware Input block),
compares it to heating and cooling setpoints (Internal Constant blocks) and
outputs either a heating or cooling demand. This demand is then sent to
Comparator and Logic blocks which output the HVAC_AUTO mode to be
selected by the SmartSensor Module block through the Multiplexer block.
Falling Edge
Description Output turns On if the input goes from On (any non-zero value) to Off or any
other value. The output will remain On for the duration of one loop of code
execution. This is used to do a one-shot execution (pulse) upon an On to Off
transition.
330 EC-gfxProgram
Input(s)
Output(s)
EC-gfxProgram 331
Hysteresis
Description Used to hold the output value steady until the input value has surpassed
either the high or low limits. It prevents the output from short cycling due to
small, yet frequent changes to the input.
NOTE: The SwitchOn and SwitchOff values should not change during the
execution of the project code to avoid any unexpected effects to the
controller logic. It is a good practice to make them fixed values or to
use Add and Subtract blocks as shown in the Example.
Input(s)
32-Bit 8-Bit
332 EC-gfxProgram
Port Type Range Description
32-Bit 8-Bit
SwitchOn Numeric ±3.4028×1038 -83886.08 to If the SwitchOn value is less than the
+83886.07 SwitchOff value, then the Output
turns On when the Input is less than
or equal to the SwitchOn value. If the
SwitchOn value is greater than the
SwitchOff value, then the Output
turns On when the Input is greater
than or equal to the SwitchOn value.
SwitchOff Numeric ±3.4028×1038 -83886.08 to If the SwitchOff value is less than the
+83886.07 SwitchOn value, then the Output
turns Off when the Input is less than
or equal to the SwitchOff value. If the
SwitchOff value is greater than the
SwitchOn value, then the Output
turns Off when the Input is greater
than or equal to the SwitchOff value.
Output(s)
EC-gfxProgram 333
Example The Hysteresis block can be used to control equipment while preventing
short cycling. The example below shows how a Baseboard (Hardware Out-
put block) is controlled based on the comparison (Equal block) of the sched-
uled occupancy (Schedule block) to an occupancy setpoint (Internal constant
block) and (And block) the comparison (Hysteresis, Add, Subtract, and
Internal Constant blocks) of the Room Temperature to a temperature Set-
point (Hardware Input blocks).
334 EC-gfxProgram
Latch
Description Used for a set-reset logic. If the Set input turns On, the block will output and
hold an On value. If the Reset input turns On, the block will output and hold
an Off value. However, if the Reset input turns On while the Set input is On,
then the output will remain On. Likewise, if the Set input turns On while the
Reset input is On, then the output will remain Off.
0 0 No change
1 0 1
0 1 0
1 1 No change
Persistence For ECL, ECB & ECY Series controllers, the current value is persistent; this
allows a value to be saved during a controller power cycle or reset. See Per-
sistent values (ECL, ECB & ECY Series controllers).
Input(s)
Set Digital 0 or 1 Set input. If On and Reset is Off, Output turns On.
Reset Digital 0 or 1 Reset input. If On and Set is Off, Output turns Off.
EC-gfxProgram 335
Output(s)
Persist Menu See False When this option is True, the output
Description state is preserved during any type of
reset. See Persistent values (ECL, ECB
& ECY Series controllers).
About persist When Persist is set for a new block, you must reset the persistent value that
is associated with the block after the project code has been sent to the device.
The application cannot really determine if the persistent value that is stored in
the controller is the one you want. So a manual operation is required to reset
this value the first time you setup it on a block. The procedure to do so is the
following:
Example The Latch block can be used for holding an On value after it receives a
pulsed On value. The example below shows how a Light (Hardware Output
block) is controlled by a Light Switch (Wireless Sensor block) to turn On
(And and Latch block) for 60 minutes (Start Delay and Internal constant
blocks) unless the Light Switch is turned Off (Not and Or block) or is turned
On again while it is already On, thus resetting the timer (Not and And block).
336 EC-gfxProgram
The Latch block receives its Set command through an And block when a
Light Switch (Wireless Sensor block) is turned On. When the Set input is On,
the Output of the Latch block turns the Light (Hardware Output block) and
Start Delay block On (through an And block). If the Output of the Start Delay
block pulses On, that is, the Delay reaches 60 minutes or the Light Switch
(Wireless Sensor block) is turned Off, the Reset of the Latch block is turned
On, which turns the Output of the Latch block Off and in turn the Light (Hard-
ware Output block) and Start Delay block are also turned Off. If the Light
Switch (Wireless Sensor block) is turned On while the Light (Hardware Out-
put block) is already On, the Start Delay block is reset.
Description The Lcd Screen block is primarily used for controllers equipped with an oper-
ator’s interface (color LCD screen) or that are connected to an ECx-Display.
In addition, it can be used for controllers connected to the myDC Control
application or the HORYZON-C and HORYZON-R displays. It allows you to
easily configure different parameters:
• Parameters such as your company name and logo, passwords, and inter-
face language can be configured in the LCD Screen advanced configura-
tion.
• Resources can be added to the Favorites List in the Resource Viewer that
may appear in the controller’s Favorites menu, once the project code has
been synchronized with the controller (see Project Synchronization).
• Weather information may be made available on the controller’s operator
interface or on a connected ECx-Display when the controller is used with
EC-Net. See Sending weather information to a controller (for ECL Series
controllers) and Configuring weather information for controllers with an
operator interface (for ECB & ECY Series controllers).
The Lcd Screen block has a Reliability port that indicates if the current con-
troller is actually equipped with an operator interface or it is connected to an
ECx-Display when the Reliability output is No fault detected (0).
WARNING: For ECY Series and ECL Series controllers, the Lcd Screen
block must be added to the Programming Sheet of any controller
that will be connected to an ECx-Display and the project code
has been synchronized with the controller (see Project Synchro-
nization). Otherwise, when an ECx-Display is connected to the
controller, it’s loading screen will be continuously shown and the
display will not load to show the controller’s information or invalid
data will be shown.
EC-gfxProgram 337
The loading screen is shown on the LCD screen during power-up,
when its firmware is being upgraded, or for ECY Series control-
lers, when the Lcd Screen block has not been added to the Pro-
gramming Sheet.\
NOTE: When you are using the myDC Control application or the HORYZON-
C or HORYZON-R displays, the presence of the Lcd Screen is not
required. It is only needed if you want to set up access rights. If no
Lcd Screen block is present in your project’s programming sheets,
myDC Control, HORYZON-C, and HORYZON-R will preserve their
default functioning, i.e. without password protection. See Security.
For a unit of a value to be correctly shown on the LCD screen, the point must
be correctly configured. See LCD interface supported units.
NOTE: As the configuration of this block often does not change from control-
ler to controller, it is ideal to create a code snippet of an appropriately
configured Lcd Screen block that can then be effortlessly used as
needed without having to configure it for each individual controller.
See Saving a code snippet.
Input(s) N/A
Output(s)
Reliability Enum See Descrip- This provides an indication of whether the operator inter-
tion face is physically present or an ECx-Display is connected
to the controller (No fault detected (0)) or not (Communi-
cation failure (12)). See also Reliability property. Config-
uration error identifies that the operator interface / ECx-
Display configuration is not valid; try upgrading the firm-
ware for the controller and then for the operator interface /
ECx-Display. See Upgrade firmware (for ECL Series or
ECB Series controllers only). You do not need to configure
the Reliability output if you are using myDC Control,
HORYZON-C, or HORYZON-R.
338 EC-gfxProgram
LCD Screen advanced configuration
Configuration parameters for this block are set in the Resources Configura-
tion window. For controllers with an LCD interface, the following parameter
types can be configured.
Table 13: Password user access levels when user passwords have been configured
Main Screen In the Main Screen configuration you can optionally configure Main screen
up to two lines of text in the upper left corner of the LCD inter-
face’s Main screen. Click Add new line to add a text line. The
Screen Preview shows an approximation of the actual screen
presentation. The number of available lines are shown next to
the Add new line.
The Main Screen configuration does not apply to myDC Con-
trol, HORYZON-C, and HORYZON-R.
About The About Screen is used to display company information About screen
Screen and logo for contact information. Optionally, up to eight lines of
text and/or an image for the LCD interface’s About screen can
be configured. The Screen Preview shows an approximation
of the actual screen presentation in real time as you add con-
tent. The number of available lines is shown next to the Add
new line.
This About Screen configuration section cannot be used for
myDC Control, HORYZON-C, and HORYZON-R.
Security The Security is used to enable user access control to the LCD Security
interface when user passwords have been configured.
Display Lan- The Display Language is used to select a preferred user inter- Display lan-
guages face display language. guages
EC-gfxProgram 339
Figure 231: LCD Screen configuration in the Resources Configuration
340 EC-gfxProgram
Main screen In the Main Screen configuration you can optionally configure up to two lines
of text in the upper left corner of the controller’s Main screen. Click Add new
line to add a text line. The Screen Preview shows an approximation of the
actual screen presentation.
Function Description
EC-gfxProgram 341
About screen The About Screen configuration is used to display company information and
logo for contact information. Optionally, up to eight lines of text and/or an
image for the controller’s About screen can be configured. The Screen Pre-
view shows an approximation of the actual screen presentation in real time as
you add content.
Property Description
342 EC-gfxProgram
2. Click Load from file to select an image file on your PC’s file system.
When an image is selected, the image (in GIF, JPG, JPEG, BMP, or PNG
file format) is automatically processed as follows: The image size (width
or height) does not matter as any image will be proportionally scaled
down to the available native LCD screen image size specified in the table
above and is also converted to 256 indexed colors. If the size of this
scaled-down image is still too large for the allocated amount of memory
space on the controller for this image, the number of indexed colors used
in the image will be down-sampled until the image will fit into the control-
ler’s memory. The result of these conversions is that a line art image (a
logo) may be better represented on the LCD display as compared to a
continuous-tone image (for example, a photograph).
3. Click Add new line to add a text line. The number of characters available
on a line of text varies according to actual letters used: For example, a
“W” uses far more space than an “I”.
4. If necessary, select the number of pixels for Padding. This is the amount
of white space that can be added around the image to add a border.
5. Click Add new line to add a text line. The number of characters available
on a line of text varies according to actual letters used: For example, a
“W” uses far more space than an “i”. Click this option every time you wish
to add a new line of text (up to 8 lines). For spacing between lines of text,
leave one of the lines empty (see Figure 233).
Security The Security configuration is used to enable user access control to the LCD
interface when user passwords have been configured. Up to four passwords
can be configured for the four different user access levels: Administrator,
Manager, Operator, and Guest. Each password is for an LCD interface access
level that is to be used by different types of LCD interface users, according to
their roles. When password protection is set for an LCD interface access
level, a user who uses that password when unlocking the LCD interface has
the access rights of that access level shown in Table 14.
In the Resource Viewer , first create groups in the Favorites List and then add
points to one or more groups. These Favorites Groups are listed in the Secu-
rity configuration where the ability for Operator or Guest users to view or
modify points for individual Favorite Groups can be set. An Operator always
has at minimum the same access rights as a Guest. See Security favorites
group example for more information.
When no user passwords have been created, anyone with physical access to
the controller can use all LCD interface features (they have the equivalent of
Administrator access).
EC-gfxProgram 343
Figure 234: Security, LCD screen configuration
Table 14: Password user access levels when user passwords have been configured
Schedule RW RW RW No access
Trends R R R No access
Time / Date RW RW RW R
Language RW RW RW R
344 EC-gfxProgram
Security favorites group example
For example, in the Resource Viewer, five favorites groups have been cre-
ated: Inputs, Setpoints, Outputs, Outdoor Parameter, and PIDs. In the
Security configuration of the Lcd Screen block, these five favorites groups
are shown below.
As can be seen by the tick box settings shown above for Operator and Guest
users, the right to write to the points in a Favorite Group also gives a user the
ability to view those same points. When a Guest user has the right to read or
write to the points in a Favorite Group, the Operator user either has the same
user rights as a Guest user or the Operator user can have more user rights
than a Guest user. For example, a Guest user can view (R) the points con-
tained in the Setpoints Favorites Group, then an Operator user can also view
the points contained in the Setpoints Favorites Group.
Display The Display Language configuration is used to select the languages that the
languages LCD interface can show. The controller has French and English as built in
user interface languages that can be enabled or disabled. Any language that
is enabled by adding it to the Available languages list becomes available to
the controller’s LCD interface. The default language for the user interface can
also be set once it has been added to the Available languages list.
For ECL & ECB Series controllers, a third user interface language can be
uploaded into the controller through a custom language file, which can then
be selected from the Available languages drop-down list. See below.
For ECY Series controllers, one or more user interface languages can be
uploaded into the controller through a custom language file, which can then
be selected from the Available languages drop-down list. See below.
EC-gfxProgram 345
Creating your own interface language
Should a required language be unavailable, you can create your own lan-
guage file. The language file is an XML file that can support all languages that
use any combination of the following Unicode character sets (excluding con-
trol characters): Basic Latin, Latin-1 Supplement, Latin Extended-A, and Latin
Extended-B. Note that unsupported characters are shown on screen as a
question mark (?). The language files are located under EC-gfxProgram
installation folder in the following directory: \Config\Languages\LcdScreen.
1. Copy a language XML file that was installed with EC-gfxProgram and
save it under a new filename.
NOTE: If you do not rename the file to a new name, re-installing EC-gfxPro-
gram will overwrite the file and your modifications will be lost.
2. Open the new file with a text editor (for example, using Notepad).
3. Update the language values as shown below, keeping in mind that certain
information should not be changed:
4. Only localize the text-string values that are enclosed in straight quotes ("),
except for the XML File Header and Element nodes. When localizing the
text string values, try to keep the same length as used in the original text.
Some letters will take much more space than others as the LCD screen
uses a proportionally spaced font: For example, a ‘W’ will take much more
space on the screen than an ‘i’.
5. Save the file.
NOTE: Protect the new language file by backing it up to a safe location else-
where on your computer network.
6. Restart EC-gfxProgram and select the new language file in the Available
languages drop-down list.
346 EC-gfxProgram
7. Verify that the localized text string values fit in the space allocated in the
screen by checking the screens and menus.
LCD interface For a unit of a value to be correctly shown on the LCD screen, the point must
supported units be correctly configured: It is best to use a type of unit that corresponds to the
value’s type. For example:
NOTE: Avoid using Numeric Value + Text as this format type is not sup-
ported by the LCD screen.
Limit
Input(s)
32-Bit 8-Bit
High Numeric ±3.4028×1038 -83886.08 to The maximum value of the input. If the
+83886.07 Input is greater than this value, this value
will be outputted.
If you leave this port unconnected, it will
default back to the maximum value of the
8-bit controllers.
EC-gfxProgram 347
Port Type Range Description
32-Bit 8-Bit
Low Numeric ±3.4028×1038 -83886.08 to The minimum value of the input. If the
+83886.07 Input is less than this value, this value will
be outputted.
If you leave this port unconnected, it will
default back to the maximum value of the
8-bit controllers.
Output(s)
32-Bit 8-Bit
Limit block The Limit block can be used to prevent a value from exceeding a specified
example range. The example below shows how a Supply Air Temperature Setpoint
(Variable Numeric block) is calculated based on the Outdoor Air Tempera-
ture (Hardware Input block) being interpolated linearly (Linear block) and
limited (Limit block) by a Maximum and Minimum Supply Air Temperature
(Constant Numeric blocks) and a maximum and minimum outdoor air tem-
perature (Internal Constant blocks).
The Limit block receives the Output of the Linear block, which calculates the
Supply Air Temperature Setpoint (Variable Numeric block) based on a linear
interpolation generated from set values and the Outdoor Air Temperature
(Hardware Input block). The Limit block then ensures that its Input is within
the High limit, which is received from Maximum Supply Air Temperature (Con-
stant Numeric block) and Low limit, which is received from Minimum Supply
Air Temperature (Constant Numeric block). If the input of the Limit block
348 EC-gfxProgram
exceeds the High limit, then the block will output the High limit value and if it
exceeds the Low limit, then the block will output the Low limit value.
Linear
Description Provides a proportional reset based on the linear equation (y = mx + b). This
is useful for applications such as supply temperature reset in relation to the
outside air temperature. The linear curve is calculated as follows:
NOTE: Be aware that as a result of the calculation, the input values may
cause an overflow (>83886.07) or underflow (<-83886.08) on the Out-
put. See Internal range limits for more information.
The Output value is not limited between the value of Y1 and Y2. In
order to limit the Output value, use a Limit block.
Input(s)
32-Bit 8-Bit
EC-gfxProgram 349
Port Type Range Description
32-Bit 8-Bit
Outout(s)
32-Bit 8-Bit
350 EC-gfxProgram
Internal range The Linear block is capable of an extended range of mathematical operation,
limits however any of the following conditions will cause the Linear block will go into
underflow/overflow:
• All terms of the linear formula (that is (Y2 – Y1), (X2 – X1), and (Input –
X1)) when resolved should evaluate to be within the range of -83886.08 to
+83886.07.
• (Y2 – Y1) and (Input – X1) can both evaluate to be ±83886.07, however
the value of (X2 – X1) must bring the final result of Output within the range
of -83886.08 to +83886.07.
• Having the denominator (X2 – X1) approach zero. Any denominator of
less than 1 acts as a multiplier in this formula.
NOTE: To keep this block in a safe operating range, use a Limit block on this
block’s inputs to avoid underflow/overflow conditions.
Example The Linear block can be used to interpolate a value based on a generated lin-
ear curve. The example below shows how a Supply Air Temperature Setpoint
(Variable Numeric (ECP Series) block) is calculated based on the Outdoor Air
Temperature (Hardware Input block) being interpolated linearly (Linear
block) and limited (Limit block) by a Maximum and Minimum Supply Air Tem-
perature (Constant Numeric (ECP Series) blocks) and a maximum and mini-
mum outdoor air temperature (Internal constant blocks).
Figure 240: Example results for linear curve with a Limit block applied
The Linear block generates a linear curve based on values from the Con-
stant Numeric and Internal Constant blocks. It then receives the Outdoor
Air Temperature (Hardware Input block) and interpolates it based on this
EC-gfxProgram 351
curve to output the Supply Air Temperature Setpoint (Variable Numeric
block). The Limit block then ensures that the value outputted by the Linear
block is within the specified limits and is outputted to the Numeric Variable
block.
Description Used to make the notification class status available to your code. For all
objects linked to this notification class, the block’s outputs show the total num-
ber of objects that are currently in alarm and whether alarms have been
acknowledged or not.
Notification classes are used to route alarms to other devices that have the
same set of properties, priorities, and use for the alarm or event notification. In
addition, the requirement for the acknowledgment from a human operator can
also be set (for a notification message only). See Alarms (ECB & ECY
Series).
Advanced Alarms (ECB & ECY Series), Configure Ports, Show/Hide Ports
configuration
Output(s)
352 EC-gfxProgram
Port Type Range Description
EC-gfxProgram 353
Numeric Fault
Description Used to evaluate a numeric fault condition such as a supply temperature low
limit. If the input is less than or equal to the low limit or greater than or equal to
the high limit for a defined time period (Activation Delay), the block will output
a fault. There are two types of faults; low fault and high fault. Hysteresis sets
the amount the Input has to return above the LowLimit or below the HiLimit
before the LowFault or HighFault output turns Off.
354 EC-gfxProgram
Input(s)
32-Bit 8-Bit
Output(s)
32-Bit 8-Bit
EC-gfxProgram 355
Property Type Range Default Description
32-Bit 8-Bit
Example The Numeric Fault block can be used to determine whether a numeric value is
outside of its limits. The example below shows how a Supply Air Temperature
Alarm (Numeric Fault block) is evaluated based on the Supply Air Tempera-
ture (Hardware Input blocks) input it is receiving and the high and low supply
air temperature limits (Internal constant blocks).
The Numeric Fault block checks if the Input is within the LowLimit and HiLimit.
Since the Input is lower than the LowLimit and there is no Hysteresis set, the
LowFault turns On once the Activation Delay has passed. This Fault value,
along with values from the Digital Fault and Hardware Input blocks, are then
sent to a SNVT_state Mux block which in turn sends all these fault values to
a Network Variable Output block.
356 EC-gfxProgram
Pid (ECP Series)
Description Used to provide a proportional, integral, and derivative (PID) loop control.
Advanced Advanced configuration, Copy From, Configure Ports, Show/Hide Ports, Tun-
configuration ing a PID Loop
Input(s)
Output(s)
EC-gfxProgram 357
Block properties See also Common block properties.
Number Menu 1 to 16 Pid 1 Use this drop-down menu to select from the
16 available block instances.
See
Description
NOTE: When a new block instance is added
to the programming sheet, the block’s
number is incremented to the next
available block number according to
the current Auto Increment setting.
See Auto increment (ECP & ECL
Series and EBC Series controllers
only).
Advanced The Pid Configuration window provides an interface giving full control of the
configuration proportional, integral, and derivative parameters. See also Tuning a PID Loop.
GI = Integral gain
TI = Integral time
358 EC-gfxProgram
GD = Derivative gain
TD = Derivative time
With proportional (P) only control, the output is a function of the error or differ-
ence between the control point and setpoint. The control point eventually sta-
bilizes, but most often not on the setpoint, creating an offset.
EC-gfxProgram 359
With proportional-integral (PI) control, the control point eventually stabilizes
on the setpoint, eliminating the offset, but there is still a significant overshoot.
Parameter Description
Proportional band The proportional band is the error value that is necessary to span
the extent of the output range, to move the output from 0 to 100%.
The proportional gain is the instantaneous effect of the error on the
output. The proportional gain and proportional band have the
following relationship: proportional gain = 100/(proportional band).
For example, If the proportional band is set to 2ºF, then a 2ºF error
(deviation from the setpoint) will result in 100% output. The
proportional band is sometimes referred to as a "throttling range"
or "modulating range".
Integral gain A multiplication factor that adds weight to the integral part of the
PID loop. The accumulated error is multiplied by the integral gain
value and contributes to the control output. If required, it is
recommended to adjust the integral time and leave the integral
gain equal to the proportional gain. Integral control particularly
helps to stabilize the input close to the setpoint.
360 EC-gfxProgram
Parameter Description
Integral time The integral time is a factor of the effect of the error (deviation from
setpoint) over time. The integral time determines how quickly the
system responds to a given error.
Derivative gain A multiplication factor that adds weight to the derivative part of the
PID loop. The accumulated error is multiplied by the derivative gain
value and contributes to the control output. Derivative control
particularly helps to reduce overshoot and the time it takes for the
input to stabilize close to the setpoint.
Derivative time The derivative time determines the effect of the derivative action
on the system response. The derivative time is sometimes referred
to as "rate time".
Dead band The dead band is a range (centered on the setpoint) in which no
corrective action is taken, that is, the output of the PID loop
remains the same.
For example, the graph below shows the effect of a 2°F dead band
on a Pid loop that has a proportional band of 4°F. The setpoint is
72°F. The dead band is 2°F centered on the setpoint and thus the
output of the Pid loop does not change when the input is between
71 and 73°F. No matter how the Pid loop is configured (change to
proportional, integral, derivative control or bias represented by the
dashed lines) the dead band remains centered on the setpoint.
Figure 246: Effect of 2°C Dead Band on Pid
EC-gfxProgram 361
Parameter Description
Bias The bias is the default percentage of output when there is no error
(setpoint = Input). It is a constant value that is applied to the control
loop to correct offsets.
For example, the graph below shows the effect of a 50% bias on a
Pid loop that has a proportional band of 4°F. The setpoint is 72°F.
The bias is 50% and thus the total output of the Pid loop is
increased by 50% so that previously a 72°F input temperature
resulted in an output of 0% and now results in an output of 50%.
Figure 247: 0% Bias on Pid
i
Figure 248: 50% Bias on Pid
Reverse action If deselected, the control loop acts directly. Thus an increase in the
error will be directly proportional to the output (the more positive
the error; the more positive the output).
When selected, the control loop acts in reverse. Thus an increase
in the error will be inversely proportional to the increase in the
output (the more positive the error; the more negative the output).
NOTE: To setup and tune a PID loop, see Tuning a PID Loop for further infor-
mation.
362 EC-gfxProgram
Pid Loop (ECL Series)
Description Used to provide a proportional, integral, and derivative (PID) loop control.
Each Pid Loop block is linked to a corresponding network variable which fol-
lows the same value as the PID block.
The Pid Loop values are configured in the Pid Loop configuration theory win-
dow. However, during runtime, the PID loop values can be modified through a
network property, through the controller’s operator interface or through the
connected ECx-Display (when equipped), through the Live Trend Log (see
below), or through project code (by linking project code to a PID block’s Pro-
portionalBand, IntegralTime, or DerivativeTime input ports). When an input
port is linked to code, the corresponding network property is set to Read Only
and the controller’s operator interface or the connected ECx-Display (when
equipped) and Live Trend Log cannot be used to modify the parameter. If the
input port is later disconnected, the controller must be rebooted or the option
Reset PIDS selected during Project Synchronization to make the associated
network property writable again so that the parameter can be modified in the
controller’s operator interface or in the connected ECx-Display.
A Live Trend Log of the response of the PID loop’s Input, Setpoint, and
Output can be used to view a graph of these variables so as to help with PID
loop tuning. While Debugging a project, right-click the Pid Loop block and
select View Trend Log. See Viewing a Live Trend Log. The PID loop’s
advanced configuration parameters can be set within the Live Trend Log,
when the parameter is not being set at the block’s corresponding input port.
Number of The number of Pid Loop block instances supported by a controller is shown in
blocks the Number drop-down list in the Properties or Statistics panes.
Related blocks Generic Pid Loop (ECL, ECB & ECY Series), Live Trend Log
EC-gfxProgram 363
Input(s)
Feedback Numeric 0 to 100 This is a feedback input of the actual control signal
being sent to the process being controlled.
For example, between the PID loop output and the
hardware output, blocks can be used to further
process the signal. When the process being
controlled is overridden, a PID block will normally
integrate either to 0% or 100%. This results in a
surge when the override is removed. By providing
the override signal to this input (the value at the
analog output for example), once the override is
removed, the block’s output will smoothly resume
operation starting from the last override value over
to PID loop control.
While the Pid block detects a difference between
the Output output and the Feedback input, the
integration function of the PID loop is suspended.
See To setup and tune a PID loop, see Tuning a
PID Loop for further information..
Proportional Numeric 0.001 to 3.4028 The proportional band is the error value that is
Band ×1038 necessary to span the extent of the output range,
to move the output from 0 to 100%. The
proportional gain is the instantaneous effect of the
error on the output. The proportional gain and
proportional band have the following relationship:
proportional gain = 100/(proportional band).
For example, If the proportional band is set to 2ºF,
then a 2ºF error (deviation from the setpoint) will
result in 100% output. The proportional band is
sometimes referred to as a "throttling range" or
"modulating range".
IntegralTime Numeric 0 to 3.4028 The integral time is a factor of the effect of the
×1038 error (deviation from setpoint) over time. The
integral time determines how quickly the system
responds to a given error.
Derivative Numeric 0 to 3.4028 The derivative time determines the effect of the
Time ×1038 derivative action on the system response. The
derivative time is sometimes referred to as "rate
time".
364 EC-gfxProgram
Port Type Range Description
EC-gfxProgram 365
Port Type Range Description
Bias Numeric 0 to 100 The bias is the default percentage of output when
there is no error (setpoint = Input). It is a constant
value that is applied to the control loop to correct
offsets.
For example, the graph below shows the effect of
a 50% bias on a Pid loop that has a proportional
band of 4°F. The setpoint is 72°F. The bias is 50%
and thus the total output of the Pid loop is
increased by 50% so that previously a 72°F input
temperature resulted in an output of 0% and now
results in an output of 50%.
Figure 250: 0% Bias on Pid
366 EC-gfxProgram
Port Type Range Description
RampTime Numeric 0 to 3.4028 Sets the maximum rate of change in seconds for
×1038 the Output to go from 0% to 100%.
For example, if this input is set to 120 seconds,
and the Enabled input port changes from False to
True, the block’s Output will take at least 120
seconds to ramp up from 0% to 100%. As such, if
the PID loop calculates a required Output of 50%,
it will take the Output at least 60 seconds to go
from 0% to 50%. This is shown below.
Figure 252: Example: 50% RampTime Effect on Pid
Output
EC-gfxProgram 367
Output(s)
Output Numeric 0 to 100 The PID loop output. If no Input to this block is Null,
then the block’s output is the normal result. If one or
more Inputs to this block are Null, then the Output of
this block is always Null.
Fault Digital 0 or 1 This is logically True (1) if the Reliability property does
not have a value of No Fault Detected, otherwise
logical False (0).
Reliability Enum See When either the Check out of range or the Check
Description signal fault in the Advanced Configuration is set (or
both are set), this provides an indication of whether
the physical input is "reliable" and, if not, why. See
Reliability property.
368 EC-gfxProgram
Block properties See also Common block properties.
Advanced configuration
Configuration parameters for this block are set in the Resources Configura-
tion window.
EC-gfxProgram 369
The Pid resource has specific parameters to configure. See also Pid Loop
(ECL Series) and Pid Loop (ECB & ECY Series).
Parameter Description
370 EC-gfxProgram
Parameter Description
Saturation high When enabled, and the block’s output remains at 100%
limit enable output (at saturation) for a time period longer than that
set by SaturationTime, the SaturationStatus output
becomes 3.
Pid Loop The Pid Configuration window provides an interface giving full control of the
configuration proportional, integral, and derivative parameters. See also Tuning a PID Loop.
theory
The output of a PID loop is defined by the following equations:
GI = Integral gain
EC-gfxProgram 371
TI = Integral time
GD = Derivative gain
TD = Derivative time
With proportional (P) only control, the output is a function of the error or differ-
ence between the control point and setpoint. The control point eventually sta-
bilizes, but most often not on the setpoint, creating an offset.
372 EC-gfxProgram
With proportional-integral (PI) control, the control point eventually stabilizes
on the setpoint, eliminating the offset, but there is still a significant overshoot.
Parameter Description
Integral time See the Description for the IntegralTime block input
above.
Derivative time See the Description for the DerivativeTime block input
above.
Dead band See the Description for the DeadBand block input
above.
Bias See the Description for the Bias block input above.
Ramp time See the Description for the RampTime block input
above.
Saturation time See the Description for the SaturationTime block input
above.
EC-gfxProgram 373
Parameter Description
NOTE: To setup and tune a PID loop, see Tuning a PID Loop for further infor-
mation.
Often two PID loops are used and their calculations are coupled together. This
example controls the Outside Air Damper (OAD) by choosing the minimum
between a Discharge Air Temperature (DAT) PID loop calculation and Mixed
Air Temperature (MAT) PID loop calculation. The outputs of the two PID
blocks are selected by a minimum block before the signal goes to the analog
output.
When the Output of the Mixed Air Temperature PID block is less than the
Output of the Discharge Air Temperature PID block, the Minimum block
selects the Mixed Air Temperature as the output to control the Outside Air
Damper (to protect the coil from freezing). Under this condition, due to the
Feedback input of the Discharge Air Temperature PID block, the Output of
this PID is reset to be the value of the Output of the Mixed Air Temperature
374 EC-gfxProgram
PID block plus any proportional, integral, derivative movement based on the
block’s other inputs.
Figure 259: Pid Loop project code example showing the use of the Feedback input
Description Used to provide a proportional, integral, and derivative (PID) loop control.
Each Pid Loop block is linked to a corresponding network variable (BACnet
object) which follows the same value as the PID block.
The Pid Loop values are configured in the Pid Loop configuration theory win-
dow. However, during runtime, the PID loop values can be modified through a
network property (BACnet object), through the controller’s operator interface
or through the connected ECx-Display (when equipped), through the Live
Trend Log (see below), or through project code (by linking project code to a
PID block’s ProportionalBand, IntegralTime, or DerivativeTime input
ports). When an input port is linked to code, the corresponding network prop-
erty is set to Read Only and the controller’s operator interface / ECx-Display
(when equipped) and Live Trend Log cannot be used to modify the parameter.
• For ECB Series controllers: If the input port is later disconnected, the con-
troller must be rebooted or the option Reset PIDS selected during Project
Synchronization to make the associated network property writable again
so that the parameter can be modified in the controller’s operator inter-
face / ECx-Display.
• For ECY Series controllers: If the input port is later disconnected, the
associated network property is automatically made writable again so that
the parameter can be modified in the controller’s operator interface / ECx-
Display.
EC-gfxProgram 375
A Live Trend Log of the response of the PID loop’s Input, Setpoint, and Out-
put can be used to view a graph of these variables so as to help with PID loop
tuning. While Debugging a project, right-click the Pid Loop block and select
View Trend Log. See Viewing a Live Trend Log. The PID loop’s advanced
configuration parameters can be set within the Live Trend Log, when the
parameter is not being set at the block’s corresponding input port.
Number of For ECB Series controllers: The number of Pid Loop block instances sup-
blocks ported by a controller is shown in the Number drop-down list in the Properties
or Statistics panes.
For ECY Series controllers: see Supported number of BACnet objects with an
ECY Series controller.
Persistence For ECY Series controllers: Allows the input values to be saved during a con-
troller power cycle or reset. See Persistent values (ECL, ECB & ECY Series
controllers).
Related blocks Generic Pid Loop (ECL, ECB & ECY Series), Live Trend Log
Input(s)
376 EC-gfxProgram
Port Type Range Description
Feedback Numeric 0 to 100 This is a feedback input of the actual control signal
being sent to the process being controlled.
For example, between the PID block output and the
Hardware Output (ECB & ECY Series), blocks can
be used to further process the signal. When the
process being controlled is overridden, a PID block
will normally integrate either to 0% or 100%. This
results in a surge when the override is removed. By
providing the override signal to this input (the value
at the analog output for example), once the override
is removed, the block’s output will smoothly resume
operation starting from the last override value over
to PID loop control.
While the Pid block detects a difference between the
Output output and the Feedback input, the
integration function of the PID loop is suspended.
See To setup and tune a PID loop, see Tuning a PID
Loop for further information..
Proportional Numeric 0.001 to 3.4028 The proportional band is the error value that is
Band ×1038 necessary to span the extent of the output range, to
move the output from 0 to 100%. The proportional
gain is the instantaneous effect of the error on the
output. The proportional gain and proportional band
have the following relationship: proportional gain =
100/(proportional band).
For example, If the proportional band is set to 2ºF,
then a 2ºF error (deviation from the setpoint) will
result in 100% output. The proportional band is
sometimes referred to as a "throttling range" or
"modulating range".
IntegralTime Numeric 0 to 3.4028 The integral time is a factor of the effect of the error
×1038 (deviation from setpoint) over time. The integral time
determines how quickly the system responds to a
given error.
Derivative Numeric 0 to 3.4028 The derivative time determines the effect of the
Time ×1038 derivative action on the system response. The
derivative time is sometimes referred to as "rate
time".
EC-gfxProgram 377
Port Type Range Description
Deadband Numeric 0 to 3.4028 The dead band is a range (centered on the setpoint)
×1038 in which no corrective action is taken, that is, the
output of the PID loop remains the same.
For example, the graph below shows the effect of a
2°F dead band on a Pid loop that has a proportional
band of 4°F. The setpoint is 72°F. The dead band is
2°F centered on the setpoint and thus the output of
the Pid loop does not change when the input is
between 71 and 73°F. No matter how the Pid loop is
configured (change to proportional, integral,
derivative control or bias represented by the dashed
lines) the dead band remains centered on the
setpoint.
Figure 260: Effect of 2°C Dead Band on Pid
378 EC-gfxProgram
Port Type Range Description
Bias Numeric 0 to 100 The bias is the default percentage of output when
there is no error (setpoint = Input). It is a constant
value that is applied to the control loop to correct
offsets.
For example, the graph below shows the effect of a
50% bias on a Pid loop that has a proportional band
of 4°F. The setpoint is 72°F. The bias is 50% and
thus the total output of the Pid loop is increased by
50% so that previously a 72°F input temperature
resulted in an output of 0% and now results in an
output of 50%.
Figure 261: 0% Bias on Pid
EC-gfxProgram 379
Port Type Range Description
RampTime Numeric 0 to 3.4028 Sets the maximum rate of change in seconds for the
×1038 Output to go from 0% to 100%.
For example, if this input is set to 120 seconds, and
the Enabled input port changes from False to True,
the block’s Output will take at least 120 seconds to
ramp up from 0% to 100%. As such, if the PID loop
calculates a required Output of 50%, it will take the
Output at least 60 seconds to go from 0% to 50%.
This is shown below.
Figure 263: Example: 50% RampTime Effect on Pid
Output
380 EC-gfxProgram
Output(s)
Output Numeric 0 to 100 The PID loop output. If no Input to this block is
Null, then the block’s output is the normal result. If
one or more Inputs to this block are Null, then the
Output of this block is always Null.
Reliability Enum See When either the Check out of range or the
Description Check signal fault in the Advanced
Configuration is set (or both are set), this
provides an indication of whether the physical
input is "reliable" and, if not, why. See Reliability
Property.
EC-gfxProgram 381
Block properties See also Common block properties.
Advanced configuration
Configuration parameters for this block are set in the Resources Configura-
tion window.
382 EC-gfxProgram
The Pid resource has specific parameters to configure. See also Pid Loop
(ECL Series).
Parameter Description
EC-gfxProgram 383
Parameter Description
Saturation high When enabled, and the block’s output remains at 100%
limit enable output (at saturation) for a time period longer than that
set by SaturationTime, the SaturationStatus output
becomes 3.
Feedback input See To setup and tune a PID loop, see Tuning a PID Loop for further informa-
example tion.
Ramp
Description Used to increase and/or decrease an input’s value at a specified rate. Often
used to slowly start a system at a user-defined rate.
If the rate of increase of the input is greater than that of the ramp up, then the
block will output the ramp value or else it will simply output the input value. If
the rate of decrease of the input is greater than the rate of decrease of the
ramp down, then the block will output the ramp value or else it will simply out-
put the input value.
384 EC-gfxProgram
Input(s)
32-Bit 8-Bit
RampUpTm Integer 0 to 3×1038s 0 to 83886s Time that the Output will ramp
up to the RampUp%. To disable
0 to 1398m
0 to 5×1036m the Ramp Up feature, set the
0 to 22h RampUp% to any non-zero
0 to
value and RampUpTm to 0.
8.3333×1034h
RampDown Tm Integer 0 to 3×1038s 0 to 83886s Time that the Output will ramp
down to the RampDown%. To
0 to 1398m
0 to 5×1036m disable the Ramp Down
0 to 22h feature, set the RampDown%
0 to
to any non-zero value and
8.3333×1034h RampDownTm to 0.
EC-gfxProgram 385
Outout(s)
32-Bit 8-Bit
TimeBase Menu See Second Select the unit of time: Second, Minute or
Description Hour.
Example The Ramp block can be used to slowly modulate a cooling valve on system
startup. The example below shows how the opening of a Cooling Valve (Hard-
ware Output block) is ramped up (Ramp block) to 100% in 2 minutes (Inter-
386 EC-gfxProgram
nal constant blocks) based on the Supply Air Temperature (Hardware Input,
Pid, Internal Constant block).
The Ramp block receives its Input from a Pid block for Supply Air Tempera-
ture (Hardware Input block). The Ramp block then increases at a rate of
100% over 2 minutes and outputs this to a Cooling Valve (Hardware Output
block). The graph above shows that the Ramp block outputs the Ramp Up
value up until the Input value intersects with the Ramp Up value and falls
below it. At that point the Ramp block outputs the Input value. The Pid and
Ramp blocks are enabled when the occupied mode is scheduled. The Ramp
block is disabled when the Output of the Ramp block is less than or equal to
the Output of the Pid block.
EC-gfxProgram 387
Rising Edge
Description Output pulses On if the input goes from Off to On (any non-zero value). The
output will remain On for the duration of one code execution. This is used to
do a one-shot execution (pulse) upon an Off to On transition.
Input(s)
Output(s)
388 EC-gfxProgram
Example The Rising Edge block can be used to pulse an On value when it receives an
Off to On Input value. The example below shows how a Ramp block is
enabled (Rising Edge and Latch block) based on the Schedule being occu-
pied (Equal and Internal Constant block).
The Rising Edge block receives its Input from an Equal block that compares
the CurrentState of a Schedule block to an Internal Constant block set as
occupied. When this comparison is true, the Rising Edge block pulses an On
value on its Output. This On value is then used by a Latch block to enable the
Ramp block.
Startup
Description Used for program initialization and to output a true value at the first code exe-
cution (after a reset or power up).
Slim format This block can be collapsed into a slim format. See Collapsed in Common
support block properties.
Input(s) N/A
Output(s)
EC-gfxProgram 389
Example The Startup block is used to output an On value at the first code execution.
The example below shows how an Effective Static Pressure Setpoint (Vari-
able Numeric (ECP Series) block) is initialized at startup (Startup and Switch
block) with a Constant Static Pressure Setpoint (Constant Numeric (ECP
Series) block).
The Startup block pulses an On value at the first code execution then remains
Off until the next reset. This On value is received by a Switch block and out-
puts the Constant Static Pressure Setpoint (Constant Numeric block). For
the remainder of the code execution, the Switch block outputs the Effective
Static Pressure Setpoint (Variable Numeric block), which is governed by a
separate algorithm.
390 EC-gfxProgram
Toggle
Description Used for a push button logic input (for example, a push to start, push to stop
function). If the output is Off, a rising edge to the Toggle input will set the out-
put to On and hold this value until the next rising edge to the Toggle input. If
the output is On, a rising edge to the Toggle input will set the output to Off and
hold this value until the next rising edge to the Toggle input. A rising edge to
the Reset input forces the output to Off and hold this value until the next rising
edge to the Toggle input.
0 0 No change
1 0 0 or 1
0 1 0
1 1 0
Persistence For ECL, ECB & ECY Series controllers, the current value is persistent; this
allows a value to be saved during a controller power cycle or reset. See Per-
sistent values (ECL, ECB & ECY Series controllers).
Input(s)
Toggle Digital 0 or 1 Toggle input. If Output is Off and Toggle turns On, Output
turns On. If Output is On and Toggle turns On, Output
turns Off.
EC-gfxProgram 391
Port Type Range Description
Output(s)
Persist Menu See False When this option is True, the output state is
Description preserved during any type of reset. See
Persistent values (ECL, ECB & ECY Series
controllers).
392 EC-gfxProgram
About When Persist is set for a new block, you must reset the persistent value that
persistence is associated with the block after the project code has been sent to the device.
The application cannot really determine if the persistent value that is stored in
the controller is the one you want. So a manual operation is required to reset
this value the first time you setup it on a block. Proceed as follows to do so:
Example The Toggle block can be used for toggle switching operations in which a reset
is required. The example below shows how an Exhaust Fan (Hardware Out-
put block) is toggled (Toggle block) On and Off by a Push Button (Hardware
Input block). The system is shut down when the schedule (Schedule block)
becomes (Equal block) Unoccupied (Internal constant block).
The Toggle block receives its Toggle command from a Hardware Input block
and its Reset command from an Equal block. The Equal block compares the
occupancy from the Schedule block to the set occupancy from the Internal
Constant block. Thus the output of the Equal block will only be True when the
unoccupied mode is scheduled. When the Equal block is True, the Toggle
block is reset and the Exhaust Fan (Hardware Output block) is turned Off.
Assuming that the Reset of the Toggle block is Off, if the Exhaust Fan Push
Button (Hardware Input block) is turned On, the Exhaust Fan (Hardware
Output block) will turn On if it was Off and turn Off if it was On.
EC-gfxProgram 393
Weather (ECB & ECY Series)
Description Provides weather information to EC-gfxProgram code. For this block to work
the controllers must be able to receive BACnet weather information from the
network through any of the following methods.
394 EC-gfxProgram
Input(s)
Day Enum 0 This selects the day for which this block is to output
values for: the current weather (currentCondition) and
1
weather forecast for today (today) and up to six days
2 from now (inSixDays). When Day is greater than 0, not
all block forecast condition outputs will be available.
3
0 = currentCondition: The current weather conditions.
4
1 = today: Today’s weather forecast conditions.
5
2 = tomorrow: Tomorrow’s weather forecast
6
conditions.
7
3 = afterTomorrow: weather forecast conditions in two
days time.
4 = inThreeDays: weather forecast conditions in three
days time.
5 = inFourDays: weather forecast conditions in four
days time.
6 = inFiveDays: weather forecast conditions in five
days time.
7 = inSixDays: weather forecast conditions in six days
time.
Output(s)
LastUpdate Integer 0000 to 9999 The year of the last weather information update.
Year
DateYear Integer 0000 to 9999 According to the Day input value, this is the
year.
EC-gfxProgram 395
Port Type Range Description
Sunrise Minute Integer 0 to 59 According to the Day input value, this is the
sunrise minute for that day.
Sunset Second Integer 0 to 59 According to the Day input value, this is the
sunset second for that day.
Temperature Numeric Weather According to the Day input value, this is the
High Service value maximum temperature for that day.
in Fahrenheit
or Celcius
Temperature Numeric Weather According to the Day input value, this is the
Low Service value minimum temperature for that day.
in Fahrenheit
or Celcius
Precipitation Integer 0 to 100% According to the Day input value, this is the
Chance chance of precipitation for that day.
396 EC-gfxProgram
Port Type Range Description
EC-gfxProgram 397
Port Type Range Description
398 EC-gfxProgram
Generics
Generic blocks represent multiple instantiations of their root or base type. The
generic block’s Number input selects the instance identity at any moment that
the generic block is to assume. The For Loop (ECL, ECB & ECY Series) block
is ideal for use with a generic block as it cycles through a range of numbers
allowing the generic block to go through each of its instantiations.
Generic blocks are also useful for creating toolboxes since they allow reading
and writing to resource blocks inside toolboxes, which is not possible using
the standard blocks.
EC-gfxProgram 399
Generic Analog Value (ECB & ECY Series)
Description Used to provide access to any instance of an Analog Value block through the
Number input.
• Resource Viewer in the Bacnet Objects tab, set the View Mode to All,
and right-click an Analog Value to select Configure.
• Resources Configuration window by double-clicking the block.
Input(s)
400 EC-gfxProgram
Port Type Range Description
Alarm Numeric ±3.4028×1038 When alarms are enabled for this block (see Alarms
Setpoint (B- (ECB & ECY Series)), a positive input value
AAC and B- increases the alarm setpoint values set in the
BC Resources Configuration’s Alarms configuration for
controllers the block (a negative value reduces the alarm
only) setpoint values): The High limit is now the High
limit value (set in the Resources Configuration’s
Alarms configuration for the block) plus
AlarmSetpoint and the Low limit is now the Low
limit value (set in the Resources Configuration’s
Alarms configuration for the block) plus
AlarmSetpoint. See Dynamic alarm activation
thresholds adjust.
Output(s)
Fault (ECY Digital 0 or 1 For the output: This is logically True (1) if the
Series Reliability property does not have a value of No
controllers Fault Detected, otherwise logical False (0).
only)
EC-gfxProgram 401
Port Type Range Description
Example To use a Generic Analog Value block with a For Loop (ECL, ECB & ECY
Series) block, see For Loop block example for ECB & ECY Series controllers.
Description Used to provide access to any instance of a Binary Value block through the
Number input.
Each Binary Value block is linked to a corresponding BACnet object which fol-
lows the same value as the Binary Value block. The corresponding Binary Val-
ues that are used with this block must have their advanced configuration set.
This is done in the:
• Resource Viewer in the Bacnet Objects tab, set the View Mode to All,
and right-click a Binary Value to select Configure.
• Resources Configuration window by double-clicking the block.
402 EC-gfxProgram
Related Blocks Binary Value (ECB & ECY Series)
Input(s)
Number Numeric 1 to n Selects the Binary Value (ECB & ECY Series)
instance to assume.
Where n is the maximum number of Binary Values
supported by the current controller model. See the
Number of resources supported by a controller for
the available number of Binary Value blocks.
AlarmValue (B- Digital 0 or 1 When alarms are enabled for this block (see Alarms
AAC and B-BC (ECB & ECY Series)), this input overrides the alarm
controllers value set in the Resources Configuration’s Alarms
only) configuration for the block.
ResetElapsedA Digital 0 or 1 A pulse at this input resets the timer for the
ctiveTime ElapsedActiveTime output (see below).
ResetChangeO Digital 0 or 1 A pulse at this input resets the counter for the
fStateCount ChangeOfStateCount output (see below).
EC-gfxProgram 403
Output(s)
Fault (ECY Digital 0 or 1 For the output: This is logically True (1) if the
Series Reliability property does not have a value of No
controllers only) Fault Detected, otherwise logical False (0).
Elapsed Numeric 3.4028×1038 Cumulates the time this value is set to true (1).
ActiveTime
(ECY Series
controllers only)
Example For an example of how to use a Generic block with a For Loop (ECL, ECB &
ECY Series) block, see For Loop block example for ECB & ECY Series con-
trollers.
404 EC-gfxProgram
Generic Boolean Value (ECL Series)
Description Used for True or False constant values. Mainly used for variable values
requiring monitoring. For a detailed description of this block’s configuration
parameters and features, see Boolean Value (ECL Series).
Input(s)
Number Numeric 1 to n Selects the Boolean Value (ECL Series) block instance
to assume.
Where n is the maximum number of Boolean Values
supported by the current controller model. See the
Number of resources supported by a controller for the
available number of Boolean Value blocks.
Output(s)
Output Digital 0 or 1 Block output. The read (Automatic) value or set Manual
value.
EC-gfxProgram 405
Example For an example of how to use a Generic block with a For Loop (ECL, ECB &
ECY Series) block, see For Loop block example for ECL Series controllers.
For an example of using the For Loop block to fan in values from many con-
trollers, see Using LONWORKS network variables to fan in values from many
controllers.
Related blocks ComSensor (ECB & ECY Series), ComSensor (ECL Series), ComSensor
Value (ECL, ECB & ECY Series), ComSensor Condition (ECL, ECB & ECY
Series), ComSensor Condition Selector (ECL, ECB & ECY Series)
Input(s)
Module Numeric 1 to n Selects the ComSensor Condition (ECL, ECB & ECY Series)
instance to assume.
Where n is the maximum number of ComSensors supported
by the current controller model. See the controller’s
datasheet for more information.
Outpu(s)
406 EC-gfxProgram
Block properties See Common block properties.
Description Used to provide access to any instance of a ComSensor Value block through
the Number input. For a detailed description of this block’s configuration
parameters and features, see ComSensor Value (ECL, ECB & ECY Series).
Related blocks ComSensor Value (ECL, ECB & ECY Series), ComSensor (ECB & ECY
Series), ComSensor (ECL Series), ComSensor Condition (ECL, ECB & ECY
Series), ComSensor Value Selector (ECL, ECB & ECY Series)
Input(s)
Module Numeric 1 to n Selects the ComSensor Value (ECL, ECB & ECY
Series) instance to assume.
Where n is the maximum number of ComSensors
supported by the current controller model. See the
controller’s datasheet for more information.
Number Numeric 11 to 110 Selects the Value to assume. 11 to 40 for the 30 Local
Values and 41 to 110 for the 70 Global Values.
Output(s)
EC-gfxProgram 407
Generic Internal Variable (ECL, ECB & ECY Series)
Description Used to provide access to any instance of an Internal Variable block through
the Number input. For a detailed description of this block’s configuration
parameters and features, see Internal variable (ECL, ECB & ECY Series).
Input(s)
Number Numeric 1 to n Selects the Internal variable (ECL, ECB & ECY Series)
instance to assume.
Where n is the maximum number of Internal Variables
supported by the current controller model. See the
Number of resources supported by a controller for the
available number of Internal Variable blocks.
Input Numeric ±3.4028×1038 Block input. The Internal variable (ECL, ECB & ECY
Series) value.
Output(s)
408 EC-gfxProgram
Generic Boolean Constant (ECL Series)
Description Used for True or False constant values. They can be formatted to a Boolean
value (True or False). For a detailed description of this block’s configuration
parameters and features, see Boolean Constant (ECL Series).
Input(s)
Number Numeric 1 to n Selects the Boolean Constant (ECL Series) block instance to
assume.
Where n is the maximum number of Boolean Constants
supported by the current controller model. See the Number
of resources supported by a controller for the available
number of Boolean Constant blocks.
Description Used for enumeration constant values. They can be formatted to any stan-
dard enumeration. For a detailed description of this block’s configuration
parameters and features, see Enum Constant (ECL Series). Advanced con-
figuration
EC-gfxProgram 409
Configure Ports, Show/Hide Ports
Input(s)
Number Numeric 1 to n Selects the Enum Constant (ECL Series) block instance
to assume.
Where n is the maximum number of Enum Constants
supported by the current controller model. See the
Number of resources supported by a controller for the
available number of Enum Constant blocks.
Output(s)
Output Enum -128 to 127 Block output. The enumeration constant value.
Description Used for enumeration values. Mainly used for variable values requiring moni-
toring. For a detailed description of this block’s configuration parameters and
features, see Enum Value (ECL Series).
410 EC-gfxProgram
Input(s)
Output(s)
Output Enum -128 to 127 Block output. The read (Automatic) value or set
(Manual) value.
Example For an example of how to use a Generic block with a For Loop (ECL, ECB &
ECY Series) block, see For Loop block example for ECL Series controllers.
For an example of using the For Loop block to fan in values from many con-
trollers, see Using LONWORKS network variables to fan in values from many
controllers.
EC-gfxProgram 411
Generic Floating Output (ECL Series)
Description Used to provide access to any instance of a Floating Output block through
the Number input.
Floating Output blocks that are used with this block must have their advanced
configuration set. This is done in the:
• Resource Viewer in the Hardware IOs tab, set the View Mode to All, and
right-click either Floating Output to select Configure.
• Resources Configuration window by double-clicking the block.
Input(s)
Position Numeric 0 to 100 The position demand for the floating actuator (in %).
Output(s)
Position Numeric 0 to 100 The actual position of the actuator (in %).
412 EC-gfxProgram
Port Type Range Description
Description Used to provide access to any instance of a Floating Output block through the
Number input.
Floating Output blocks that are used with this block must have their advanced
configuration set. This is done in the:
• Resource Viewer in the Hardware IOs tab, set the View Mode to All, and
right-click either Floating Output to select Configure.
• Resources Configurationwindow by double-clicking the block.
EC-gfxProgram 413
Input(s)
Position Numeric 0 to 100 The position demand for the floating actuator (in %).
Priority Integer 1 to 16 For a Commandable Value only, the value at the Input is
written at the priority level specified at this input. If a
value is not linked to this input, the value at the Input is
written into the default priority level. See Commandable
object priority array levels.
Output(s)
Position Numeric 0 to 100 The actual position of the actuator (in %).
Description Used to provide access to any instance of a Hardware Input block through the
Number input.
Hardware inputs that are used with this block must have their advanced con-
figuration set. This is done in the
414 EC-gfxProgram
• Resource Viewer in the Hardware IOs tab, set the View Mode to All, and
right-click a hardware input to select Configure.
• Resources Configuration window by double-clicking the block.
Input(s)
ClrPulse Digital 0 or 1 For inputs configured for pulse counting, set this input
to True (1) to clear the pulse count.
Output(s)
EC-gfxProgram 415
Port Type Range Description
Reliability Enum See When either the Check out of range or the
Description Check signal fault in the Advanced
Configuration is set (or both are set), this
provides an indication of whether the physical
input is "reliable" and, if not, why. See Reliability
property.
416 EC-gfxProgram
Generic Hardware Input (ECB & ECY Series)
Description Used to provide access to any instance of a Hardware Input block through the
Number input.
• Resource Viewer in the Hardware IOs tab, set the View Mode to All, and
right-click a hardware input to select Configure.
• Resources Configuration window by double-clicking the block.
Input(s)
ClrPulse Digital 0 or 1 For inputs configured for pulse counting, set this input to
True (1) to clear the pulse count.
EC-gfxProgram 417
Port Type Range Description
AlarmValue Numeric ±3.4028 When alarms are enabled for this block (see Alarms
(B-AAC ×1038 (ECB & ECY Series)), a positive input value increases
and B-BC the alarm setpoint values set in the Resources
controllers Configuration’s Alarms configuration for the block (a
only for a negative value reduces the alarm setpoint values): The
non-Digital High limit is now the High limit value (set in the
block Resources Configuration’s Alarms configuration for the
instance) block) plus AlarmSetpoint and the Low limit is now the
Low limit value (set in the Resources Configuration’s
Alarms configuration for the block) plus AlarmSetpoint.
See Dynamic alarm activation thresholds adjust.
AlarmValue Digital 0 or 1 When alarms are enabled for this block for a digital value
(B-AAC (see Alarms (ECB & ECY Series)), this input overrides
and B-BC the alarm value set in the Resources Configuration’s
controllers Alarms configuration for the block.
only for a
Digital NOTE: When the AlarmValue input is disconnected,
block you must reset the controller (see Project Syn-
instance) chronization) or connect a Null value (ECL, ECB
& ECY Series) block to this port so the controller
will release this port as being unconnected.
When the AlarmValue input is disconnected, the
alarm value property can be overwritten through
the BACnet interface.
418 EC-gfxProgram
Output(s)
Reliability Enum See Description When either the Check out of range or the
Check signal fault in the Advanced
Configuration is set (or both are set), this
provides an indication of whether the physical
input is "reliable" and, if not, why. See
Reliability property.
InAlarm (B- Digital 0 or 1 When Enable Alarms is set for this block and
AAC and B- the block is in an alarm state, this output is On
BC (1). See Alarms (ECB & ECY Series) to
controllers configure the alarm settings.
only)
EC-gfxProgram 419
Generic Hardware Output (ECL Series)
Description Used to provide access to any instance of a Hardware Output block through
the Number input.
Hardware Outputs that are used with this block must have their advanced
configuration set. This is done in the:
• Resource Viewer in the Hardware IOs tab, set the View Mode to All, and
right-click a hardware output to select Configure.
• Resources Configuration window by double-clicking the block.
Input(s)
Numeric 0 to 100
420 EC-gfxProgram
Port Type Range Description
Output(s)
Override Multi State Off The HOA switch’s current position. Manual is
Switcha Value the Hand position.
Auto
Manual
Not available
EC-gfxProgram 421
Port Type Range Description
Reliability Enum See When either the Check out of range or the
Description Check signal fault in the Advanced
Configuration is set (or both are set), this
provides an indication of whether the physical
input is "reliable" and, if not, why. See
Reliability property.
Description Used to provide access to any instance of a Hardware Output block through
the Number input.
• Resource Viewer in the Hardware IOs tab, set the View Mode to All, and
right-click a hardware output to select Configure.
• Resources Configuration window by double-clicking the block.
422 EC-gfxProgram
Input(s)
EC-gfxProgram 423
Port Type Range Description
AlarmValue (B- Numeric ±3.4028×1038 When alarms are enabled for this block (see
AAC and B-BC Alarms (ECB & ECY Series)), a positive input
controllers only value increases the alarm setpoint values set
for a non-Digital in the Resources Configuration’s Alarms
/ Pulse block configuration for the block (set in the
instance) Resources Configuration’s Alarms
configuration for the block): The High limit is
now the High limit value (set in the
Resources Configuration’s Alarms
configuration for the block) plus AlarmValue
and the Low limit is now the Low limit value
(set in the Resources Configuration’s Alarms
configuration for the block) plus AlarmValue.
See Dynamic alarm activation thresholds
adjust.
424 EC-gfxProgram
Outout(s)
Override Switcha Multi State Off The HOA switch’s current position. Manual is
Value the Hand position.
Auto
Manual
Not available
EC-gfxProgram 425
Port Type Range Description
Effective Outputa Numeric 0 to 125% The actual output voltage or current at the
hardware output, which represents the value
Digital 0 or 1 of any software generated output or any HOA
override setting.
InAlarm (B-AAC Digital 0 or 1 When Enable Alarms is set for this block and
and B-BC the block is in an alarm state, this output is On
controllers only) (1). See Alarms (ECB & ECY Series) to
configure the alarm settings.
Description Used to provide access to any instance of a Network Value block through the
Number input. For a detailed description of this block’s configuration parame-
ters and features, see Network Value (ECB & ECY Series).
• Resource Viewer in the BACnet Objects tab, set the View Mode to All,
and right-click a Network Value to select Configure.
• Resources Configuration window by double-clicking the block.
426 EC-gfxProgram
Advanced Configure Ports, Show/Hide Ports
configuration
For more information about BACnet objects, see BACnet objects, services,
and data priority, Reading and writing network points, and Commandable
object priority array levels.
Input(s)
Input (write Numeric ±3.4028×1038 The value to be sent to the remote device on the
only) BACnet intranetwork.
Output(s)
Output Numeric ±3.4028×1038 The value from the remote device made available on
(read only) the BACnet intranetwork.
EC-gfxProgram 427
Port Type Range Description
Example For an example of how to use a Generic block with a For Loop (ECL, ECB &
ECY Series) block, see For Loop block example for ECB & ECY Series con-
trollers.
Description Used to provide access to any instance of a Network Variable Input block
through the Number input.
Network Variable Inputs that are used with this block must have their
advanced configuration set. This is done in the:
• Resource Viewer in the Network Variable tab, set the View Mode to All,
and right-click a Network Variable Input to select Configure.
• Resources Configuration window by double-clicking the block.
428 EC-gfxProgram
Related blocks Network Variable Input (ECL Series)
Input(s)
Input See See The value to write. See Network Variable Input (ECL
Description Description Series).
NOTE:
EC-gfxProgram 429
Port Type Range Description
FanInNumber Integer 0-255 Selects the FanIn number of a value to be read. The
FanInNumber port affects the Output, Com Failure
and Subnet and Node Id ports. See also Using
LONWORKS network variables to fan in values from
many controllers.
Output(s)
Output See See The outputs are defined according to the SNVT or
Description Description UNVT type selected. See also the Format option in
this block’s Properties.
430 EC-gfxProgram
Port Type Range Description
FanInCount Integer 0-255 Number of fan in values available in the fan in table.
SubnetNode Id Integer See Network variable update Subnet and Node Id source
Description address.
The source address is the Subnet id (1 to 255)
multiplied by 1000 and then add the node id.
For example: Address 1005 has a Subnet id of 1
and a Node id of 5.
Example For an example of using the For Loop (ECL, ECB & ECY Series) block to fan
in values from many controllers, see Using a LonWorks Network Variable to
Fan in Values From Many Controllers.
EC-gfxProgram 431
Generic Network Variable Output (ECL Series)
Description Used to provide access to any instance of a Network Variable Output block
through the Number input.
Network Variable Outputs that are used with this block must have their
advanced configuration set. This is done in the:
• Resource Viewer in the Network Variable tab, set the View Mode to All,
and right-click a Network Variable Output to select Configure.
• Resources Configuration window by double-clicking the block.
Input(s)
Input See See The value to write. The inputs are defined according to
Description Description the SNVT or UNVT type selected. See also the Format
option in this block’s Properties pane.
432 EC-gfxProgram
Port Type Range Description
Output(s)
Output See See The outputs are defined according to the SNVT or UNVT
Description Description type selected. See also the Format option in this block’s
Properties Pane.
EC-gfxProgram 433
Block properties See Common block properties.
Example For an example of using the For Loop (ECL, ECB & ECY Series) block to fan
in values from many controllers, see Using LONWORKS network variables to
fan in values from many controllers.
434 EC-gfxProgram
Generic Numeric Constant (ECL Series)
Description Used for numeric constant values. For a detailed description of this block’s
configuration parameters and features, see Numeric Constant (ECL Series).
Input(s)
Output(s)
EC-gfxProgram 435
Generic nLight Channel (ECY Series)
Description Used to provide access to any instance of an nLight Channel block through
the Number input. By default, it exposes the ports that are available both for a
Switch and an Occupancy channel. The applicable ports will be assigned val-
ues, while the non-applicable ports will remain null. Other ports can be
exposed as well (see Show/Hide Ports). For a detailed description of this
block’s configuration parameters and features, see nLight Channel (ECY
Series).
Advanced Configure Ports, Show/Hide Ports, nLight Channel Calculator (ECY Series),
configuration nLight Channel (ECY Series)
Input(s)
RelayState Digital 0 or 1 Switches the lighting on or off for the channel. Only
applicable to channels of the Switch type.
436 EC-gfxProgram
Output(s)
Occupied.Reli- Enum See Descrip- This provides an indication of whether the occu-
ability tion pancy channel is connected to the controller (No
fault detected (0)) or not (Communication failure
(12)). See also Reliability property. A configura-
tion error identifies that the device’s configuration
is not valid. Only applicable to channels of the
Occupancy type.
nLight Channel Based on the values assigned to its input parameters (in this example, the
Resource values are provided by Internal Constant blocks referring to the nLight
Number Channel Type and nLight Channel Device Type enumerations), the nLight
Calculator Channel Calculator block computes the nLight channel resource number
Example (BACnet object ID) and sends it, through the Number output, to the Generic
nLight Channel block, which uses it to automatically identify and represent
the concerned nLight channel. As a result, the Generic nLight Channel out-
puts the actual values of the dimming level and relay state of the selected
Switch channel. The Occupied parameter is null since the channel is not of
the Occupancy type.
EC-gfxProgram 437
Generic Multi State Value (ECB & ECY Series)
Description Used to provide access to any instance of a Multi State Value block through
the Number input. For a detailed description of this block’s configuration
parameters and features, see Multi State Value (ECB & ECY Series).
Each Multi State Value block is linked to a corresponding BACnet object which
follows the same value as the Multi State Value block. Multi State Values that
are used with this block must have their advanced configuration set. This is
done in the:
• Resource Viewer in the BACnet Objects tab, set the View Mode to All,
and right-click a Multi State Value to select Configure.
• Resources Configuration window by double-clicking the block.
438 EC-gfxProgram
Input(s)
Output(s)
EC-gfxProgram 439
Port Type Range Description
Fault (B-AAC Digital 0 or 1 When Enable Alarms is set for this block and the
and B-BC block is in an alarm state, only the InAlarm output is
controllers On (1). When the block is in a fault state, both the
only) InAlarm and Fault outputs are On (1).
InAlarm (B- Digital 0 or 1 See Alarms (ECB & ECY Series) to configure the
AAC and B- alarm settings.
BC
controllers
only)
Example For an example of using the For Loop (ECL, ECB & ECY Series) block to fan
in values from many controllers, see Using LONWORKS network variables to
fan in values from many controllers.
Description Mainly used for variable values requiring monitoring. For a detailed descrip-
tion of this block’s configuration parameters and features, see Numeric Value
(ECL Series).
440 EC-gfxProgram
Input(s)
Output(s)
Output Numeric ±3.4028×1038 Block output. The read (Automatic) value or set
(Manual) value.
Example For an example of how to use a Generic block with a For Loop (ECL, ECB &
ECY Series) block, see For Loop block example for ECL Series controllers.
For an example of using the For Loop block to fan in values from many con-
trollers, see Using LONWORKS network variables to fan in values from many
controllers.
EC-gfxProgram 441
Generic Pid Loop (ECL, ECB & ECY Series)
Description Used to provide access to any instance of a Pid Loop block through the Num-
ber input.
Each Pid Loop block is linked to a corresponding network variable which fol-
lows the same value as the Pid Loop block. Pid Loops that are used with this
block must have their advanced configuration set. This is done in the:
• Resource Viewer in the Pid Values tab, set the View Mode to All, and
right-click a Pid Loop to select Configure.
• Resources Configuration window by double-clicking the block.
For more information about the advanced configuration settings of a Pid Loop
block, see Pid Loop (ECL Series) or Pid Loop (ECB & ECY Series).
Related blocks Pid Loop (ECL Series), Pid Loop (ECB & ECY Series)
Input(s)
See also the inputs for Pid Loop (ECL Series) block or Pid Loop (ECB & ECY
Series) block.
Output(s) See the outputs for Pid Loop (ECL Series) block or Pid Loop (ECB & ECY
Series) block.
442 EC-gfxProgram
Generic Timer (ECL Series)
Description Used to provide access to any instance of a Timer block through the Number
input. For a detailed description of this block’s configuration parameters and
features, see Timer (ECL Series).
Input(s)
Input Digital 0 or 1 Block input. If On (1), the timer is started. If Off (0),
the timer is stopped.
Reset Digital 0 or 1 Enabling this input (1) will reset the output to the
InitValue value.
Output(s)
Output Numeric 0 to The time count. The time count will stop
3.4028×1038 automatically when the range limit is reached.
EC-gfxProgram 443
Generic Timer (ECB & ECY Series)
Description Used to provide access to any instance of a Timer block through the Number
input. For a detailed description of this block’s configuration parameters and
features, see Timer (ECB & ECY Series).
Input(s)
Input Digital 0 or 1 Block input. If On (1), the timer is started. If Off (0),
the timer is stopped.
Reset Digital 0 or 1 Enabling this input (1) will reset the output to the
InitValue value.
Output(s)
Output Numeric 0 to The time count. The time count will stop
3.4028×1038 automatically when the range limit is reached.
444 EC-gfxProgram
HVAC
HVAC blocks are used for standard HVAC requirements such as stage control
and Optimum start and stop calculations.
• Analog Stages
• Digital Stages
• Digital Stages + Delay
• Optimum Start/Stop
• Smart Stages
• Stages With Modulation
• Thermostat
EC-gfxProgram 445
Analog Stages
As the Input demand increases, the Output stages increase from 0 to 100% in
a sequential manner.
If only 2 stages are configured, the first stage will increase at double the rate
of the Input so that when the Input reaches 50%, the first stage will reach
100%. As the Input increases beyond 50%, the second stage will begin to
increase at double the rate of the Input so that finally when the Input reaches
100%, the second stage will also reach 100%.
This block behaves similarly if 3 or 4 stages are configured, that is, each stage
will increase in sequence at 3 times the rate of the Input (3 stages) or 4 times
the rate of the Input (4 stages).
As the Input decreases, each stage decreases in the opposite manner than it
increased. For example, if 2 stages are configured, the second stage will
decrease to 0% when the Input reaches 50% and the first stage will decrease
to 0% when the Input reaches 0%.
446 EC-gfxProgram
Figure 273: 3 stages/putputs
Input(s)
Input Numeric 0 to 100 Stage demand, usually the output of a Pid block.
EC-gfxProgram 447
Output(s)
Example The Analog Stages block is used to control multiple analog outputs based on
the demands of a Dual Pid (ECP Series) block. The example below shows
how a Fresh Air Damper and Cooling Valve (Hardware Output blocks) are
controlled in sequence (Analog Stages and Internal constant block) based on
the Room Temperature (Hardware Input, Dual Pid, and Internal Constant
blocks).
The Analog Stages block receives its Input or cooling demand from the
HiVal of the Dual Pid block. The Dual Pid block evaluates the Room Tem-
perature (Hardware Input block) against heating and cooling setpoints (Inter-
nal Constant blocks) and outputs either a cooling demand to the Analog
Stages block, which controls a Fresh Air Damper and Cooling Valve (Hard-
ware Output blocks) or a heating demand to the Digital Stages block, which
controls a pair of heaters (Hardware Output blocks).
448 EC-gfxProgram
Digital Stages
Description Used to control multiple digital stages. As the Input demand increases or
decreases, the Output stages turn On or Off in a sequential manner.
Output4 On - - 95%
Off - - 80%
EC-gfxProgram 449
Figure 277: 3 stages/outputs
Input(s)
Input Numeric 0 to 100 Stage demand, usually the output of a Pid block.
450 EC-gfxProgram
Output(s)
Example The Digital Stages block is used to control multiple digital outputs based on
the demands of one input. The example below shows how a pair of heaters
(Hardware Output blocks) is controlled in sequence (Digital Stages and
Internal constantblock) based on the Room Temperature (Hardware Input,
Dual Pid (ECP Series), and Internal Constant blocks).
The Digital Stages block receives its Input or heating demand from the
LowVal of the Dual Pid block. The Dual Pid block evaluates the Room Tem-
perature (Hardware Input block) against heating and cooling setpoints (Inter-
nal Constant blocks) and outputs either a cooling demand to the Analog
Stages block, which controls a Fresh Air Damper and Cooling Valve (Hard-
ware Output blocks) or a heating demand to the Digital Stages block, which
controls a pair of heaters (Hardware Output blocks).
EC-gfxProgram 451
Digital Stages + Delay
Description Used to control multiple digital stages with On and Off delays.
This block works the same way as the Digital Stages block, except that a min-
imum On or Off time can be added between each stage depending on
whether it is turning On or Off.
Input(s)
32-Bit 8-Bit
452 EC-gfxProgram
Port Type Range Description
32-Bit 8-Bit
Output(s)
Example The Digital Stages + Delay block is used to control multiple digital outputs
based on the demands of one input with optional delays between each stage.
The example below shows how a pair of heaters (Hardware Output blocks) is
controlled in sequence (Digital Stages + Delay and Internal constant block)
based on the Room Temperature (Hardware Input, Dual Pid (ECP Series)
and Internal Constant blocks).
EC-gfxProgram 453
The Digital Stages + Delay block receives its Input or heating demand from
the LowVal of the Dual Pid block. The Dual Pid block evaluates the Room
Temperature (Hardware Input block) against heating and cooling setpoints
(Internal Constant blocks) and outputs either a cooling demand to the Ana-
log Stages block, which controls a Fresh Air Damper and Cooling Valve
(Hardware Output blocks) or a heating demand to the Digital Stages + Delay
block, which controls a pair of heaters (Hardware Output blocks). The stages
go On and Off for a minimum time of 2 minutes (Internal Constant blocks).
Optimum Start/Stop
Description Sets a transition slope for the setpoint to go from unoccupied mode to occu-
pied mode and vice-versa.
Input(s)
32-Bit 8-Bit
454 EC-gfxProgram
Port Type Range Description
32-Bit 8-Bit
EC-gfxProgram 455
Port Type Range Description
32-Bit 8-Bit
Output(s)
32-Bit 8-Bit
456 EC-gfxProgram
Logic table This is the logic table for the Optimum Start/Stop block.
Temperature /
Occupancy State Timing Output Status
Setpoint
EC-gfxProgram 457
Optimum Start/ The following is the Optimum Start/Stop block setpoint transition graph.
Stop block
setpoint
transition graph
Example The Optimum Start/Stop block is used to reach the temperature setpoint by
the time the occupancy changes. The example below shows how a Heater
and a Fan (Hardware Output blocks) are turned On before the space is
occupied (Optimum Start/Stop and Pid block) based on the Schedule
(Schedule block), Room Temperature (Hardware Input block) and setpoints
(Internal constant blocks).
458 EC-gfxProgram
Smart Stages
Description Used to control multiple digital stages based on the length of the period.
The output range will vary in proportion to the number of stages, so that if
there are 2 stages, then the output range for the first stage will be 0 to 50% of
the input demand and the output range for the second stage will be 50 to
100% of the input demand and so on for 3 and 4-stage outputs (assuming that
there are no delays configured).
For example, A 2-stage output is setup for a period of 10 minutes. At the start
of the first period, the Input load is 10%, then the first stage is On 20% of the
time (10 X 20% = 2 minutes) and the second stage does not turn On. At the
start of the second period, the Input load is 30%, then the first stage is On
60% of the time (10 X 60% = 6 minutes) and the second stage does not turn
On. At the start of the third period, the Input load is 70%, then the first stage is
On 100% of the time (10 X 100% = 10 minutes) and the second stage is On
40% of the time (10 X 40% = 4 minutes). At the start of the fourth period, the
Input load is 95%, then the first stage is On 100% of the time (10 X 100% = 10
minutes) and the second stage is On 90% of the time (10 X 90% = 9 minutes).
For the same example, if there is a MinOn of 4 minutes and a MinOff of 2 min-
utes, then each output will not turn On unless it has a load greater than 4/10
or 40% and will not turn Off unless it has a load less than 2/10 or 20% less
than 100%. So the first stage would not turn On at all during the first period
and the second stage would not turn Off at all in the fourth period.
EC-gfxProgram 459
Advanced Configure Ports, Show/Hide Ports
configuration
Input(s)
32-Bit 8-Bit
MinOn Integer 0 to 3×1038 0 to 83886 Minimum On delay (in seconds). The load
must be greater than the percentage of
the delay over the period to allow the
output to turn On.
MinOff Integer 0 to 3×1038 0 to 83886 Minimum Off delay (in seconds). The load
must be less than the percentage of the
delay over the period to allow the output
to turn Off.
460 EC-gfxProgram
Output(s)
Example The Smart Stages block is used to control multiple digital outputs based on
the demands of one input with optional delays between each stage. The
example below shows how a pair of compressors (Hardware Output blocks)
are controlled (Smart Stages and Internal constant blocks) based on the
Room Temperature (Hardware Input, Dual Pid (ECP Series), Add, and Inter-
nal Constant blocks).
The Smart Stages block receives its Input from the HiVal output of the Dual
Pid block. The Dual Pid block evaluates the Room Temperature (Hardware
Input block) against the cooling setpoint (Internal Constant block) and out-
puts a cooling demand.
The threshold for Output 1 to turn Off is an Input of 25% or less. With the Input
at 25% and a Period of 6000 seconds, Output1 should be On for 3000 sec-
onds and Off for 3000 seconds. However, with MinOn set to 3000 seconds,
Output1 remains Off with an Input of 25%. With an Input between 25% and
50%, Output1 turns On and Off according to the formula:
((2 X Input) / 100)) X Period.
EC-gfxProgram 461
With and Input of 75%, Output1 is On and Output2 is Off. With an Input
between 75% and 100%, Output2 turns On and Off according to the formula:
((2 X Input - 50) / 100)) X Period.
Description Used to control multiple digital stages with one analog stage. To maintain lin-
earity, the load controlled by each stage must be equal.
462 EC-gfxProgram
NOTE: Output1 is always analog. Outputs 2 to 4 are digital.
EC-gfxProgram 463
Input(s)
Input Numeric 0 to 100 Stage demand, usually the output of a Pid block.
Output(s)
Thermostat
Description Used to control a single stage, two-state (On/Off) load for heating or cooling
for example. The dead band can be configured to be above the setpoint, cen-
tered on the setpoint, or it can be below the setpoint.
464 EC-gfxProgram
This holds the output value steady until the input value goes outside the dead-
band limits. It prevents the output from short cycling due to small, yet frequent
changes to the input.
Figure 286: The Thermostat block operation when Above the setpoint is set as the
DeadBandType in the Block’s Properties pane.
EC-gfxProgram 465
Figure 287: The Thermostat block operation when Centered on the setpoint is set as
the DeadBandType in the Block’s Properties pane.
Figure 288: The Thermostat block operation when Below the setpoint is set as the
DeadBandType in the Block’s Properties pane.
466 EC-gfxProgram
Input(s)
32-Bit 8-Bit
EC-gfxProgram 467
Output(s)
DeadBand Integer Above/ Centered The dead band position with regard to the
Type Centered/ setpoint. See the description for Direct in
Below Output(s) above.
468 EC-gfxProgram
Inputs and Outputs
Inputs and Outputs are blocks used to interface with various types of physical
inputs and outputs, as well as network variable inputs (NVIs) and network
variable outputs (NVOs).
EC-gfxProgram 469
• Subnet Extension (ECL Series)
• Subnet Extension (ECB & ECY Series)
• Wireless Module (ECP Series)
• Wireless Sensor (ECB Series)
470 EC-gfxProgram
BLE Room Device (ECY Series)
Description This block is used to interface with Allure UNITOUCHTM Sensors, EC-Multi-
Sensor-BLE devices, and UNIWAVE devices connected to a controller’s sub-
network bus.
Number of The number of BLE Room Devices varies according to the number of con-
blocks nected devices, up to a maximum of 6 devices on an ECY-S1000 and 4
devices on an ECY-PT/U, ECY-VAV, or ECY-303. See the controller’s data-
sheet for more information about the number/combinations of BLE Room
Devices that are supported.
Related blocks Light Output (ECB & ECY Series expansion modules), Light Sunblind Input
(ECB & ECY Series expansion modules), BLE Room Device (ECY-STAT
Series)
Input(s) Input port availability and names will depend on the device’s configuration. If
the port you need is not listed, make sure the corresponding option is enabled
in the configuration. See Configuring a BLE Room Device resource.
EC-gfxProgram 471
Port Type Range Description
SpaceTemp- Numeric ±3.4028 ×1038 When alarms are enabled for this parameter
AlarmSetpoint (see Alarms (ECB & ECY Series)), a positive
input value increases the alarm setpoint val-
ues set in the Options tree of the configura-
tion window (a negative value reduces the
alarm setpoint values): The High limit is now
the High limit value (set in the Resources
Configuration’s Alarms configuration for the
block) plus AlarmSetpoint and the Low limit
is now the Low limit value (set in the
Resources Configuration’s Alarms configura-
tion for the block) plus AlarmSetpoint.
HumidityAlarm- Numeric ±3.4028 ×1038 When alarms are enabled for this parameter
Setpoint (see Alarms (ECB & ECY Series)), a positive
input value increases the alarm setpoint val-
ues set in the Options tree of the configura-
tion window (a negative value reduces the
alarm setpoint values): The High limit is now
the High limit value (set in the Resources
Configuration’s Alarms configuration for the
block) plus AlarmSetpoint and the Low limit
is now the Low limit value (set in the
Resources Configuration’s Alarms configura-
tion for the block) plus AlarmSetpoint.
472 EC-gfxProgram
Port Type Range Description
CO2Alarm- Numeric ±3.4028 ×1038 When alarms are enabled for this parameter
Setpoint (see Alarms (ECB & ECY Series)), a positive
input value increases the alarm setpoint val-
ues set in the Options tree of the configura-
tion window (a negative value reduces the
alarm setpoint values): The High limit is now
the High limit value (set in the Resources
Configuration’s Alarms configuration for the
block) plus AlarmSetpoint and the Low limit
is now the Low limit value (set in the
Resources Configuration’s Alarms configura-
tion for the block) plus AlarmSetpoint.
EC-gfxProgram 473
Port Type Range Description
MotionAlarm- Numeric ±3.4028 ×1038 When alarms are enabled for this parameter
Setpoint (see Alarms (ECB & ECY Series)), a positive
input value increases the alarm setpoint val-
ues set in the Options tree of the configura-
tion window (a negative value reduces the
alarm setpoint values): The High limit is now
the High limit value (set in the Resources
Configuration’s Alarms configuration for the
block) plus AlarmSetpoint and the Low limit
is now the Low limit value (set in the
Resources Configuration’s Alarms configura-
tion for the block) plus AlarmSetpoint.
LuxLevelAlarm- Numeric ±3.4028 ×1038 When alarms are enabled for this parameter
Setpoint (see Alarms (ECB & ECY Series)), a positive
input value increases the alarm setpoint val-
ues set in the Options tree of the configura-
tion window (a negative value reduces the
alarm setpoint values): The High limit is now
the High limit value (set in the Resources
Configuration’s Alarms configuration for the
block) plus AlarmSetpoint and the Low limit
is now the Low limit value (set in the
Resources Configuration’s Alarms configura-
tion for the block) plus AlarmSetpoint.
474 EC-gfxProgram
Port Type Range Description
(The names of the ports outlined below represent the names when the default value configuration is
used for these parameters. The names in your project may vary based on the configuration used for
the device.)
EC-gfxProgram 475
Port Type Range Description
Eco-Vue Status Enum 1 to 5 Sets the Eco Vue icon display properties. To
encourage occupants to be as green as pos-
sible, the Eco Vue icon can be programmed
to show more leaves when the occupant
chooses a setpoint that reduces energy use.
This helps to promote awareness for energy
consciousness and to save operational costs.
[Group #] Light Numeric 0 to 100 The current state (in %) of the lights in [Group
Feedback #], where [Group #] stands for the name of
the light variable associated with the group.
[Group #] Numeric 0 to 100 The current vertical position (in %) of the sun-
Sunblind Transla- blinds in [Group #], where [Group #] stands
tion Feedback for the name of the sunblind translation vari-
able associated with the group.
476 EC-gfxProgram
Port Type Range Description
0: Inactive
1: Active
Output(s) Output port availability and name will depend on the device’s configuration. If
the port you need is not listed, make sure the corresponding option is enabled
in the configuration. See Configuring a BLE Room Device resource.
EC-gfxProgram 477
Port Type Range Description
SpaceTemp- Enum See description For the SpaceTemp output: When BLE Room
Reliability Device communication is lost, this becomes
Communication failure (12) otherwise this is
No fault detected (0).
Humidity- Enum See description For the Humidity output: When BLE Room
Reliability Device communication is lost, this becomes
Communication failure (12) otherwise this is
No fault detected (0).
CO2Fault Digital 0 or 1 For the CO2 output: This is logically True (1) if
the Reliability property does not have a value
of No fault detected (0).
478 EC-gfxProgram
Port Type Range Description
CO2Reliability Enum See description For the CO2 output: When BLE Room Device
communication is lost, this becomes Commu-
nication failure (12) otherwise this is No fault
detected (0).
MotionReliability Enum See description For the Motion output: When BLE Room
Device communication is lost, this becomes
Communication failure (12) otherwise this is
No fault detected (0).
LuxLevel Numeric 0 to 4000 The current room light level in Lux measured
at the Multi Sensor.
LuxLevel- Enum See description For the LuxLevel output: When BLE Room
Reliability Device communication is lost, this becomes
Communication failure (12) otherwise this is
No fault detected (0).
EC-gfxProgram 479
Port Type Range Description
(The names of the ports outlined below represent the names when the default value configuration is
used for these parameters. The names in your project may vary based on the configuration used for
the device.)
Temperature Numeric See description The current temperature setpoint for the con-
Setpoint troller. The High and Low limits are deter-
mined by the resource’s configuration.
Fan Speed Numeric Null The speed of the fan (in %).
Analog or
0 to 100 NOTE: This port is only available when the fan
speed is configured in Analog mode.
480 EC-gfxProgram
Port Type Range Description
EC-gfxProgram 481
Port Type Range Description
0: Inactive
1: Active
Remote Space- Numeric 0 to 50ºC The room‘s temperature deriving from the
Temp (A & B) 32 to 122ºF Allure UNIWAVE that communicates with an
EC-Multi-Sensor-BLE.
Remote Humid- Numeric 1 to 100 The room’s humidity level deriving from the
ity (A & B) Allure UNIWAVE, equipped with a humidity
sensor, that communicates with an EC-Multi-
Sensor-BLE.
Remote RSSI Numeric -50 to -75 The signal strength is measured in dBm. We
(A & B) recommend having a signal between -50
(good signal quality) and -75 (bad signal qual-
ity) dBm to ensure a proper connection
between UNIWAVE and EC-Multi-Sensor-
BLE.
482 EC-gfxProgram
Block properties See also Common block properties.
If you select Add With Options, you will be prompted to specify the Num-
ber of devices to add and the Start number of the first device in the
range. The number is automatically incremented by 1 for each subse-
quent device.
EC-gfxProgram 483
6. If necessary, enter offset values to calibrate the device’s sensors (vary
based on model).
The offset is a constant value that is applied to the block’s output to com-
pensate for reading errors, for example, to perform sensor calibration.
For example, assume that a temperature sensor is connected to one of
the hardware inputs. If the actual room temperature is 72ºF but the sensor
reading is 74ºF, an offset of -2ºF can be applied to correct the error.
A configuration is created by default when you add the first device in the proj-
ect. You can modify this configuration, or any existing configuration, as well as
create new configurations. You can create as many configurations as neces-
sary. You can also use the same configuration for several devices.
If you know how you would like your project’s BLE devices to be configured,
you can create the configurations you need ahead of time, and associate
them with the physical devices later on.
• Right-click Configuration under BLE Room Devices and select Add Sim-
ple Configuration.
484 EC-gfxProgram
To edit existing configurations:
The BLE Room Device configuration screen is divided in sections that repre-
sent every available options for room devices, regardless of models. If you
apply a configuration to a device that includes options not available in its
specified models, these options will be ignored.
For each set of options, you can choose whether it will be available to view
and modify on the associated devices. Each enabled option will also add an
input/output to the BLE Device Block and create default resources (such as
values and group definitions).
Lights 1. Choose whether the Light option will be available for users to access in
the rolling menu on the associated devices.
2. Click to access the Group Definition Selector window, where you can
manage your light groups definition. See Light/Sunblind Group Defini-
tions.
Temperature 1. Choose whether the Temperature option will be available for users to
access in the rolling menu on the associated devices.
If this is the case, click to access the Value Selector window, where
you can choose which temperature value will be shown. See Values.
2. Choose whether the Temperature Setpoint will be shown and modifiable
on the associated devices.
If this is the case, click to access the Value Selector window, where
you can choose which temperature setpoint value and Heating/Cooling
icons will be shown.
EC-gfxProgram 485
(The following options are only available if the Setpoint option is enabled.)
Fan 1. Choose whether the Fan speed option will be available for users to
access in the rolling menu and modify on the associated devices.
If this is the case, click to access the Value Selector window, where
you can choose which fan speed and fan speed feedback values will be
shown. See Values.
2. Choose whether the devices with this configuration will support Auto
mode.
When fans are set in Auto mode, this means that the EC-gfxProgram
logic is controlling fans, rather than a user-entered value.
3. Select whether the fan speed mode is Level (Auto, Off, Low, Medium,
High) or Analog (percentage).
486 EC-gfxProgram
Sunblinds 1. Choose whether the Sunblinds option will be available for users to access
in the rolling menu and modify on the associated devices.
2. Click to access the Group Definition Selector window, where you can
manage your sunblind groups definition. See Light/Sunblind Group Defini-
tions.
Custom Actions 1. Choose whether the Custom Actions option will be shown for the associ-
ated devices.
If this is the case, click to access the Value Selector window, where
you can choose which humidity value will be shown. See Values.
If this is the case, click to access the Value Selector window, where
you can choose which CO2 value will be shown. See Values.
Image 1. Choose whether a Custom image will be shown in the image (rolling
screens) of the associated devices.
If this is the case, choose the image file on your computer or network.
• Supported file formats are .gif, . jpg, .jpeg, .bmp, and .png.
• The maximum supported size is 260 pixels (W) x 200 pixels (H). If the
selected file is larger, EC-gfxProgram scales it down and centers it.
A preview of the image is shown.
Since the Allure UNITOUCH background is either black (dark theme) or
white (pale theme), it is recommended to use the alpha channel in your
image to be sure it will be shown correctly on both themes. The alpha
channel can be used to set some portion of your image as transparent (or
EC-gfxProgram 487
semi-transparent) color to let the black or white UNITOUCH background
filter through.
Menu 1. Choose whether the my PERSONIFY item will be visible in the menu of
the associated device, allowing users to view and modify the settings
related to the my PERSONIFY mobile application. Unchecking this check-
box hides the my PERSONIFY item and allows you to replace it with your
own custom menu by using REST API.
2. Choose whether the device Settings will be available in the menu of the
associated devices for users to view and modify.
3. Choose whether the Technician Mode item will be visible in the menu of
the associated device, allowing users to directly adjust the related subnet
ID settings.
4. Choose whether a custom company Logo will be shown in the menu of
the associated devices. If not, the Distech Controls logo is shown.
To show a custom logo, choose the file on your computer or network.
• Supported file formats are .gif, . jpg, .jpeg, .bmp, and .png.
• The maximum supported size is 210 pixels (W) x 90 pixels (H). If the
selected file is larger, EC-gfxProgram scales it down and centers it.
A preview of the logo is shown.
Since the Allure UNITOUCH background is either black (dark theme) or
white (pale theme), it is recommended to use the alpha channel in your
image to be sure it will be shown correctly on both themes. The alpha
channel can be used to set some portion of your image as transparent (or
semi-transparent) color to let the black or white UNITOUCH background
filter through.
488 EC-gfxProgram
Options 1. Choose whether the Eco-Vue or Occupancy status are to be shown on
the Allure UNITOUCH or my PERSONIFY mobile app.
If this is the case, click for each option to access the Value Selector
window where you can choose which Eco-Vue and Occupancy values will
be shown. See Values.
Wireless room 1. Choose whether to show ambient temperature from the internal sensor, if
sensors temperature sensing is available.
Choose whether to show humidity from the internal sensor, if humidity sensing
is avail-
able.
EC-gfxProgram 489
Timeouts 1. Specify the Edition, Session, and Screen timeout values.
Type Description
Screen Sets the delay before the device’s screen turns off
when there is no user interaction.
Languages 1. Set the language that will be used by default in the devices associated
with this configuration.
You can define groups for the lights or sunblinds controlled by a BLE Room
Device. To manage group definitions for the Lights or Sunblinds option:
490 EC-gfxProgram
2. By default, the group definition created for the option is selected. To select
a different definition, click to view the list of definitions available for
this option.
If the group definition you want is not available in the list, click to cre-
ate a new definition (see Creating/configuring group definitions).
To modify the configuration of an existing group definition, click Confi-
gure.
EC-gfxProgram 491
• Click to select values for the group (see Value Selector window).
Values
Default values are created automatically when you enable options in a config-
uration. If they are not used in any other configuration and if they have not
been modified, these values are automatically deleted if you disable the
related option in a configuration.
You can use values specifically created for BLE Room Devices, or values
from any resource already configured in you project.
Value Selector When you enable certain options in a configuration, you can then select and
window configure the value associated with the option.
If the value you want to show is not available in the list, click to cre-
ate the value you need (see Creating/configuring values).
To modify the parameters of an existing value, click Configure.
3. Click OK.
492 EC-gfxProgram
Creating/ There are two ways to create new values:
configuring
values
• Click in the Value Selector window to create a value for the option
currently being configured.
In this case, the Category will be set to match the current option in the
configuration, and the New Value window opens with the parameters for
the appropriate type (Numeric or Enumeration).
• Right-click Values under BLE Room Devices > Resources > Values and
click Add Numeric Value or Add Enumeration Value.
In this case, the configuration screen shows the parameters for the cho-
sen type.
EC-gfxProgram 493
3. Select the Data source type for the value.
Parameter Description
1. Indicate whether the value can be null (Support null value checkbox).
2. Choose the value’s unit from the list of all available units, or from your
Favorite or Recent units.
3. Specify the Default value.
4. Check the Use range checkbox to limit the value’s range, and specify the
Minimum and Maximum values.
494 EC-gfxProgram
Configuring Enumeration Values
Custom Actions
NOTE: Custom Actions represent action launchers that are visible in the
graphical user interface of your device, allowing end users to activate
or deactivate them. For example, and depending on your EC-gfxPro-
gram strategy, a Custom Action may consist in setting all the lights to
50% of their capacity, setting your blinds to a specific position, etc.
EC-gfxProgram 495
Custom Actions To access the Custom Actions Configuration window, check the Show Cus-
Configuration tom Actions checkbox and click in the BLE Room Device configuration
window screen.
Creating Custom When no Custom Actions have been defined within your current configura-
Actions tion, this window does not contain any element.
2. Click , type a name in the New Custom Action window, and click OK.
496 EC-gfxProgram
3. Once you have finished creating the desired number of Custom Actions,
click OK.
WARNING: A newly created Custom Action does not perform any real action.
It first needs to be programmed using the corresponding ports on
the BLE Room Device block.
Reusing Custom Once you have created a Custom Action within a project, it can be reused for
Actions every configuration within the same project.
To reuse a previously created Custom Action, open the Custom Actions Con-
figuration window, click to create a new row, and then select the desired
Custom Action from the Custom Actions drop-down menu:
Removing If you want to remove a Custom Action from your configuration, open the Cus-
Custom Actions
tom Actions Configuration window and click opposite the corresponding
from your
Custom Action
configuration
WARNING: This does not delete the Custom Action from your project but sim-
ply removes it from the current configuration. Once removed, the
Custom Action will still be available and reusable within the proj-
ect. To learn how to delete a Custom Action from your project,
see Deleting Custom Actions.
EC-gfxProgram 497
Renaming You can rename an already created Custom Action in two ways.
Custom Actions
1. Open the Custom Actions Configuration window, click Configure oppo-
site the corresponding Custom Action, and edit its name in the Edit Cus-
tom Action window.
2. Go to BLE Room Devices > Resources > Custom Actions tree in the
Resources Configuration window, select the desired Custom Action,
and edit its name in the Name field, in the right part of your screen. You
can alternatively right-click a Custom Action and select Rename to edit
the name directly in the tree.
Deleting Custom To delete a Custom Action from your project, go to the BLE Room Devices >
Actions Resources > Custom Actions tree in the Resources Configuration win-
dow, right-click a Custom Action, and select Delete.
WARNING: If the Custom Action that you want to delete has been used in a
configuration, a warning message will ask you to confirm the
deletion. Following the deletion, a message will be displayed in
the Output Messages section (visible to the right with the BLE
Room Device selected in the Resource Tree), and a dedicated
red icon will be displayed in the Custom Actions Configuration
and Resource Configuration windows, as well as in the Resource
Configuration tree.
498 EC-gfxProgram
BLE Room Device (ECY-STAT Series)
Number of 1
blocks
Related blocks Light Output (ECB & ECY Series expansion modules), Light Sunblind Input
(ECB & ECY Series expansion modules), BLE Room Device (ECY Series)
Input(s) Input port availability and names will depend on the device’s configuration. If
the port you need is not listed, make sure the corresponding option is enabled
in the configuration. See Configuring a BLE Room Device resource.
EC-gfxProgram 499
Port Type Range Description
SpaceTemp- Numeric ±3.4028 ×1038 When alarms are enabled for this parameter
AlarmSetpoint (see Alarms (ECB & ECY Series)), a positive
input value increases the alarm setpoint val-
ues set in the Options tree of the configura-
tion window (a negative value reduces the
alarm setpoint values): The High limit is now
the High limit value (set in the Resources
Configuration’s Alarms configuration for the
block) plus AlarmSetpoint and the Low limit
is now the Low limit value (set in the
Resources Configuration’s Alarms configura-
tion for the block) plus AlarmSetpoint.
HumidityAlarm- Numeric ±3.4028 ×1038 When alarms are enabled for this parameter
Setpoint (see Alarms (ECB & ECY Series)), a positive
input value increases the alarm setpoint val-
ues set in the Options tree of the configura-
tion window (a negative value reduces the
alarm setpoint values): The High limit is now
the High limit value (set in the Resources
Configuration’s Alarms configuration for the
block) plus AlarmSetpoint and the Low limit
is now the Low limit value (set in the
Resources Configuration’s Alarms configura-
tion for the block) plus AlarmSetpoint.
500 EC-gfxProgram
Port Type Range Description
(The names of the ports outlined below represent the names when the default value configuration is
used for these parameters. The names in your project may vary based on the configuration used for
the device.)
EC-gfxProgram 501
Port Type Range Description
Eco-Vue Status Enum 1 to 5 Sets the Eco Vue icon display properties. To
encourage occupants to be as green as pos-
sible, the Eco Vue icon can be programmed
to show more leaves when the occupant
chooses a setpoint that reduces energy use.
This helps to promote awareness for energy
consciousness and to save operational costs.
[Group #] Light Numeric 0 to 100 The current state (in %) of the lights in [Group
Feedback #], where [Group #] stands for the name of
the light variable associated with the group.
[Group #] Numeric 0 to 100 The current vertical position (in %) of the sun-
Sunblind Transla- blinds in [Group #], where [Group #] stands
tion Feedback for the name of the sunblind translation vari-
able associated with the group.
502 EC-gfxProgram
Port Type Range Description
0: Inactive
1: Active
Output(s) Output port availability and name will depend on the device’s configuration. If
the port you need is not listed, make sure the corresponding option is enabled
in the configuration. See Configuring a BLE Room Device resource.
EC-gfxProgram 503
Port Type Range Description
SpaceTemp- Enum See description For the SpaceTemp output: When BLE Room
Reliability Device communication is lost, this becomes
Communication failure (12) otherwise this is
No fault detected (0).
Humidity Enum See description For the Humidity output: When BLE Room
Reliability Device communication is lost, this becomes
Communication failure (12) otherwise this is
No fault detected (0).
504 EC-gfxProgram
Port Type Range Description
(The names of the ports outlined below represent the names when the default value configuration is
used for these parameters. The names in your project may vary based on the configuration used for
the device.)
Temperature Numeric See description The current temperature setpoint for the con-
Setpoint troller. The High and Low limits are deter-
mined by the resource’s configuration.
Fan Speed Numeric Null The speed of the fan (in %).
Analog or
0 to 100 NOTE: This port is only available when the fan
speed is configured in Analog mode.
EC-gfxProgram 505
Port Type Range Description
506 EC-gfxProgram
Port Type Range Description
0: Inactive
1: Active
EC-gfxProgram 507
For example, assume that a temperature sensor is connected to one of
the hardware inputs. If the actual room temperature is 72ºF but the sensor
reading is 74ºF, an offset of -2ºF can be applied to correct the error.
A configuration is created by default when you add the first device in the proj-
ect.
The BLE Room Device configuration screen is divided in sections that repre-
sent every available options for room devices, regardless of models. If you
apply a configuration to a device that includes options not available in its
specified model, these options will be ignored.
For each set of options, you can choose whether it will be available to view
and modify on the associated device. Each enabled option will also add an
input/output to the BLE Device Block and create default resources (such as
values and group definitions).
General 1. Give a Name to your configuration and indicate whether to Use summary
view to enable users to view equipment information on one screen.
508 EC-gfxProgram
Lights 1. Choose whether the Light option will be available for users to access in
the rolling menu on the associated device.
2. Click to access the Group Definition Selector window, where you can
manage your light groups definition. See Light/Sunblind Group Defini-
tions.
Temperature 1. Choose whether the Temperature option will be available for users to
access in the rolling menu on the associated device.
If this is the case, click to access the Value Selector window, where
you can choose which temperature value will be shown. See Values.
2. Choose whether the Temperature Setpoint will be shown and modifiable
on the associated devices.
If this is the case, click to access the Value Selector window, where
you can choose which temperature setpoint value and Heating/Cooling
icons will be shown.
(The following options are only available if the Setpoint option is enabled.)
3. Choose whether the devices with this configuration will support Auto
mode.
When the temperature is set in Auto mode, this means that the EC-gfx-
Program logic is controlling the temperature, rather than a user-entered
value.
4. Choose whether the Setpoint mode is Absolute or Relative.
If the Setpoint mode is Absolute, specify the Minimum and Maximum
values for the space temperature. The space temperature is then limited
to the values within this range.
If the Setpoint mode is Relative, specify the relative value. The space
temperature is then limited to the current setpoint plus or minus this value.
5. If the Setpoint mode is Absolute, set the Default setpoint, and specify
the Increment by which it can be increased or decreased.
EC-gfxProgram 509
Fan 1. Choose whether the Fan speed option will be available for users to
access in the rolling menu and modify on the associated device.
If this is the case, click to access the Value Selector window, where
you can choose which fan speed and fan speed feedback values will be
shown. See Values.
2. Choose whether the devices with this configuration will support Auto
mode.
When fans are set in Auto mode, this means that the EC-gfxProgram
logic is controlling fans, rather than a user-entered value.
3. Select whether the fan speed mode is Level (Auto, Off, Low, Medium,
High) or Analog (percentage).
510 EC-gfxProgram
HVAC 1. Indicate whether the HVAC mode will be will be available for users to
access in the rolling menu.
If this is the case, click to access the Value Selector window, where
you can choose which HVAC mode value will be shown. See Values.
Sunblinds 1. Choose whether the Sunblinds option will be available for users to access
in the rolling menu and modify on the associated device.
2. Click to access the Group Definition Selector window, where you can
manage your sunblind groups definition. See Light/Sunblind Group Defini-
tions.
Custom Actions 1. Choose whether the Custom Actions option will be shown for the associ-
ated device.
If this is the case, click to access the Value Selector window, where
you can choose which humidity value will be shown. See Values.
CO2 1. Choose whether CO2 information will be shown on the associated device.
If this is the case, click to access the Value Selector window, where
you can choose which CO2 value will be shown. See Values.
EC-gfxProgram 511
Image 1. Choose whether a Custom image will be shown in the image (rolling
screens) of the associated device.
If this is the case, choose the image file on your computer or network.
• Supported file formats are .gif, . jpg, .jpeg, .bmp, and .png.
• The maximum supported size is 260 pixels (W) x 200 pixels (H). If the
selected file is larger, EC-gfxProgram scales it down and centers it.
A preview of the image is shown.
Since the ECY-STAT background is either black (dark theme) or white
(pale theme), it is recommended to use the alpha channel in your image
to be sure it will be shown correctly on both themes. The alpha channel
can be used to set some portion of your image as transparent (or semi-
transparent) color to let the black or white ECY-STAT background filter
through.
Menu 1. Choose whether the my PERSONIFY item will be visible in the menu of
the associated device, allowing users to view and modify the settings
related to the my PERSONIFY mobile application. Unchecking this check-
box hides the my PERSONIFY item and allows you to replace it with your
own custom menu by using REST API.
2. Choose whether the device Settings will be available in the menu of the
associated devices for users to view and modify.
3. Choose whether a custom company Logo will be shown in the menu of
the associated devices. If not, the Distech Controls logo is shown.
To show a custom logo, choose the file on your computer or network.
• Supported file formats are .gif, . jpg, .jpeg, .bmp, and .png.
• The maximum supported size is 210 pixels (W) x 90 pixels (H). If the
selected file is larger, EC-gfxProgram scales it down and centers it.
A preview of the logo is shown.
Since the ECY-STAT background is either black (dark theme) or white
(pale theme), it is recommended to use the alpha channel in your image
to be sure it will be shown correctly on both themes. The alpha channel
can be used to set some portion of your image as transparent (or semi-
512 EC-gfxProgram
transparent) color to let the black or white ECY-STAT background filter
through.
If this is the case, click for each option to access the Value Selector
window where you can choose which Eco-Vue and Occupancy values will
be shown. See Values.
Wireless room 1. Choose whether to show ambient temperature from the internal sensor, if
sensors temperature sensing is available.
Choose whether to show humidity from the internal sensor, if humidity sensing
is available.
EC-gfxProgram 513
Timeouts 1. Specify the Edition, Session, and Screen timeout values.
Type Description
Screen Sets the delay before the device’s screen turns off
when there is no user interaction.
Languages 1. Set the language that will be used by default in the devices associated
with this configuration.
You can define groups for the lights or sunblinds controlled by a BLE Room
Device. To manage group definitions for the Lights or Sunblinds option:
514 EC-gfxProgram
2. By default, the group definition created for the option is selected. To select
a different definition, click to view the list of definitions available for
this option.
If the group definition you want is not available in the list, click to cre-
ate a new definition (see Creating/configuring group definitions).
To modify the configuration of an existing group definition, click Confi-
gure.
EC-gfxProgram 515
• Click to select values for the group (see Value Selector window).
Values
Default values are created automatically when you enable options in a config-
uration. If they have not been modified, these values are automatically
deleted if you disable the related option in the configuration.
You can use values specifically created for BLE Room Devices, or values
from any resource already configured in you project.
Value Selector When you enable certain options in a configuration, you can then select and
window configure the value associated with the option.
If the value you want to show is not available in the list, click to cre-
ate the value you need (see Creating/configuring values).
To modify the parameters of an existing value, click Configure.
3. Click OK.
516 EC-gfxProgram
In this case, the Category will be set to match the current option in the
configuration, and the New Value window opens with the parameters for
the appropriate type (Numeric or Enumeration).
• Right-click Values under BLE Room Devices > Resources > Values and
click Add Numeric Value or Add Enumeration Value.
In this case, the configuration screen shows the parameters for the cho-
sen type.
Parameter Description
EC-gfxProgram 517
Configuring Numeric Values
1. Indicate whether the value can be null (Support null value checkbox).
2. Choose the value’s unit from the list of all available units, or from your
Favorite or Recent units.
3. Specify the Default value.
4. Check the Use range checkbox to limit the value’s range, and specify the
Minimum and Maximum values.
518 EC-gfxProgram
2. Specify the Default value.
Custom Actions
NOTE: Custom Actions represent action launchers that are visible in the
graphical user interface of your device, allowing end users to activate
or deactivate them. For example, and depending on your EC-gfxPro-
gram strategy, a Custom Action may consist in setting all the lights to
50% of their capacity, setting your blinds to a specific position, etc.
Custom Actions To access the Custom Actions Configuration window, check the Show Cus-
Configuration tom Actions checkbox and click in the BLE Room Device configuration
window screen.
EC-gfxProgram 519
Creating Custom When no Custom Actions have been defined within your current configura-
Actions tion, this window does not contain any element.
2. Click , type a name in the New Custom Action window, and click OK.
3. Once you have finished creating the desired number of Custom Actions,
click OK.
520 EC-gfxProgram
WARNING: A newly created Custom Action does not perform any real action.
It first needs to be programmed using the corresponding ports on
the BLE Room Device block.
Removing If you want to remove a Custom Action from your configuration, open the Cus-
Custom Actions
tom Actions Configuration window and click opposite the corresponding
from your
Custom Action
configuration
WARNING: This does not delete the Custom Action from your project but sim-
ply removes it from the current configuration. Once removed, the
Custom Action will still be available and reusable within the proj-
ect. To learn how to delete a Custom Action from your project,
see Deleting Custom Actions.
Renaming You can rename an already created Custom Action in two ways.
Custom Actions
1. Open the Custom Actions Configuration window, click Configure oppo-
site the corresponding Custom Action, and edit its name in the Edit Cus-
tom Action window.
2. Go to BLE Room Devices > Resources > Custom Actions tree in the
Resources Configuration window, select the desired Custom Action,
and edit its name in the Name field, in the right part of your screen. You
can alternatively right-click a Custom Action and select Rename to edit
the name directly in the tree.
Deleting Custom To delete a Custom Action from your project, go to the BLE Room Devices >
Actions Resources > Custom Actions tree in the Resources Configuration win-
dow, right-click a Custom Action, and select Delete.
WARNING: If the Custom Action that you want to delete has been used in a
configuration, a warning message will ask you to confirm the
deletion. Following the deletion, a message will be displayed in
the Output Messages section (visible to the right with the BLE
Room Device selected in the Resource Tree), and a dedicated
red icon will be displayed in the Custom Actions Configuration
and Resource Configuration windows, as well as in the Resource
Configuration tree.
EC-gfxProgram 521
522 EC-gfxProgram
ComSensor (ECL Series)
Description Used to interface with the Allure EC-Smart-Vue Sensor that is connected to a
controller’s subnetwork bus. This block allows the menus and display options
to be defined.
NOTE: Humidity, Motion and CO2 scenes can be configured for this block
even when the corresponding Allure EC-Smart-Vue Sensor does not
have these features. Ensure to only use the actual features supported
by the connected Allure EC-Smart-Vue Sensor (that the Subnet ID
shown in the Options tree corresponds the Subnet ID configured in
the connected Allure EC-Smart-Vue Sensor).
Slim format This block can be collapsed into a slim format. See Collapsed in Common
support block properties.
EC-gfxProgram 523
Related blocks Generic ComSensor Condition (ECL, ECB & ECY Series), ComSensor Con-
dition (ECL, ECB & ECY Series), ComSensor Value (ECL, ECB & ECY
Series), Wireless Sensor (ECL Series)
Input(s)
Elevation (for Numeric 0 to 4877m The Allure EC-Smart-Vue Sensor’s current elevation
CO2 models above mean sea level. This compensates for the
0 to 16 000ft
only) CO2 gas density ratio found at higher elevations.
This input must be set for any elevation above 500ft
(152m) to obtain the highest elevation compensation
accuracy: The sensor will automatically compensate
CO2 readings for a number of factors including the
current room temperature and the elevation.
Output(s)
SpaceTemp Digital 0 or 1 For the SpaceTemp output: This is logically True (1)
Fault if the Reliability property does not have a value of
No Fault Detected, otherwise logical False (0).
SpaceTemp Enum See For the SpaceTemp output: When Allure EC-Smart-
Reliability Description Vue Sensor communication is lost, this becomes
Communication failure (12) otherwise this is No
fault detected (0).
Humidity Digital 0 or 1 For the Humidity output: This is logically True (1) if
Fault the Reliability property does not have a value of No
Fault Detected, otherwise logical False (0).
524 EC-gfxProgram
Port Type Range Description
Humidity Enum See For the Humidity output: When Allure EC-Smart-
Reliability Description Vue Sensor communication is lost, this becomes
Communication failure (12) otherwise this is No
fault detected (0).
CO2 Fault Digital 0 or 1 For the CO2 output: This is logically True (1) if the
Reliability property does not have a value of No
Fault Detected, otherwise logical False (0).
CO2 Enum See For the CO2 output: When Allure EC-Smart-Vue
Reliability Description Sensor communication is lost, this becomes
Communication failure (12) otherwise this is No
fault detected (0).
Motion Fault Digital 0 or 1 For the Motion output: This is logically True (1) if
the Reliability property does not have a value of No
Fault Detected, otherwise logical False (0).
Motion Enum See For the Motion output: When Allure EC-Smart-Vue
Reliability Description Sensor communication is lost, this becomes
Communication failure (12) otherwise this is No
fault detected (0).
EC-gfxProgram 525
Property Type Range Default Description
526 EC-gfxProgram
ComSensor resources configuration window
Set the Allure EC-Smart-Vue Sensor’s model type and subnet in the
Resources Configuration window.
Parameter Description
EC-gfxProgram 527
Parameter Description
Min send time The minimum time period that must pass between
(ECL Series network variable updates on the network for the
controllers only) network variable shown immediately above. If the value
of the network variable changes, an update will only be
sent after this time expires. Setting the min send time to
0 disables it. See Network Properties Configuration
window (ECL, ECB & ECY Series).
The min send time is often referred to as the "throttle".
Configuring the Select a sensor parameter entry from the ComSensor tree to set the configu-
ComSensor ration parameters to use for sensor readings from the ComSensor such as
block’s outputs the units to be used and the alarm settings.
(ECB & ECY
Series) When the ComSensor is so equipped, according to the model, sensor read-
ings for space temperature, humidity, CO2, and motion are read. The Object
name is used to identify this input in the Resource Viewer and on the control-
ler’s operator interface or on the connected ECx-Display (if equipped).
528 EC-gfxProgram
Figure 291: Tyoical Sensor parameter configuration (ECB & ECY Series)
See Network Properties Configuration window (ECL, ECB & ECY Series).
For B-AAC and B-BC controller models, BACnet alarms can be configured in
each ComSensor tree entry. When Enable alarms is set, the ComSensor
block makes an AlarmSetpoint input port available to dynamically offset the
High limit and Low limit values. See Alarms (ECB & ECY Series) to config-
ure the alarm parameters.
EC-gfxProgram 529
Configuring the Select a sensor parameter entry from the ComSensor tree to set the configu-
ComSensor ration parameters to use for sensor readings from the ComSensor such as
block’s inputs the units to be used.
(ECL Series)
When the Allure EC-Smart-Vue Sensor is so equipped, according to the
model, sensor readings for space temperature, humidity, CO2, and motion are
read. The Input name is used to identify this input in the Resource Viewer
and on the controller’s operator interface or on the connected ECx-Display (if
equipped).
Use the up/down buttons to go to the first Quick Edit menu to modify
its value. Use the Menu button to navigate from one scene to the next
while using the up/down buttons to enter into the menu.
530 EC-gfxProgram
The following graphic shows the default Allure EC-Smart-Vue Sensor menu
map.
Scenes depend on ComSensor Condition (ECL, ECB & ECY Series) block
settings, ComSensor Value (ECL, ECB & ECY Series) block settings, and
enumerations that you have previously created.
Property Description
EC-gfxProgram 531
Property Description
Menu
Accessible via Menu button . Pressing the Menu
button cycles the Allure EC-Smart-Vue Sensor through
the scenes defined under this branch. Use the up/down
buttons to enter into a submenu.
Advanced Menu
Accessible by pressing Menu button for 5 seconds.
A Password validation can be added. Use the up/down
buttons to enter into a submenu.
Global Options Used to set the settings that are shared between all
Allure EC-Smart-Vue Sensors. See Global Options.
532 EC-gfxProgram
Allure EC-Smart-Vue Sensor display icons
In all scenes, the following Allure EC-Smart-Vue Sensor display icons can be
shown.
Day/ Night
HVAC Occupancy
EC-gfxProgram 533
Icons selection Icon activation can be controlled by project code through an Icon Value (see
Icon Value configuration).
Property Description
Eco Vue Sets the Eco Vue icon display properties. To encourage
occupants to be as green as possible, the Eco Vue icon
can be programmed to show more leaves when the
occupant chooses a setpoint that reduces energy use.
This helps to promote awareness for energy
consciousness and to save operational costs.
534 EC-gfxProgram
Adding a scene
Standard scenes Standard scenes are pre-programmed into the Allure EC-Smart-Vue Sensor
out of the box.
Property Description
EC-gfxProgram 535
Property Description
Edit Date or Allows the user to set the controller’s year, time, or date
Time at the Allure EC-Smart-Vue Sensor. See Edit date or
time scene.
536 EC-gfxProgram
Custom scenes Custom scenes can be added to the Allure EC-Smart-Vue Sensor.
Property Description
Display and Edit Displays the value of one Value while allowing another
Value Value to be edited. Opens the Display and Edit Scene
popup. See Display and Edit Scene configuration.
Change Value This scene is invisible when a user navigates past it;
however by doing so, it sets a point to a specific value.
Opens the Change Value Scene popup. See Change
Value Scene configuration.
Add Sub Menu Adds a new menu in which scenes are added. Users
drill-down into these menus to access the scenes
contained in the sub-menu.
EC-gfxProgram 537
Common scene Scene configurations have configuration options that are common from scene
options configuration to scene configuration.
Property Description
Edit Real Time Changes the value in the controller without the user
having to press the Menu button to accept the new
value.
Timeout This sets the delay before the display returns to the
Main Rolling Scenes when there is no user interaction,
or it goes to the next scene display while in a Main
Rolling Scenes.
538 EC-gfxProgram
Edit date or time This configuration allows the user to set the controller’s real time clock.
scene
The Allure EC-Smart-Vue Sensor’s LCD screen can also show the current
time or text in a scrolling display.
NOTE: Three scenes are needed to allow the user to set the year, time, or
date: That is, one scene is required for each of these parameters.
Property Description
Text Section This defines the types of data that will be displayed in
the scrolling display part of the LCD display: Default
Text
Datetime shows the default date and time set in Global
Options, Text shows up to 16 characters of upper-case
text defined in the Text box. Year, Time, and Date
shows the currently configured year, time, and date.
EC-gfxProgram 539
minutes during which the controller will wait for a wireless datagram. These
two scenes always come together.
NOTE: To cancel the wireless learn phase, exit the scene by pressing for
5 seconds on the Allure EC-Smart-Vue Sensor.
Property Description
Property Description
540 EC-gfxProgram
Configuring a Configure a Wireless Commissioning Scene as follows.
wireless
commissionning 1. Add a Wireless Sensor block to the Programming Sheet.
scene Figure 305: Adding a Wireless Sensor to the programming sheet
2. In the Properties pane for the Wireless Sensor block, click the Sensor
drop-down list and then click Add new sensor.
Figure 306: Adding a Wireless Sensor to the controller
3. Do not set the Sensor ID or click Learn. It is through the Allure EC-Smart-
Vue Sensor scene that the sensor ID learn will be triggered.
EC-gfxProgram 541
4. Select the wireless sensor type in the Sensor type drop down list.
5. Configure the Wireless Sensor block as you normally would. See also
Wireless Sensor (ECL Series).
Figure 307: Configuring the Wireless Sensor
6. Click OK.
7. Add and configure as many wireless sensors that will be used with the
controller: In the Properties pane for the Wireless Sensor block, click
the Sensor drop-down list and then click Add new sensor.
8. Add a ComSensor block to the Programming Sheet.
Figure 308: Adding a ComSensor block to the programming sheet
542 EC-gfxProgram
9. Double-click the Allure EC-Smart-Vue Sensor block.
10. Add a Wireless Commissioning scene to the Advanced Menu and con-
figure it. See Wireless Commissionning Scene.
11. Synchronize your project code with the controller.
Using the Allure 1. With the connected Allure EC-Smart-Vue Sensor, go to the Wireless
EC-Smart-Vue Commissioning scene. The scrolling display part of the LCD display
Sensor to shows Wireless.
discover
wireless devices 2. Press an up or down button to enter into the submenu.
in the field 3. Use the up/down buttons to select a Wireless Sensor block
instance that will be used to learn the sensor’s ID.
4. Press to start the wireless learning phase. The scrolling display part of
the LCD display shows a 5 minute count-down timer during which a wire-
less datagram must be received in order to associate the Wireless Sen-
sor block instance to a wireless device.
5. The controller must receive a valid signal from a wireless device when the
device’s Learn button is pressed or, if it does not have a Learn button,
when the device senses a change of value. Once the value has been
learnt by the controller, the sensor’s ID value is shown in the scrolling dis-
play part of the LCD display.
6. Press for 5 seconds to accept the value and exit the scene.
7. Repeat the procedure for all remaining
8. Wireless Sensor block instances.
NOTE: Synchronizing your project code with a controller will erase the discov-
ered wireless Sensor ID from the controller. Repeat the above proce-
dure to re-discover it.
4. Press to start the wireless learning phase. The scrolling display part of
the LCD display shows a 5 minute count-down timer.
6. Press for 5 seconds to accept the value and exit the scene.
EC-gfxProgram 543
Scene configuration
Display Scene This configuration makes the Allure EC-Smart-Vue Sensor’s LCD screen
configuration show a value from a Value. The Allure EC-Smart-Vue Sensor’s LCD screen
can also show the time, text, or a delay Value in the scrolling display.
Property Description
Text section This defines the types of data that will be displayed in
the scrolling display part of the LCD display: Default
Text
Datetime shows the default date and time set in Global
Options; Text shows up to 16 characters of upper-case
text defined in the Text box. Delay Values can also be
displayed (see Delay Value configuration).
544 EC-gfxProgram
Edit Scene This configuration allows the display and editing of a value from a Value. The
configuration Allure EC-Smart-Vue Sensor’s LCD screen can also show the time, text, or a
delay Value in a scrolling display.
Property Description
Text Section This defines the types of data that will be displayed in
the scrolling display part of the LCD display: Default
Text
Datetime shows the default date and time set in Global
Options; Text shows up to 16 characters of upper-case
text defined in the Text box. Delay Values can also be
displayed (see Delay Value configuration).
Value Limits Use to set the valid limit range over which the value
can be edited by the user. Options include a static
setting (0 to 126) or a dynamic value set by a Value.
Click to set the limits in the Scene Limits
configuration popup.
EC-gfxProgram 545
Scene Limits This configuration sets the valid limit range over which the value can be edited
configuration by the user.
Property Description
Enable low limit When enabled, sets the lowest value that can be
selected by the user.
Enable high limit When enabled, sets the highest value that can be
selected by the user.
Static Static (fixed) values are set to define the high or low
limit.
Dynamic The dynamic values for the high or low limit are based
on the instantaneous value of a Local or Global Value.
546 EC-gfxProgram
Display and Edit This configuration allows a user to edit a Value while displaying the value of
Scene another Value. The Allure EC-Smart-Vue Sensor’s LCD screen can also show
configuration the time, text, or a delay Value in a scrolling display.
Property Description
Text Section This defines the types of data that will be displayed in
the scrolling display part of the LCD display: Default
Text
Datetime shows the default date and time set in Global
Options; Text shows up to 16 characters of upper-case
text defined in the Text box. Delay Values can also be
displayed (see Delay Value configuration).
Edited Value The Value to be edited by the user. The value can be
changed by using the up/down buttons .
Value Limits Use to set the valid limit range over which the value
can be edited by the user. Options include a static
setting (0 to 126) or a dynamic value set by a Value.
Click to set the limits in the Scene Limits
configuration popup.
EC-gfxProgram 547
Change Value This scene is invisible when a user navigates past it; however by doing so, it
Scene sets a point to a specific value when the Condition is True.
configuration Figure 313: Change Value Scene configuration
Property Description
Conditions When this condition is True, the Value takes the value
of Set value.
String This configuration allows a user to select a text string from a string enumera-
Enumeration tion (for example, to select a mode from an enumeration of Heat, Cool, Auto,
Scene and so on).
configuration Figure 314: String Enumeration Scene configuration
Property Description
Text The enumeration string from which the user can select
a setting. The value can be changed by using the up/
down buttons .
548 EC-gfxProgram
Filter The filter restricts the available choices enumeration or Value members avail-
Configuration able to a user for this scene. Click to set the Filter properties.
window
Figure 315: String enumeration scene Filter Configuration
Property Description
Enable filter Enable the filter to restrict the available choices to the
user.
EC-gfxProgram 549
Value This configuration allows a user to select a value from an enumeration shown
Enumeration in the display’s Display Value field. The Allure EC-Smart-Vue Sensor’s LCD
Scene screen can also show the time or text in a scrolling display.
configuration
Figure 316: Value Enumeration Scene configuration
Property Description
Text Section This defines the types of data that will be displayed in
the scrolling display part of the LCD display: Default
Text
Datetime shows the default date and time set in Global
Options; Text shows up to 16 characters of upper-case
text defined in the Text box. Delay Values can also be
displayed (see Delay Value configuration).
550 EC-gfxProgram
Icon This configuration allows a user to select an icon from an icon Value. The
Enumeration Allure EC-Smart-Vue Sensor’s LCD screen can also show the time or text in a
Scene scrolling display.
configuration
Figure 317: Icon Enumeration Scene configuration
Property Description
Text Section This defines the types of data that will be displayed in
the scrolling display part of the LCD display: Default
Text
Datetime shows the default date and time set in Global
Options; Text shows up to 16 characters of upper-case
text defined in the Text box. Delay Values can also be
displayed (see Delay Value configuration).
Value The icon Values to display in the Icon field of the LCD
display that allows the user to select the icon value by
using the up/down buttons . See Values (ECL
Series).
Conditions (ECL Conditions are used to Hide/Show Scenes from the user by sharing a digital
Series) signal from logical blocks on the programming sheet with the ComSensor
Block through a ComSensor Condition block (see ComSensor Condition
(ECL, ECB & ECY Series)). Up to 15 Conditions can be created. The number
and name of all conditions are identical across all Allure EC-Smart-Vue Sen-
sors connected to the controller. The condition values sent from the ComSen-
sor Condition block to each Allure EC-Smart-Vue Sensor is unique. This
means that each condition on each Allure EC-Smart-Vue Sensor connected
to the controller can be individually enabled/disabled.
EC-gfxProgram 551
To add a condition, right-click Conditions in the tree and select Add New
Conditions and give this condition a name.
The condition can now be used to hide or show the scene in the ComSensor
configuration as follows.
ComSensor A scene can be shown or hidden according to the value at the associated
condition block ComSensor Condition block Input and the Reverse Condition setting for the
reverse scene as shown in the following table.
condition
ComSensor
Scene Reverse Scene Reverse
Condition block Input
Condition Cleared Condition Set
Value
552 EC-gfxProgram
Values (ECL Values are used to share data between the ComSensor block and other
Series) blocks on the programming sheet through a ComSensor Value block (see
ComSensor Value (ECL, ECB & ECY Series)).
Up to 30 Local Values can be created: The number and name of all Values
are identical across all Allure EC-Smart-Vue Sensors connected to the con-
troller. The value for each Value is unique to each Allure EC-Smart-Vue Sen-
sor.
Up to 70 Global Values can be created: The names and values are shared
across all Allure EC-Smart-Vue Sensors.
To add a Value, right-click Local Values / Global Values in the tree and
select Add New Value, and select the Value type to be added.
EC-gfxProgram 553
The Value can now be used to pass values between the ComSensor block
and other blocks as follows:
Property Description
Unit Select the native units of the value sent to the Value.
This is usually set to the default internal measurement
system (Metric or US units). Internally, the ComSensor
block converts values between measurement systems,
as required by a scene.
554 EC-gfxProgram
Property Description
Default Value This value is used when all priority levels are set to
Null.
Delay Value Delay Values are used to display a count-down delay in the Scrolling Display
configuration area of the LCD.
Property Description
Default Value This value is used when all priority levels are set to
Null.
EC-gfxProgram 555
Icon Value Icon Values are used to store the value of an Icon to display different icons on
configuration the Allure EC-Smart-Vue Sensor based on a project code value.
Property Description
Link to Select the enumeration that will control the display. The
LONWORKS table below shows the icon’s behavior according to the
Object enumeration value. This allows the Allure EC-Smart-
Vue Sensor user to edit the selected network value.
The following icon values can be added to control their display by linking the
Value to an enumeration. To see an example of the Allure EC-Smart-Vue Sen-
sor icons, refer to Allure EC-Smart-Vue Sensor display icons.
Property Description
Eco Vue Value Sets the Eco Vue icon display properties.
556 EC-gfxProgram
Property Description
Unit Value Sets the unit for the display value. If the units from the
EC-gfxProgram project are different from that chosen
here, the ComSensor block internally converts the units
automatically.
Enumeration Enumeration Values are used to store the value of an enumeration to be dis-
Value played or selected on the Allure EC-Smart-Vue Sensor.
configuration
Figure 327: Enumeration Value configuration
Property Description
Default Value This value is used when all priority levels are set to
Null.
Enumeration The Enumeration Validity Value is used to mask enumerations when using
Validity Value Select Enumeration Scene. Digital validation is done with the enumeration
configuration fields.
Property Description
EC-gfxProgram 557
Enumerations Enumerations are used to select options in the Select Enumeration Scenes.
(ECL Series) All texts displayed in the text section of a scene use an enumeration. A maxi-
mum of 127 strings in total can be created and each string can have up to 16
characters. The first enumeration value to be shown can be selected.
Enumeration string optimization is possible if the same text is used more than
one time, either when the text is used in Enumerations or in the Scene Text
box. Enumerations added by the user are not optimized.
Click an empty cell in the Name column and type a value to add a new enu-
meration. Click a cell with a pre-existing value in the Name column and type a
value to edit the current value.
Property Description
Start Value Sets the base index of the enumeration (0base, 1base,
-1base, etc.).
558 EC-gfxProgram
Global Options These settings are shared between all Allure EC-Smart-Vue Sensors.
Property Description
Default datetime Set the default date and time format to use when
display Datetime is selected in the Text Section drop-down.
Time format Set the time format to use when Time is selected in the
Text Section drop-down.
Date format Set the date format to use when Date is selected in the
Text Section drop-down.
Activity backlight Set the LCD backlight level when the Allure EC-Smart-
Vue Sensor has had any of its keys recently pressed by
a user.
Inactivity Set the LCD backlight level when the Allure EC-Smart-
backlight Vue Sensor has not had any of its keys recently
pressed by a user.
Default scene The default scene timeout that is used when creating a
timeout new scene.
EC-gfxProgram 559
ComSensor (ECB & ECY Series)
Description Used to interface with the Allure EC-Smart-Vue Sensor communicating sen-
sor that is connected to a controller’s subnetwork bus.
Alarms (ECB & ECY Series) are available with B-AAC and B-BC controller
models only (see the controller’s datasheet for more information).
NOTE: Humidity, Motion, and CO2 scenes can be configured for this block
even when the corresponding Allure EC-Smart-Vue Sensor does not
have these features. Ensure to only use the actual features supported
by the connected Allure EC-Smart-Vue Sensor (that the Subnet ID
shown in the Options tree corresponds the Subnet ID configured in
the connected Allure EC-Smart-Vue Sensor)
560 EC-gfxProgram
Slim format This block can be collapsed into a slim format. See Collapsed in Common
support block properties.
Setting the The Allure EC-Smart-Vue Sensor may be used to set this controller’s time and
controller’s time day, when configured. When the controller’s time is set with the Allure EC-
(ECB Series Smart-Vue Sensor, a local broadcast for manual time synchronization is sent
controllers only) from the connected controller to propagate the time change from the Allure
EC-Smart-Vue Sensor to other controllers in the network (where such service
is supported).
Related blocks Generic ComSensor Condition (ECL, ECB & ECY Series), ComSensor Con-
dition (ECL, ECB & ECY Series), ComSensor Value (ECL, ECB & ECY
Series), Real Time Clock (ECB & ECY Series), Wireless Sensor (ECB
Series), Resources Configuration
EC-gfxProgram 561
Input(s)
SpaceTemp Numeric ±3.4028 ×1038 When alarms are enabled for this parameter
Alarm Setpoint (see Alarms (ECB & ECY Series)), a positive
input value increases the alarm setpoint values
Humidity Alarm
set in the Options tree of the Configure window
Setpoint
(a negative value reduces the alarm setpoint
CO2AlarmSetpo values): The High limit is now the High limit
int value (set in the Resources Configuration’s
Alarms configuration for the block) plus
(for CO2 models
AlarmSetpoint and the Low limit is now the
only) Low limit value (set in the Resources
(These inputs Configuration’s Alarms configuration for the
are available block) plus AlarmSetpoint.
with B-AAC and Figure 333: Alarms Configuration Window
B-BC controllers
only)
562 EC-gfxProgram
Port Type Range Description
MotionAlarmVal Digital 0 or 1 When alarms are enabled for this parameter see
ue (B-AAC and Alarms (ECB & ECY Series)), this input
B-BC controllers overrides the alarm value set in the Options
only) tree of the Configure window:
Output(s)
SpaceTemp Fault Digital 0 or 1 For the SpaceTemp output: This is logically True
(1) if the Reliability property does not have a value
of No fault detected (0).
SpaceTemp Enum See For the SpaceTemp output: When Allure EC-
Reliability Description Smart-Vue Sensor communication is lost, this
becomes Communication failure (12) otherwise
this is No fault detected (0).
EC-gfxProgram 563
Port Type Range Description
Humidity Fault Digital 0 or 1 For the Humidity output: This is logically True (1)
if the Reliability property does not have a value of
No fault detected (0).
Humidity Enum See For the Humidity output: When the Check out of
Reliability Description range in the Advanced Configuration is set, this
provides an indication of whether the physical
input is "reliable" and, if not, why. See Reliability
property.
Humidity InAlarm Digital 0 or 1 When Enable Alarms is set for a block instance
(B-AAC and B- and the present value is outside of the High limit
BC controllers and Low limit settings and taking into
only) consideration the Dead band and Time delay
settings, this output is On (1). See Analog Value
(ECB & ECY Series) for more information about
this output. See Alarms (ECB & ECY Series) to
configure the alarm settings.
CO2 Fault Digital 0 or 1 For the CO2 output: This is logically True (1) if the
Reliability property does not have a value of No
fault detected (0).
564 EC-gfxProgram
Port Type Range Description
CO2 Reliability Enum See For the CO2 output: When the Check out of
Description range in the Advanced Configuration is set, this
provides an indication of whether the physical
input is "reliable" and, if not, why. See Reliability
property.
CO2 InAlarm (B- Digital 0 or 1 When Enable Alarms is set for a block instance
AAC and B-BC and the present value is outside of the High limit
controllers only) and Low limit settings and taking into
consideration the Dead band and Time delay
settings, this output is On (1). See Analog Value
(ECB & ECY Series) for more information about
this output. See Alarms (ECB & ECY Series) to
configure the alarm settings.
Motion Fault Digital 0 or 1 For the Motion output: This is logically True (1) if
the Reliability property does not have a value of
No fault detected (0).
Motion Reliability Enum See For the Motion output: When the Check out of
Description range in the Advanced Configuration is set, this
provides an indication of whether the physical
input is "reliable" and, if not, why. See Reliability
property.
Motion InAlarm Digital 0 or 1 When Enable Alarms is set for a block instance
(B-AAC and B- and the present value is outside of the High limit
BC controllers and Low limit settings and taking into
only) consideration the Dead band and Time delay
settings, this output is On (1). See Analog Value
(ECB & ECY Series) for more information about
this output. See Alarms (ECB & ECY Series) to
configure the alarm settings.
EC-gfxProgram 565
Block properties See also Common Block Properties.
Use the up/down buttons to go to the first Quick Edit menu to modify
its value. Use the Menu button to navigate from one scene to the next
while using the up/down buttons to enter into the menu.
566 EC-gfxProgram
The following graphic shows the default Allure EC-Smart-Vue Sensor menu
map
Scenes depend on ComSensor Condition (ECL, ECB & ECY Series) block
settings, ComSensor Value (ECL, ECB & ECY Series) block settings, and
enumerations that you have previously created.
Parameter Description
EC-gfxProgram 567
Parameter Description
Menu
Accessible via Menu button . Pressing the Menu
button cycles the Allure EC-Smart-Vue Sensor through
the scenes defined under this branch. Use the up/down
buttons to enter into a submenu.
Advanced Menu
Accessible by pressing Menu button for 5 seconds.
A Password validation can be added. Use the up/down
buttons to enter into a submenu.
Global Options Used to set the settings that are shared between all
Allure EC-Smart-Vue Sensors. See Global Options.
568 EC-gfxProgram
Allure EC-Smart-Vue Sensor display icons
In all scenes, the following Allure EC-Smart-Vue Sensor display icons can be
shown.
Day/ Night
HVAC Occupancy
EC-gfxProgram 569
Icon selection Icon activation can be controlled by project code through an Icon Value (see
Icon Value configuration).
Parameter Description
Eco Vue Sets the Eco Vue icon display properties. To encourage
occupants to be as green as possible, the Eco Vue icon
can be programmed to show more leaves when the
occupant chooses a setpoint that reduces energy use.
This helps to promote awareness for energy
consciousness and to save operational costs.
570 EC-gfxProgram
Adding a scene
Standard scenes Standard scenes are pre-programmed into the Allure EC-Smart-Vue Sensor
out of the box.
Parameter Description
EC-gfxProgram 571
Parameter Description
Edit Baud Rate Allows the Baud rate of the connected controller’s
(ECB Series BACnet MS/TP communications network to be set.
controllers)
Edit Date or Allows the user to set the controller’s year, time, or date
Time (ECB at the Allure EC-Smart-Vue Sensor. See Edit Date or
Series Time scene (ECB Series controllers).
controllers)
572 EC-gfxProgram
Custom scenes Custom scenes can be added to the Allure EC-Smart-Vue Sensor.
Parameter Description
Display and Edit Displays the value of one Value while allowing another
Value Value to be edited. Opens the Display and Edit Scene
popup. See Display and Edit Scene configuration.
Change Value This scene is invisible when a user navigates past it;
however by doing so, it sets a point to a specific value.
Opens the Change Value Scene popup. See Change
Value Scene configuration.
Add Sub Menu Adds a new menu in which scenes are added. Users
drill-down into these menus to access the scenes
contained in the sub-menu.
EC-gfxProgram 573
Common scene Scene configurations have configuration options that are common from scene
options configuration to scene configuration.
Parameter Description
Edit Real Time Changes the value in the controller without the user
having to press the Menu button to accept the new
value.
Allow null Allows a user to select null as a value. A null value can
be used to release a priority. See Commandable object
priority array levels.
When this option is enabled, the Allure EC-Smart-Vue
Sensor user can select a null value for the scene as
follows:
Timeout This sets the delay before the display returns to the
Main Rolling Scenes when there is no user interaction,
or it goes to the next scene display while in a Main
Rolling Scenes.
574 EC-gfxProgram
Edit Date or Time This configuration allows the user to set the controller’s real time clock. Time
scene (ECB or date updates made through the Allure EC-Smart-Vue Sensor are sent as a
Series manual time synchronization to all controllers that support the time-synchroni-
controllers) zation-recipients or utc-time-synchronization-recipients services on the net-
work as a local broadcast. Up to five controllers for time-synchronization-
recipients can be defined and up to five controllers for utc-time-synchroniza-
tion-recipients can be defined.
The Allure EC-Smart-Vue Sensor’s LCD screen can also show the current
time or text in a scrolling display.
NOTE: Three scenes are needed to allow the user to set the year, time, or
date: That is, one scene is required for each of these parameters.
Parameter Description
Text Section This defines the types of data that will be displayed in
Text the scrolling display part of the LCD display: Default
Datetime shows the default date and time set in Global
Options, Text shows up to 16 characters of upper-case
text defined in the Text box. Year, Time, and Date
shows the currently configured year, time, and date.
EC-gfxProgram 575
Parameter Description
Time sync (ECB Set the recipient controller of the manual time
Series only) synchronization message that is sent when a user sets
the time or date with the Allure EC-Smart-Vue Sensor.
Parameter Description
576 EC-gfxProgram
Parameter Description
NOTE: To cancel the wireless learn phase, exit the scene by pressing for
5 seconds on the Allure EC-Smart-Vue Sensor.
Parameter Description
EC-gfxProgram 577
This scene is dynamically created for each Wireless Sensor instance block
that has been added to the project.
Parameter Description
578 EC-gfxProgram
2. In the Properties pane for the Wireless Sensor block, click the Sensor
drop-down list and then click Add new sensor.
Figure 345: Adding a Wireless Sensor to the controller
NOTE: Do not set the Sensor ID or click Learn. It is through the Allure EC-
Smart-Vue Sensor scene that the sensor ID learn will be triggered.
3. Select the wireless sensor type in the Sensor type drop down list.
4. Configure the Wireless Sensor block as you normally would. See also
Wireless Sensor (ECB Series).
Figure 346: Configuring the Wireless Sensor
5. Click OK.
EC-gfxProgram 579
6. Add and configure as many wireless sensors that will be used with the
controller: In the Properties pane for the Wireless Sensor block, click
the Sensor drop-down list and then click Add new sensor.
7. Add a ComSensor block to the Programming Sheet.
Figure 347: Adding a ComSensor block to the programming sheet
Using the Allure 1. With the connected Allure EC-Smart-Vue Sensor, go to the Wireless
EC-Smart-Vue Commissioning scene. The scrolling display part of the LCD display
Sensor to shows Wireless.
discover
wireless devices 2. Press an up or down button to enter into the submenu.
in the field (ECB 3. Use the up/down buttons to select a Wireless Sensor block
Series only) instance that will be used to learn the sensor’s ID.
4. Press to start the wireless learning phase. The scrolling display part of
the LCD display shows a 5 minute count-down timer during which a wire-
less datagram must be received in order to associate the Wireless Sensor
(ECB Series) block instance to a wireless device.
5. The controller must receive a valid signal from a wireless device when the
device’s Learn button is pressed or, if it does not have a Learn button,
when the device senses a change of value. Once the value has been
580 EC-gfxProgram
learnt by the controller, the sensor’s ID value is shown in the scrolling dis-
play part of the LCD display.
6. Press for 5 seconds to accept the value and exit the scene.
7. Repeat the procedure for all remaining Wireless Sensor block instances.
NOTE: Synchronizing your project code with a controller will erase the discov-
ered wireless Sensor ID from the controller. Repeat the above proce-
dure to re-discover it.
4. Press to start the wireless learning phase. The scrolling display part of
the LCD display shows a 5 minute count-down timer.
6. Press for 5 seconds to accept the value and exit the scene.
Scene configuration
Display Scene This configuration makes the Allure EC-Smart-Vue Sensor’s LCD screen
configuration show a value from a Value. The Allure EC-Smart-Vue Sensor’s LCD screen
can also show the time, text, or a delay Value in a scrolling display.
Parameter Description
Text Section This defines the types of data that will be displayed in
Text the scrolling display part of the LCD display: Default
Datetime shows the default date and time set in Global
Options, Text shows up to 16 characters of upper-case
text defined in the Text box. Delay Values can also be
displayed (see Delay Value configuration).
EC-gfxProgram 581
Parameter Description
Edit Scene This configuration allows the display and editing of a value from a Value. The
configuration Allure EC-Smart-Vue Sensor’s LCD screen can also show the time, text, or a
delay Value in a scrolling display.
Parameter Description
Text Section This defines the types of data that will be displayed in
the scrolling display part of the LCD display: Default
Text
Datetime shows the default date and time set in Global
Options, Text shows up to 16 characters of upper-case
text defined in the Text box. Delay Values can also be
displayed (see Delay Value configuration).
Value Limits Use to set the valid limit range over which the value
can be edited by the user. Options include a static
setting (0 to 126) or a dynamic value set by a Value.
Click to set the limits in the Scene Limits
Configuration popup.
582 EC-gfxProgram
Scene Limits This configuration sets the valid limit range over which the value can be edited
Configuration by the user.
Parameter Description
Enable low limit When enabled, sets the lowest value that can be
selected by the user.
Enable high limit When enabled, sets the highest value that can be
selected by the user.
Static Static (fixed) values are set to define the high or low
limit.
Dynamic The dynamic values for the high or low limit are based
on the instantaneous value of a Local or Global Value.
EC-gfxProgram 583
Display and Edit This configuration allows a user to edit a Value while displaying the value of
Scene another Value. The Allure EC-Smart-Vue Sensor’s LCD screen can also show
configuration the time, text, or a delay Value in a scrolling display.
Parameter Description
Text Section This defines the types of data that will be displayed in
the scrolling display part of the LCD display: Default
Text
Datetime shows the default date and time set in Global
Options, Text shows up to 16 characters of upper-case
text defined in the Text box. Delay Values can also be
displayed (see Delay Value configuration).
Edited Value The Value to be edited by the user. The value can be
changed by using the up/down buttons .
Value Limits Use to set the valid limit range over which the value
can be edited by the user. Options include a static
setting (0 to 126) or a dynamic value set by a Value.
Click to set the limits in the Scene Limits
Configuration popup.
584 EC-gfxProgram
Change Value This scene is invisible when a user navigates past it; however by doing so, it
Scene sets a point to a specific value when the Condition is True.
configuration
Figure 352: Change Value Scene configuration
Parameter Description
Conditions When this condition is True, the Value takes the value
of Set value.
String This configuration allows a user to select a text string from a string enumera-
Enumeration tion (for example, to select a mode from an enumeration of Heat, Cool, Auto,
Scene and so on).
configuration
Figure 353: String Enumeration Scene configuration
Parameter Description
Text The enumeration string from which the user can select
a setting. The value can be changed by using the up/
down buttons .
EC-gfxProgram 585
Filter The filter restricts the available choices enumeration or Value members avail-
Configuration able to a user for this scene. Click to set the Filter properties.
window
Figure 354: String Enumeration scene Filter Configuration
Parameter Description
Enable filter Enable the filter to restrict the available choices to the
user.
586 EC-gfxProgram
Value This configuration allows a user to select a value from an enumeration shown
Enumeration in the display’s Display Value field. The Allure EC-Smart-Vue Sensor’s LCD
Scene screen can also show the time or text in a scrolling display.
configuration
Figure 355: Value Enumeration Scene configuration
Parameter Description
Text Section This defines the types of data that will be displayed in
the scrolling display part of the LCD display: Default
Text
Datetime shows the default date and time set in Global
Options, Text shows up to 16 characters of upper-case
text defined in the Text box. Delay Values can also be
displayed (see Delay Value configuration).
EC-gfxProgram 587
Icon This configuration allows a user to select an icon from an icon Value. The
Enumeration Allure EC-Smart-Vue Sensor’s LCD screen can also show the time or text in a
Scene scrolling display.
configuration
Figure 356: Icon Enumeration Scene configuration
Parameter Description
Text Section This defines the types of data that will be displayed in
the scrolling display part of the LCD display: Default
Text
Datetime shows the default date and time set in Global
Options, Text shows up to 16 characters of upper-case
text defined in the Text box. Delay Values can also be
displayed (see Delay Value configuration).
Value The icon Values to display in the Icon field of the LCD
display that allows the user to select the icon value by
using the up/down buttons . See Values.
Conditions Conditions are used to Hide/Show Scenes from the user by sharing a digital
signal from logical blocks on the programming sheet with the ComSensor
block through a ComSensor Condition block (see ComSensor Condition
(ECL, ECB & ECY Series)). Up to 15 Conditions can be created. The number
and name of all conditions are identical across all Allure EC-Smart-Vue Sen-
sors connected to the controller. The condition values sent from the ComSen-
sor Condition block to each Allure EC-Smart-Vue Sensor is unique. This
means that each condition on each Allure EC-Smart-Vue Sensor connected
to the controller can be individually enabled/disabled.
To add a condition, right-click Conditions in the tree and select Add New
Conditions and give this condition a name.
588 EC-gfxProgram
The condition can now be used to hide or show the scene in the ComSensor
configuration as follows.
ComSensor A scene can be shown or hidden according to the value at the associated
Condition block ComSensor Condition block Input and the Reverse Condition setting for
and Reverse the scene as shown in the following table.
Condition
Values Values are used to share data between the ComSensor block and other
blocks on the programming sheet through a ComSensor Value block (see
ComSensor Value (ECL, ECB & ECY Series)).
Up to 30 Local Values can be created: The number and name of all Values
are identical across all Allure EC-Smart-Vue Sensors connected to the con-
EC-gfxProgram 589
troller. The value for each Value is unique to each Allure EC-Smart-Vue Sen-
sor.
Up to 70 Global Values can be created: The names and values are shared
across all Allure EC-Smart-Vue Sensors.
To add a Value, right-click Local Values / Global Values in the tree and
select Add New Value, and select the Value type to be added.
The Value can now be used to pass values between the ComSensor block
and other blocks as follows:
590 EC-gfxProgram
Numeric Value Values can be linked to a BACnet object.
configuration
Figure 363: Numeric Value configuration
Parameter Description
Unit Select the native units of the value sent to the Value.
This is usually set to the default internal measurement
system (Metric or US units). Internally, the Allure EC-
Smart-Vue Sensor converts values between
measurement systems, as required by a scene.
Default Value This value is used when all priority levels are set to
Null. See Commandable object priority array levels.
Write Priority Set the BACnet priority to use to write to the BACnet
object from the Allure EC-Smart-Vue Sensor. See
Commandable object priority array levels.
Delay Value Delay Values are used to display a count-down delay in the Scrolling Display
configuration area of the LCD.
Figure 364: Delay Value configuration
Parameter Description
Default Value This value is used when all priority levels are set to Null.
See Commandable Object Priority Array Levels.
Write Priority Set the BACnet priority to use to write to the object. See
Commandable Object Priority Array Levels.
EC-gfxProgram 591
Icon Value Icon Values are used to store the value of an Icon to display different icons on
configuration the Allure EC-Smart-Vue Sensor based on EC-gfxProgram programming
code.
Parameter Description
Link to BACnet Select the enumeration that will control the display. The
Object table below shows the icon’s behavior according to the
enumeration value.
Write Priority Set the BACnet priority to use to write to the object.
See Commandable object priority array levels.
The following icon values can be added to control their display by linking the
Value to an enumeration. To see an example of the Allure EC-Smart-Vue Sen-
sor icons, refer to Icon selection.
Parameter Description
Eco Vue Value Sets the Eco Vue icon display properties.
592 EC-gfxProgram
Parameter Description
Blind Value Sets the sun blind / shade icon display properties.
Unit Value Sets the unit for the display value. If the units from the
EC-gfxProgram project are different from that chosen
here, the Allure EC-Smart-Vue Sensor internally
converts the units automatically.
Enumeration Enumeration Values are used to store the value of an enumeration to be dis-
Value played or selected on the Allure EC-Smart-Vue Sensor.
configuration
Figure 366: Enumeration Value configuration
Parameter Description
Default Value This value is used when all priority levels are set to
Null. See Commandable object priority array levels.
Write Priority Set the BACnet priority to use to write to the object.
See Commandable object priority array levels.
EC-gfxProgram 593
Enumeration The Enumeration Validity Value is used to mask enumerations when using
Validity Value Select Enumeration Scene. Digital validation is done with the enumeration
configuration fields.
Parameter Description
Write Priority Set the BACnet priority to use to write to the object.
See Commandable object priority array levels.
Enumerations Enumerations are used to select options in the Select Enumeration Scenes.
All texts displayed in the text section of a scene use an enumeration. A maxi-
mum of 127 strings in total can be created and each string can have up to 16
characters. The first enumeration value to be shown can be selected.
Enumeration string optimization is possible if the same text is used more than
one time, either when the text is used in Enumerations or in the Scene Text
box. Enumerations added by the user are not optimized.
594 EC-gfxProgram
Click an empty cell in the Name column and type a value to add a new enu-
meration. Click a cell with a pre-existing value in the Name column and type a
value to edit the current value.
Parameter Description
Start Value Sets the base index of the enumeration (0base, 1base,
-1base, etc.).
Global Options These settings are shared between all Allure EC-Smart-Vue Sensors.
Parameter Description
Default datetime Set the default date and time format to use when
display Datetime is selected in the Text Section drop-down.
Time format Set the time format to use when Time is selected in the
Text Section drop-down.
Date format Set the date format to use when Date is selected in the
Text Section drop-down.
EC-gfxProgram 595
Parameter Description
Activity backlight Set the LCD backlight level when the Allure EC-Smart-
Vue Sensor has had any of its keys recently pressed by
a user.
Inactivity Set the LCD backlight level when the Allure EC-Smart-
backlight Vue Sensor has not had any of its keys recently
pressed by a user.
Default scene The default scene timeout that is used when creating a
timeout new scene.
Description Used to send a condition to ComSensor blocks where they are used to Hide/
Show Allure EC-Smart-Vue Sensor Scenes from the user when configured.
Slim format This block can be collapsed into a slim format. See Collapsed in Common
support block properties.
Input(s)
Output(s)
596 EC-gfxProgram
Block properties See also Common block properties.
Description Used with the Number input of the Generic ComSensor Condition (ECL, ECB
& ECY Series) block to consistently identify a ComSensor Condition (ECL,
ECB & ECY Series) index number. This index number is dynamically
assigned to the ComSensor Condition name. When a ComSensor Condition
is deleted, the index numbers for other ComSensor Conditions may change.
This block outputs the index number for the ComSensor Condition selected in
the Condition field of this block’s Property pane.
Related blocks ComSensor (ECL Series), ComSensor (ECB & ECY Series), ComSensor
Value (ECL, ECB & ECY Series), ComSensor Condition (ECL, ECB & ECY
Series)
Input(s) N/A
Output(s)
Output Numeric 2 to 16 Block output. The current index number for the
ComSensor Condition (ECL, ECB & ECY Series) selected
in the Condition field of this block’s Property pane. See
Conditions (ECL Series) and Conditions.
EC-gfxProgram 597
Block properties See also Common block properties.
Condition Menu See – This menu lists the Conditions that have
Description been previously created in a ComSensor
block. See Conditions (ECL Series) or
Conditions.
Slim format This block can be collapsed into a slim format. See Collapsed in Common
support block properties.
Related blocks ComSensor (ECL Series), ComSensor (ECB & ECY Series), Generic Com-
Sensor Value (ECL, ECB & ECY Series), ComSensor Condition (ECL, ECB &
ECY Series), ComSensor Value Selector (ECL, ECB & ECY Series)
Input(s)
598 EC-gfxProgram
Output(s)
Description Used with the Number input of the Generic ComSensor Value (ECL, ECB &
ECY Series) block to consistently identify a ComSensor Value (ECL, ECB &
ECY Series) index number. This index number is dynamically assigned to the
ComSensor Value name. When a ComSensor Value is deleted, the index
numbers for other ComSensor Values may change. This block outputs the
index number for the ComSensor Value selected in the Value field of this
block’s Property pane.
Related blocks ComSensor (ECL Series), ComSensor (ECB & ECY Series), Generic Com-
Sensor Value (ECL, ECB & ECY Series), ComSensor Value (ECL, ECB &
ECY Series)
Input(s) N/A
EC-gfxProgram 599
Output(s)
Output Numeric 11 to 110 Block output. The current index number for the
ComSensor Value (ECL, ECB & ECY Series) selected
in the Value field of this block’s Property pane. See
also Values (ECL Series) or Values.
Value Menu See – This menu lists the Values that have been
Description previously created in a ComSensor block.
See Values (ECL Series) or Values.
Description Used to interface with a wireless input using standard EnOcean® profiles.
For the number of wireless inputs that are available for a device, refer to its
datasheet. Different output ports are available on the EnOcean Device block
depending on the sensor type selected. Also, some sensor types can use
more than one wireless inputs.
Slim format This block can be collapsed into a slim format. See Collapsed in Common
support block properties.
Input(s) N/A
600 EC-gfxProgram
Output(s)
Setpoint Numeric Varies accord- The temperature setpoint offset being sent by the
ing to EnOcean EnOcean device.
device (usually
-10 to 10) NOTE: Any change in the measurement system of
the project results in the output value
being converted.
FanSpeed Enum 1 to 5 The fan speed. The values are defined as such:
1 = ST_NUL (AUTO)
2 = ST_OFF
3 = ST_LOW
4 = ST_MED
5 = ST_HIGH
EC-gfxProgram 601
Port Type Range Description
[ANY].Fault Digital 0 or 1 Logical True (1) if the Reliability property does not
have a value of No Fault Detected, otherwise log-
ical False (0).
RSSI Numeric -98 to -41 The current EnOcean device’s receive signal
Available with strength measured in dBm. Wireless operation is
wireless receiv- more reliable with stronger signal strength. See
ers that support the Receiver signal strength indication table in
this feature the EnOcean Device information section for more
information.
Number Menu See – The EnOcean device instance. Click the drop-
Description down arrow to see the list of the configured
EnOcean devices and to switch between them.
602 EC-gfxProgram
Advanced The configuration parameters for this block are set via the Resources Config-
configuration uration window. The EnOcean Configuration window has the settings required
to configure any type of EnOcean device, including sensors, switches, digital
contacts, etc. Depending on the Device type selected, the options available
will vary.
EnOcean Device
information
Parameter Description
Object name Used to identify this block in the Reliability property and
on the controller’s operator interface (if equipped).
Controller spe- For ECY Series controllers, indicate whether the Devi-
cific ceID is considered "controller specific" and thus will not
be overwritten when the project is re-synchronized on
the controller.
EC-gfxProgram 603
Parameter Description
Device type The sensor type and EEP profile number. When a
device is learned in, the device type may be automati-
cally detected (see the Learn button below). If you are
unable to learn in a device (the wireless receiver is not
currently connected to the controller, the device does
not send its device profile type, the controller is not
online, or the device is not in range), you can select the
device type from this drop-down list. The EnOcean
Equipment Profiles (EEP) is shown for each device
shown in this drop-down list.
Learn This button opens the Learn window. For a list of sup-
ported devices, see Supported EnOcean Wireless Sen-
sor Profiles.
Wireless Signal
Bars Signal Quality Description
Strength
604 EC-gfxProgram
Configuration Figure 371: EnOcean Device Inputs Configuration window
Parameter Description
True text / false Assigns a Boolean format to the BACnet object, for
text example, On, Off. Click Configure to create a new
enumeration or add a new member to an enumeration.
See Creating and using enumerations (ECB & ECY
Series).
EC-gfxProgram 605
Parameter Description
Min range This field is used to specify the value of the minimum
setpoint offset.
Max range This field is used to specify the value of the maximum
setpoint offset.
Range Select the byte for the range of the light sensor. Refer
to the EnOcean equipment profile.
Resource type The drop-down list allows you to select one of the
resource types that are being used in the project and
that can be bound to the EnOcean point (Analog Val-
ues, Binary Values, Multi-State Values, etc).
606 EC-gfxProgram
Button
Property Description
Learn The Learn window allows the EnOcean Device block to associate itself with
an EnOcean wireless device. The window will be closed when the EnOcean
Device block receives a valid signal from an EnOcean device (as soon as its
Learn button is pressed) or when it senses a value change (if the device does
not have a Learn button). The window can also be closed by clicking Stop
Learning.
EC-gfxProgram 607
Floating Output (ECP Series)
Description Used to interface with a floating actuator connected to the controller’s output.
The controller calculates the time that is needed for the actuator motor to
reach the correct position.
For example, assume that it takes 90 seconds for the actuator to go from fully
closed to fully open, then a 25% demand means that the actuator will be
opened for 25% X 90 = 22.5 seconds. If the actuator is already at 15% and
there is a 25% demand, the controller will calculate that it must move for (25%
- 15%) X 90 = 9 seconds.
NOTE: Be aware that the Position output may not equal the Position input
all the time. If the time calculated to move the position of the actuator
from one point to another is less than the Min pulse on time config-
ured, then the actuator will not move to the new position and thus the
outputted Position will not be the same as the inputted Position.
If there is a demand for 0% or 100%, the calculation will be based on
110% of the drive time to ensure that the actuator reaches the limits.
For example, Hardware Output 1 and 2 are used. The Position value is dis-
played in Hardware Output 1 and the State is displayed in Hardware Output 2.
nviModify can be used to write to the position and states of the blocks by
specifying the internal value type (HW_OUTPUT), the index (Output Number),
the mode (Automatic or Manual), and the value (0 to 100 or 0, 1, or 2).
608 EC-gfxProgram
Input(s)
Position Numeric 0.00 to The position demand for the floating actuator (in
100.00 %).
Output(s)
Position Numeri 0.00 to The actual position of the actuator (in %).
c 100.00
Floating Pair Menu See Not Set The floating output pair instance. Click the
Description drop-down arrow to open the Adding a
Floating Pair window, which provides
access to the Advanced configuration
window and lists the floating output pairs.
Adding a The Floating Pair window lists the configured floating output pairs and pro-
Floating Pair vides access to the Advanced configuration window. This window displays the
EC-gfxProgram 609
number and name of the floating pair as well as which output(s) on the con-
troller are used to close and open the floating output. To view this window,
select this block on the Programming Sheet and in the block’s Properties,
click the drop-down arrow for Floating Pair. This block instance will use the
floating output pair selected in this window.
Item Description
Advanced The Floating Output Configuration window has all the settings required to con-
configuration figure a floating output.
Property Description
610 EC-gfxProgram
Property Description
Min pulse on This field defines the minimum amount of time for
which the actuator can move.
Min pulse off This field defines the minimum amount of time that the
actuator does not move between movements.
Drive time This field defines the amount of time it takes for the
actuator to go from being fully closed to fully open or
vice-versa.
On init resync When the device is reset or when the State output is
set to automatic mode from manual, the actuator needs
to be resynchronized. Select whether the output should
be made fully Open or fully Closed on
resynchronization.
Resynchronization drives the output for 110% of the
Drive Time to ensure that the damper is fully reset to its
fully open or fully closed position. Once
resynchronization is complete (110% of the Drive Time
has elapsed), the Floating Output block sets the
damper position according to the Position input
(Automatic mode). See also Manually overriding the
damper position and state.
Manually In the Resource Viewer pane, the actuator Position is displayed in the first of
overriding the the two output Values and the State is displayed in the second of the two out-
damper position put Values (0=No Movement, 1=Opening, 2=Closing).
and state
Figure 376: The position and state outputs of a floating pair block in the
Manually setting Manually override the damper position by clicking Edit Mode and Value for
the damper the Position output in the Hardware IOs tab of the Resource Viewer. Set
position
EC-gfxProgram 611
Manual and an override value (in %) for the damper position. This sets the
PositionMode output of the block to Manual (1).
Manually forcing Manually force actuator movement to open, close, or stay put by clicking Edit
actuator Mode and Value for the State output in the Hardware IOs tab of the
movement (ECP Resource Viewer. Set Manual and select one of the following states: Off,
Series Close, or Open. This sets the StateMode output of the block to 1. Movement
controllers) continues until you select Off.
When overriding the State output, the device does not keep track the damper
position. As a result, when changing the State output from manual to auto-
matic, the damper position must be resynchronized. Resynchronization drives
the output for 110% of the Drive Time to ensure that the damper is fully reset
to its fully open or fully closed position (as set by On init resync). Once resyn-
chronization is complete (110% of the Drive Time has elapsed), the Floating
Output block sets the damper position according to the Position input (Auto-
matic mode).
612 EC-gfxProgram
Deleting a Before you delete a Floating Output block, you should first delete the Floating
Floating Output Pair outputs in the Floating Pair Window (see Adding a Floating Pair).
If you delete a Floating Output block without deleting the Floating Pair outputs
first, the controller’s outputs for the floating pair will still be assigned for this
purpose (and those outputs will not be available for other purposes).
Floating Pair outputs can be deleted in the Resource Viewer pane (whether
the outputs are associated to a Floating Pair block or not) as follows:
1. Open the .
2. Select the Hardware IOs tab.
3. Select the first Floating Pair output and click Delete Floating Pair.
NOTE: When importing a project or project code that has more floating pair
outputs than can be supported by the current controller, save your
project to remove these floating pair outputs.
EC-gfxProgram 613
614 EC-gfxProgram
Floating Output (ECL Series)
Description Used to interface with a floating actuator connected to the controller’s output.
The controller calculates the time that is needed for the actuator motor to
reach the correct position.
For example, assume that it takes 90 seconds for the actuator to go from fully
closed to fully open, then a 25% demand means that the actuator will be
opened for 25% X 90 = 22.5 seconds. If the actuator is already at 15% and
there is a 25% demand, the controller will calculate that it must move for (25%
- 15%) X 90 = 9 seconds.
NOTE: Be aware that the Position output may not equal the Position input
all the time. If the time calculated to move the position of the actuator
from one point to another is less than the Min pulse on time config-
ured, then the actuator will not move to the new position and thus the
outputted Position will not be the same as the inputted Position.
If there is a demand for 0% or 100%, the calculation will be based on
110% of the drive time to ensure that the actuator reaches the limits.
For example, Hardware Output 1 and 2 are used. The actuator is closed by
Hardware Output 1 and the actuator is opened by Hardware Output 2.
EC-gfxProgram 615
Configuration Once the outputs for this block have been configured, the two hardware out-
type display puts that have been selected in the Resources Configuration window are
shown at the bottom of the block: The number shown after Close refers to the
hardware output number used to move the actuator to the closed position.
The number shown after Open refers to the hardware output number used to
move the actuator to the open position.
Number of Depends on the number of hardware outputs available for the current control-
blocks ler model.
Input(s)
Position Numeric 0 to 100 The position demand for the floating actuator (in %).
Output(s)
Position Numeric 0 to 100 The actual position of the actuator (in %).
616 EC-gfxProgram
Port Type Range Description
ClosePriority Integer Override The current active priority level in effect to close or
Switch open the actuator:
OpenPriority
Manual • Override Switch (1) = An HOA override switch
Operator has been activated.
Network • Manual Operator (2) = The floating output has
Override been overridden. See Manually forcing actuator
movement (ECP Series controllers).
Program
• Network Override (3) = The floating output has
been overridden through a hardware output NVO.
See Hardware Output configuration for a Floating
Pair.
• Program (4) = Automatic EC-gfxProgram Pro-
gram operation.
Close Override Multi Off For the floating pair’s close output: The HOA switch’s
Switcha State current position. Manual is shown on the controller’s
Auto
Value faceplate as Man.
Manual
Not
available
Close Override Numeric 0 to For the floating pair’s close output: The HOA
Potentiometera 12.5VDC potentiometer’s current position (expressed as a
voltage).
null
Close Effective Digital 0 or 1 For the floating pair’s close output: The actual output
Outputa at the hardware output, which represents the value of
any software generated output or any HOA override
setting, interpreted according to the threshold set in
the Hardware Output configuration for a Floating Pair
(HOA ON/OFF Threshold parameter).
Open Override Multi Off For the floating pair’s open output: The HOA switch’s
Switcha State current position. Manual is shown on the controller’s
Auto
Value faceplate as Man.
Manual
Not
available
Open Override Numeric 0 to For the floating pair’s open output: The HOA
Potentiometera 12.5VDCn potentiometer’s current position (expressed as a
ull voltage).
EC-gfxProgram 617
Port Type Range Description
Open Effective Digital 0 or 1 For the floating pair’s open output: The actual output
Outputa at the hardware output, which represents the value of
any software generated output or any HOA override
setting, interpreted according to the threshold set in
the Hardware Output configuration for a Floating Pair
(HOA ON/OFF Threshold parameter).
Floating Pair Menu See Not Set The floating output pair instance. Click the
Description drop-down arrow to open Manage IO
Modules in the Resources Configuration.
See Adding a Floating Output (ECL
Series).
For controllers with one or more ECx-400
Series Extension Modules connected to it,
a Source column shows on which device
the input is located. This information is
also shown in the block type and number;
see Block objects description.
Overview A floating output requires 2 unused hardware outputs located on the same
ECx-400 Series extension module or on the same controller. The following
are ways to add a floating output.
618 EC-gfxProgram
• Drag a Floating Pair Block from the Toolbox onto the Programming Sheet.
See Figure 380.
2. Select the floating output and configure it (see Floating Pair configura-
tion). In Close output and Open output, select the hardware outputs that
are to be used for closing and opening movement.
3. Configure the close and open hardware outputs: Click Show output con-
fig for each output. See Hardware Output configuration for a Floating
Pair.
Figure 379: Resource block instance operations
4. To control a floating output, drop a Floating Output block onto the Pro-
gramming Sheet.
Dragging a When you drop a Floating Output block onto the Programming Sheet, the fol-
Floating Pair lowing popup will appear. Click Yes to continue.
block from the
toolbox Figure 380: Dragging a Floating Pair block from the Toolbox on the programming sheet
EC-gfxProgram 619
Floating Pair Configure a floating output as follows.
configuration
Figure 381: Floating Output configuration window
Parameter Description
Close Output Select the hardware output that is used to move the
actuator to the closed position.
Open Output Select the hardware output that is used to move the
actuator to the open position.
Min pulse on This field defines the minimum amount of time for
which the actuator can move.
Min pulse off This field defines the minimum amount of time that the
actuator does not move between movements.
620 EC-gfxProgram
Parameter Description
Drive time This field defines the amount of time it takes for the
actuator to go from being fully closed to fully open or
vice-versa.
On init resync When the device is reset or when the State output is
set to automatic mode from manual, the actuator needs
to be resynchronized. Select whether the output should
be made fully open or fully closed on
resynchronization. Resynchronization drives the output
for 110% of the Drive Time to ensure that the damper is
fully reset to its fully open or fully closed position. Once
resynchronization is complete (110% of the Drive Time
has elapsed), the Floating Output block sets the
damper position according to the Position input
(Automatic mode). See also Manually forcing actuator
movement (ECL Series).
EC-gfxProgram 621
Hardware Output Configure the two hardware outputs to be used by the floating pair.
configuration for
a Floating Pair Figure 382: Hardware Output configuration for a Floating Pair
Parameter Description
HOA OFF For a close output: when the potentiometer is set below
Threshold this threshold, the block’s CloseEffectiveOutput port
(available with will be False and the close hardware output will no
HOA equipped longer be driven.
outputs only)
For an open output: when the potentiometer is set
below this threshold, the block’s OpenEffectiveOutput
port will be False and the open hardware output will no
longer be driven.
622 EC-gfxProgram
Parameter Description
Return the floating pair to automatic operation (to software control) by right-
clicking the Floating / Close output in the and selecting Auto and then by
right-clicking the Floating / Open output in the and selecting Auto.
When overriding the output, the device does not keep track the damper posi-
tion. As a result, when changing the State output from manual to automatic
operation, the damper position must be resynchronized. Resynchronization
drives the output for 110% of the Drive Time to ensure that the equipment is
fully reset to its fully open or fully closed position (as set by On init resync).
Once resynchronization is complete (110% of the Drive Time has elapsed),
the Floating Output block sets the equipment position according to the Posi-
tion input (Automatic mode).
EC-gfxProgram 623
Deleting a Floating Output
Before you delete a Floating Output block, you should first delete the Floating
Pair resources. If you delete a Floating Output block without deleting the
Floating Pair outputs first, the controller’s outputs for the floating pair will still
be assigned for this purpose (and those outputs will not be available for other
purposes).
The following are ways to delete the resources for a Floating Pair.
• Select the Floating Output block on the Programming Sheet and in the
block’s Properties, click the drop-down arrow for Floating Pair. Select the
floating pair and click .
Figure 385: Floating Pair window
NOTE: When importing a project code that has more floating pair outputs than
can be supported by the current controller, save your project to
remove these floating pair outputs.
624 EC-gfxProgram
Floating Output (ECB & ECY Series)
Description Used to interface with a floating actuator connected to the controller’s output.
The controller calculates the time that is needed for the actuator motor to
reach the correct position.
For example, assume that it takes 90 seconds for the actuator to go from fully
closed to fully open, then a 25% demand means that the actuator will be
opened for 25% X 90 = 22.5 seconds. If the actuator is already at 15% and
there is a 25% demand, the controller will calculate that it must move for (25%
- 15%) X 90 = 9 seconds.
NOTE: Be aware that the Position output may not equal the Position input
all the time. If the time calculated to move the position of the actuator
from one point to another is less than the Min pulse on time config-
ured, then the actuator will not move to the new position and thus the
outputted Position will not be the same as the inputted Position.
If there is a demand for 0% or 100%, the calculation will be based on
110% of the drive time to ensure that the actuator reaches the limits.
For example, Hardware Output 1 and 2 are used. The actuator is closed by
Hardware Output 1 and the actuator is opened by Hardware Output 2.
EC-gfxProgram 625
Configuration Once the outputs for this block have been configured, the two hardware out-
type display puts that have been selected in the Resources Configuration window are
shown at the bottom of the block: The number shown after Close refers to the
hardware output number used to move the actuator to the closed position.
The number shown after Open refers to the hardware output number used to
move the actuator to the open position.
Number of Depends on the number of hardware outputs available for the current control-
blocks ler model.
Advanced Resources Configuration, Adding a Floating Output (ECB & ECY Series),
configuration Manually forcing actuator movement, Deleting a Floating Output (ECB Series
Controllers), BACnet network properties, Configure Ports, Show/Hide Ports
input(s)
Position Numeric 0 to 100 The position demand for the floating actuator (in %).
Priority Integer 1 to 16 The value at the Input is written at the priority level
specified at this input. If a value is not linked to this
input, the value at the Input is written into the default
priority level. See Commandable object priority array
levels.
Output(s)
Position Numeric 0 to 100 The actual position of the actuator (in %).
626 EC-gfxProgram
Port Type Range Description
ClosePriority Integer 1 to 16 The current active priority level in effect to close the
actuator. See Commandable object priority array
levels.
OpenPriority Integer 1 to 16 The current active priority level in effect to open the
actuator. See Commandable object priority array
levels.
Close Override Multi State Off For the floating pair’s close output: The HOA
Switcha Value switch’s current position. Manual is shown on the
Auto
controller’s faceplate as Man.
Manual
Not
available
Close Override Numeric 0 to For the floating pair’s close output: The HOA
Potentiometera 12.5VDC potentiometer’s current position (expressed as a
voltage).
Close Effective Numeric 0 to For the floating pair’s close output: The actual output
Outputa 12500% at the hardware output, which represents the value
of any software generated output or any HOA
override setting, interpreted according to the
threshold set in the Hardware Output configuration
for a Floating Pair (HOA ON/OFF Threshold
parameter).
Open Override Multi State Off For the floating pair’s open output: The HOA
Switcha Value switch’s current position. Manual is shown on the
Auto
controller’s faceplate as Man.
Manual
Not
available
Open Override Numeric 0 to For the floating pair’s open output: The HOA
Potentiometera 12.5VDC potentiometer’s current position (expressed as a
voltage).
EC-gfxProgram 627
Port Type Range Description
Open Effective Numeric 0 to For the floating pair’s open output: The actual output
Outputa 12500% at the hardware output, which represents the value
of any software generated output or any HOA
override setting, interpreted according to the
threshold set in the Hardware Output configuration
for a Floating Pair (HOA ON/OFF Threshold
parameter).
Floating Pair Menu See Not Set The floating output pair instance. Click
Description the drop-down arrow to open Manage
IO Modules in the Resources
Configuration. See Adding a Floating
Output (ECB & ECY Series).
For controllers with one or more ECY-IO
Series or ECY-IO Series or ECx-400
Series Extension Modules connected to
it, a Source / Module column shows on
which device the input is located. This
information is also shown in the block
type and number; see Block objects
description.
Overview To add a floating output, the ECY-IO Series or any ECx-400 Series extension
module(s) must have been first added to the Resources Configuration window
(if necessary see Adding a Hardware IO extension module (ECY Series)). A
floating output requires 2 unused hardware outputs located on the same ECY-
IO Series extension module, on the same ECx-400 Series extension module,
or on the same controller. The following are ways to add a floating output.
628 EC-gfxProgram
in the tool bar. To program a floating output, use the Floating Output
block.
• In the Resources Configuration window’s Resource Tree, right-click the
controller / IO module to which you want to add a floating pair and select
Add Floating Pair. See below.
• Drag a Floating Pair Block from the Toolbox onto the Programming Sheet.
2. Select the floating output and configure it. In Close output and Open
output, select the hardware outputs that are to be used for closing and
opening movement.
3. Configure the close and open hardware outputs: Click Show output con-
fig for each output. See Hardware Output configuration for a Floating
Pair.
Figure 387: Resource block instance operations
Dragging a When you drop a Floating Output block onto the Programming Sheet, the fol-
Floating Pair lowing popup will appear. Click Yes to continue.
block from the
Toolbox Figure 388: Dragging a Floating Pair block from the Toolbox on the programing sheet
EC-gfxProgram 629
Floating Pair Configure a floating output as follows.
configuration
Figure 389: Floating Output configuration window
Parameter Description
Close Output Select the hardware output that is used to move the
actuator to the closed position.
Open Output Select the hardware output that is used to move the
actuator to the open position.
Min pulse on This field defines the minimum amount of time for
which the actuator can move.
Min pulse off This field defines the minimum amount of time that the
actuator does not move between movements.
630 EC-gfxProgram
Parameter Description
Drive time This field defines the amount of time it takes for the
actuator to go from being fully closed to fully open or
vice-versa.
On init resync When the device is reset or when the State output is
set to automatic mode from manual, the actuator needs
to be resynchronized. Select whether the output should
be made fully open or fully closed on
resynchronization.
Resynchronization drives the output for 110% of the
Drive Time to ensure that the damper is fully reset to its
fully open or fully closed position. Once
resynchronization is complete (110% of the Drive Time
has elapsed), the Floating Output block sets the
damper position according to the Position input
(Automatic mode). See also Manually forcing actuator
movement (ECL Series).
EC-gfxProgram 631
Hardware Output Configure the two hardware outputs to be used by the floating pair.
configuration for
a Floating Pair Figure 390: Hardware Output configuration for a Floating Pair
Parameter Description
632 EC-gfxProgram
Parameter Description
HOA OFF For a close output: when the potentiometer is set below
Threshold this threshold, the block’s CloseEffectiveOutput port
(available with will be False and the close hardware output will no
HOA equipped longer be driven.
outputs only)
For an open output: when the potentiometer is set
below this threshold, the block’s OpenEffectiveOutput
port will be False and the open hardware output will no
longer be driven.
Alarm This sets the alarm configuration that will trigger the
dispatch of a notification message to other BACnet
devices. See Alarms (ECB & ECY Series).
Trending (ECY This configures the BACnet trend log object for the
Series related resource. See Trending (ECY Series).
controllers only)
EC-gfxProgram 633
Manually forcing actuator movement
Return the floating pair to automatic operation (to software control) as follows.
634 EC-gfxProgram
When overriding the output, the device does not keep track the damper posi-
tion. As a result, when changing the State output from manual to automatic
operation, the damper position must be resynchronized. Resynchronization
drives the output for 110% of the Drive Time to ensure that the damper is fully
reset to its fully open or fully closed position (as set by On init resync). Once
resynchronization is complete (110% of the Drive Time has elapsed), the
Floating Output block sets the damper position according to the Position
input (Automatic mode).
Before you delete a Floating Output block, you should first delete the Floating
Pair resources. If you delete a Floating Output block without deleting the
Floating Pair outputs first, the controller’s outputs for the floating pair will still
be assigned for this purpose (and those outputs will not be available for other
purposes).
The following are ways to delete the resources for a Floating Pair.
• Select the Floating Output block on the Programming Sheet and in the
block’s Properties, click the drop-down arrow for Floating Pair. Select the
floating pair and click .
Figure 393: Floating Pair window
EC-gfxProgram 635
• Floating Pair outputs can be deleted in the Resource Viewer pane
(whether the outputs are associated to a Floating Pair block or not) as fol-
lows:
1. Open the .
2. Select the Hardware IOs tab.
3. Select the first Floating Pair output and click Delete Floating Pair.
NOTE: When importing a project code that has more floating pair outputs than
can be supported by the current controller, save your project to
remove these floating pair outputs.
Description Used to interface with a hardware input. Each Hardware Input block is linked
to a corresponding nvoFP_xx (xx = input number), which follows the same
value as the Hardware Input block. However, this link is broken if a Network
Variable Output block with the same block number is used in the code, in
which case the nvoFP_xx follows the same value as the Network Variable
Output block. The user can read the values and modes of the Hardware Input
blocks directly through nvoHwIx_x (x=input number). nviModify can be used
to write to the values and modes of the blocks by specifying the internal value
type (HW_INPUT), the index (Block Number), the mode (Automatic or Man-
ual), and the value (-83886.08 to 83886.07).
Configuration The configuration type that has been selected in the Advanced Configuration
Type display window is shown at the bottom of the block as shown below.
Configuration Type
Number of Depends on the number of hardware inputs available for the current controller
blocks model.
Advanced Advanced configuration, Edit Mode and Value (ECP Series), Copy From,
configuration Configure Ports, Show/Hide Ports
636 EC-gfxProgram
Input(s)
ClrPulse Digital 0 or 1 For inputs configured for pulse counting, set this input
to True (1) to clear the pulse count.
Output(s)
Output Digital 0 or 1 Block output. Whether the block will output a digital
value or a numeric value is dependent on what type of
Numeric -83886.08 to Signal interpretation is selected in the block’s
83886.07 Advanced configuration window.
EC-gfxProgram 637
Block properties See also Common block properties.
Advanced configuration
Configuration parameters for this block are set in the Resources Configura-
tion window to configure any type of hardware input including sensors,
switches, contacts, etc. Depending on the Signal interpretation selected, the
options available under Settings will vary.
DISCONNECTED
638 EC-gfxProgram
LINEAR
Parameter Description
Signal type This parameter determines the input signal type of the
connected sensor. When supported by the current
controller model, the following signal types are
available:
RESISTANCE: Resistance input, typically 0 to 10kΩ
VOLTAGE_0_10V: Voltage input, 0 to 10V
MILLIAMPS_4_20MA: Current input, 4 to 20mA (DC)
EC-gfxProgram 639
Parameter Description
Input min The Input min is used to correlate with the Min value to
create the lower point of the linear interpolation curve
that is used to interpret the raw input reading.
Input max The Input max is used to correlate with the Max value
to create the higher point of the linear interpolation
curve that is used to interpret the raw input reading.
Min value The Min value is used to correlate with the Input min to
create the lower point of the linear interpolation curve
that is used to interpret the raw input reading.
Max value The Max value is used to correlate with the Input max
to create the higher point of the linear interpolation
curve that is used to interpret the raw input reading.
For example, if there is a resistance input (0 to 10kΩ)
and an Input min of 2kΩ, an Input max of 8kΩ, a Min
value of 60ºF and a Max value of 80ºF are set, then
2kΩ will correspond to 60ºF and 8kΩ will correspond to
80ºF.
Use filter When selected, the input signal will be filtered from any
low-frequency noise or distortion caused by, for
example, the input wires running too close to an
electrical source or flow sensor air turbulence.
640 EC-gfxProgram
TRANS_TABLE
Parameter Description
Signal type This parameter determines the input signal type of the
connected sensor. When supported by the current
controller model, the following signal types are
available:
RESISTANCE: Resistance input, typically 0 to 10kΩ
VOLTAGE_0_10V: Voltage input, 0 to 10V
MILLIAMPS_4_20MA: Current input, 4 to 20mA (DC)
Use filter When selected, the input signal will be filtered from any
low-frequency noise or distortion caused by, for
example, the input wires running too close to an
electrical source.
EC-gfxProgram 641
Translation Table The translation table consists of 16 rows used to define a curve that converts
configuration the raw input value (mA, V, Ω) into the appropriate units of measurement (for
example, ºF). The curve is interpolated linearly based on the values entered.
It is not necessary to fill out all the rows since a linear curve will be generated
automatically between each pair of points and interpolated/extrapolated as
required.
NOTE: The values in the Input value column must be in ascending order,
otherwise the conversion will be incorrect.
642 EC-gfxProgram
Example: The following example illustrates how a translation table can translate a
Temperatutre thermistor’s resistance values into temperature values. The following graph
translation and window display the data points that have been used.
Parameter Description
Input Value (mA, The raw hardware input reading. Must be in ascending
V or Ω) order.
EC-gfxProgram 643
DIGITAL
Parameter Description
Signal type This parameter determines the input signal type of the
connected sensor. The following signal type is
supported:
RESISTANCE: Resistance input, typically 0 to 10kΩ
For resistance inputs (0 to 10kΩ), if disconnected (+inf
Ω) it will cause an electrical fault.
OFF Value The value of the block when the input is Off.
644 EC-gfxProgram
Parameter Description
EC-gfxProgram 645
MULTI_LEVEL
Parameter Description
Signal type This parameter determines the input signal type of the
connected sensor. When supported by the current
controller model, the following signal types are
available:
RESISTANCE: Resistance input, typically 0 to 10kΩ
VOLTAGE_0_10V: Voltage input, 0 to 10V
MILLIAMPS_4_20MA: Current input, 4 to 20mA (DC)
Multi-Level Table The multi-level table consists of 16 rows used to define a function that con-
configuration verts the raw input value (mA, V, Ω) into the appropriate level. The function is
interpolated based on the values entered. It is not necessary to fill out all the
rows since a step function will automatically be generated between each pair
of points and interpolated/extrapolated as required.
NOTE: The values in the Input Value column must be in ascending order,
otherwise the conversion will be incorrect.
646 EC-gfxProgram
Example: HVAC The following example illustrates how a multi-level table can assign a potenti-
mode ometer’s resistance values to a corresponding level. Each level corresponds
to a particular HVAC mode as follows: -1 = HVAC_NUL, 0 = HVAC_AUTO, 1 =
HVAC_HEAT, 3 = HVAC_COOL, 6 = HVAC_OFF. The following graph and
window display the data points that have been used.
Parameter Description
Input Value (mA, The raw hardware input reading. Must be in ascending
V or Ω) order.
EC-gfxProgram 647
STD_THERMISTOR
Predefined translation tables that apply to the standard type thermistors that
are used within sensors.
Parameter. Description
Signal type This parameter determines the input signal type of the
connected sensor. The following signal type is
supported:
RESISTANCE: Resistance input, typically 0 to 10kΩ
For resistance inputs (0 to 10kΩ), if disconnected (+inf
Ω) for more than 10 seconds, it will cause an electrical
fault.
Min value The Min value is used to establish the low limit of the
input reading.
Max value The Max value is used to establish the high limit of the
input reading.
For example, if a Min value and Max value are set,
then the predefined translation table is cut off at those
values. So if a Min value of 32ºF and a Max value of
122ºF are set, then the input value will never pass
these limits even if the sensed value reads values
higher or lower than the maximum or minimum value
respectively.
648 EC-gfxProgram
Parameter. Description
Use filter When selected, the input signal will be filtered from any
low-frequency noise or distortion caused by, for
example, the input wires running too close to an
electrical source.
SETPOINT_OFFSET
An offset input (±) that is applied to the heating and cooling setpoints.
Parameter Description
Signal type This parameter determines the input signal type of the
connected sensor. The following signal type is
supported:
RESISTANCE: Resistance input, typically 0 to 10kΩ
EC-gfxProgram 649
Parameter Description
Input min The Input min is used to correlate with the Min value
to create the lower point of the linear interpolation
curve that is used to interpret the input reading.
Input max The Input max is used to correlate with the Max value
to create the higher point of the linear interpolation
curve that is used to interpret the input reading.
Min value The Min value is used to correlate with the Input min
to create the lower point of the linear interpolation
curve that is used to interpret the input reading.
Max value The Max value is used to correlate with the Input max
to create the higher point of the linear interpolation
curve that is used to interpret the input reading.
For example, if there is a resistance input (0 to 10kΩ)
and an Input min of 2kΩ, an Input max of 8kΩ, a Min
value of -10ºF and a Max value of 10ºF are set, then
2kΩ will correspond to -10ºF and 8kΩ will correspond
to 10ºF.
Description Used to interface with a hardware input. The value of each of these blocks is
available through network variables; see Controlling a Hardware Input
through a Structured Network Variable.
Configuration The configuration type that has been selected in the Advanced configuration
Type display window is shown at the bottom of the block as shown below.
Configuration Type
650 EC-gfxProgram
Slim format This block can be collapsed into a slim format. See Collapsed in Common
support block properties.
Advanced Resources Configuration, Advanced configuration, Change Type (ECP & ECL
configuration Series), Find All References (ECL, ECB & ECY Series), Copy From, Config-
ure Ports, Show/Hide Ports, Controlling a Hardware Input through a Struc-
tured Network Variable, LONWORKS properties, Creating and using
enumerations (ECL Series)
Input(s)
ClrPulse Digital 0 or 1 For inputs configured for pulse counting, set this
input to True (1) to clear the pulse count.
Output(s)
Output Digital 0 or 1 Block output. Whether the block will output a digital
value or a numeric value is dependent on what type
Numeric ±3.4028 of Signal interpretation is selected in the block’s
×1038 Advanced configuration window.
Number Integer – The block number. For controllers with one or more
ECx-400 Series Extension Modules connected to it,
a number from 1 to 16 means the input is on the
controller. A number from 101 to 112 means the
output is on ECx-400 Series Extension Module 1. A
number from 201 to 212 means the output is on
ECx-400 Series Extension Module 2.
OutOfService Digital 0 or 1 When an override has been set (see Override and
auto), this is logically True (1). When the block is set
to auto, this is logically False (0). See Out-of-
Service.
EC-gfxProgram 651
Port Type Range Description
Fault Digital 0 or 1 When either the Check out of range or the Check
signal fault in the Advanced Configuration is set
(or both are set), this is logically True (1) if the
Reliability property does not have a value of No
Fault Detected, otherwise logical False (0).
Reliability Enum See When either the Check out of range or the Check
Description signal fault in the Advanced Configuration is set
(or both are set), this provides an indication of
whether the physical input is "reliable" and, if not,
why. See Reliability property.
Advanced configuration
Configuration parameters for this block are set in the Resources Configura-
tion window to configure any type of hardware input including sensors,
switches, contacts, etc.
652 EC-gfxProgram
the output types supported by the controller. In all cases, the Signal
interpretation drop-down list (shown below) reflects the available
configuration options and output types supported by a controller’s
hardware input. Refer to the controller’s Hardware Installation Guide
for more details.
For ECL Series controllers that support extension modules, the hardware
inputs and outputs are numbered in the Resource Tree according to the
extension module’s MAC address setting.
Figure 406: Hardware Input and Output numbering scheme for ECL Series controller
extension modules
HO 202
The number of the ECx-400 Series Extension
module Input or Output port, as labeled on the
controller’s faceplate. For example, this refers to
hardware output #2. See the ECx-400 Series
Extension module’s hardware installation guide.
The extension module’s MAC address setting.
For example, this refers to the ECx-400 Series
Extension module with its MAC address set to 2.
General Configuration
Set the hardware input’s name and the network variable properties. See ECL
Series network properties.
EC-gfxProgram 653
Disconnected
Linear
654 EC-gfxProgram
Parameter Description
Signal Type This parameter determines the input signal type of the
connected sensor. When supported by the current
controller model, the following signal types are
available:
RESISTANCE: Resistance input, typically 0 to 350kΩ.
VOLTAGE 0 - 10V: Voltage input, 0 to 10V.
MILLIAMPS 0 - 20mA: Current input, 0 to 20mA (DC).
VOLTAGE 0 - 5V: Voltage input, 0 to 5V.
Signal This sets the raw input signal range (set by the
Configuration – Minimum and Maximum parameters).
Signal
Minimum: Is used to correlate with the Minimum
Output value to create the lower point of the linear
interpolation curve that is used to interpret the raw
input reading.
Maximum: Is used to correlate with the Maximum
Output value to create the higher point of the linear
interpolation curve that is used to interpret the raw
input reading.
EC-gfxProgram 655
Parameter Description
Signal This linearly scales the input signal (as set by the
Configuration – Signal Minimum and Maximum parameters) to a new
Output range set by the Output Minimum and Maximum
parameters.
Minimum: Is used to correlate with the Signal
Minimum to create the lower point of the linear
interpolation curve that is used to interpret the raw
input reading.
Maximum: Is used to correlate with the Signal
Maximum to create the higher point of the linear
interpolation curve that is used to interpret the raw
input reading.
For example, if there is a resistance input (0 to 10kΩ)
and an Minimum Signal of 2kΩ, an Maximum signal
of 8kΩ, a Minimum Output value of 60ºF and a
Maximum Output value of 80ºF are set, then 2kΩ will
correspond to 60ºF and 8kΩ will correspond to 80ºF.
Figure 409: Setting the signal input range
Default Value When the Check signal fault is set, and the
Reliability output is either Open Loop or Shorted
Loop (see Reliability property), this becomes the
block’s output value.
Check out of When set, this enables the block’s Reliability and
range Fault outputs to report the out of range enumeration.
The values are based on these calculated by the
Signal Configuration – Output configuration. See
Table 17.
See Reliability property for a complete list of reliability
enumerations.
Check signal When set, this enables the block’s Reliability and
fault Fault outputs to report the signal fault status. Values
are based on the raw input signal. See Table 18.
Use filter When selected, the input signal will be filtered from any
low-frequency noise or distortion caused by, for
example, the input wires running too close to an
electrical source or flow sensor air turbulence.
656 EC-gfxProgram
Table 17: Check out of range
The scaled value (Signal No fault detected (0) False (0) if there is
Configuration: Output) is if there is no signal no signal fault as set
within the range set by fault as set in Check in Check signal
the Minimum and signal fault fault, otherwise True
Maximum parameters. (1)
The raw input (Signal No fault detected (0) False (0) if there is
Configuration: Signal) is if there is no out of no out of range fault
within the range set by range fault as set in as set in Check out
the Signal Low Limit Check out of range of range, otherwise
and Signal High Limit True (1)
parameters.
The raw input value Shorted loop (5) True (1) The block’s
exceeds the value set by output is the Default
the Signal Low Limit value.
parameters.
EC-gfxProgram 657
Custom
Parameter Description
658 EC-gfxProgram
Parameter Description
Signal type This parameter determines the input signal type of the
connected sensor. When supported by the current
controller model, the following signal types are
available:
RESISTANCE: Resistance input, typically 0 to 350kΩ.
VOLTAGE 0 - 10V: Voltage input, 0 to 10V.
MILLIAMPS 0 - 20mA: Current input, 0 to 20mA (DC).
VOLTAGE 0 - 5V: Voltage input, 0 to 5V.
Signal offset The offset is a constant value that is applied to the raw
sensor input reading to compensate for reading errors,
for example, from the resistance of a long wire run to
the sensor.
For example, a temperature sensor is connected to one
of the hardware inputs with 1000 feet (305 M) of wire,
which has an effective voltage drop of 0.15V; set the
signal offset to 0.15V to correct for this offset.
Default value When the Check signal fault is set, and the
Reliability output is either Open Loop or Shorted
Loop (see Reliability property), this becomes the
block’s output value.
Check out of When set, this enables the block’s Reliability and
range Fault outputs to report the out of range enumeration.
See Table 17.
See Reliability property for a complete list of reliability
enumerations.
EC-gfxProgram 659
Parameter Description
Check signal When set, this enables the block’s Reliability and
fault Fault outputs to report the signal fault status. See
Table 18.
Use filter When selected, the input signal will be filtered from any
low-frequency noise or distortion caused by, for
example, the input wires running too close to an
electrical source or flow sensor air turbulence.
Translation Table The translation table consists of 2 to 32 rows used to define points on a curve
configuration that converts the raw input value (mA, V, Ω) into the appropriate units of mea-
surement (for example, ºF). The curve is interpolated linearly between each
point based on the values entered. A linear curve is generated automatically
between each pair of points and interpolated/extrapolated as required.
NOTE: The values in the Signal value column must be in ascending order,
otherwise the conversion will be incorrect.
660 EC-gfxProgram
Example: The following example illustrates how a translation table can translate a
temperature thermistor’s resistance values into temperature values. The following graph
translation and window display the data points that have been used.
Parameter Description
Create new Click to clear the values in the current translation table.
table
Set number Click to set the total number of rows in the translation
of entries table.
Save to file Click to save the translation table to a file on your file
system. This allows a translation table to be reused in
the future.
EC-gfxProgram 661
Parameter Description
Digital
Property Description
Default value This sets the controller’s output to this default value
when:
• The output has not been written to (it is in an unex-
ecuted Conditional Custom Block for example).
• An ECx-400 Series Extension module has lost
communications with the controller.
It assigns a Boolean format to this input, for example,
TRUE, FALSE.
662 EC-gfxProgram
MultiLevel
Parameter Description
Signal type This parameter determines the input signal type of the
connected sensor. When supported by the current
controller model, the following signal types are
available:
RESISTANCE: Resistance input, typically 0 to 350kΩ.
VOLTAGE 0 - 10V: Voltage input, 0 to 10V.
MILLIAMPS 0 - 20mA: Current input, 0 to 20mA (DC).
VOLTAGE 0 - 5V: Voltage input, 0 to 5V.
EC-gfxProgram 663
Parameter Description
Default Value When the Check signal fault is set, and the
Reliability output is either Open Loop or Shorted
Loop (see Reliability property), this enumeration value
is used to set the block’s output value.
It assigns an enumeration format to the object, for
example, occupancy. Click Configure to select the
enumeration that is to be used by the translation table
to convert a given input level to a specific enumeration
member, or create an enumeration or add a new
member to an enumeration. See Creating and using
enumerations (ECL Series).
Check signal When set, this enables the block’s Reliability and
fault Fault outputs to report the signal fault status. Values
are based on the raw input signal. See Table 19.
Translation Table The translation table has a row for each enumeration member of the selected
configuration enumeration. Each row defines a value that when matched to the raw input
value (mA, V, Ω), selects the corresponding enumeration member for the out-
put.
NOTE: The values in the Signal Value column must be in ascending order,
otherwise the conversion will be incorrect.
Example: HVAC The following example illustrates how a multi-level table can assign a potenti-
Mode ometer’s resistance values to a corresponding level. Each level corresponds
to a particular HVAC mode as follows: 0 = HVAC_NUL, 1 = HVAC_AUTO, 2 =
664 EC-gfxProgram
HVAC_HEAT, 3 = HVAC_COOL, 4 = HVAC_OFF. The following graph and
window display the data points that have been used.
Parameter Description
EC-gfxProgram 665
RTD & Thermostors
Predefined translation tables that apply to the standard type thermistors that
are used within sensors.
Parameter Description
666 EC-gfxProgram
Parameter Description
Signal Offset The offset is a constant value that is applied to the raw
sensor input reading to compensate for reading errors,
for example, from the resistance of a long wire run to
the sensor.
For example, a temperature sensor is connected to one
of the hardware inputs with 1000 feet (305 M) of wire
that has an effective resistance of 15Ω, set the signal
offset to -15 to correct for this offset.
Check out of When set, this enables the block’s Reliability and
range Fault outputs to report the out of range enumeration.
See Table 20.
See Reliability property for a complete list of reliability
enumerations.
Use filter When selected, the input signal will be filtered from any
low-frequency noise or distortion caused by, for
example, the input wires running too close to an
electrical source.
The scaled value (Signal No fault detected (0) False (0) if there
Configuration: Output) is if there is no signal is no signal fault
within the range set by the fault
Minimum and Maximum
parameters.
EC-gfxProgram 667
Table 20: Check out of range
The scaled value exceeds the Over range (2) True (1)
value set by the Maximum
parameter.
The scaled value exceeds the Under range (3) True (1)
value set by the Minimum
parameter.
668 EC-gfxProgram
Setpoint Offset
Parameter Description
Signal This sets the raw input signal range (set by the
Configuration – Minimum and Maximum parameters).
Signal
Minimum: Is used to correlate with the Minimum
Output value to create the lower point of the linear
interpolation curve that is used to interpret the raw
input reading.
Maximum: Is used to correlate with the Maximum
Output value to create the higher point of the linear
interpolation curve that is used to interpret the raw
input reading.
EC-gfxProgram 669
Parameter Description
Signal This scales the input signal (as set by the Signal
Configuration – Minimum and Maximum parameters) to a new range
Output set by the Output Minimum and Maximum
parameters. A 10% deadband of full signal is centered
at the mid range.
Minimum: Is used to correlate with the Signal
Minimum to create the lower point of the linear
interpolation curve that is used to interpret the raw
input reading.
Maximum: Is used to correlate with the Signal
Maximum to create the higher point of the linear
interpolation curve that is used to interpret the raw
input reading.
For example, if there is a resistance input (0 to 10kΩ)
and a Minimum Signal of 2kΩ, a Maximum signal of
8kΩ, a Minimum Output value of -4 and a Maximum
Output value of 4 are set, then a 2kΩ input will
correspond to -4 and 8kΩ input will correspond to 4.
Figure 419: Setting the signal input range
Default value When the Check signal fault is set, and the
Reliability output is either Open Loop or Shorted
Loop (see Reliability property), this becomes the
block’s output value.
670 EC-gfxProgram
Parameter Description
Check out of When set, this enables the block’s Reliability and
range Fault outputs to report the out of range enumeration.
The values are based on these calculated by the
Signal Configuration – Output configuration. See
Table 17
See Reliability property for a complete list of reliability
enumerations.
Check signal When set, this enables the block’s Reliability and
fault Fault outputs to report the signal fault status. Values
are based on the raw input signal. See Table 18.
LONWORKS properties
See Network Properties Configuration window (ECL, ECB & ECY Series).
Should you reconfigure the Signal interpretation type, the network variable
type may no longer be compatible with the new signal type (for example,
using a Digital Signal interpretation type used with a SNVT_Count_inc_f net-
work variable type), a popup window may warn of this situation. In all cases,
ensure the correct network variable type is set in Change Type (ECP & ECL
Series) according to the hardware input’s signal type.
Figure 422: A warning that the Network Variable Type is not appropriate for the Signal
Interpretation Type
EC-gfxProgram 671
Controlling a Hardware Input through a Structured Network Vari-
able
The Hardware Input block’s value and mode are available in a number of
structured Network Variable Outputs (NVOs):
The user can read the Hardware Input values directly through these NVOs. A
write to this block is made according the highest priority write method shown
in the table below.
672 EC-gfxProgram
The Hardware Input points can be managed in EC-Net as follows:
Pulse
When the Signal interpretation is set to Pulse, the ClrPulse block input
becomes active. The ClrPulse block input resets the pulse count to zero. A
pulse count input is comprised of a rising edge and a falling edge. Therefore
the value of a pulse count input is equal to the summation of all pulse cycles
and is based on the following equation:
Pulse count input value = (number of rising edges multiplied by the value of
rising increment) + (number of falling edges multiplied by the value of falling
increment).
EC-gfxProgram 673
For example, a pulse count input has been configured with a Rising Incre-
ment value of 5 and a Falling Increment value of 0. After four pulse cycles
(shown below) the value of the input will be as follows (as based on the equa-
tion above): (4 x 5) + (4 x 0) = 20
Parameter Description
674 EC-gfxProgram
Hardware Input (ECB & ECY Series)
Description Used to interface with a hardware input. Each Hardware Input block is linked
to a corresponding network object which follows the same value as the Hard-
ware Input block. Units are set in BACnet network properties.
Alarms (ECB & ECY Series) are available with B-AAC or B-BC controller
models only (see the controller’s datasheet for more information).
For ECY Series controllers, alarms that have been configured for this block
can be suppressed by turning off the block’s alarm management so that while
this mechanism is engaged, no alarms will be reported by the block. See
AlarmInhibit input (ECY Series controllers).
Configuration The configuration type that has been selected in the Advanced configuration
Type display window is shown at the bottom of the block as shown below.
Configuration Type
Slim format This block can be collapsed into a slim format. See Collapsed in Common
support block properties.
Number of For ECB Series controllers: the number of Hardware Input block instances
blocks supported by a controller is shown in the Number drop-down list in the Proper-
ties or Statistics panes.
For ECY Series controllers: see Supported number of BACnet objects with an
ECY Series controller.
EC-gfxProgram 675
Input(s)
ClrPulse Digital 0 or 1 For inputs configured for pulse counting, set this
input to True (1) to clear the pulse count.
Alarm Setpoint Numeric ±3.4028 When alarms are enabled for this block (see
(B-AAC and B- ×1038 Alarms (ECB & ECY Series)), a positive input
BC controllers value increases the alarm setpoint values set in
only) the Resources Configuration’s Alarms
configuration for the block (a negative value
reduces the alarm setpoint values): The High
limit is now the High limit value (set in the
Resources Configuration’s Alarms configuration
for the block) plus AlarmSetpoint and the Low
limit is now the Low limit value (set in the
Resources Configuration’s Alarms configuration
for the block) plus AlarmSetpoint. See
Dynamic alarm activation thresholds adjust.
AlarmValue (B- Digital 0 or 1 When alarms are enabled for this block for a
AAC and B-BC digital value (see Alarms (ECB & ECY Series)),
controllers only) this input overrides the alarm value set in the
Resources Configuration’s Alarms configuration
for the block.
676 EC-gfxProgram
Port Type Range Description
TriggerTrendLog Digital 0 or 1 When Trend Logs are enabled for this object
(ECY Series and the Logging Type is set to Triggered, a
only) pulse at this input forces the present value to be
recorded in the object’s trend log. See Trending
(ECY Series).
Output(s)
EC-gfxProgram 677
Port Type Range Description
Reliability Enum See When the Check out of range and Check
Description signal fault in the Advanced Configuration is
set, this provides an indication of whether the
physical input is "reliable" and, if not, why. See
Reliability property.
InAlarm (B-AAC Digital 0 or 1 When Enable Alarms is set for this block and
and B-BC the block is in an alarm state, this output is On
controllers only) (1). See Alarms (ECB & ECY Series) to
configure the alarm settings.
678 EC-gfxProgram
Block properties See also Common block properties.
Number Menu See Hardware Use this drop-down menu to select a physical
Description Input 1 electrical input on this controller. See Number
of blocks for the number of block instances
supported by the current controller model.
For controllers with one or more ECY-IO
Series or ECx-400 Series Extension Modules
connected to it, a Source / Module column
shows on which connected device the input is
located. This information is also shown in the
block type and number; see Block objects
description.
Advanced configuration
Configuration parameters for this block are set in the Resources Configura-
tion window to configure any type of hardware input including sensors,
switches, contacts, etc.
EC-gfxProgram 679
Adding a Hardware IO extension module (ECY Series)
For controllers that support ECY-IO Series extension modules, the number
and type of hardware inputs and outputs will vary according to the number
and type of ECY-IO Series Extension modules physically connected to the
controller. ECY-IO Series Extension modules can be added through the
Resources Configuration window as follows.
3. In the Resource Tree, select the inputs and outputs to configure them. For
hardware inputs, see Configuring the Input Signal type. For hardware out-
puts, see Configuring the Output Signal Type (ECB & ECY Series).
When no extension IO module is currently configured in an ECY Series
controller’s project and you drop a hardware input or output onto the Pro-
gramming Sheet, the following popup will appear. Click Yes to continue.
Figure 427: Adding an IO module
680 EC-gfxProgram
Hardware Input and Output numbering scheme
ECY Series For ECY Series controllers, the hardware inputs and outputs are numbered in
controllers the Resource Tree according to the following scheme that identifies the ECY-
IO Series Extension module’s position to the right of the main controller and
the physical input or output connection on that ECY-IO Series Extension mod-
ule.
Figure 428: Hardware Input and Output numbering scheme for ECY Series controllers
HO 1202
The number of the ECY-IO Series Extension
module Input or Output port, as labeled on the
controller’s faceplate. For example, this refers to
hardware output #2. See the ECY-IO Series
Extension module’s hardware installation guide.
The number of IO modules to the right of the
main controller. For example, this refers to the
12th ECY-IO Series Extension module con-
nected to the right of the main controller. Non-IO
modules do not count towards this number.
ECB Series For ECB Series controllers that support extension modules, the hardware
controllers inputs and outputs are numbered in the Resource Tree according to the
extension module’s MAC address setting.
Figure 429: Hardware Input and Output numbering scheme for ECB Series controllers
HO 202
The number of the ECx-400 Series Extension
module Input or Output port, as labeled on the
controller’s faceplate. For example, this refers to
hardware output #2. See the ECx-400 Series
Extension module’s hardware installation guide.
The extension module’s MAC address setting.
For example, this refers to the ECx-400 Series
Extension module with its MAC address set to 2.
Disconnected
EC-gfxProgram 681
Linear
682 EC-gfxProgram
Property Description
Signal Type This parameter determines the input signal type of the
connected sensor. When supported by the current
controller model, the following signal types are
available:
RESISTANCE: Resistance input, typically 0 to 350kΩ.
VOLTAGE 0 - 10V: Voltage input, 0 to 10V.
MILLIAMPS 0 - 20mA: Current input, 0 to 20mA (DC).
VOLTAGE 0 - 5V: Voltage input, 0 to 5V.
Signal This sets the raw input signal range (set by the
Configuration – Minimum and Maximum parameters).
Signal
Minimum: Is used to correlate with the Minimum
Output value to create the lower point of the linear
interpolation curve that is used to interpret the raw
input reading.
Maximum: Is used to correlate with the Maximum
Output value to create the higher point of the linear
interpolation curve that is used to interpret the raw
input reading.
EC-gfxProgram 683
Property Description
Signal This linearly scales the input signal (as set by the
Configuration – Signal Minimum and Maximum parameters) to a new
Output range set by the Output Minimum and Maximum
parameters.
Minimum: Is used to correlate with the Signal
Minimum to create the lower point of the linear
interpolation curve that is used to interpret the raw
input reading.
Maximum: Is used to correlate with the Signal
Maximum to create the higher point of the linear
interpolation curve that is used to interpret the raw
input reading.
For example, if there is a resistance input (0 to 10kΩ)
and a Minimum Signal of 2kΩ, a Maximum signal of
8kΩ, a Minimum Output value of 60ºF and a
Maximum Output value of 80ºF are set, then 2kΩ will
correspond to 60ºF and 8kΩ will correspond to 80ºF.
Figure 432: Setting the signal input range
Default Value When the Check signal fault is set, and the
Reliability output is either Open Loop or Shorted
Loop (see Reliability property), this becomes the
block’s output value.
Check out of When set, this enables the block’s Reliability and
range Fault outputs to report the out of range enumeration.
The values are based on these calculated by the
Signal Configuration – Output configuration. See
Table 21.
See Reliability property for a complete list of reliability
enumerations.
Check signal When set, this enables the block’s Reliability and
fault Fault outputs to report the signal fault status. Values
are based on the raw input signal. See Table 22.
Use filter When selected, the input signal will be filtered from any
low-frequency noise or distortion caused by, for
example, the input wires running too close to an
electrical source or flow sensor air turbulence.
684 EC-gfxProgram
Table 21: Check out of range
EC-gfxProgram 685
Custom
Property Description
686 EC-gfxProgram
Property Description
Signal type This parameter determines the input signal type of the
connected sensor. When supported by the current
controller model, the following signal types are
available:
RESISTANCE: Resistance input, typically 0 to 350kΩ.
VOLTAGE 0 - 10V: Voltage input, 0 to 10V.
MILLIAMPS 0 - 20mA: Current input, 0 to 20mA (DC).
VOLTAGE 0 - 5V: Voltage input, 0 to 5V.
Signal offset The offset is a constant value that is applied to the raw
sensor input reading to compensate for reading errors,
for example, from the resistance of a long wire run to
the sensor.
For example, a temperature sensor is connected to one
of the hardware inputs with 1000 feet (305 M), which
has an effective voltage drop of 0.15V; set the signal
offset to 0.15V to correct for this offset.
Default value When the Check signal fault is set, and the
Reliability output is either Open Loop or Shorted
Loop (see Reliability property), this becomes the
block’s output value.
Check out of When set, this enables the block’s Reliability and
range Fault outputs to report the out of range enumeration.
See Table 21.
See Reliability property for a complete list of reliability
enumerations.
EC-gfxProgram 687
Property Description
Check signal When set, this enables the block’s Reliability and
fault Fault outputs to report the signal fault status. See
Table 22.
Use filter When selected, the input signal will be filtered from any
low-frequency noise or distortion caused by, for
example, the input wires running too close to an
electrical source or flow sensor air turbulence.
Translation Table The translation table consists of 2 to 32 rows used to define points on a curve
configuration that converts the raw input value (mA, V, Ω) into the appropriate units of mea-
surement (for example, ºF). The curve is interpolated linearly between each
point based on the values entered. A linear curve is generated automatically
between each pair of points and interpolated/extrapolated as required.
NOTE: The values in the Signal value column must be in ascending order,
otherwise the conversion will be incorrect.
688 EC-gfxProgram
Example: The following example illustrates how a translation table can translate a
temperature thermistor’s resistance values into temperature values. The following graph
translation and window display the data points that have been used.
Parameter Description
Create new Click to clear the values in the current translation table.
table
Set number Click to set the total number of rows in the translation
of entries table.
Save to file Click to save the translation table to a file on your file
system. This allows a translation table to be reused in
the future.
EC-gfxProgram 689
Parameter Description
690 EC-gfxProgram
Digital
Property Description
Default value This sets the controller’s output to this default value
when:
• The output has not been written to (it is in an unex-
ecuted Conditional Custom Block for example).
• An ECY-IO Series or ECx-400 Series Extension
module has lost communications with the control-
ler.
It assigns a Boolean format to the BACnet object, for
example, On, Off. Click Configure to create a new
enumeration or add a new member to an enumeration.
See Creating and using enumerations (8-Bit).
EC-gfxProgram 691
Multilevel
Property Description
Signal type This parameter determines the input signal type of the
connected sensor. When supported by the current
controller model, the following signal types are
available:
RESISTANCE: Resistance input, typically 0 to 350kΩ.
VOLTAGE 0 - 10V: Voltage input, 0 to 10V.
MILLIAMPS 0 - 20mA: Current input, 0 to 20mA (DC).
VOLTAGE 0 - 5V: Voltage input, 0 to 5V.
692 EC-gfxProgram
Property Description
Default value When the Check signal fault is set, and the
Reliability output is either Open Loop or Shorted
Loop (see Reliability property), this enumeration value
is used to set the block’s output value.
It assigns a enumeration format to the BACnet object,
for example, occupancy. Click Configure to select the
enumeration that is to be used by the translation table
to convert a given input level to a specific enumeration
member, or create an enumeration or add a new
member to an enumeration. See Creating and using
enumerations (8-Bit).
Check signal When set, this enables the block’s Reliability and
fault Fault outputs to report the signal fault status. Values
are based on the raw input signal. See Table 23.
Translation Table The translation table has a row for each enumeration member of the selected
configuration enumeration. Each row defines a value that when matched to the raw input
value (mA, V, Ω), selects the corresponding enumeration member for the out-
put.
NOTE: The values in the Signal Value column must be in ascending order,
otherwise the conversion will be incorrect.
EC-gfxProgram 693
Example: HVAC The following example illustrates how a multi-level table can assign a potenti-
mode ometer’s resistance values to a corresponding level. Each level corresponds
to a particular HVAC mode as follows: 0 = HVAC_NUL, 1 = HVAC_AUTO, 2 =
HVAC_HEAT, 3 = HVAC_COOL, 4 = HVAC_OFF. The following graph and
window display the data points that have been used.
Parameter Description
Create new Click to clear the values in the current translation table.
table
694 EC-gfxProgram
Parameter Description
Set number Click to set the total number of rows in the translation
of entries table.
Save to file Click to save the translation table to a file on your file
system. This allows a translation table to be reused in
the future.
The output port of this block can be configured with a format that will display
the MSI values as a user-friendly enumeration. See Configure Ports. For
more information about the enumeration to use with this block, see Creating
and using enumerations (8-Bit).
EC-gfxProgram 695
Predefined translation tables that apply to the standard type thermistors that
are used within sensors.
Parameter Description
Signal Offset The offset is a constant value that is applied to the raw
sensor input reading to compensate for reading errors,
for example, from the resistance of a long wire run to
the sensor.
For example, a temperature sensor is connected to one
of the hardware inputs with 1000 feet (305 M) of wire
that has an effective resistance of 15Ω, set the signal
offset to -15 to correct for this offset.
696 EC-gfxProgram
Parameter Description
Check out of When set, this enables the block’s Reliability and
range Fault outputs to report the out of range enumeration.
See Table 21.
See Reliability property for a complete list of reliability
enumerations.
Use filter When selected, the input signal will be filtered from any
low-frequency noise or distortion caused by, for
example, the input wires running too close to an
electrical source.
EC-gfxProgram 697
Setpoint Offset
Parameter Description
Signal This sets the raw input signal range (set by the
Configuration – Minimum and Maximum parameters).
Signal
Minimum: Is used to correlate with the Minimum
Output value to create the lower point of the linear
interpolation curve that is used to interpret the raw
input reading.
Maximum: Is used to correlate with the Maximum
Output value to create the higher point of the linear
interpolation curve that is used to interpret the raw
input reading.
698 EC-gfxProgram
Parameter Description
Signal This scales the input signal (as set by the Signal
Configuration – Minimum and Maximum parameters) to a new range
Output set by the Output Minimum and Maximum
parameters. A 10% deadband of full signal is centered
at the mid range.
Minimum: Is used to correlate with the Signal
Minimum to create the lower point of the linear
interpolation curve that is used to interpret the raw
input reading.
Maximum: Is used to correlate with the Signal
Maximum to create the higher point of the linear
interpolation curve that is used to interpret the raw
input reading.
For example, if there is a resistance input (0 to 10kΩ)
and a Minimum Signal of 2kΩ, an Maximum signal of
8kΩ, a Minimum Output value of -4 and a Maximum
Output value of 4 are set, then a 2kΩ input will
correspond to -4 and 8kΩ input will correspond to 4.
Figure 442: Setting the signal input range
Default value When the Check signal fault is set, and the
Reliability output is either Open Loop or Shorted
Loop (see Reliability property), this becomes the
block’s output value.
EC-gfxProgram 699
Parameter Description
Check out of When set, this enables the block’s Reliability and
range Fault outputs to report the out of range enumeration.
The values are based on these calculated by the
Signal Configuration – Output configuration. See
Table 21.
See Reliability property for a complete list of reliability
enumerations.
Check signal When set, this enables the block’s Reliability and
fault Fault outputs to report the signal fault status. Values
are based on the raw input signal. See Table 22.
Pulse
When the Signal interpretation is set to Pulse, the ClrPulse block input
becomes active. The ClrPulse block input resets the pulse count to zero. A
pulse count input is comprised of a rising edge and a falling edge. Therefore
the value of a pulse count input is equal to the summation of all pulse cycles
and is based on the following equation:
Pulse count input value = (number of rising edges multiplied by the value of
rising increment) + (number of falling edges multiplied by the value of falling
increment).
For example, a pulse count input has been configured with a Rising Incre-
ment value of 5 and a Falling Increment value of 0. After four pulse cycles
(shown below) the value of the input will be as follows (as based on the equa-
tion above): (4 x 5) + (4 x 0) = 20.
700 EC-gfxProgram
Property Description
Description Used to interface with a hardware output. Each Hardware Output block is
linked to a corresponding nviFP_xx (xx=output number). However, this link is
broken either if a Network Variable Input block with the same block number is
used in the project code or a Hardware Output block is used. The user can
read the values and modes of the Hardware Output blocks directly through
nvoHwOx_x (x=output number). nviModify can be used to write to the values
and modes of the blocks by specifying the internal value type (HW_OUTPUT),
the index (Block Number), the mode (Automatic or Manual), and the value
(0.00 to 100.00).
EC-gfxProgram 701
Configuration The configuration type that has been selected in the Advanced configuration
Type display window is shown at the bottom of the block as shown below.
Configuration Type
Number of Depends on the number of hardware outputs available for the current control-
blocks ler model.
Advanced Advanced configuration, Edit Mode and Value (ECP Series), Copy From,
configuration Configure Ports, Show/Hide Ports
Input(s)
Output(s)
702 EC-gfxProgram
Block properties See also Common block properties.
Advanced configuration
The Hardware Output Configuration window has all the settings required to
configure any type of hardware output including fans, heating/cooling sys-
tems, lights, etc. Depending on the Signal type selected, the options avail-
able under Settings will vary.
NOTE: The available signal types depend on the type of output on each con-
troller. Refer to the Hardware Installation Guides of the controllers for
more details.
UNASSIGNED
EC-gfxProgram 703
DIGITAL
Property Description
PWM
Property Description
Min value The minimum value that is allowed for PWM outputs.
Max value The maximum value that is allowed for PWM outputs.
PWM period Used to specify the PWM period for all outputs set to
PWM signal type (the period cannot be set to different
values for individual outputs). Lowering the default
value will result in a faster response and will provide a
more stable temperature when using perimeter
heating. However, it must be ensured that the PWM
period is not too low (fast cycling time) for the type of
equipment used.
704 EC-gfxProgram
ANALOG_0_10V
Property Description
Min value The minimum value that is allowed for Analog outputs.
The output range is 0 to 100; therefore the Min Value
corresponds to 0.
Max value The maximum value that is allowed for Analog outputs.
The output range is 0 to 100; therefore the Max Value
corresponds to 100.
ANALOG_0_20MA
Property Description
Min value The minimum value that is allowed for Analog outputs.
The output range is 0 to 100; therefore the Min Value
corresponds to 0.
EC-gfxProgram 705
Property Description
Max value The maximum value that is allowed for Analog outputs.
The output range is 0 to 100; therefore the Max Value
corresponds to 100.
Description Used to interface with a hardware output. Each Hardware Output block is
linked to a corresponding network object which follows the same value as the
Hardware Output block.
Configuration The configuration type that has been selected in the Advanced configuration
Type display window is shown at the bottom of the block as shown below.
Configuration Type
Slim format This block can be collapsed into a slim format. See Collapsed in Common
support block properties.
Advanced Resources Configuration, Advanced configuration, Change Type (ECP & ECL
configuration Series), Controlling a Hardware Output through a structured network variable,
Find All References (ECL, ECB & ECY Series), Copy From, Configure Ports,
Show/Hide Ports, LONWORKS properties
706 EC-gfxProgram
Input(s)
Numeric 0 to 100
Output(s)
EC-gfxProgram 707
Port Type Range Description
708 EC-gfxProgram
Block properties See also Common Block Properties.
Number Menu See Hardware Output 1 Use this drop-down menu to select a
Description physical electrical output on this
controller. The number of Hardware
Output block instances supported by a
controller is shown in this drop-down list
or in the Statistics pane.
For controllers with one or more ECx-
400 Series Extension Modules
connected to it, a Source column
shows on which device the input is
located. This information is also shown
in the block type and number; see Block
objects description.
Advanced configuration
Configuration parameters for this block are set in the Resources Configura-
tion window allowing this block to operate fans, heating/cooling systems, light-
ing, etc.
EC-gfxProgram 709
Configuring the output signal type (ECL Series)
General configuration
Set the hardware output’s name and the network variable properties. See
ECL Series network properties.
Disconnected
710 EC-gfxProgram
Digital
Parameter Description
Default value This sets the controller’s output to this default value
when:
• The output has not been written to (it is in an unex-
ecuted Conditional Custom Block for example).
• An ECx-400 Series Extension module has lost
communications with the controller.
EC-gfxProgram 711
Parameter Description
Reverse action Set this option to invert the output. When this option is
set with outputs equipped with an HOA switch and
potentiometer:
HOA in Auto position: The block’s EffectiveOutput
port will be the software commanded output.
HOA in Off position: The block’s EffectiveOutput
port will be True.
HOA in On position and the potentiometer is set
above the HOA On Threshold: The block’s
EffectiveOutput port will be False.
HOA in On position and the potentiometer is set
below the HOA Off Threshold: The block’s
EffectiveOutput port will be True.
HOA in On position and the potentiometer is set
between the HOA Off Threshold and HOA On
Threshold: This is a dead-band range in which varying
the potentiometer will not affect change in the block’s
EffectiveOutput.
PWM
Parameter Description
712 EC-gfxProgram
Parameter Description
Default value This sets the controller’s output to this default value
when:
• The output has not been written to (it is in an unex-
ecuted Conditional Custom Block for example).
• An ECx-400 Series Extension module has lost
communications with the controller.
Cool down time Thermal actuators take time to cool off before the
actuator starts to return its resting position. The cool-
down time is usually specified in the thermal actuator’s
datasheet. Once the cool down time has expired, the
controller will initiate a warm up cycle defined by the
Warm up time parameter.
Figure 454: Thermal Actuator Opening and Closing Times
Example
EC-gfxProgram 713
Parameter Description
Reverse action Set this option to invert the output. When this option is
set with outputs equipped with an HOA switch and
potentiometer:
HOA is in Auto position: The block’s EffectiveOutput
port will be the software commanded output.
HOA is in Off position and the potentiometer is set
to a voltage less than 3 volts: The block’s
EffectiveOutput port will be the Maximum set above.
HOA in On position and the potentiometer is set to
a voltage greater than or equal to 3 volts: The
block’s EffectiveOutput port will be Minimum as set
above.
HOA in On position and the potentiometer is set to
a voltage less than 3 volts: The block’s
EffectiveOutput port will be Maximum as set above.
714 EC-gfxProgram
Analog 0 - 20mA
Parameter Description
Reverse action Set this option to invert the output. When this option is
set with outputs equipped with an HOA switch and
potentiometer:
HOA is in Auto position: The block’s EffectiveOutput
port will be the software commanded output according
to the range limits (Minimum and Maximum) as set
above.
HOA is in Off position: The block’s EffectiveOutput
port will be the Maximum as set above.
HOA in On position: The block’s EffectiveOutput port
varies inversely to the potentiometer’s position
according to the range limits (Minimum and
Maximum) as set above.
EC-gfxProgram 715
Pulse
This creates a pulse output for a duration set by the OnFor input. The Input
must be set to Null to enable this feature; otherwise the hardware output will
function as a Digital output.
Figure 456: Hardware Output Configuration window - Analog 0 - 20mA
Parameter Description
LONWORKS properties
See Network Properties Configuration window (ECL, ECB & ECY Series).
Output priority There are four ways to control a hardware output. A priority hierarchy shown
in Table 24 determines which method will control the controller’s hardware
output. 1 is the highest priority and 4 is the lowest priority. For example, now
the project code can know if the output is being controlled by its HOA switch,
by a network binding, or by EC-gfxProgram code. This current priority value is
available to your program code through the block’s Priority port output. See
also Priority levels in LONWORKS (ECL Series).
716 EC-gfxProgram
Controlling a Hardware Output through a structured network vari-
able
The Hardware Output block’s value and mode are available in a number of
structured Network Variable Outputs (NVOs):
The user can read to the Hardware Output values directly through these
NVOs.
A write to this block is made according the highest priority write method
shown in the table below.
HOA switch (when equipped) When the controller’s HOA switch is set to either the 1
OFF or MAN positions, the hardware output is
overridden.
EC-gfxProgram 717
Table 24: Output priority
718 EC-gfxProgram
EC-gfxProgram 719
Hardware Output (ECB & ECY Series)
Description Used to interface with a hardware output. Each Hardware Output block is
linked to a corresponding network object which follows the same value as the
Hardware Output block. Units are set in BACnet network properties.
Alarms are available with B-AAC or B-BC controller models only (see the con-
troller’s datasheet for more information).
For ECY Series controllers, alarms that have been configured for this block
can be suppressed by turning off the block’s alarm management so that while
this mechanism is engaged, no alarms will be reported by the block. See
AlarmInhibit input (ECY Series controllers).
Configuration The configuration type that has been selected in the Advanced configuration
Type display window is shown at the bottom of the block as shown below.
Configuration Type
Slim format This block can be collapsed into a slim format. See Collapsed in Common
support block properties.
Number of For ECB Series controllers: The number of Hardware Output block instances
blocks supported by a controller is shown in the Number drop-down list in the Proper-
ties or Statistics panes.
For ECY Series controllers: see Supported number of BACnet objects with an
ECY Series controller.
EC-gfxProgram 721
Related blocks Generic Hardware Output (ECB & ECY Series)
Input(s)
722 EC-gfxProgram
Port Type Range Description
Alarm Setpoint Numeric ±3.4028 ×1038 When alarms are enabled for this block
(B-AAC & B-BC (see Alarms (ECB & ECY Series)), a
controllers only) positive input value increases the alarm
setpoint values set in the Resources
Configuration’s Alarms configuration for
the block (a negative value reduces the
alarm setpoint values): The High limit is
now the High limit value (set in the
Resources Configuration’s Alarms
configuration for the block) plus
AlarmSetpoint and the Low limit is now
the Low limit value (set in the Resources
Configuration’s Alarms configuration for
the block) plus AlarmSetpoint. See
Dynamic alarm activation thresholds adjust.
Output(s)
EC-gfxProgram 723
Port Type Range Description
Override Multi State Off The HOA switch’s current position. Manual is
Switcha Value the Hand position.
Auto
Manual
Not available
724 EC-gfxProgram
Port Type Range Description
InAlarm (B-AAC Digital 0 or 1 When Enable Alarms is set for this block and
and B-BC the block is in an alarm state, this output is
controllers only) On (1). See Alarms (ECB & ECY Series) to
configure the alarm settings.
EC-gfxProgram 725
Block properties See also Common block properties.
Advanced configuration
Configuration parameters for this block are set in the Resources Configura-
tion window allowing this block to operate fans, heating/cooling systems, light-
ing, etc.
726 EC-gfxProgram
• Configuring the Output Signal Type (ECB & ECY Series)
In the Resources Configuration tree, the Hardware Outputs branch allows you
to configure a Hardware Output.
Unassigned
Digital
For B-AAC and B-BC controllers only (see the controller’s datasheet): A com-
mand failure notification message can be triggered when alarms are enabled
for this block, and the value at the Feedback input is not the same as the
present value, this triggers a notification message. See Alarms (ECB & ECY
Series) to configure the alarm settings.
Parameter Description
Default value This sets the controller’s output to this default value
when:
• The output has not been written to (it is in an unexe-
cuted Conditional Custom Block for example).
• An ECY-IO Series or ECx-400 Series Extension
module has lost communications with the controller.
It assigns a Boolean format to the BACnet object, for
example, On, Off. Click Configure to select the
enumeration to be used to create a new enumeration, or
add a new member to an enumeration. See Creating
and using enumerations (8-Bit).
EC-gfxProgram 727
Parameter Description
Minimum off This sets a temporary override at priority level 6 for the
time minimum amount of time a binary value will be false (0)
when a falling edge is written to this object. See
Commandable object priority array levels.
Reverse action Set this option to invert the output. When this option is
set with outputs equipped with an HOA switch and
potentiometer:
HOA in Auto position: The block’s EffectiveOutput
port will be the software commanded output.
HOA in Off position: The block’s EffectiveOutput port
will be True.
HOA in On position and the potentiometer is set
above the HOA On Threshold: The block’s
EffectiveOutput port will be False.
HOA in On position and the potentiometer is set
below the HOA Off Threshold: The block’s
EffectiveOutput port will be True.
HOA in On position and the potentiometer is set
between the HOA Off Threshold and HOA On
Threshold: This is a dead-band range in which varying
the potentiometer will not affect change in the block’s
EffectiveOutput.
728 EC-gfxProgram
Parameter Description
PWM
Parameter Description
EC-gfxProgram 729
Parameter Description
Default value This sets the controller’s output to this default value
when:
• The output has not been written to (it is in an unex-
ecuted Conditional Custom Block for example).
• An ECY-IO Series or ECx-400 Series Extension
module has lost communications with the control-
ler.
Cool down time Thermal actuators take time to cool off before the
actuator starts to return its resting position. The cool-
down time is usually specified in the thermal actuator’s
datasheet. Once the cool down time has expired, the
controller will initiate a warm up cycle defined by the
Warm up time parameter.
Figure 461: Thermal Actuator Opening and Closing Times
Example
730 EC-gfxProgram
Parameter Description
Reverse action Set this option to invert the output. When this option is
set with outputs equipped with an HOA switch and
potentiometer:
HOA is in Auto position: The block’s EffectiveOutput
port will be the software commanded output.
HOA is in Off position and the potentiometer is set
to a voltage less than 3 volts: The block’s
EffectiveOutput port will be the Maximum set above.
HOA in On position and the potentiometer is set to
a voltage greater than or equal to 3 volts: The
block’s EffectiveOutput port will be Minimum as set
above.
HOA in On position and the potentiometer is set to
a voltage less than 3 volts: The block’s
EffectiveOutput port will be Maximum as set above.
EC-gfxProgram 731
Parameter Description
Analog 0 - 10V
Parameter Description
732 EC-gfxProgram
Parameter Description
Default value This sets the controller’s output to this default value
when:
• The output has not been written to (it is in an unex-
ecuted Conditional Custom Block for example).
• An ECY-IO Series or ECx-400 Series Extension
module has lost communications with the control-
ler.
Reverse action Set this option to invert the output. When this option is
set with outputs equipped with an HOA switch and
potentiometer:
HOA is in Auto position: The block’s EffectiveOutput
port will be the software commanded output according
to the range limits (Minimum and Maximum) as set
above.
HOA is in Off position: The block’s EffectiveOutput
port will be the Maximum as set above.
HOA in On position: The block’s EffectiveOutput port
varies inversely to the potentiometer’s position
according to the range limits (Minimum and
Maximum) as set above.
Analog 0 - 20mA
Parameter Description
EC-gfxProgram 733
Parameter Description
Default value This sets the controller’s output to this default value
when:
• The output has not been written to (it is in an unex-
ecuted Conditional Custom Block for example).
• An ECY-IO Series or ECx-400 Series Extension
module has lost communications with the control-
ler.
Reverse action Set this option to invert the output. When this option is
set with outputs equipped with an HOA switch and
potentiometer:
HOA is in Auto position: The block’s EffectiveOutput
port will be the software commanded output according
to the range limits (Minimum and Maximum) as set
above.
HOA is in Off position: The block’s EffectiveOutput
port will be the Maximum as set above.
HOA in On position: The block’s EffectiveOutput port
varies inversely to the potentiometer’s position
according to the range limits (Minimum and
Maximum) as set above.
Pulse
This creates a pulse output for a duration set by the OnFor input. The Input
must be set to Null to enable this feature; otherwise the hardware output will
function as a Digital output.
734 EC-gfxProgram
Parameter Description
Default value This sets the controller’s output to this default value
when:
• The output has not been written to (it is in an unex-
ecuted Conditional Custom Block for example).
• An ECY-IO Series or ECx-400 Series Extension
module has lost communications with the control-
ler.
Description Used to interface with the LED output on ECP Series VAVS controllers. This
output is usually used to control an LED on a sensor to indicate an override or
any other type of condition.
Input(s)
Output(s) N/A
EC-gfxProgram 735
Light Output (ECL Series expansion modules)
Description Used to interface to a light output of a light expansion module that is con-
nected to a controller’s subnetwork bus. This block is only available with con-
troller models that support this expansion module. There are two types of light
expansion modules: one that supports dimming, and another that has on/off
outputs.
Number of The number of light outputs varies according to the number of connected light
blocks modules, up to a maximum of 8 light outputs. See the controller’s datasheet
for more information about the number / combinations of expansion modules
that are supported.
Each light expansion module also has 4 multi-level inputs. See Light Sunblind
Input (ECL Series expansion modules).
Related blocks Sunblind Output (ECL Series expansion module), Light Sunblind Input (ECL
Series expansion modules)
Input(s)
Input Numeric 0 to 100% Used with the Function port. See below. The block
(module has uses a digital value or a numeric value according
dimming to the type of expansion module used.
outputs)
See Managing Light and Sunblind module
Digital 0 or 1 (module instances, Manage Light and Sunblind Modules
has on/off window, and Light and Sunblind module
outputs) configuration.
736 EC-gfxProgram
Port Type Range Description
EC-gfxProgram 737
Port Type Range Description
Dimming Digital 0 or 1 Used to enable or disable the Fade time set in the
Disabled Advanced Properties. See Configure the Light
Output. When used with a light module that
For light
supports dimming:
outputs that
support 0: Changes in input value are made according to
dimming the Fade time set in the Advanced Properties.
1: Sets the Fade time to zero. The output value
immediately follows any change to the input value.
738 EC-gfxProgram
Output(s)
Feedback Digital 0 or 1 Actual light output value. This takes into account
any user command from a remote control.
Numeric 0 to 100%
EC-gfxProgram 739
Port Type Range Description
Block properties
Advanced Configuration parameters for this block are set in the Resources Configura-
configuration tion window. See Managing Light and Sunblind module instances, Manage
Light and Sunblind Modules window, and Light and Sunblind module configu-
ration.
740 EC-gfxProgram
Light Output (ECB & ECY Series expansion mod-
ules)
Description Used to interface to a light output of a light expansion module that is con-
nected to a controller’s subnetwork bus. This block is only available with con-
troller models that support this expansion module. There are two types of light
expansion modules: one that supports dimming, and another that has on/off
outputs.
For ECY Series controllers, alarms that have been configured for this block
can be suppressed by turning off the block’s alarm management so that while
this mechanism is engaged, no alarms will be reported by the block. See
AlarmInhibit input (ECY Series controllers).
Number of The number of light outputs varies according to the number of connected light
blocks modules, up to a maximum of 8 light outputs. See the controller’s datasheet
for more information about the number / combinations of expansion modules
that are supported.
Each light expansion module also has 4 multi-level inputs. See Light Sunblind
Input (ECB & ECY Series expansion modules).
Related blocks Sunblind Output (ECB & ECY Series expansion module), Light Sunblind Input
(ECB & ECY Series expansion modules)
EC-gfxProgram 741
Input(s)
Input Numeric 0 to 100% Used with the Function port. See below. The
(module has block uses a digital value or a numeric value
dimming outputs) according to the type of expansion module
used.
Digital 0 or 1 (module
has on/off See Managing Light and Sunblind module
outputs) instances, Manage Light and Sunblind
Modules window, and Light and Sunblind
module configuration.
742 EC-gfxProgram
Port Type Range Description
EC-gfxProgram 743
Port Type Range Description
744 EC-gfxProgram
Port Type Range Description
Output(s)
EC-gfxProgram 745
Port Type Range Description
746 EC-gfxProgram
Block properties
Number Menu See Description Light The Light Output block instance.
Output 1 Click the drop-down arrow to
open the Managing Light and
Sunblind module instances
window, in which you first add
light and sunblind modules by
clicking Manage Light and
Sunblind Modules. See Figure
518.
Once the light output expansion
modules have been added to the
controller, the Source column
shows the sunblind expansion
module on which the output is
located. Use this drop-down
menu to select a physical light
output on a connected expansion
module.
The number of Light Output block
instances supported by a
controller is shown in the
Statistics pane.
Advanced Configuration parameters for this block are set in the Resources Configura-
configuration tion window. See Managing Light and Sunblind module instances, Manage
Light and Sunblind Modules window, and Light and Sunblind module configu-
ration.
Description Used to interface with a Light or Sunblind expansion module’s hardware input.
Each Light Sunblind Input block is linked to a corresponding network object
which follows the same value as the Light Sunblind Input block.
EC-gfxProgram 747
Advanced Resources Configuration, Advanced configuration, Network Properties Con-
configuration figuration window (ECL, ECB & ECY Series), Find All References (ECL, ECB
& ECY Series), Copy From, Configure Ports
Input(s) N/A
Output(s)
748 EC-gfxProgram
Block properties See also Common block properties.
Advanced Configuration parameters for this block are set in the Resources Configura-
configuration tionwindow. See Managing Light and Sunblind module instances, Manage
Light and Sunblind Modules window, and Light and Sunblind module configu-
ration.
Description Used to interface with a Light or Sunblind expansion module’s hardware input.
Each Light Sunblind Input block is linked to a corresponding network object
which follows the same value as the Light Sunblind Input block.
For ECY Series controllers, alarms that have been configured for this block
can be suppressed by turning off the block’s alarm management so that while
this mechanism is engaged, no alarms will be reported by the block. See
AlarmInhibit input (ECY Series controllers).
EC-gfxProgram 749
Number of 4 per light / sunblind expansion module.
blocks
Input(s) N/A
Output(s)
750 EC-gfxProgram
Bock properties See also Common block properties.
Number Menu See Light Sunblind The block number. The number of
Description Input 1 Light Sunblind Input block instances
supported by a controller is shown
in this drop-down list (4 per light /
sunblind expansion module) or in
the Statistics pane. Use this drop-
down menu to select a physical
Light Sunblind Input on a connected
expansion module.
Advanced Configuration parameters for this block are set in the Resources Configura-
configuration tion window. See Managing Light and Sunblind module instances, Manage
Light and Sunblind Modules window, and Light and Sunblind module configu-
ration.
Description Provides an interface to an M-Bus device with controllers that support com-
munication with M-Bus devices. Depending on the points that you create, the
number and type of block inputs and outputs will vary.
Slim format This block can be collapsed into a slim format. See Collapsed in Common
support block properties.
EC-gfxProgram 751
Number of The number of M-Bus Devices varies according to the number of connected
blocks devices, up to a maximum of 60 devices on an ECY-MBUS module equipped
on an ECY-S1000 and 3 devices on ECY-MBUS module connedted to an
ECY-PT/U, ECY-VAV, or ECY-303 via USB. See the ECLYPSE Communica-
tion Modules datasheet for more information about the number/combinations
of M-Bus Devices that are supported.
Input(s)
Outputs The output ports made available depend on the M-Bus device configuration
for the device. See the M-Bus device’s documentation for more information
about the units, data types, and range of values supported by the device.
[Output].Stat Enum The current M-Bus device point status / exception code,
us where [Output] stands for the point’s name. This can
provide diagnostic information about the current M-Bus
device operation.
[Output]. Digital 0 or 1 Outputs a pulse when the output point value has been
Update updated. [Output] stands for the point’s name.
752 EC-gfxProgram
1. In the Home ribbon, click Open Configuration.
Parameter Description
EC-gfxProgram 753
4. All discovered M-Bus devices are listed. Select the desired device or
devices, and click OK.
754 EC-gfxProgram
5. To add points to the device:
• Right-click Points under the device and select Add to manually add
points to the device. See Manually adding points to an M-Bus Device
for more information.
7. Select the M-Bus Device block on the programming sheet and in the
block’s Properties, click the drop-down arrow for Number. This block
instance will use the M-Bus Device selected in this window.
You can plan a project in advance, before you connect to the physical M-Bus
network. In that context, you can add devices and either apply a pre-existing
template to them, or manually create points to represent the features you
need to create your logic.
EC-gfxProgram 755
2. In the Resources Configuration window, right-click M-Bus Devices and
select Add.
Configuring the Configure the M-Bus Device as follows in the Resources Configuration win-
M-Bus Device dow. Note that most M-Bus configuration parameters are filled in automati-
cally when select a device on the network or when you discover devices.
Parameter Description
756 EC-gfxProgram
Parameter Description
EC-gfxProgram 757
Manually adding 1. Right-click Points under the device to which you want to add points and
points to an M- select Add.
Bus Device 2. Specify the following parameters for the point:
Parameter Description
Name The name used to identify the point in the block’s ports.
If you leave the initial value, a default name will be
assigned to the point when you specify the unit (e.g.,
Volume_gal when you select the gal unit). The name is
not updated if you modified it before changing the unit.
Function Allows you to choose whether the point will return the
Current value, the Maximum value, the Minimum value,
or the Error value.
Device Sub Unit For meters that have two sensors, can be used to
choose which sensor will be used.
VIF Allows you to specify the Value Information Field for the
point.
758 EC-gfxProgram
Parameter Description
Discovering 1. Right-click Points under the device to which you want to add points and
points select Discover Points.
EC-gfxProgram 759
4. The selected Points will appear under the device in the Resource Tree
with their configuration already filled in.
760 EC-gfxProgram
Saving an M-Bus Once you have fully configured your M-Bus device, you can save the configu-
Device ration as a template that you can then apply to other M-Bus devices in this
configuration as project or in other projects. Proceed as follows:
a template
1. Right-click the device to use as a template and select Save as Device
Template.
2. Name your template and select the location where you want to save it.
Click OK.
NOTE: To modify an existing template, specify its exact identifier in the Save
As M-Bus Device Template window, and click Yes to replace the exist-
ing template.
Applying a saved Templates are provided for most M-Bus device models. You can also save
configuration to your own configurations as device templates (see above). To apply a template
a device to a device, proceed as follows:
2. Select the M-Bus template you want to apply to the device. Click OK.
EC-gfxProgram 761
NOTE: You can right-click any M-Bus device template in the list to open the
file’s location. This can be useful to create backup copies of a project’s
device templates.
Selecting To automatically fill a device’s Primary and Secondary address, and Manufac-
devices on the turer ID:
network
1. Select a device in the resource tree of the Resources Configuration win-
dow.
2. Click the Select Device link to access the M-Bus Device Selector win-
dow.
762 EC-gfxProgram
4. The device’s M-Bus configuration parameter will be initialized with the
parameters from the selected device.
5. Repeat as needed to select all devices in the project.
EC-gfxProgram 763
Modbus Device (ECY Series)
Description Provides an interface to a Modbus device with controllers that support com-
munication with Modbus devices. Depending on the points that you create,
the number and type of block inputs and outputs will vary.
Input(s) The input ports made available depend on the type of Modbus device con-
nected to the controller and the configuration for the device. See Configuring
a Modbus resource. See the Modbus device’s documentation for more infor-
mation about the units, data types, and range of values supported by the
Modbus device. {Output} and {Input} are names you assign to a Modbus con-
trol point in the Modbus device configuration - see Adding a Modbus control
point.
{Input}. Trig- Digital 0 or 1 A rising pulse forces a read action of the corresponding
ger block’s {Input} value from the Modbus device.
Output(s) The output ports made available depend on the type of Modbus device con-
nected to the controller and the configuration for the device. See Configuring
a Modbus resource. See the Modbus device’s documentation for more infor-
mation about the units, data types, and range of values supported by the
Modbus device.
{Input}.Status Enum 1 to 143 The current Modbus input point status / exception code.
This can provide diagnostic information about the cur-
rent Modbus device operation.
{Input}. Digital 0 or 1 Outputs a pulse when the input point is read according
Update to the sampling frequency set in the point’s Update
interval configuration.
764 EC-gfxProgram
Block properties See also Common block properties.
Number Menu See Light Out- The number of Modbus Device block
Description put 1 instances is limited by the number of Mod-
bus devices supported by the controller’s
licencing. See the controller’s datasheet
for more information.
Configuring a Certain controller models support communication with Modbus devices - see
Modbus the controller’s datasheet for more information. In the Resource Tree, the
resource Modbus branch allows you to add Modbus devices to the controller. Both
Modbus RTU and Modbus TCP devices are supported. All Modbus devices
(both Modbus RTU and Modbus TCP devices) are configured in the Modbus
instance. Add Modbus instances to Modbus in the Resource Tree (see Adding
resource block instances to the resource tree), and then you configure the
Modbus parameters individually. For Modbus RTU devices connected to the
controller’s RS-485 port, you must also set the communication port settings.
See the Modbus device’s documentation for more information about the units,
data types, and range of values supported by the Modbus device.
To configure the properties for each individual Modbus device, see Resource
block configuration parameter.
Configuring the Configure the Modbus RTU communication port settings as follows in the
Modbus RTU Resources Configuration.
communication
port settings Figure 465: Modbud RTU communicaiton port configuration
Parameters Description
EC-gfxProgram 765
Parameters Description
Speed The baud rate for all Modbus RTU devices connected
to the RS-485 data bus. The higher the baud rate, the
faster data is transmitted between devices on the RS-
485 data bus.
Data bits This is the number of bits used to transmit data in each
serial data frame. All Modbus RTU devices connected
to the RS-485 data bus must use the same number of
data bits.
Stop bits This is the number of stop bits used to signal the end of
a serial data frame. All Modbus RTU devices con-
nected to the RS-485 data bus must use the same
number of stop bits.
All Modbus RTU devices connected to the RS-485 must use the same net-
work communications parameters as set in Figure 465.
Configuring the Configure the Modbus device network addressing parameters as follows.
Modbus Device
network Figure 466: Modbus Device configuration
addressing
parameters
Parameters Description
766 EC-gfxProgram
Parameters Description
IP port (for Mod- The port number used by the Modbus TCP device. See
bus TCP the Modbus device’s documentation for this informa-
devices only) tion.
Configuring the Under most circumstances, leaving all these settings cleared should work. If
Modbus Device the received data is unreadable, consult the device manufacturer’s documen-
data encoding tation for how to set the appropriate decoding according to the device’s trans-
parameters mit format.
Modbus standards do not specify the byte order when receiving or transmit-
ting 32 or 64-bit data types. Modbus protocol is big-Endian; that is it receives
or transmits the most significant byte first for addressing and data. For exam-
ple, this means that the bytes for a 32-bit data type is received/transmitted in
the following order: A B C D, where A is the most significant byte and D is the
least significant byte. In practice, some Modbus devices do not follow this
byte transmission oder. The following table shows the effect of the Encoding
options.
EC-gfxProgram 767
Int32 byte ordering Int64 byte ordering
Parameters Int16 byte ordering
Float byte ordering Double byte ordering
Parameters Description
Supports write Enable the use of function code 15, write multiple coils
multiple coils with the device. This writes each coil in a sequence of
coils to either ON or OFF.
Supports write Enable the use of function code 16, write multiple regis-
multiple regis- ters with the device. This writes values into a sequence
ters of holding registers.
Maximum read When reading values from contiguous coils, this sets
coils the maximum number of coils that can be read.
Maximum write When writing values to contiguous coils, this sets the
coils maximum number of coils that can be written.
768 EC-gfxProgram
Parameters Description
Request timeout This sets the maximum time lapse between characters
within the message before a network error will be
raised. Some Wide-Area-Network application may
require a timeout in the 4 to 5 second range.
Request throttle This sets the minimum time lapse between each
request to the device. This should take into account the
expected transport delays across the network and
expected device performance in order to determine a
reasonable value for this parameter.
Adding a Add the Modbus control points you want to read from the device or to write to
Modbus control the device. Each control point that is added to the Modbus configuration adds
point a corresponding port to the Modbus block that is named after the control
point. A read access type adds an output port to the block. A write access
type adds an input port to the block. A read/write access type adds both an
input and output port to the block.
EC-gfxProgram 769
Figure 469: Modbus control point configuration
Parameters Description
Address type This is the address format for the device’s control point.
In EC-Net, this is known as Address Format.
770 EC-gfxProgram
Parameters Description
Data Units The data units read from Input Register type control
points.
EC-gfxProgram 771
Parameters Description
Resource type The drop-down list allows you to select one of the
resource types that are currently used in the project
and that can be bound to the Modbus point (Analog
Values, Binary Values, Multi-State Values, etc).
772 EC-gfxProgram
Making Modbus The inputs and outputs of the Modbus Device block can be linked to BACnet
values available objects and used in ENVYSION graphics, for example, by connecting the
in ENVYSION Modbus block’s output ports to Analog Value or Binary Value blocks.
Description Used to interface with a Multi Sensor expansion module that is connected to a
controller’s subnetwork bus. This block is only available with controller models
that support this expansion module. See the controller’s datasheet for more
information about the number of expansion modules that are supported.
Number of 4
blocks
EC-gfxProgram 773
Input(s)
Output(s)
SensorSpace Numeric -40°C to 150°C- The current room temperature measured at the
Temp 40°F to 302°F Multi Sensor. According to your project’s internal
Measurement System setting in Project
properties - (Metric or US units), the units for the
output are in Celsius or Fahrenheit.
Sensor Numeric 0 to 4000 The current room light level in Lux measured at
LuxLevel the Multi Sensor.
774 EC-gfxProgram
Port Type Range Description
Remote Enum See Description When communication to the Multi Sensor is lost,
SpaceTemp this becomes Communication Failure. When
Reliability communication from the remote control times
out, this becomes Unreliable Other. Otherwise
this is No Fault Detected.
EC-gfxProgram 775
Port Type Range Description
776 EC-gfxProgram
Port Type Range Description
EC-gfxProgram 777
Block properties See also Common block properties.
Advanced Multi Configuration parameters for this block are set in the Resources Configura-
Sensor tion window.
configuration
Figure 470: Multi Sensor Configuration window
Parameter Description
778 EC-gfxProgram
Parameter Description
Lux offset When the multi sensor is equipped with a light sensor,
the offset is a constant value that is applied to the light
sensor’s reading to compensate for reading errors, that
is, to perform sensor calibration.
For example, if the actual room’s lighting level is 500
lux but the sensor reading is 550 lux, an offset of -50
lux can be applied to correct the error.
EC-gfxProgram 779
Multi Sensor (ECB & ECY Series expansion mod-
ules)
Description Used to interface with a Multi Sensor expansion module that is connected to a
controller’s subnetwork bus. This block is only available with controller models
that support this expansion module. See the controller’s datasheet for more
information about the number of expansion modules that are supported.
780 EC-gfxProgram
Input(s)
Output(s)
SensorLux Numeric 0 to 4000 The current room light level in Lux measured
Level at the Multi Sensor.
EC-gfxProgram 781
Port Type Range Description
782 EC-gfxProgram
Port Type Range Description
EC-gfxProgram 783
Port Type Range Description
784 EC-gfxProgram
Port Type Range Description
Number Menu See Multi The block number. The number of Multi
Description Sensor 1 Sensor block instances supported by a
controller is shown in this drop-down list
or in the Statistics pane. Use this drop-
down menu to select a physical Multi
Sensor module connected to this
controller.
Advanced Multi In the Resources Configuration tree, the Multi Sensor branch allows you to
Sensor adjust sensor operation. First you must add a Multi Sensor instance to Multi
configuration Sensors in the Resources Configuration tree (see Adding resource block
instances to the resource tree), and then you configure the Multi Sensor
parameters individually. For each individual sensor property, see Resource
block configuration parameter.
When the Multi Sensor is so equipped, according to the model, sensor read-
ings for sensor temperature, Lux, remote temperature, and motion are read.
The Object name is used to identify this input in the Resources Configuration
and on the controller’s operator interface or on the connected ECx-Display (if
equipped).
EC-gfxProgram 785
For each Multi Sensor tree entry, BACnet alarms can be configured. When
Enable alarms is set, the Multi Sensor block makes an AlarmSetpoint input
port available to dynamically offset the High limit and Low limit values. See
Alarms (ECB & ECY Series) to configure the alarm parameters.
Parameter Description
Lux offset When the multi sensor is equipped with a light sensor,
the offset is a constant value that is applied to the light
sensor’s reading to compensate for reading errors, that
is, to perform sensor calibration.
For example, if the actual room’s lighting level is 500
lux but the sensor reading is 550 lux, an offset of -50
lux can be applied to correct the error.
786 EC-gfxProgram
Parameter Description
Description Used to read a value from or to write a value to any BACnet object available
on the BACnet intranetwork, according to the value’s configuration.
Number of For ECB Series controllers: The number of Network Value block instances
blocks supported by a controller is shown in the Number drop-down list in the Prop-
erties or Statistics panes.
For ECY Series controllers: see Supported number of BACnet objects with an
ECY Series controller.
For more information about BACnet objects, see BACnet objects, services,
and data priority, Reading and writing network points, and Commandable
object priority array levels.
EC-gfxProgram 787
Input(s)
Input (Output Numeric ±3.4028×1038 The value to be sent to the remote device on the
mode only) BACnet intranetwork.
TriggerTrend Digital 0 or 1 When Trend Logs are enabled for this object and
Log (ECY the Logging Type is set to Triggered, a pulse at
Series this input forces the present value to be recorded
controllers) in the object’s trend log. See Trending (ECY
Series).
Output(s)
Output (Input Numeric ±3.4028×1038 The value from the remote device made available
mode only) on the BACnet intranetwork.
788 EC-gfxProgram
Block properties See also Common block properties.
Status output The Status output can have the following values.
Parameter Description
Not received (-2) The value was not received from the BACnet object.
Not sent (-1) The value was not sent to the BACnet object.
Other error (3) This error code is returned for a reason other than any
other error shown here.
EC-gfxProgram 789
Parameter Description
Invalid data type The data type of a property value specified in a service
(8) parameter does not match the data type of the property
referenced by the specified Property_Identifier.
790 EC-gfxProgram
Advanced Network Value configuration (ECB Series)
In the Resources Configuration tree, the Network Value branch allows you to
configure various parameters such as the read or write mode, default value,
poll interval, etc. to be specified.
There are two ways to configure a Network Value Input or Output: Database
Device or Manual.
Database Device Use the Database Device to select a Network Variable on a controller that is
configuration currently online.
type
In Configuration type, select Database.
Figure 472: Network Value Input / Output configuration window for a device present in
the BACnet network database
EC-gfxProgram 791
Manual Set the Configuration type to Manual to configure the network variable
configuration according to the known details of the remote controller’s network point. In
type Configuration type, select Manual.
Network The following table describes the network configuration parameters for ECB
configuration Series controllers.
parameters (ECB
Series)
Service Input Database Sets the way the network object is to be written or
read. See Reading and writing network points.
Output Manual
Device path Input Database The path to the device on the network. Click to
Output select the device that has the network point to be
written or read.
Object Input Database Select the object that has the network point to be
written / read.
Output
Current Input Manual Set this to read the network value from the currently
device connected device.
Object type Input Manual Select the object type to read from or to write to.
This can also be set to any numeric value
Output
corresponding to a custom object type.
792 EC-gfxProgram
Parameter Mode Type Description
Property Input Database Select the property (BACnet object) from the object
to be written or read. This can also be set to any
Output Manual
numeric value to read from or to write to a custom
property.
Data type Input Database The data type of the selected property (shown for
information purposes). This must be selected when
Output Manual
using a custom property.
Write interval Output Database The time period between writing a network variable
on the network (whether or not the variable's value
Manual
has changed).
Default value Input Database The block’s output when a Max receive time failure
occurs (a network value update is not received on
Manual
the network within the time period set in the textbox).
On a Max receive time failure, an alarm is signaled
at the Status output (Response timed out (10) or
Request timed out (11)) and the output changes to
the Default value.
Poll interval Input DatabaseMa The time period between polling a network variable
nual on the network (whether or not the variable's value
has changed).
Max receive Input DatabaseMa The maximum time period between received
time nual updates of the network variable on the network
(whether or not the variable's value has changed).
The max receive time is also known as the
“heartbeat”.
Setting this to zero disables this feature. When
enabled, the recommended setting for this value is
twice the max send time configured for the
corresponding BACnet object.
A max receive time failure occurs if a network value
update is not received on the network within the time
period set in the textbox. On a max receive time
failure, the output changes to the Default value.
The appropriate alarm and status bits will be
updated on a max receive time failure.
EC-gfxProgram 793
Advanced Network Object configuration (ECY Series)
Parameter Description
794 EC-gfxProgram
Network Value Select the mode of the Network Value block:
operation mode
• Read Remote Property to read a value from a BACnet object instance
located on another network-connected controller.
Figure 475: Read Remote Property configuration window
EC-gfxProgram 795
• Read Local Property to read a value from a BACnet object instance on
the current controller.
Figure 477: Read Local Property configuration window
796 EC-gfxProgram
• Remote Object to write or read a value from a BACnet object instance on
another network-connected controller. Remote Object network values that
are added from remote devices can be used in ENVYSION graphs (see
the ENVYSION User Guide).
Figure 479: Remote Object configuration window
Network The following table describes the network configuration parameters for ECY
configuration Series controllers.
parameters (ECY
Series)
Operation
Parameter Description
Mode
Object type Read Select the object type to read from or to write to. This can also
be set to any numeric value corresponding to a custom object
Write
type.
EC-gfxProgram 797
Operation
Parameter Description
Mode
Property Read Select the property (BACnet object) from the object to be
identifier written or read. This can also be set to any numeric value to
Write
read from or to write to a custom property.
Data type Write The data type of the selected property (shown for information
purposes). This must be selected when using a custom
property.
Write interval Write The time period between writing a network variable on the
network (whether or not the variable's value has changed).
NOTE: Not all BACnet devices support this service and often
have a limited number of subscriptions supported.
798 EC-gfxProgram
Operation
Parameter Description
Mode
Confirmed COV Read When enabled, clients return a confirmation message to the
server to validate that the message was received. This adds
extra traffic on the network. If a confirmation is not received,
the COV notification is resent.
NOTE: Not all BACnet devices support this service and often
have a limited number of subscriptions supported.
Poll interval Read The time period between polling a network variable on the
network (whether or not the variable's value has changed).
Fallback poll Read This sets the period after which the controller will poll the
interval network variable should the COV update fail to arrive (due to
COV subscription failure, for example).
COV Read When set, the controller tries to use COV reporting for devices
Subscription that support this service. This value sets the duration of a COV
time subscription. See also Reading and writing network points. Six
hours (21600 seconds) is a reasonable setting for this
parameter.
Max receive Read The maximum time period between received updates of the
time network variable on the network (whether or not the variable's
value has changed). The max receive time is also known as
the “heartbeat”.
Setting this to zero disables this feature. When enabled, the
recommended setting for this value is twice the max send time
configured for the corresponding BACnet object.
A max receive time failure occurs if a network value update is
not received on the network within the time period set in the
textbox. On a max receive time failure, the output changes to
the Default value.
The appropriate alarm and status bits will be updated on a max
receive time failure.
Default value Read The block’s output when a Max receive time failure occurs (a
network value update is not received on the network within the
time period set in the textbox). On a Max receive time failure,
an alarm is signaled at the Status output (Response timed
out (10) or Request timed out (11)) and the output changes
to the Default value.
Min send time Write The minimum time period that must pass before sending a new
update of the network variable on the network. If the value of
the network variable changes, an update will only be sent after
this time expires.
Setting the min send time to 0 disables it.
COV Increment Write The minimum change in value that will cause a value to be
propagated on the network.
EC-gfxProgram 799
Discovering Remote Objects
You can add remote objects to Network Values or Devices. However, to use
these objects in ENVYSION graphics, they must be added to Devices. To dis-
cover remote objects:
800 EC-gfxProgram
Parameter Description
EC-gfxProgram 801
4. The devices discovered on the network are listed on the left of the
Remote BACnet Device Object Selection window. Select one or more
start discovering their points.
5. Once points are discovered, select a device on the left to list its points on
the right of the window. By default, the points from the last selected
device are shown.
6. Select one or more points and double-click or click Add to add them to
your project. Repeat as needed to add points from different devices.
WARNING: Remote points are polled as soon as they are added in the
Resource Configuration window even if they are not used in the
project‘s logic or graphics. To avoid overloading the network, it is
recommended that you only add the points necessary for the
project.
7. Click Close when you are done adding points to return to the Resource
Configuration window.
802 EC-gfxProgram
8. The points you added to your project are either:
• Given the next available Network Value instance number (if you
added then under Values).
• Grouped under their respective device (if you added them under
Devices).
EC-gfxProgram 803
Reusing configured devices
Once you have added points to a device (e.g. a VAV), you can either duplicate
this device to add one or more devices with the same points to your current
project, or you can save your configuration as a Device Template to be able to
reuse it in other projects.
Duplicating You can create one or more copies of a remote device and all its points to
remote devices quickly add similar devices to the same project. To duplicate a remote device:
3. To associate the duplicates with remote devices, select each one and
click Select device to access the Remote Device Selection window.
4. Select the device you want to associate with the duplicate. Click OK.
Saving and If you plan on reusing a remote device configuration (e.g., a VAV), you can
applying device save a remote device and its points as a template. that you can then apply to
templates to remote devices in other projects. To save a remote device as a remote tem-
remote devices plate and apply it to devices:
1. Right-click the device you want to save as a template and click Save As
Device Template.
2. In the Save As Remote Device Template window, give a name to your
template (the default name is the original device’s name) and select the
folder where you want to save it (by default, the My Remote BACnet
Device Templates folder is used).
804 EC-gfxProgram
To apply a device template to devices in a project:
1. Right-click Devices and click Add or Add With Options to manually add
the number of devices you need with the template’s configuration.
2. Select the added device(s), right-click, and click Load Device Template.
3. In the Load Remote Device Template window, select the template you
want to apply and click OK.
You can right-click any remote device template in the list to open the file’s
location. This can be useful to create backup copies of a project’s device tem-
plates.
4. To select the Device instance for these devices, select each device and
manually enter a device instance or click Select device to access the
Remote Device Selection window.
5. Select the device you want to associate with the remote device. Click OK.
Network The following Diagnostics tab provides information on live values passing
diagnostics through the ports of the controller. By default, the live values are displayed.
You can stop and restart the streaming of the live values using the Stop Live
Values/Start Live Values button.
You can use the General and IP Port metrics in this tab to monitor your net-
work‘s performance after adding remote objects to the project.
EC-gfxProgram 805
If your network’s performance seems slow, you can:
Description Used to interface with any network variable input (NVI) that has a length of 1
or 2 bytes (SNVT or UNVT). The user can read and write to the Network Vari-
able Input blocks directly through a corresponding nviFP_xx (xx = input num-
ber). See also LONWORKS network description.
Depending on the SNVT type of the block, the default value will change. It is
useful to know the default value of the block to quickly detect when there is
some kind of network fault like a heartbeat failure since it is the default value
that will appear on the NVI.
806 EC-gfxProgram
If a SNVT_scene, SNVT_state, or SNVT_switch type is used, SNVT Conver-
sion blocks can be used to demux the output of a Network Variable Input
block. For more information on this category see SNVT Conversions (ECP
Series specific blocks).
Different output ports are available depending on the Network Variable Input
number selected:
Output
Com Failure
Update
HiSel
HiSel Subnet Id
HiSel Node Id
LowSel
LowSel Subnet Id
LowSel Node Id
Sum
Avg
Configuration The SNVT type that has been selected in the Change Type (ECP & ECL
Type display Series) window is shown at the bottom of the block as shown below.
Number of 17
blocks
Advanced Resources Configuration, Advanced configuration, Change Type (ECP & ECL
configuration Series), Edit Value (ECP Series), Copy From, Configure Ports
Input(s) N/A
EC-gfxProgram 807
Output(s)
HiSel Subnet Id Integer 0 to 83886 Subnet ID of the input with the highest value.
HiSel Node Id Integer 0 to 83886 Node ID of the input with the highest value.
LowSel Subnet Integer 0 to 83886 Subnet ID of the input with the lowest value.
Id
LowSel Node Integer 0 to 83886 Node ID of the input with the lowest value.
Id
Sum Numeric -83886.08 to The sum of all the values of the fan in inputs.
83886.07
808 EC-gfxProgram
Block properties
Number Menu 1 to 17See Network Use this drop-down menu to select from
Description Variable Input the 17 available block instances.
1
NOTE: When a new block instance is
added to the programming sheet,
the block’s number is incre-
mented to the next available
block number according to the
current Auto Increment setting.
See Auto increment (ECP & ECL
Series and EBC Series control-
lers only).
EC-gfxProgram 809
Advanced The Network Variable Input Configuration window allows the maximum
configuration receive time and persistent state to be specified.
Parameter Description
810 EC-gfxProgram
NOTE: When the persistent option is selected, only future value changes of
the NVI are written to the EEPROM. That is, the moment you select
the persistent option, the current value of the NVI is not immediately
stored in the EEPROM.
The persistent option is ignored for NVIs that are bound.
EC-gfxProgram 811
Network Variable Input (ECL Series)
Description Used to interface with any network variable output (NVO) that has a length up
to 31 bytes (SNVT or UNVT) or with an HMI. The user can read and write to
the Network Variable Input blocks directly through a corresponding nviFP xx
(xx = input number). See also LONWORKS network description.
The NVI Blocks are dynamic and the number of their input and output ports
vary depending on which SNVT or UNVT type has been selected. However,
each NVI Block has a common input which is the FanInNumber and the five
following common outputs: TypeIndex, FanInCount, Update, Com Failure
and Subnet and Node Id.
Configuration The SNVT type that has been selected in the Change Type (ECP & ECL
Type display Series) window is shown at the bottom of the block as shown below.
Fan In support All Network Variables support Fan In, up to a maximum of 255 bindings per
NVI. See Using LONWORKS network variables to fan in values from many con-
trollers.
Slim format This block can be collapsed into a slim format. See Collapsed in Common
support block properties.
812 EC-gfxProgram
Input(s)
Input See See The inputs are defined according to the SNVT or
Description Description UNVT type selected. See also the Format option
in this block’s Properties.
This port will typically be linked to project code
that overrides the value of a Network Variable
Input when for example, the current network
value is not supported by this controller or is out
of range. By placing a value at this port, it can
be polled by other controllers so they can be
aware of this controller’s current treatment of
this Network Variable Input and to react
accordingly.
This is typically coded by linking the Output port
to project code that detects when the value is
out-of-range. When out-of-range, this project
code activates a Conditional Custom Block that
writes an appropriate value to the Input port.
See Overriding the current network value when
it is out-of-range project code example.
Output(s)
Output See See The outputs are defined according to the SNVT
Description Description or UNVT type selected. See also the Format
option in this block’s Properties.
EC-gfxProgram 813
Port Type Range Description
Subnet NodeId Integer See Network variable update Subnet and Node Id
Description source address.
The source address is the Subnet id (1 to 255)
multiplied by 1000 and then add the node id.
For example: Address 1005 has a Subnet id of 1
and a Node id of 5.
814 EC-gfxProgram
Block properties See also Common block properties.
Manual Menu True or False False When set to True, the name to
Network Name be shown on the network for
this Network Variable Input can
be freely edited in the
NetworkName property.
When set to False, either the
default NVI name or the NVI
block name is used according
to the EC-gfxProgram option
Automatically rename
network variable when
changing a block name is set
(see EC-gfxProgram Options,
Network tab).
EC-gfxProgram 815
Property Type Range Default Description
Advanced In the Resources Configuration tree, the Network Variable Input branch allows
configuration you to configure the mode, maximum receive time and default value. Set the
816 EC-gfxProgram
network properties as shown below (refer to the controller’s Functional Profile
in its datasheet). See also Typical controller internal points.
Parameter Description
EC-gfxProgram 817
Parameter Description
Default Value The Default value will be effective under the following
conditions: The NVI was never updated or no update is
performed before the end of the Max receive time
interval (for example, 600 seconds). The content of the
Default Output value is dynamic and differ according
with the NVI type selected. See Change Type (ECP &
ECL Series).
Change type The Change Type window has all the SNVT types that can be assigned to the
block. It is typically used when there is a need to modify the variable type
before creating a binding. Set the associated NVO on the other controller(s) to
the same SNVT variable type.
818 EC-gfxProgram
Figure 482: Change Type window
Parameter Description
Current type The current network variable type length. If the type is
length changed, this field is updated.
Type file Select a type file from the drop-down list. All available
type files from the device resource file catalog
(standard and manufacturer defined) are listed. The
Types will change based on the .TYP file selected.
Types Select a type from the list. All types contained within
the selected .TYP file are listed and sorted by Name,
Field or Length.
EC-gfxProgram 819
The Network Variable Input Block inputs and outputs shown change accord-
ing to the SNVT type you choose. This is based on the Echelon standard for
network variables. For example, the SNVT_hvac_status SNVT type has the
following inputs and outputs.
Figure 483: Network Variable Input block inputs and outputs for the
SNVT_hvac_status SNVT type
Overriding the The following project code overrides the value of the Network Variable Input
current network when the current network value is out of range by placing the DefaultValue at
value when it is the Input where it can be polled by other controllers so they can be aware of
out-of-range this controller’s current treatment of this Network Variable Input and to react
project code accordingly.
example
Figure 484: Code example that overrides the current network value when it is out-of-range
820 EC-gfxProgram
Using LONWORKS Fan In is a connection where the same Network Variable Output (NVO) from
network many controllers (source devices) are sent to a single Network Variable Input
variables to fan (NVI) of another controller. However two or more NVOs from the same source
in values from controller (device) should not be bound to a single NVI Fan In of another con-
many controllers troller as the value of one NVO will overwrite the value of the second NVO in
the NVI Fan In. Under most circumstances, you will want to avoid this as it will
cause unpredictable results.
EC-gfxProgram 821
Updates from the sending controllers (NVOs) are made at pre-determined
intervals to keep the receiving controller up to date with performance parame-
ters of the sending controllers.
To do this, the application controller records the output value from each LON-
WORKS zone controller and the corresponding Subnet and Node id into a table
according to the order these values are collected (up to a maximum of 255
NVOs per NVI). The order in which these values are collected is called the
FanInNumber. The Maximum receive time configuration value sets a time-out
for values that are not updated regularly, thus flagging a communication fail-
ure.
For example: As shown in the figure below, the Application Controller analy-
ses these zone controller outputs through a For Loop process to calculate the
minimum, maximum, or average space temperature values. The Zone Con-
trollers #1, #2 and #3 send different nvoSpaceTemp values which are updated
with their relative Subnet and Node id. The Application Controller writes
Temp1, Temp2 and Temp3 in an entry table. Then, these Zone Controller
nviSpaceTemp values are processed with a For Loop (on the Application Con-
troller) to find the Minimum, Maximum, and Average values of the Zone con-
troller NVOs. The Count is also found - this is the number of Zone Controllers
being processed for the purpose of the calculation.
822 EC-gfxProgram
Programming A For Loop (ECL, ECB & ECY Series) block executes project code created on
code example: the associated Programming Sheet a pre-determined number of times as set
Using a Network by the StartIndex and StopIndex at each controller scan cycle. In the follow-
Variable Input ing example, a For Loop block is used to iterate through a range of Network
with a For Loop Variable Inputs to find the instantaneous maximum value (high select) as fol-
lows: On a Programming Sheet, add a For Loop (ECL, ECB & ECY Series)
to find the
block with an Internal Constant block set to 1 as shown below. For conve-
maximum value
nience, the FanInCount of the same Network Variable Input NVI is used to
of a range of automatically detect the available number of bound network variables
Network Variable (thereby making the project code more generic).
Inputs
Figure 489: A For Loop is used to find the maximum value range of network variable inputs
Within the For Loop block is the project code that finds the highest value. The
Equal block resets the Maximum block with a large negative value (-
3.0428X1038) that is normally out of range of the maximum values being
tested for, when the loop is at the start of its cycle. The Network Variable
Input block uses the output of the For Loop to scan through the Network
Variable Input values of the network connected controllers: The Output of the
Loop Info block iterates integer values starting from the StartIndex up to the
StopIndex. This selects the Network Variable Input instance at the FanIn-
Number, the value of which is made available on its Output. This is com-
pared with the Maximum block to select the larger of the two numbers: The
current Network Variable Input or the highest number from previous For
Loop iterations. The result of the comparison is sent to the Exported Output
block (named as Maximum). The Exported Output block appears as the
Maximum output port on the For Loop block.
Figure 490: Code to find the maximum value of a range of Network Variable Inputs
As with a Custom block, an Exported Input can be used to add an input port
on the For Loop block to make values available within the associated For
Loop programming sheet. See Adding exported inputs and exported outputs.
EC-gfxProgram 823
• For a fan in, each network variable input (NVI) can support a maximum of
255 bindings.
• The controller has reserved 10 000 bytes of memory for fan in. The
amount of memory that each fan in NVI uses can be calculated as fol-
lows:
For example, if you want to use 35 fan in NVIs on a controller, each being
4-bytes, the maximum number of bindings per NVI can be calculated as
follows:
Description Used to interface with any network variable output (NVO) of any type of either
1- or 2-bytes in length (SNVT or UNVT). The user can read the Network Vari-
able Output blocks directly through a corresponding nvoFP_xx (xx = output
number). See also LONWORKS network description.
Configuration The SNVT type that has been selected in the window is shown at the bottom
Type display of the block as shown below.
Number of 17
blocks
Advanced Advanced configuration, Change Type (ECP & ECL Series), Copy From, Con-
configuration figure Ports
824 EC-gfxProgram
Input(s)
Input See See The input range is defined according to the SNVT or
Description Description UNVT type selected.
Output(s)
Output See See The output range is defined according to the SNVT or
Description Description UNVT type selected.
EC-gfxProgram 825
Property Type Range Default Description
Advanced The Network Variable Output Configuration window allows the minimum and
configuration maximum send times to be specified. Network congestion occurs when net-
work variables are transmitted too frequently on the network. Network con-
gestion can be reduced by only transmitting network variables as frequently
as is necessary to meet the system requirements.
Parameter Description
COV Min send The minimum time period that must pass between
time network variable updates on the network. If the value of
the network variable changes, an update will only be
sent after this time expires. Setting the min send time to
0 disables it. See Network Properties Configuration
window (ECL, ECB & ECY Series).
The min send time is often referred to as the "throttle".
826 EC-gfxProgram
Parameter Description
COV increment The minimum change in value that will cause a value to
be propagated on the network.
Description Used to interface with any network variable input (NVI) of any type and length
(SNVT or UNVT) up to 31 bytes. The user can read the Network Variable Out-
put blocks directly through a corresponding nvoFP xx (xx = output number).
See also LONWORKS network description.
The NVO Blocks are dynamic and the number of their input and output ports
vary depending on which NVO block has been selected. However, each
SNVT type has a common output: TypeIndex.
Configuration The SNVT type that has been selected in the Change Type (ECP & ECL
Type display Series) window is shown at the bottom of the block as shown below.
Slim format This block can be collapsed into a slim format. See Collapsed in Common
support block properties.
EC-gfxProgram 827
Advanced Resources Configuration, Advanced configuration, Find All References (ECL,
configuration ECB & ECY Series), Copy From, Configure Ports
Input(s)
Input See See The inputs are defined according to the SNVT or UNVT
Description Description type selected. See also the Format option in this block’s
Properties.
Output(s)
Output See See The outputs are defined according to the SNVT or
Description Description UNVT type selected. See also the Format option in
this block’s Properties.
Number Integer See The block number. The number of Network Value
Description block instances supported by a controller is shown in
the Statistics pane.
828 EC-gfxProgram
Property Type Range Default Description
Manual Menu True or False False When set to True, the name to be
Network shown on the network for this Network
Name Variable Output can be freely edited in
the NetworkName property.
When set to False, either the default
NVO name or the NVO block name is
used according to the option
Automatically rename network
variable when changing a block
name is set (see EC-gfxProgram
Options, Network tab).
EC-gfxProgram 829
Property Type Range Default Description
830 EC-gfxProgram
Advanced In the Resources Configuration tree, the Network Variable Output branch
configuration allows you to configure the minimum and maximum send times to be speci-
fied. Network congestion occurs when network variables are transmitted too
frequently on the network. Network congestion can be reduced by only trans-
mitting network variables as frequently as is necessary to meet the system
requirements. Set the network properties as shown below (refer to the control-
ler’s Functional Profile in its datasheet). See also Typical controller internal
points.
See Network Properties Configuration window (ECL, ECB & ECY Series).
EC-gfxProgram 831
832 EC-gfxProgram
SmartSensor Module (ECP Series)
Description Used to interface with a SmartSensor connected to the controller’s SMRT ter-
minals. A SmartSensor is a user-friendly HMI that is used to view and change
space settings such as room temperature, temperature setpoints, fan speeds,
HVAC modes, etc. depending on the model configured. The user can read the
values and modes of the SmartSensor Module block directly through
nvoSmI1 to 5. Modify can be used to write to the values and modes of the
block by specifying the internal value type (SM_INPUT), the index (Smart
input number), the mode (Automatic or Manual), and the value (-83886.08 to
83886.07).
Number of 1
blocks
Input(s)
Output(s)
EC-gfxProgram 833
Port Type Range Description
Setpoint Numeric 0 to 99.9 The current temperature setpoint. It is the last value
received from either the Setpoint Block input or set
by the user through the SmartSensor.
FanSpeed Enum -1 to 5 The current fan speed being selected by the user
through the SmartSensor.
HVACmode Enum -1 to 20 The current HVAC mode being selected by the user
through the SmartSensor.
Advanced The Smart Sensor Module Configuration window has all the settings required
configuration to configure any type of Smart Sensor. Depending on the Smart Sensor Type
selected, the options available will vary.
834 EC-gfxProgram
Module selection
Parameter Description
Enable all When selected, pressing any button (except the °C/°F
buttons override button) on the Smart Sensor puts the controller in
bypass mode if it was in unoccupied or standby modes.
If deselected, the controller cannot be put into bypass
mode by the Smart Sensor.
This option is only available for the Smart-Sensor
models that do not have an override button. Models
with an override button are always enabled.
Space
temperature
Parameter Description
Setpoint
Parameter Description
Min range This field is used to specify the value of the minimum
relative setpoint or absolute setpoint.
Max range This field is used to specify the value of the maximum
relative setpoint or absolute setpoint.
EC-gfxProgram 835
This is available in nvoSmI1 to nvoSmI5 as Setpoint.
Parameter Description
Hvac Mode Check the HVAC modes that will be selectable by the
Options Smart Sensor.
Figure 494: HVAC Mode Options
Parameter Description
Fan Speed Check the fan speeds that will be selectable by the
Options Smart Sensor.
Figure 495: HVAC Mode Options
836 EC-gfxProgram
This is available in nvoSmI1 to nvoSmI5 as FanSpeed.
Off 0 Medium 2 On 4
NOTE: Fan Speed Options and Hvac Mode Options are available for Smart
Sensor models that support these features.
Only the item selected in Static Display Options will be shown on the Smart
Sensor device.
Parameter Description
EC-gfxProgram 837
Space Comfort Controller (ECL Series)
Description Used to interface (read and write) with the nviSpaceTemp, nvoSpaceTemp,
and nvoUnitStatus network variables. This block can read and write to the
nviSpaceTemp and nvoUnitStatus network variables.
Slim format This block can be collapsed into a slim format. See Collapsed in Common
support block properties.
Controller This block is available when used with a device that supports the LONMARK
support Space Comfort Controller (8500 series) object type. See the controller’s data-
sheet for the availability of this feature.
Number of 1
blocks
Related blocks Roof Top Unit Profile LONMARK Object #8504 and Space Comfort Controller
AHU Profile LONMARK Object #8508
Input(s)
nviSpace Temp Numeric -10°C to 50°C Overrides the space temperature network input
value.
The default value of +327.67°C (invalid space
temperature value) is used during controller
power-up and when an update has not been
received within the specified receive heartbeat
time.
nvoSpace Numeric -10°C to 50°C Provides the current space temperature on the
Temp network through nvoSpaceTemp.
838 EC-gfxProgram
Port Type Range Description
UnitHeat Numeric 0 to 100% Provides the current Primary Heat Output on the
Output Primary network through nvoUnitStatus.
UnitHeat Numeric 0 to 100% Provides the current secondary heat output on the
Output network through nvoUnitStatus.
Secondary
UnitCool Numeric 0 to 100% Provides the current primary cool output on the
Output network through nvoUnitStatus.
UnitFan Output Numeric 0 to 100% Provides the current fan speed output on the
network through nvoUnitStatus.
EC-gfxProgram 839
Output(s)
nviSpace Numeric -10°C to 50°C The current space temperature value from the network
Temp or the nviSpaceTemp input.
The default value of +327.67°C (invalid space
temperature value) is used during controller power-up
and when an update has not been received within the
specified receive heartbeat time.
nvoSpace Numeric -10°C to 50°C The same value found at the nvoSpaceTemp input.
Temp This is useful to make the current input values
available at a second instance of this block.
UnitMode Enum 0 to 12 The same value found at the UnitMode input. This is
useful to make the current input values available at a
second instance of this block.
UnitCool Numeric 0 to 100% The same value found at the UnitCoolOutput input.
Output This is useful to make the current input values
available at a second instance of this block.
UnitEcon Numeric 0 to 100% The same value found at the UnitEconOutput input.
Output This is useful to make the current input values
available at a second instance of this block.
UnitFan Numeric 0 to 100% The same value found at the UnitFanOutput input.
Output This is useful to make the current input values
available at a second instance of this block.
UnitInAlar Numeric 0 to 255 The same value found at the UnitInAlarm input. This
m is useful to make the current input values available at
a second instance of this block.
Any non-zero value means there is an alarm.
255 Means that alarming is disabled.
840 EC-gfxProgram
Advanced Configuration parameters for this block are set in the Resources Configura-
configuration tion window. The Space Comfort Controller Configuration window allows the
maximum receive time, and the minimum and maximum send times to be
specified. Network congestion occurs when network variables are transmitted
too frequently on the network. Network congestion can be reduced by only
transmitting network variables as frequently as is necessary to meet the sys-
tem requirements. Set the network properties as shown below (refer to the
controller’s Functional Profile in its datasheet). See also Typical controller
internal points.
See Network Properties Configuration window (ECL, ECB & ECY Series).
EC-gfxProgram 841
Description Provides an interface to a range of extension modules that can be connected
to certain ECL Series controller models. See your controller’s datasheet for
more information about the number and type of extension modules that are
supported. The following Modbus Extension module types are available:
Depending on the extension module type selected, the number and type of
block inputs and outputs will vary.
Extension Menu See Not Set The extension module instance. Click
Description the drop-down arrow to open the Adding
an extension module window, in which
you add a new extension module by
clicking Manage extension modules.
The available input and output ports will vary according to the sensor model
selected.
Input(s)
EffectSet Numeric null-3 to +3 Sets the setpoint value to be displayed on the sensor
PointOffset extension module when SetpointMode = 0. This input
is not active when SetpointMode = 1. Standalone
mode is activated when EffectSetPointOffset = null.
842 EC-gfxProgram
Port Type Range Description
Setpoint Numeric 0 to 100 When a user turns the setpoint knob, the knob has
Steps detents that provide tactile feedback. This sets the
numbers of detent the knob must be turned to go from
0 (neutral position) to full range set by SetpointMode
and SetpointRange.
Setpoint Numeric 0 to 99.9 The permitted range over which a user can change a
Range setpoint with the sensor’s setpoint adjustment knob.
EC-gfxProgram 843
Port Type Range Description
SleepTime Numeric 0 to 65000 When a user changes a sensor’s setting, the sensor’s
seconds indicator lights turn on. This sets the amount of time
the sensor’s indicator lights will stay on after the last
user’s change to a setting. If this is set to 0, the
sensor’s indicator lights never turn off.
Elevation Numeric 0 to 4877m The sensor’s current elevation above mean sea level.
(for CO2 This compensates for the CO2 gas density ratio found
0 to 16 000ft
models at higher elevations. This input must be set for any
only) elevation above 500ft (152m) to obtain the highest
elevation compensation accuracy: The sensor will
automatically compensate CO2 readings for a number
of factors including the current room temperature and
the elevation.
Output(s)
Setpoint Numeric -99.9 to 99.9 The current temperature setpoint. This value is
Offset equal to EffectSetpointOffset input when there is
no user action. When the user changes the setpoint
and releases the sensor’s setpoint adjustment knob,
the modified value remains on this output port for 5
seconds after which the value returns to the
EffectSetpointOffset input value.
844 EC-gfxProgram
Port Type Range Description
FanSpeed Digital 0 or 1 Outputs a pulse when a user changes the fan speed
Update setting.
EC-gfxProgram 845
RJ-9 Gateway inputs and outputs
The RJ-9 interfaces with a range of sensors and extension modules that use
RJ-9 connectors for their communications bus.
Input(s)
EffectSet Numeric null-3 to +3 Sets the setpoint value to be displayed on the sensor
PointOffset extension module when SetpointMode = 0. This input
is not active when SetpointMode = 1. Standalone
mode is activated when EffectSetPointOffset = null.
Temperature Numeric null0 to 99.9 When the input is not null, this is the current room
temperature to be displayed. Standalone mode is
activated when Temperature = null; the device
displays its own temperature measurement.
846 EC-gfxProgram
Port Type Range Description
EC-gfxProgram 847
Output(s)
Setpoint Offset Numeric -99.9 to 99.9 The current temperature setpoint. This value is
equal to EffectSetpointOffset input when there is
no user action. When the user changes the setpoint
and releases the sensor’s setpoint adjustment knob,
the modified value remains on this output port for 5
seconds after which the value returns to the
EffectSetpointOffset input value.
848 EC-gfxProgram
Port Type Range Description
LastGroup Enum 0 to 7 The last command received from the remote control.
Command
Light stop (0): Stop all light dimming commands.
This command is received after a user releases a
light command button.
Light up (1): Increase the lighting intensity.
Light down (2): Lower the lighting intensity.
Sunblind up (3): Raise the sunblind / shade.
Sunblind down (4): Lower the sunblind / shade.
Sunblind rotation up (5): Rotate the sunblind /
shade up.
Sunblind rotation down (6): Rotate the sunblind /
shade down.
Sunblind stop (7): Stop all sunblind movement.
This command is received after a user releases a
sunblind command button.
EC-gfxProgram 849
Port Type Range Description
Group1 to Enum 0 to 7 The current user value sent by the remote control:
Group8
Light stop (0): Stop all light dimming commands.
This command is received after a user releases a
light command button.
Light up (1): Increase the lighting intensity.
Light down (2): Lower the lighting intensity.
Sunblind up (3): Raise the sunblind / shade.
Sunblind down (4): Lower the sunblind / shade.
Sunblind rotation up (5): Rotate the sunblind /
shade up.
Sunblind rotation down (6): Rotate the sunblind /
shade down.
Sunblind stop (7): Stop all sunblind movement.
This command is received after a user releases a
sunblind command button.
FanSpeed Digital 0 or 1 Outputs a pulse when a user changes the fan speed
Update setting.
LuxLevel Numeric 0 to 4000 The current room light level in Lux measured at the
Multi Sensor.
850 EC-gfxProgram
Adding an extension module
Parameter Description
Delete
Selecting deletes the selected extension module.
Modbus When adding an extension module, select the model type connected to the
extension controller in Modbus Extension and click OK.
configuration
Figure 499: Extension module model type selection
Select this block on the Programming Sheet and in the block’s Properties,
click the drop-down arrow for Extension and select the extension this block is
to use in the Extension Module Window (Figure 498).
EC-gfxProgram 851
Subnet Extension (ECB & ECY Series)
Depending on the extension module type selected, the number and type of
block inputs and outputs will vary.
852 EC-gfxProgram
Block properties See also Common block properties.
Extension Menu See Not Set The extension module instance. Click the
Description drop-down arrow to open the Adding an
extension module window, in which you add
a new extension module by clicking Manage
extension modules.
The available input and output ports will vary according to the sensor model
selected.
Input(s)
Setpoint Steps Numeric 0 to 100 When a user turns the setpoint knob, the knob has
detents that provide tactile feedback. This sets the
numbers of detent the knob must be turned to go
from 0 (neutral position) to full range set by
SetpointMode and SetpointRange.
Setpoint Range Numeric 0 to 99.9 The permitted range over which a user can change
a setpoint with the sensor’s setpoint adjustment
knob.
EC-gfxProgram 853
Port Type Range Description
Elevation (for Numeric 0 to 4877m The sensor’s current elevation above mean sea
CO2 models level. This compensates for the CO2 gas density
0 to 16 000ft
only) ratio found at higher elevations. This input must be
set for any elevation above 500ft (152m) to obtain
the highest elevation compensation accuracy: The
sensor will automatically compensate CO2 readings
for a number of factors including the current room
temperature and the elevation.
Output(s)
854 EC-gfxProgram
Port Type Range Description
Setpoint Offset Numeric -99.9 to 99.9 The current temperature setpoint. This value is
equal to EffectSetpointOffset input when there is
no user action. When the user changes the setpoint
and releases the sensor’s setpoint adjustment knob,
the modified value remains on this output port for 5
seconds after which the value returns to the
EffectSetpointOffset input value.
EC-gfxProgram 855
Port Type Range Description
FanSpeed Digital 0 or 1 Outputs a pulse when a user changes the fan speed
Update setting.
The RJ-9 interfaces with a range of sensors and extension modules that use
RJ-9 connectors for their communications bus.
Input(s)
Temperature Numeric null When the input is not null, this is the current room
temperature to be displayed. Standalone mode is
0 to 99.9
activated when Temperature = null; the device
displays its own temperature measurement.
856 EC-gfxProgram
Port Type Range Description
EC-gfxProgram 857
Port Type Range Description
Output(s)
Setpoint Offset Numeric -99.9 to 99.9 The current temperature setpoint. This value is
equal to EffectSetpointOffset input when there is
no user action. When the user changes the setpoint
and releases the sensor’s setpoint adjustment knob,
the modified value remains on this output port for 5
seconds after which the value returns to the
EffectSetpointOffset input value.
858 EC-gfxProgram
Port Type Range Description
EC-gfxProgram 859
Port Type Range Description
LastGroup Enum 1 to 8 The last command received from the remote control.
Command
Light stop (1): Stop all light dimming commands.
This command is received after a user releases a
light command button.
Light up (2): Increase the lighting intensity.
Light down (3): Lower the lighting intensity.
Sunblind up (4): Raise the sunblind / shade.
Sunblind down (5): Lower the sunblind / shade.
Sunblind rotation up (6): Rotate the sunblind /
shade up.
Sunblind rotation down (7): Rotate the sunblind /
shade down.
Sunblind stop (8): Stop all sunblind movement.
This command is received after a user releases a
sunblind command button.
Group1 to Enum 1 to 8 The current user value sent by the remote control:
Group8
Light stop (1): Stop all light dimming commands.
This command is received after a user releases a
light command button.
Light up (2): Increase the lighting intensity.
Light down (3): Lower the lighting intensity.
Sunblind up (4): Raise the sunblind / shade.
Sunblind down (5): Lower the sunblind / shade.
Sunblind rotation up (6): Rotate the sunblind /
shade up.
Sunblind rotation down (7): Rotate the sunblind /
shade down.
Sunblind stop (8): Stop all sunblind movement.
This command is received after a user releases a
sunblind command button.
FanSpeed Digital 0 or 1 Outputs a pulse when a user changes the fan speed
Update setting.
860 EC-gfxProgram
Port Type Range Description
LuxLevel Numeric 0 to 4000 The current room light level in Lux measured at the
Multi Sensor.
Number of The number of sunblind outputs varies according to the number of connected
blocks sunblind modules, up to a maximum of 8 sunblind outputs. See the control-
ler’s datasheet for more information about the number of expansion modules
that are supported.
Each sunblind expansion module also has 4 multi-level inputs. See Light Sun-
blind Input (ECL Series Expansion Modules).
Related blocks Light Output (ECL Series expansion modules), Light Sunblind Input (ECL
Series expansion modules)
EC-gfxProgram 861
Input(s)
Function Enum Nul (-1) Sets the sunblind output action. See Function,
Translation, and Rotation Input truth table.
Off (0)
A new Translation or Rotation value is taken
On (1)
into account only when there is a change of
Down (2) Function value or the Trigger input is activated.
Up (3)
Stop (4)
State (5)
Rotation Numeric -359.98º to 360º Set the sunblind rotation angle. See Function,
Translation, and Rotation Input truth table.
A new value is taken into account only when
there is a change of Function value, the
Trigger input is activated, or there is a change
in either the Translation or Rotation input value
when the Function input is set to State.
862 EC-gfxProgram
Function, There is interplay between the Function, Translation, and Rotation Input
Translation, and settings for this block. The following truth table explains the effect of input val-
Rotation Input ues on sunblind translation and rotation.
truth table
Function
Translation
Input Rotation Input Sunblind / Shade
Input “x” Description
Enumeration “α” Value1 Behavior
Value1
Value
Nul (-1) Any value / Any value / – Cancels the last command
Irrelevant Irrelevant of the Function,
Translation, and Rotation
inputs.
Off (0) Any value / Any value / Mode Off Take no action.
Irrelevant Irrelevant
0 < x < 100% 0° <= α <= 360° Sunblind / Lowersa the sunblind /
slats move shade by x percent and
down rotatesa the slats
relatively downwards by a relative
angle of α.
If α = 0: At the new sunblind
position, the slat angle
remains unchanged.
EC-gfxProgram 863
Function
Translation
Input Rotation Input Sunblind / Shade
Input “x” Description
Enumeration “α” Value1 Behavior
Value1
Value
Stop (4) Any value / Any value / Sunblind Stops the sunblind / shade
Irrelevant Irrelevant stops movement immediately.
0 <= x <= -360 < α <= 360° Setting Sets the absolute sunblind /
100% Sunblind to shade translation positiona
position x
to x and slat rotation anglea
and to slat
to α.
angle α
a. Sunblind / shade translation and rotation always remains within the limits set
in the block’s advanced configuration. See Configure the Sunblind output.
864 EC-gfxProgram
Output(s)
RotationFeedba Numeric -359.98º to Current rotation angle. This takes into account
ck 360º any user command from a remote control.
Rotation Priority Integer 0 to 4 The current active priority. See Priority levels in
LONWORKS (ECL Series).
Runtime Numeric 0 to 3.4028 × The output’s operating time in minutes for both
1038 translation and rotation combined.
EC-gfxProgram 865
Block properties See also Common Block Properties.
Number Menu See Sunblind The Sunblind Output block instance. Click
Description Output the drop-down arrow to open the
Managing Light and Sunblind module
instances window, in which you first add
light and sunblind modules by clicking
Manage Light and Sunblind Modules.
See Figure 501.
Once sunblind expansion modules have
been added to the controller, the Source
column shows the sunblind expansion
module on which the output is located.
Use this drop-down menu to select a
physical sunblind module output on a
connected expansion module.
The number of Sunblind Output block
instances supported by a controller is
shown in the Statistics pane.
Horizontal/ The following diagrams define the meaning of parameters used for this block.
Vertical blind Confirm these operational parameters with your blind (shade) manufacturer/
translation and installer.
rotation
Figure 500: Horizontal/Vertical blind translation and rotation example
866 EC-gfxProgram
Managing Light The configuration of the sunblind expansion module outputs, the light expan-
and Sunblind sion module outputs, and the light sunblind inputs are configured in the
module Resource Tree of the Resources Configuration under Light Sunblind Mod-
instances ules (see Figure 503). This lists the currently configured light and sunblind
modules as well as their input’s name, output’s name and module number
according to the light or sunblind expansion module currently connected to
the controller. This block instance will use the module’s input or output
selected in this window. The first light or sunblind outputs shown are from the
light or sunblind expansion module configured with the lowest subnetwork
address. Likewise, the highest light or sunblind outputs shown are from the
light or sunblind expansion module configured with the highest subnetwork
address.
Parameter Description
Name column The output’s name. The name of an output is the same
as the block’s name, when this output is selected for
the block.
EC-gfxProgram 867
Parameter Description
4. In the lower left corner of the Manage Module Instance window, click
Manage light and sunblind modules. See Figure 501.
5. Add an expansion module to the Resources list by right-clicking the Light
Sunblind Modules tree and selecting Add or Learn.
Figure 502: Light and Sunblind modules tree options
Parameter Description
868 EC-gfxProgram
6. The Resources Configuration allows you to configure all connected Light
and Sunblind Modules. In the Model type drop-down, select the model of
light or sunblind expansion module.
Figure 503: Manage Light and Sunblind Modules window
Parameter Description
EC-gfxProgram 869
According to the model type selected, a default subnet ID address num-
ber is shown. This default subnet ID address number corresponds to the
default expansion modules’ subnet ID address when the expansion mod-
ules’ MAC DIP switch is set to 0 (or all off – the factory default position).
This eliminates the need to configure the expansion modules’ MAC DIP
switch when there are no more than one of each type of expansion mod-
ule connected to the controller’s subnet bus.
4 lights 230V
4 DALI buses
4 dimming lights
4 sunblinds 230V
4 sunblinds 24V
If there are two of the same type of expansion modules connected to the
controller’s subnet bus, you must set at least one of the two expansion
modules’ MAC DIP switch to a unique (that is, unused) subnet ID (MAC)
address and then set the same value in Default address.
8. To configure the expansion module, see Light and Sunblind module con-
figuration, below.
Light and Once one or more light or sunblind expansion modules have been added to
Sunblind module the Light and Sunblind Modules tree, expand a module and select a Light or
configuration Sunblind output, or a Light Sunblind Input to see its configuration screen.
To configure:
870 EC-gfxProgram
Figure 506: Dimmable light output configuration (ECL)
EC-gfxProgram 871
Figure 512: On/Off light output configuration (ECL)
Parameter Description
Object name Used to identify this input in the and on the controller’s
operator interface (if equipped).
Color manage- Only available on ECY controllers. Sets the color man-
ment (for DALI- agement type for a lighting module that supports the
enabled outputs DALI Type 8 Command. The default None value dis-
only) ables color management. Select Tunable White if you
want to manage color temperature. Select RGB or
RGBW to manage light colors. As soon as you activate
color management, by selecting a value other than
None, the Color input port is added to the lighting mod-
ule. See Light Output (ECB & ECY Series expansion
modules).
872 EC-gfxProgram
Parameter Description
Default value This sets the expansion module’s output to this default
value when:
• The output has not been written to (is in an unexe-
cuted Conditional Custom Block for example).
• A light expansion module has lost communications
with the controller.
Configure the Configure the Sunblind Output in the Resources Configuration as follows.
Sunblind output
Figure 515: 230V Sunblind Output configuration
EC-gfxProgram 873
Figure 516: 12-24V Sunblind Output configuration
Parameter Description
Object name Used to identify this input in the Resource Viewer and
on the controller’s operator interface (if equipped).
Translation time This sets the time for the blind / shade to go from its
fully retracted position to its fully deployed position or
vice versa.
874 EC-gfxProgram
Parameter Description
Rotation time This sets the time for the blind / shade to rotate from
one extreme to the other, between Rotation abs min
position and Rotation abs max position.
Rotation abs min This sets the blind’s / shade’s minimum rotation
position position beyond which physically it cannot turn.
EC-gfxProgram 875
Parameter Description
Rotation default This sets the blind’s / shade’s default rotation position
value when:
• The output has not been written to (is in an unexe-
cuted Conditional Custom Block for example).
• A sunblind module has lost communications with
the controller.
Configure a The light sunblind hardware input does not have to be configured.
Light Sunblind
Hardware Input
876 EC-gfxProgram
Sunblind Output (ECB & ECY Series expansion
module)
For ECY Series controllers, alarms that have been configured for this block
can be suppressed by turning off the block’s alarm management so that while
this mechanism is engaged, no alarms will be reported by the block. See
AlarmInhibit input (ECY Series controllers).
Number of The number of sunblind outputs varies according to the number of connected
blocks sunblind modules, up to a maximum of 8 sunblind outputs. See the control-
ler’s datasheet for more information about the number of expansion modules
that are supported.
Each sunblind expansion module also has 4 multi-level inputs. See Light Sun-
blind Input (ECB & ECY Series expansion modules).
Related blocks Light Output (ECB & ECY Series expansion modules), Light Sunblind Input
(ECB & ECY Series expansion modules)
EC-gfxProgram 877
Input(s)
Function Enum Nul (1) Sets the sunblind output action. See Function,
Translation, and Rotation Input truth table.
Off (2)
A new Translation or Rotation value is taken into
On (3)
account only when there is a change of Function
Down (4) value or the Trigger input is activated.
Up (5)
Stop (6)
State (7)
Translation Numeric 0 to 100% Set the sunblind position. See Function, Translation,
and Rotation Input truth table.
A new value is taken into account only when there is
a change of Function value or the Trigger input is
activated.
Rotation Numeric -359.98º to Set the sunblind rotation angle. See Function,
360º Translation, and Rotation Input truth table.
A new value is taken into account only when there is
a change of Function value, the Trigger input is
activated, or there is a change in either the
Translation or Rotation input value when the
Function input is set to State.
878 EC-gfxProgram
Function, There is interplay between the Function, Translation, and Rotation Input
Translation, and settings for this block. The following truth table explains the effect of input val-
Rotation Input ues on sunblind translation and rotation.
truth table
Function Translation
Input Input “x” Rotation Input Sunblind / Shade
Description
Enumeration Value1 “α” Value1 Behavior
Value
Nul (1) Any value / Any value / – Cancels the last command
Irrelevant Irrelevant of the Function,
Translation, and Rotation
inputs.
Off (2) Any value / Any value / Mode Off Take no action.
Irrelevant Irrelevant
0 < x < 100% 0° <= α <= 360° Sunblind / Lowersa the sunblind by x
slats move
percent and rotatesa the
down
slats downwards by a
relatively
relative angle of α.
If α = 0: At the new sunblind
position, the slat angle
remains unchanged.
EC-gfxProgram 879
Function Translation
Input Input “x” Rotation Input Sunblind / Shade
Description
Enumeration Value1 “α” Value1 Behavior
Value
Stop (6) Any value / Any value / Sunblind Stops the sunblind / shade
Irrelevant Irrelevant stops movement immediately.
0 <= x <= -360 < α <= 360° Setting Sets the absolute sunblind /
100% Sunblind to shade translation positiona
position x
to x and slat rotation anglea
and to slat
to α.
angle α
a. Sunblind / shade translation and rotation always remains within the limits set
in the block’s advanced configuration. See Configure the Sunblind output.
880 EC-gfxProgram
Output(s)
Rotation Numeric -359.98º to 360º Current rotation angle. This takes into account
Feedback any user command from a remote control.
Runtime Numeric 0 to 3.4028 × The output’s operating time in minutes for both
1038 translation and rotation combined.
EC-gfxProgram 881
Block properties See also Conditional Custom Block.
Number Menu See Sunblind The Sunblind Output block instance. Click
Description Output the drop-down arrow to open the
Managing Light and Sunblind module
instances window, in which you first add
light and sunblind modules by clicking
Manage Light and Sunblind Modules.
See Figure • 20.
Once sunblind expansion modules have
been added to the controller, the Source
column shows the sunblind expansion
module on which the output is located.
Use this drop-down menu to select a
physical sunblind module output on a
connected expansion module.
The number of Sunblind Output block
instances supported by a controller is
shown in the Statistics pane.
Horizontal/ The following diagrams define the meaning of parameters used for this block.
Vertical blind Confirm these operational parameters with your blind (shade) manufacturer/
translation and installer.
rotation
Figure 517: Horizontal/Vertical blind translation and rotation example
882 EC-gfxProgram
Managing Light The configuration of the sunblind expansion module outputs, the light expan-
and Sunblind sion module outputs, and the light sunblind inputs are configured in the
module Resource Tree of the Resources Configuration under Light Sunblind Mod-
instances ules (see Figure 519). This lists the currently configured light and sunblind
modules as well as their input’s name, output’s name and module number
according to the light or sunblind expansion module currently connected to
the controller. This block instance will use the module’s input or output
selected in this window. The first light or sunblind outputs shown are from the
light or sunblind expansion module configured with the lowest subnetwork
address. Likewise, the highest light or sunblind outputs shown are from the
light or sunblind expansion module configured with the highest subnetwork
address.
Parameter Description
Name column The output’s name. The name of an output is the same
as the block’s name, when this output is selected for
the block.
EC-gfxProgram 883
Parameter Description
4. In the lower left corner of the Manage Module Instance window, click
Manage light and sunblind modules. See Figure 518.
5. Add an expansion module to the Resources list by right-clicking the
Light Sunblind Modules tree and selecting Add or Learn.
Figure 519: Light and Sunblind Modules tree options
Parameter Description
884 EC-gfxProgram
6. The Manage Light and Sunblind Modules window allows you to configure
all connected Light and Sunblind Modules. In the Model type drop-down,
select the model of light or sunblind expansion module.
Figure 520: Expansion module drop-down menu
Parameter Description
EC-gfxProgram 885
Auto-assigned Subnet ID Address when the expansion modules’ MAC
Expansion
DIP Switch is set to 0 (factory default position)
Module Model
Type
1 2 3 4
4 lights 230V
4 DALI buses
4 dimming lights
4 sunblinds 230V
4 sunblinds 24V
If there are two of the same type of expansion modules connected to the
controller’s subnet bus, you must set at least one of the two expansion
modules’ MAC DIP switch to a unique (that is, unused) subnet ID (MAC)
address and then set the same value in Default address.
8. To configure the expansion module, see Light and Sunblind module con-
figuration, below.
Light and Once one or more light or sunblind expansion modules have been added to
Sunblind module the Light and Sunblind Modules tree, expand a module and select a Light
configuration or Sunblind output, or a Light Sunblind Input to see its configuration
screen.
To configure:
886 EC-gfxProgram
Configure the Configure the Light Output as follows.
Light Output
Figure 522: Dimmable LIght Output configuration
Parameter Description
EC-gfxProgram 887
Parameter Description
Default value This sets the expansion module’s output to this default
value when:
• The output has not been written to (is in an unexe-
cuted Conditional Custom Block for example).
• A light expansion module has lost communications
with the controller.
888 EC-gfxProgram
Figure 526: 12-24V Sunblind Output configuration
Parameter Description
Translation time This sets the time for the blind / shade to go from its
fully retracted position to its fully deployed position or
vice versa.
EC-gfxProgram 889
Parameter Description
Rotation time This sets the time for the blind / shade to rotate from
one extreme to the other, between Rotation abs min
position and Rotation abs max position.
Rotation abs min This sets the blind’s / shade’s minimum rotation
position position beyond which physically it cannot turn.
890 EC-gfxProgram
Parameter Description
Rotation default This sets the blind’s / shade’s default rotation position
value when:
The output has not been written to (is in an unexecuted
Conditional Custom Block for example).
A sunblind module has lost communications with the
controller.
Light Sunblind The light sunblind hardware input uses the following enumeration values.
Hardware Input
enumeration • Off = 1: The hardware input is open-circuit.
values • On = 2: The hardware input is short-circuited.
• Pulse = 3: A momentary contact at the hardware input that lasts for less
than 200ms.
EC-gfxProgram 891
Wireless Module (ECP Series)
There are 14 wireless inputs available and there are 18 module types such as
a temperature sensor with setpoint adjustment, universal switch, outdoor light
sensor, etc. Different output ports are available on the Wireless Module block
depending on the module type selected. Also some module types can use up
more than one wireless input.
The user can read the values and modes of the Wireless Module block
directly through nvoWrI1 to 14. nviModify can be used to write to the values
and modes of the block by specifying the internal value type (WR_INPUT),
the index (Wireless input number), the mode (Automatic or Manual), and the
value (-83886.08 to 83886.07).
Number of 14
blocks
Input(s) N/A
Output(s)
892 EC-gfxProgram
Port Type Range Description
Setpoint Numeric 0 to 99.9 The temperature setpoint being set by the wireless
device.
FanSpeed Enum -1 to 4 The fan speed. The values are defined as such:
-1 = ST_NUL (AUTO)
0 = ST_OFF
1 = ST_LOW
2 = ST_MED
3 = ST_HIGH
4 = ST_ON
Module Menu See Not Set The wireless module instance. Click the
Description drop-down arrow to open the Module
window, which provides access to the
Advanced configuration window and
lists the wireless modules.
EC-gfxProgram 893
Module The Module window lists the configured wireless modules and provides
access to the Advanced configuration window. This window displays the num-
ber, name, module type, and module ID of the wireless module. This block
instance will use the wireless module selected in this window.
Parameter Description
Delete
Selecting deletes the selected wireless module.
Advanced The Wireless Module Configuration window has all the settings required to
configuration configure any type of wireless module including sensors, switches, digital
contacts, etc. Depending on the Module type selected, the options available
will vary. For the purposes of showing all the possible options in a particular
module type, the Temp Humidity Setpoint Override, and UniversalSwitch
types are shown below since between them they contain all the possible
options.
894 EC-gfxProgram
Module
information
Parameter Description
Module type The wireless sensor type. The following is a list of all
module types supported by wireless-enabled
controllers. For a list of supported sensors, see
Supported EnOcean Wireless Sensor Profiles.
Space
temperature
Parameter Description
Setpoint
Parameter Description
Min range This field is used to specify the value of the minimum
setpoint offset.
Max range This field is used to specify the value of the maximum
setpoint offset.
Humidity
Parameter Description
EC-gfxProgram 895
Switch Type Figure 529: Wireless Module Configuration window - UniversalSwitch
modules
Module
information
Parameter Description
896 EC-gfxProgram
Button 1
Parameter Description
Learn The Learn window allows the Wireless Module block to associate itself with a
wireless device. The window will close if the Wireless Module block receives
a valid signal from a wireless device when its Learn button is pressed or, if it
does not have a Learn button, when it senses a change of value. The window
can also be closed by clicking Stop Learning. This window will close auto-
EC-gfxProgram 897
matically after 30 minutes if no wireless device is learned or if the Stop Learn-
ing button is not pressed.
Description Used to interface with a wireless input using standard EnOcean® profiles.
For the number of wireless inputs that are available for a device, refer to its
datasheet. Different output ports are available on the Wireless Sensor block
depending on the module type selected. Also some sensor types can use
more than one wireless inputs.
Slim format This block can be collapsed into a slim format. See Collapsed in Common
support block properties.
Input(s) N/A
Output(s)
SpaceTemp Numeric See the EEP The room’s temperature. Any change in the
profile of the measurement system of the project results in
selected the output value being converted.
sensor
898 EC-gfxProgram
Port Type Range Description
EC-gfxProgram 899
Port Type Range Description
RSSI Numeric -98 to -41 The current wireless sensor’s receive signal
strength measured in dBm. Wireless
Available with
operation is more reliable with stronger signal
wireless receivers
strength. See the Receiver signal strength
that support this
indication table in Sensor information shown
feature
below for more information.
Sensor Menu See – The wireless sensor instance. Click the drop-
Description down arrow to open the Sensor window, which
provides access to the Advanced configuration
window and lists the wireless sensors.
The Sensor window lists the configured wireless sensors and provides access
to the Advanced configuration window. This window displays the number,
name, sensor type, and sensor ID of the wireless module. This block instance
will use the wireless sensor selected in this window.
Figure 532: Wireless Sensor window (click the drop-down arrow next to Sensor in the block’s properties)
Parameter Description
Delete
Selecting deletes the selected wireless sensor.
900 EC-gfxProgram
Parameter Description
Add new sensor Opens the Wireless Sensor window. See Advanced
Configuration.
Advanced Configuration parameters for this block are set in the Resources Configura-
configuration tion window. The Wireless Sensor Configuration window has the settings
required to configure any type of wireless module including sensors, switches,
digital contacts, etc. Depending on the Sensor type selected, the options
available will vary.
Sensor
information
Property Description
Object name Used to identify this input in the Resource Viewer and
on the controller’s operator interface (if equipped).
Sensor type The wireless sensor type and EEP profile number.
When a sensor is learned in, the sensor type may be
automatically detected (see the Learn button below). If
you are unable to learn in a sensor (the wireless
receiver is not currently connected to the controller, the
sensor does not send its sensor profile type, the
controller is not online, or the sensor is not in range),
you can select the sensor type from this drop-down list.
The EnOcean Equipment Profiles (EEP) is shown for
each sensor shown in this drop-down list.
EC-gfxProgram 901
Property Description
Available with
wireless
receivers that
support this
feature
Wireless Signal
Bars Signal Quality Description
Strength
902 EC-gfxProgram
Configuration Figure 534: Wireless Sensor Input Configuration window
Property Description
Default value When the property cannot be read from the wireless
sensor, this is the fall back value to be used in lieu of
live data.
Min range This field is used to specify the value of the minimum
setpoint offset.
Max range This field is used to specify the value of the maximum
setpoint offset.
Range Select the byte for the range of the light sensor. Refer
to the EnOcean equipment profile.
Max Value This sets the limit for the maximum value.
EC-gfxProgram 903
Button
Property Description
Learn The Learn window allows the Wireless sensor block to associate itself with a
wireless device. The window will close if the Wireless sensor block receives
a valid signal from a wireless device when its Learn button is pressed or, if it
does not have a Learn button, when it senses a change of value. The window
can also be closed by clicking Stop Learning.
904 EC-gfxProgram
Wireless Sensor (ECB Series)
Description Used to interface with a wireless input using standard EnOcean® profiles.
For the number of wireless inputs that are available for a device, refer to its
datasheet. Different output ports are available on the Wireless Sensor block
depending on the sensor type selected. Also some sensor types can use
more than one wireless input.
For ECB Series controllers only: Each wireless sensor is linked to a corre-
sponding BACnet object which follows the same value. Alarms (ECB & ECY
Series) are available with B-AAC or B-BC controller models only (see the con-
troller’s datasheet for more information).
EC-gfxProgram 905
Input(s)
[parameter] Numeric ±3.4028×1038 When alarms are enabled for this block (see
Alarm Setpoint Alarms (ECB & ECY Series)), a positive input
value increases the alarm setpoint values set in
the Resources Configuration’s Alarms
configuration (a negative value reduces the alarm
setpoint values): The High limit is now the High
limit value (set in the Resources Configuration’s
Alarms configuration for the block) plus
AlarmSetpoint and the Low limit is now the Low
limit value (set in the Resources Configuration’s
Alarms configuration for the block) plus
AlarmSetpoint. See Dynamic alarm activation
thresholds adjust.
[parameter] Digital 0 or 1 When alarms are enabled for this block for a
AlarmValue digital value (see Alarms (ECB & ECY Series)),
this input overrides the alarm value set in the
Resources Configuration’s Alarms configuration
for the block.
906 EC-gfxProgram
Output(s)
Setpoint Numeric Varies The temperature setpoint offset being sent by the
according to wireless sensor.
wireless device
(usually -10 to NOTE: Any change in the measurement system of
10) the project results in the output value
being converted.
FanSpeed Enum 1 to 5 The fan speed. The values are defined as such:
1 = ST_NUL (AUTO)
2 = ST_OFF
3 = ST_LOW
4 = ST_MED
5 = ST_HIGH
EC-gfxProgram 907
Port Type Range Description
[ANY].Fault Digital 0 or 1 Logical True (1) if the Reliability property does not
have a value of No Fault Detected, otherwise
logical False (0).
RSSI Numeric -98 to -41 The current wireless sensor’s receive signal
strength measured in dBm. Wireless operation is
Available with
more reliable with stronger signal strength. See
wireless
the Receiver signal strength indication table in
receivers that
Sensor information shown below for more
support this
information.
feature
NOTE: When troubleshooting signal reception
issues, connect this output port to a Live
Trend Log block to track signal strength
over time and to appraise the effective-
ness of any changes made to receiver and
sensor location.
Sensor Menu See – The wireless sensor instance. Click the drop-
Description down arrow to open the Sensor window, which
provides access to the Advanced configuration
window and lists the wireless sensors.
The Sensor window lists the configured wireless sensors and provides access
to the Advanced Configuration window. This window displays the number,
908 EC-gfxProgram
name, sensor type, and sensor ID of the wireless sensor. This block instance
will use the wireless sensor selected in this window.
Figure 537: Wireless Sensor window ((click the drop-down arrow next to Sensor in the block’s properties)
Parameter Description
Delete
Selecting deletes the selected wireless sensor.
Add new sensor Opens the Wireless Sensor window. See Advanced
Configuration.
Advanced Configuration parameters for this block are set in the Resources Configura-
configuration tion window. The Wireless Sensor Configuration window has the settings
required to configure any type of wireless sensor including sensors, switches,
digital contacts, etc. Depending on the Sensor type selected, the options
available will vary.
Sensor
information
Parameter Description
EC-gfxProgram 909
Parameter Description
Sensor type The wireless sensor type and EEP profile number.
When a sensor is learned in, the sensor type may be
automatically detected (see the Learn button below). If
you are unable to learn in a sensor (the wireless
receiver is not currently connected to the controller, the
sensor does not send its sensor profile type, the
controller is not online, or the sensor is not in range),
you can select the sensor type from this drop-down list.
The EnOcean Equipment Profiles (EEP) is shown for
each sensor shown in this drop-down list.
Available with
wireless
receivers that
support this
feature
Wireless Signal
Bars Signal Quality Description
Strength
910 EC-gfxProgram
Configuration Figure 538: Wireless Sensor Inputs Configuration window
Parameter Description
True text / false Assigns a Boolean format to the BACnet object, for
text example, On, Off. Click Configure to create a new
enumeration or add a new member to an enumeration.
See Creating and using enumerations (8-Bit).
Min range This field is used to specify the value of the minimum
setpoint offset.
Max range This field is used to specify the value of the maximum
setpoint offset.
Range Select the byte for the range of the light sensor. Refer
to the EnOcean equipment profile.
Max Value This sets the limit for the maximum value.
EC-gfxProgram 911
Parameter Description
Button
Property Description
Space When the present value goes beyond predefined thresholds, an alarm notifi-
temperature cation is sent to a list of other BACnet devices to warn of the fault condition.
alarms See Analog/Pulse input alarms.
configuration
(for B-AAC
controllers only)
912 EC-gfxProgram
Learn The Learn window allows the Wireless sensor block to associate itself with a
wireless device. The window will close if the Wireless sensor block receives
a valid signal from a wireless device when its Learn button is pressed or, if it
does not have a Learn button, when it senses a change of value. The window
can also be closed by clicking Stop Learning.
EC-gfxProgram 913
LONMARK Objects (ECL Series)
The following profiles are also supported by any controller that supports one
the above LonMark profiles:
See the controller’s datasheet for the availability of these LONMARK Objects.
914 EC-gfxProgram
The programming logic that these blocks are used with must conform with the
expected behavior described in the related LONMARK profile in order to ensure
inter-operability with other networked devices. See http://www.lonmark.org/
for more information.
Description Used to present to the network the following LONMARK profile: Unit Heater
Profile #8550. The following profiles are also supported by any controller that
supports the above LONMARK profile: Hardwired Gas Detection Profile LON-
MARK Object #4310, Hardwired Reticulation Profile LONMARK Object #4312,
Hardwired Full Ventilation Profile LONMARK Object #4313, and Hardwired
Safety Instrumented System (SIS) Profile LONMARK Object #4314.
Controller See the controller’s datasheet for the availability of this feature.
support
Number of Multiple blocks configured as the same LONMARK profile can be used in your
blocks code; however, the input and output ports of each block instance will act on
the same common network resources. The output ports of multiple block
instances can be used to provide network values throughout your code. For
input ports, use Configure Ports so that any given input port is exposed only
once among all block instances.
EC-gfxProgram 915
Input(s)
nviSetPoint Numeric 10°C to 35°C Provides the setpoint temperature network input
value.
The default value of +327.67°C (invalid setpoint
temperature value) is used during controller
power-up and when an update has not been
received within the specified receive heartbeat
time.
nviSpace Temp Numeric -10°C to 50°C Overrides the space temperature network input
value.
The default value of +327.67°C (invalid space
temperature value) is used during controller
power-up and when an update has not been
received within the specified receive heartbeat
time.
nvoSpace Numeric -10°C to 50°C Provides the current space temperature on the
Temp network through nvoSpaceTemp.
The default value of +327.67°C (invalid space
temperature value) is used during controller
power-up and when an update has not been
received within the specified receive heartbeat
time.
nvoFanStatus. Numeric 0 to 100% Provides the current fan status on the network
Value through nvoFanStatus.Value.
916 EC-gfxProgram
Port Type Range Description
nvoUnitStatus. Enum -1 to 20* Provides the current Unit Heater mode through
Mode nvoUnitStatus.Mode.
*: The following is the valid range of values:
1 = HVAC_HEAT: In heating mode.
2 = HVAC_MRNG_WRMUP: Morning warm-up
mode.
4 = HVAC_NIGHT_PURGE: Free cooling mode.
6 = HVAC_OFF: Unit off.
7 = HVAC_TEST: Special test mode, application
defined.
8 = HVAC_EMERG_HEAT: Emergency heat
mode.
9 = HVAC_FAN_ONLY: No heating or cooling
allowed.
12 = HVAC_MAX_HEAT: Maximum heating mode.
nvoUnitStatus. Numeric 0 to 100% Provides the current Primary Heat Output on the
HeatOutput network through nvoUnitStatus. Default value:
Primary Null (invalid).
nvoUnitStatus. Numeric 0 to 100% Provides the current secondary heat output on the
HeatOutput network through nvoUnitStatus. Default value:
Secondary Null (invalid).
nvoUnitStatus. Numeric 0 to 100% Provides the current primary cool output on the
CoolOutput network through nvoUnitStatus. Default value:
Null (invalid).
nvoUnitStatus. Numeric 0 to 100% Provides the current fan speed output on the
FanOutput network through nvoUnitStatus. Default value:
Null (invalid).
EC-gfxProgram 917
Output(s)
nviSetPoint Numeric 10°C to 35°C The current setpoint temperature value from the
network or the nviSetPoint input.
The default value of +327.67°C (invalid setpoint
temperature value) is used during controller
power-up and when an update has not been
received within the specified receive heartbeat
time.
nviSpace Temp Numeric -10°C to 50°C The current space temperature value from the
network or the nviSpaceTemp input.
The default value of +327.67°C (invalid space
temperature value) is used during controller
power-up and when an update has not been
received within the specified receive heartbeat
time.
nvoSpace Numeric -10°C to 50°C The same value found at the nvoSpaceTemp
Temp input. This is useful to make the current input
values available at a second instance of this
block.
918 EC-gfxProgram
Port Type Range Description
Description Used to present to the network the following LONMARK profile: Wall Unit Pro-
file #8540. The following profiles are also supported by any controller that
supports the above LONMARK profile: Hardwired Gas Detection Profile LON-
MARK Object #4310, Hardwired Reticulation Profile LONMARK Object #4312,
Hardwired Full Ventilation Profile LONMARK Object #4313, and Hardwired
Safety Instrumented System (SIS) Profile LONMARK Object #4314.
EC-gfxProgram 919
The LONMARK profile is chosen by the LonMarkObjectName option in the
block’s Properties pane. The block’s input and output ports change accord-
ingly.
Controller See the controller’s datasheet for the availability of this feature.
support
Number of Multiple blocks configured as the same LONMARK profile can be used in your
blocks code; however, the input and output ports of each block instance will act on
the same common network resources. The output ports of multiple block
instances can be used to provide network values throughout your code. For
input ports, use Configure Ports so that any given input port is exposed only
once among all block instances.
Input(s)
nviSpace Numeric -10°C to 50°C Overrides the space temperature network input
Temp value.
The default value of +327.67°C (invalid space
temperature value) is used during controller
power-up and when an update has not been
received within the specified receive heartbeat
time.
nviSetPoint Numeric 10°C to 35°C Provides the setpoint temperature network input
value.
The default value of +327.67°C (invalid setpoint
temperature value) is used during controller
power-up and when an update has not been
received within the specified receive heartbeat
time.
920 EC-gfxProgram
Port Type Range Description
nviApplic Enum -1 to 20* Provides the current Wall Unit mode through
Mode nvoUnitStatus.Mode.
*: The following is the valid range of values:
0 = HVAC_AUTO: Mode determined by unit
(default)
1 = HVAC_HEAT: In heating mode.
2 = HVAC_MRNG_WRMUP: Morning warm-up
mode.
3 = HVAC_COOL: In cooling mode.
4 = HVAC_NIGHT_PURGE: Free cooling mode.
5 = HVAC_PRE_COOL: Morning cool-down
mode.
6 = HVAC_OFF: Unit off.
7 = HVAC_TEST: Special test mode, application
defined.
8 = HVAC_EMERG_HEAT: Emergency heat
mode.
9 = HVAC_FAN_ONLY: No heating or cooling
allowed.
12 = HVAC_MAX_HEAT: Maximum heating mode.
13 = HVAC_ECONOMY: Economy mode.
14 = HVAC_DEHUMID: Dehumidification15 =
HVAC_CALIBRATE: Calibration mode -
manufacturer defined)
nvoSpace Numeric -10°C to 50°C Provides the current space temperature on the
Temp network through nvoSpaceTemp.
nvoDischAir Numeric 0°C to 100°C Provides the current discharge air temperature on
Temp the network through nvoDischAirTemp.
nvoDischAir Numeric 10°C to 35°C Provides the current discharge air temperature
Setpt setpoint on the network through
nvoDischAirSetpt.
EC-gfxProgram 921
Port Type Range Description
nvoUnitStatu Enum -1 to 20* Provides the current Wall Unit mode through
s.Mode nvoUnitStatus.Mode.
*: The following is the valid range of values:
1 = HVAC_HEAT: Controller is using heat
setpoints
2 = HVAC_MRNG_WRMUP: Morning warmup
3 = HVAC_COOL: Controller is using cool
setpoints
4 = HVAC_NIGHT_PURGE: Free cooling
5 = HVAC_PRE_COOL: Morning cooldown
6 = HVAC_OFF: No unit operation allowed
7 = HVAC_TEST: Special test mode,
manufacturer-defined
8 = HVAC_EMERG_HEAT: Emergency heat
9 = HVAC_FAN_ONLY: No heating or cooling
allowed
12 = HVAC_MAX_HEAT: Maximum heating-VAV
13 = HVAC_ECONOMY:14 = HVAC_DEHUMID:
Dehumidification
15 = HVAC_CALIBRATE: Calibration mode-
manufacturer defined
16 = HVAC_EMERG_COOL: Emergency cool
mode
17 = HVAC_EMERG_STEAM: Emergency steam
mode
18 = HVAC_MAX_COOL19 =
HVAC_HVC_LOAD20 = HVAC_NO_LOAD
nvoUnitStatu Numeric 0 to 100% Provides the current Primary Heat Output on the
s.HeatOutput network through nvoUnitStatus. Default value:
Primary Null (invalid).
nvoUnitStatu Numeric 0 to 100% Provides the current secondary heat output on the
s.HeatOutput network through nvoUnitStatus. Default value:
Secondary Null (invalid).
nvoUnitStatu Numeric 0 to 100% Provides the current primary cool output on the
s.CoolOutput network through nvoUnitStatus. Default value:
Null (invalid).
922 EC-gfxProgram
Port Type Range Description
nvoUnitStatu Numeric 0 to 100% Provides the current fan speed output on the
s.FanOutput network through nvoUnitStatus. Default value:
Null (invalid).
nvoEffect Numeric 10°C to 35°C Provides the current effective space temperature
Setpt setpoint on the network through nvoEffectSetpt.
Output(s)
nviSpace Numeric -10°C to 50°C The current space temperature value from the
Temp network or the nviSpaceTemp input.
The default value of +327.67°C (invalid space
temperature value) is used during controller
power-up and when an update has not been
received within the specified receive heartbeat
time.
nviSetPoint Numeric -10°C to 50°C The current setpoint temperature value from the
network or the nviSetPoint input.
The default value of +327.67°C (invalid setpoint
temperature value) is used during controller
power-up and when an update has not been
received within the specified receive heartbeat
time.
nvoSpace Numeric -10°C to 50°C The same value found at the nvoSpaceTemp
Temp input. This is useful to make the current input
values available at a second instance of this block.
nvoDischAir Numeric 0°C to 100°C The same value found at the nvoDischAirTemp
Temp input. This is useful to make the current input
values available at a second instance of this block.
EC-gfxProgram 923
Port Type Range Description
nvoDischAir Numeric 10°C to 35°C The same value found at the nvoDischAirSetpt
Setpt input. This is useful to make the current input
values available at a second instance of this block.
nvoEffect Numeric -10°C to 50°C The same value found at the nvoEffectSetpt
Setpt input. This is useful to make the current input
values available at a second instance of this block.
924 EC-gfxProgram
Roof Top Unit Profile LONMARK Object #8504 and
Space Comfort Controller AHU Profile LONMARK
Object #8508
Description Used to present to the network the following LONMARK profiles: Roof Top Unit
Profile #8504 and Space Comfort Controller AHU Profile #8508. The following
profiles are also supported by any controller that supports one of the above
LONMARK profile: Hardwired Gas Detection Profile LONMARK Object #4310,
Hardwired Reticulation Profile LONMARK Object #4312, Hardwired Full Venti-
lation Profile LONMARK Object #4313, and Hardwired Safety Instrumented
System (SIS) Profile LONMARK Object #4314.
Controller See the controller’s datasheet for the availability of this feature.
support
Number of Multiple blocks configured as the same LONMARK profile can be used in your
blocks code; however, the input and output ports of each block instance will act on
the same common network resources. The output ports of multiple block
instances can be used to provide network values throughout your code. For
input ports, use Configure Ports so that any given input port is exposed only
once among all block instances.
EC-gfxProgram 925
Input(s)
nviSpace Temp Numeric -10°C to 50°C Overrides the space temperature network input
value.
The default value of +327.67°C (invalid space
temperature value) is used during controller
power-up and when an update has not been
received within the specified receive heartbeat
time.
nvoSpace Numeric -10°C to 50°C Provides the current space temperature on the
Temp network through nvoSpaceTemp.
The default value of +327.67°C (invalid space
temperature value) is used during controller
power-up and when an update has not been
received within the specified receive heartbeat
time.
nvoUnitStatus. Numeric 0 to 100% Provides the current Primary Heat Output on the
HeatOutput network through nvoUnitStatus. Default value:
Primary Null (invalid).
926 EC-gfxProgram
Port Type Range Description
nvoUnitStatus. Numeric 0 to 100% Provides the current primary cool output on the
CoolOutput network through nvoUnitStatus. Default value:
Null (invalid).
nvoUnitStatus. Numeric 0 to 100% Provides the current fan speed output on the
FanOutput network through nvoUnitStatus. Default value:
Null (invalid).
Output(s)
nviSpace Temp Numeric -10°C to 50°C The current space temperature value from the
network or the nviSpaceTemp input.
The default value of +327.67°C (invalid space
temperature value) is used during controller
power-up and when an update has not been
received within the specified receive heartbeat
time.
nvoSpace Numeric -10°C to 50°C The same value found at the nvoSpaceTemp
Temp input. This is useful to make the current input
values available at a second instance of this
block.
EC-gfxProgram 927
Port Type Range Description
Description Used to present to the network the LONMARK profile: Hardwired Gas Detec-
tion Profile #4310.
Controller See the controller’s datasheet for the availability of this feature.
support
928 EC-gfxProgram
Number of Multiple blocks configured as the same LONMARK profile can be used in your
blocks code; however, the input and output ports of each block instance will act on
the same common network resources. The output ports of multiple block
instances can be used to provide network values throughout your code. For
input ports, use Configure Ports so that any given input port is exposed only
once among all block instances.
Input(s)
nviHwGas Numeric 0 to 100% Provides the current gas detection shut down value
Detection. on the network through nviHwGasDetection.Value.
Value
nvoHwGas Numeric 0 to 100% Provides the current gas detection feedback value to
DetectionFb. indicate that a gas detection shutdown has occurred
Value on the network through
nviHwGasDetectionFb.Value.
Output(s)
EC-gfxProgram 929
Port Type Range Description
Description Used to present to the network the LONMARK profile: Hardwired Fire Alarm
Profile #4311.
Controller See the controller’s datasheet for the availability of this feature.
support
Number of Multiple blocks configured as the same LONMARK profile can be used in your
blocks code; however, the input and output ports of each block instance will act on
the same common network resources. The output ports of multiple block
instances can be used to provide network values throughout your code. For
930 EC-gfxProgram
input ports, use Configure Ports so that any given input port is exposed only
once among all block instances.
Input(s)
nviHwFire Numeric 0 to 100% Provides the current fire alarm shut down value on
Alarm.Value the network through nviHwFireAlarm.Value.
nviHwFire Enum -1 Provides the current fire alarm shut down mode.
Alarm.State
0 -1 = Nul.
1 0 = False.
1 = True.
nvoHwFire Numeric 0 to 100% Provides the current fire alarm shut down feedback
AlarmFb. Value value to indicate that a fire alarm shutdown has
occurred on the network through
nvoHwFireAlarmFb.Value.
nvoHwFire Enum -1 Provides feedback for the current fire alarm shut
AlarmFb. State down mode.
0
-1 = Nul.
1
0 = False.
1 = True.
Output(s)
EC-gfxProgram 931
Port Type Range Description
nvoHwFire Enum -1 Provides feedback for the current fire alarm mode.
AlarmFb. State
0 -1 = Nul.
1 0 = False.
1 = True.
Description Used to present to the network the LONMARK profile: Hardwired Recirculation
Profile #4312.
Controller See the controller’s datasheet for the availability of this feature.
support
Number of Multiple blocks configured as the same LONMARK profile can be used in your
blocks code; however, the input and output ports of each block instance will act on
the same common network resources. The output ports of multiple block
instances can be used to provide network values throughout your code. For
input ports, use Configure Ports so that any given input port is exposed only
once among all block instances.
932 EC-gfxProgram
Advanced Advanced configuration, Configure Ports, Show/Hide Ports
configuration
Input(s)
nvoHw Enum -1 Provides feedback for the current fire alarm mode.
RecirculaFb.
0 -1 = Nul.
State
1 0 = False.
1 = True.
Output(s)
EC-gfxProgram 933
Port Type Range Description
nvoHw Enum -1 Provides feedback for the current fire alarm mode.
RecirculaFb.
0 -1 = Nul.
State
1 0 = False.
1 = True.
SCPTdeflt Numeric 0 or 1
Behave.State
Description Used to present to the network the LONMARK profile: Hardwired Full Ventila-
tion Profile #4313.
Controller See the controller’s datasheet for the availability of this feature.
support
Number of Multiple blocks configured as the same LONMARK profile can be used in your
blocks code; however, the input and output ports of each block instance will act on
the same common network resources. The output ports of multiple block
instances can be used to provide network values throughout your code. For
input ports, use Configure Ports so that any given input port is exposed only
once among all block instances.
934 EC-gfxProgram
Advanced Advanced configuration, Configure Ports, Show/Hide Ports
configuration
Input(s)
nviHwFull Numeric 0 to 100% Provides the current full ventilation value on the
Vent.Value network through nviHwFullVent.Value.
nvoHwFull Numeric 0 to 100% Provides the current full ventilation feedback value
VentFb.Value to indicate that a system is on full ventilation has
occurred on the network through
nviHwFullVentFb.Value.
nvoHwFull Enum -1 Provides feedback for the current fire alarm mode.
VentFb.State
0 -1 = Nul.
1 0 = False.
1 = True.
Output(s)
EC-gfxProgram 935
Port Type Range Description
nvoHw Enum -1 Provides feedback for the current fire alarm mode.
FullVentFb.
0 -1 = Nul.
State
1 0 = False.
1 = True.
Description Used to present to the network the LONMARK profile: Hardwired Safety Instru-
mented System (SIS) Profile #4314.
Controller See the controller’s datasheet for the availability of this feature.
support
Number of Multiple blocks configured as the same LONMARK profile can be used in your
blocks code; however, the input and output ports of each block instance will act on
the same common network resources. The output ports of multiple block
instances can be used to provide network values throughout your code. For
input ports, use Configure Ports so that any given input port is exposed only
once among all block instances.
936 EC-gfxProgram
Advanced Advanced configuration, Configure Ports, Show/Hide Ports
configuration
Input(s)
nvoHwSISFb. Enum -1 Provides feedback for the current fire alarm mode.
State
0 -1 = Nul.
1 0 = False.
1 = True.
Output(s)
nvoHwSISFb. Enum -1 Provides feedback for the current fire alarm mode.
State
0 -1 = Nul.
1 0 = False.
1 = True.
EC-gfxProgram 937
Port Type Range Description
Advanced The LONMARK Object Configuration window allows the maximum receive
configuration time, and the minimum and maximum send times to be specified. Network
congestion occurs when network variables are transmitted too frequently on
the network. Network congestion can be reduced by only transmitting network
variables as frequently as is necessary to meet the system requirements. Set
the network properties as shown below (refer to the controller’s Functional
Profile in its datasheet). See also Typical controller internal points.
See Network Properties Configuration window (ECL, ECB & ECY Series).
938 EC-gfxProgram
Logic
Logic blocks evaluate the binary values at two or more inputs according to the
block’s Boolean logic.
• And
• Multiplexer
• Not
• Or
• Selector
• Switch
• Xor
NOTE: Any non-zero value is evaluated as On (1). For more information, see
Data types. For clarity, the text in this section refers to all non-zero val-
ues simply as On or 1.
Example Logic blocks are common components in any type of code. They are very
useful for digital sequences, for example, turning components On and Off.
Below is an example of how a Fan (Hardware Output block) is started based
on a Schedule (Schedule, Multiplexer, and Internal constant blocks), Freeze,
and (And block) Smoke Detection inputs (Hardware Input and Not blocks).
The Multiplexer block converts the enumerated occupancy modes into Bool-
ean values. Thus, if occupied mode is selected, the Multiplexer block output is
1. Otherwise, if unoccupied or standby mode is selected, the Multiplexer block
output is 0. The Not blocks check the Freeze and smoke detection inputs
(Hardware Input blocks) and output On if the inputs are Off and Off if the
inputs are On. Finally the And block checks the outputs of the Multiplexer and
Not blocks and if all are outputting an On value, for example, the unit is in
occupied mode and there is no ice or smoke detected, then the And block
outputs an On value and thus turns On the Fan (Hardware Output block).
Otherwise, if any one of the inputs to the And block are Off, then the And
EC-gfxProgram 941
block outputs an Off value and the Fan (Hardware Output block) is turned
Off.
And
The output will be Off (0) if any connected input is Off (0).
Input(s)
Output(s)
942 EC-gfxProgram
Table 27: AND logic operation with Null
0 0,1,Null 0
1 1 1
Multiplexer
Description Used to select one of the values presented at 10 inputs based on an integer
value from 0 to 9 (Select input).
EC-gfxProgram 943
Input(s)
32-Bit 8-Bit
Inputx Numeric ±3.4028×1038 -83886.08 to The value outputted when the Select
+83886.07 input receives an x signal.
(x=0 to 9)
For example, if the Select input
receives a value of 3, the value in
Input3 will be outputted.
Output(s)
32-Bit 8-Bit
Example The Multiplexer block can be used for standard switching operations
between multiple inputs. The example below shows how this block can be
944 EC-gfxProgram
used to switch HVAC modes through the use of Pid, SmartSensor Module
(ECP Series), Comparator, Switch, and Internal constant blocks.
Not
Description Used to perform a standard Not logic function, that is, will reverse a digital
value.
Input(s)
EC-gfxProgram 945
Output(s)
Input Output
0 1
1 0
Null Null
Or
The output will be Off (0) if all connected inputs are Off (0).
946 EC-gfxProgram
Input(s)
Output(s)
0 0 or Null 0
1 0, 1, or Null 1
Selector
Description Used to exclusively assign a given value (from the Input port) to one of the 10
outputs based on the specified output's number (from the Select port) using a
value from 0 to 9.
EC-gfxProgram 947
Advanced Configure Ports, Show/Hide Ports
configuration
Input(s)
32-Bit 8-Bit
Outputs(s)
32-Bit 8-Bit
948 EC-gfxProgram
Examples In the following figure, the Selector block is used to select a position. The
selected position outputs a value other than a null value.
In the following figure, the Selector block is used to output a specific value at a
given position. Only the selected position outputs the value otherwise it out-
puts a null value.
The Default port has been added through the Configure Ports window and
the port has been linked to show an output of 0 rather than a null value.
EC-gfxProgram 949
Switch
Description Used to select between two values based on a Boolean condition. This block
outputs one value if it selects an On value and another value if it selects an
Off value.
Input(s)
32-Bit 8-Bit
Off Numeric ±3.4028×1038 -83886.08 to The value outputted when the Select
+83886.07 input receives an Off (0) signal.
Select Integer ±3.4028×1038 -83886.08 to Select the block’s input On or Off value
+83886.07 to send to the Output port. A positive
input greater than or equal to 1 selects
the value at the On input as the Output.
A value less than 1 selects the value at
the Off input as the Output.
A Null input selects the value at the Off
input as the Output.
Output(s)
32-Bit 8-Bit
Example The Switch block can be used for standard switching operations between two
inputs. The example below shows how this block can be used to switch On an
950 EC-gfxProgram
Outdoor Air Damper Position Pid block through the use of Schedule, Vari-
able Enum, Multiplexer, Linear, and Internal constant blocks to control an
Outdoor Air Damper (Hardware Output block).
The Switch block is controlled by the Variable Enum block. For example,
when the Switch block receives an On value, free cooling is enabled, and the
Output of the Pid block is activated. When it receives an Off value, free cool-
ing is disabled, and the output is 0%. The Output of the Switch block is sent to
the Linear block where it is interpolated to give the Outdoor Air Damper
(Hardware Output block) position.
Xor
The output will be Off (0) if either all connected inputs are Off (0) or if even
numbers of inputs are On (1).
EC-gfxProgram 951
Input(s)
Output(s)
0 0 0
1 0 1
0 1 1
1 1 0
0 Null 0
1 Null 0
Null 0 0
Null 1 0
952 EC-gfxProgram
Logic (Binary)
Binary logic blocks perform bitwise logical operations on two or more bit pat-
terns at the level of the individual bits representing the values found at the
block’s inputs.
EC-gfxProgram 953
Bitwise And (ECL, ECB & ECY Series)
Description Used to perform a standard bitwise And logic function on the binary value
found at each input. This is done by representing all input values in binary and
performing a logical And operation on the corresponding binary values.
Input1 0 1 1 0 0 1 0 1 =101
Output = 0 1 0 0 0 1 0 0 =68
Input(s)
Output(s)
954 EC-gfxProgram
Block properties See Common block properties.
Description Used to perform a standard bitwise Or logic function on the binary value found
at each input. This is done by representing all input values in binary and per-
forming a logical Or operation on the corresponding binary values.
Input1 0 1 1 0 0 1 0 1 =101
Input2 Or 1 1 0 0 1 1 0 0 =204
Output = 1 1 1 0 1 1 0 1 =237
Input(s)
EC-gfxProgram 955
Left Bit Shift (ECL, ECB & ECY Series)
Description Used to shift the binary representation of a value of up to 32 bits to the left by
a specified number of bit positions. Each shift to the left multiplies the value at
the input by 2.
Output = 1 0 1 0 0 0 0 0 =160
Input(s)
Input Numeric 0 to 232 Block input. A Null input has the equivalent effect of being
zero (0).
Bits Numeric 0 to 32 The number of bit positions the input value is to be shifted
to the left. A Null input has the equivalent effect of being
zero (0).
Output(s)
NOTE: Bits that are shifted out of the 32-Bit register are
dropped (lost).
956 EC-gfxProgram
Right Bit Shift (ECL, ECB & ECY Series)
Description Used to shift the binary representation of a value of up to 32 bits to the right by
a specified number of bit positions. Each shift to the right divides the value at
the input by 2.
Output = 0 0 0 0 1 0 1 0 =10
Input(s)
Input Numeric 0 to 232 Block input. A Null input has the equivalent effect of being
zero (0).
Bits Numeric 0 to 32 The number of bit positions the input value is to be shifted to
the right. A Null input has the equivalent effect of being zero
(0).
Output(s)
NOTE: Bits that are shifted out of the 32-Bit register are
dropped (lost).
EC-gfxProgram 957
Math
Math blocks evaluate the values at two or more inputs according to the block’s
mathematical operator.
The following blocks are available in this category depending on the platform:
• Absolute
• Add
• Average
• Cosine (ECL, ECB & ECY Series)
• Divide
• Inverse Cosine (ECL, ECB & ECY Series)
• Inverse Sine (ECL, ECB & ECY Series)
• Inverse Tangent (ECL, ECB & ECY Series)
• Ln (ECL, ECB & ECY Series)
• Log (ECL, ECB & ECY Series)
• Maximum
• Min/Max/Average
• Minimum
• Modulus
• MulDiv
• Multiply
• Power (ECL, ECB & ECY Series)
• Sine (ECL, ECB & ECY Series)
• Square Root
• Subtract
• Summation
• Tangent (ECL, ECB & ECY Series)
Example Math blocks are used to create mathematical functions. The example below
shows how a Celsius value from a Constant Numeric (ECP Series) block can
be converted to a Fahrenheit value through the use of a Multiply and Add
block, as well as a pair of Internal constant blocks.
958 EC-gfxProgram
The Multiply block outputs the result of the multiplication between the Celsius
value coming from the Constant Numeric block and a constant value of 1.8
from an Internal Constant block. The Add block then adds the Output of the
Multiply block and a constant value of 32 from an Internal Constant block. The
Output of the Add block is the converted Fahrenheit value. In the above
example the result is calculated as follows:
EC-gfxProgram 959
Absolute
Description The block will output the absolute value of the connected input, that is, a neg-
ative value is changed to positive and a positive value is unchanged.
Input(s)
32-Bit 8-Bit
Input Numeric ±3.4028×1038 -83886.07 to Block input. For a Null Input value,
+83886.07 see below.
Output(s)
32-Bit 8-Bit
960 EC-gfxProgram
Add
Description Used to perform a standard addition operation. The block will output the sum
value of all the connected inputs. The addition is calculated as follows:
Be aware that as a result of the calculation, the input values may cause an
overflow or underflow on the Output.
Input(s)
32-Bit 8-Bit
Inputx Numeric ±3.4028×1038 -83886.08 to Block input. For a Null Input value,
+83886.07 see below.
(x=1 to 10)
NOTE: Two inputs are always visi-
ble. The other eight possible
inputs can be added by the
user through the Configure
Ports window.
EC-gfxProgram 961
Output(s)
32-Bit 8-Bit
Output Numeric ±3.4028×1038 -83886.08 to The sum value of the inputs. For ECL,
+83886.07 ECB & ECY Series controllers: If no
Input to this block is Null, then the
block’s output is the normal result. If one
or more Inputs to this block are Null,
then the Output of this block is always
Null.
Average
Description Used to calculate the average value of the inputs. The average value is calcu-
lated as follows:
Be aware that the summation of the values of the connected inputs may
cause an overflow or underflow on the Output
962 EC-gfxProgram
Input(s)
32-Bit 8-Bit
Inputx Numeric ±3.4028×1038 -83886.08 to Block input. For a Null Input value,
+83886.07 see below.
(x=1 to 10)
NOTE: Two inputs are always visible.
The other eight possible
inputs can be added by the
user through the Configure
Ports window.
Output(s)
32-Bit 8-Bit
Output Numeric ±3.4028×1038 -83886.08 to The average value of the inputs. For
+83886.07 ECL, ECB & ECY Series controllers: If
a Null value is present on one or more
Input ports, but not on all Input ports,
then these input ports are not taken
into account to calculate the output
value. For example, if 3 out of 10
inputs are Null, then the output value
is calculated based on the values of
the remaining 7 inputs. If all Input
values to this block are Null, then the
Output value of this block is always
Null.
EC-gfxProgram 963
Cosine (ECL, ECB & ECY Series)
where
Input(s)
964 EC-gfxProgram
Output(s)
Output Numeric -1 to 1 The cosine of the input. If the Input to this block is not Null,
then the block’s output is the normal result. If the Input to
this block is Null, then the Output of this block is always
Null.
Divide
Description Used to perform a standard division operation. The block will output the divi-
sion value of the connected inputs. The division is calculated as follows:
Input(s)
32-Bit 8-Bit
Input1 Numeric ±3.4028×1038 -83886.08 to Block input. The dividend. For a Null
+83886.07 Input value, see below.
Input2 Numeric ±3.4028×1038 -83886.08 to Block input. The divisor. For a Null
+83886.07 Input value, see below.
EC-gfxProgram 965
Output(s)
32-Bit 8-Bit
For , if
966 EC-gfxProgram
Input(s)
Input Numeric -1 to 1 Block input. For a Null Input value, see below.
Output(s)
Output Numeric 0 to The inverse cosine of the input. If the Input to this block
3.14159274 is not Null, then the block’s output is the normal result. If
the Input to this block is Null, then the Output of this
block is always Null.
For , if
EC-gfxProgram 967
Input(s)
Input Numeric -1 to 1 Block input. For a Null Input value, see below.
Output(s)
Output Numeric -1.57079637 to The inverse sine of the input. If the Input to this block
1.57079637 is not Null, then the block’s output is the normal result.
If the Input to this block is Null, then the Output of this
block is always Null.
For , if
968 EC-gfxProgram
Input(s)
Input Numeric ±3.4028×1038 Block input. For a Null Input value, see below.
Output(s)
Output Numeric -1.57079637 to The inverse tangent of the input. If the Input to this
1.57079637 block is not Null, then the block’s output is the normal
result. If the Input to this block is Null, then the Output
of this block is always Null.
NOTE: If the Input is 0, then the Output of this operator is -. If the Input is
negative, then the Output of this operator is Null
EC-gfxProgram 969
Advanced Configure Ports, Show/Hide Ports
configuration
Input(s)
Input Numeric 0 to 3.4028×1038 Block input. For a Null Input value, see below.
Output(s)
Output Numeric -87.49 to 88.72 The natural logarithm of the input. If the Input to
this block is not Null, then the block’s output is the
normal result. If the Input to this block is Null, then
the Output of this block is always Null.
NOTE: If the Input is 0, then the Output of this operator is -. If the Input is
negative, then the Output of this operator is Null.
970 EC-gfxProgram
Advanced Configure Ports, Show/Hide Ports
configuration
Input(s)
Input Numeric 0 to 3.4028×1038 Block input. For a Null Input value, see below.
Output(s)
Output Numeric -38 to 38.53 The logarithm of the input. If the Input to this block is
not Null, then the block’s output is the normal result.
If the Input to this block is Null, then the Output of
this block is always Null.
Maximum
EC-gfxProgram 971
Input(s)
32-Bit 8-Bit
Inputx Numeric ±3.4028×1038 -83886.08 to Block input. For a Null Input value,
+83886.07 see below.
(x=1 to 10)
NOTE: Two inputs are always visi-
ble. The other eight possible
inputs can be added by the
user through the Configure
Ports window.
Output(s)
32-Bit 8-Bit
972 EC-gfxProgram
Min/Max/Average
Description Used to calculate the minimum, maximum, and average value of the inputs.
The average value is calculated as follows:
NOTE: Be aware that the summation of the values of the connected inputs
may cause an overflow or underflow on the Output.
Input(s)
32-Bit 8-Bit
Inputx Numeric ±3.4028×1038 -83886.08 to Block input. For a Null Input value,
+83886.07 see below.
(x=1 to 10)
NOTE: Two inputs are always visi-
ble. The other eight possible
inputs can be added by the
user through the Configure
Ports window.
EC-gfxProgram 973
Output(s)
32-Bit 8-Bit
Minimum Numeric ±3.4028×1038 -83886.08 to The minimum value of the inputs. For
+83886.07 ECL, ECB & ECY Series controllers: If
a Null value is present on one or more
Input ports, but not on all Input ports,
then these input ports are not taken
into account to calculate the output
values. For example, if 3 out of 10
inputs are Null, then the output values
are calculated based on the values of
the remaining 7 inputs. If all Input
values to this block are Null, then the
Output values of this block are
always Null.
Maximum Numeric ±3.4028×1038 -83886.08 to The maximum value of the inputs. For
+83886.07 ECL, ECB & ECY Series controllers: If
a Null value is present on one or more
Input ports, but not on all Input ports,
then these input ports are not taken
into account to calculate the output
values. For example, if 3 out of 10
inputs are Null, then the output values
are calculated based on the values of
the remaining 7 inputs. If all Input
values to this block are Null, then the
Output values of this block are
always Null.
Average Numeric ±3.4028×1038 -83886.08 to The average value of the inputs. For
+83886.07 ECL, ECB & ECY Series controllers: If
a Null value is present on one or more
Input ports, but not on all Input ports,
then these input ports are not taken
into account to calculate the output
values. For example, if 3 out of 10
inputs are Null, then the output values
are calculated based on the values of
the remaining 7 inputs. If all Input
values to this block are Null, then the
Output values of this block are
always Null.
974 EC-gfxProgram
Example The Min/Max/Average block is used to evaluate a set of values. The example
below shows how this block can compare temperatures of different zones in a
space (Hardware Input blocks).
Minimum
EC-gfxProgram 975
Input(s)
32-Bit 8-Bit
Inputx Numeric ±3.4028×1038 -83886.08 to Block input. For a Null Input value,
+83886.07 see below. For a Null Input value, see
(x=1 to 10)
below.
Output(s)
32-Bit 8-Bit
Output Numeric ±3.4028×1038 -83886.08 to The minimum value of the inputs. For
+83886.07 ECL, ECB & ECY Series controllers: If
no Input to this block is Null, then the
block’s output is the normal result. If
one or more Inputs to this block are
Null, then the Output of this block is
always Null.
Modulus
Description The block will output the modulus value or remainder of the division between
the connected inputs.
For example:
976 EC-gfxProgram
Input1 = 10, Input2 = 4, then Output = 2
Input(s)
32-Bit 8-Bit
Input1 Integer ±3.4028×1038 ±83886 Block input. The dividend. For a Null Input
value, see below.
Input2 Integer ±3.4028×1038 ±83886 Block input. The divisor. For a Null Input
value, see below.
Output(s)
32-Bit 8-Bit
EC-gfxProgram 977
MulDiv
Description The block multiplies two input values and divides the result by a third input
value. The muldiv is calculated as follows:
NOTE: For ECP Series controllers: Be aware that as a result of the calcula-
tion, the input values may cause an overflow (>83886.07) or under-
flow (<-83886.08) on the Output. Furthermore, you should avoid
having the Divider approach zero as the block will go into overflow
(use the Limit block to avoid this if necessary).
For example, the Input and Multiplier can both be ±83886.07; how-
ever the value of the Divider must bring the final result within the
range of -83886.08 to 83886.07.
For ECL, ECB & ECY Series controllers: Be aware that as a result of
the calculation, the input values may cause an overflow
(>3.4028×1038) or underflow (<-3.4028×1038) on the Output. Further-
more, you should avoid having the Divider approach zero as the
block will go into overflow (use the Limit block to avoid this if neces-
sary).
Input(s)
32-Bit 8-Bit
978 EC-gfxProgram
Output(s)
32-Bit 8-Bit
Multiply
Description Used to perform a standard multiplication operation. The block will output the
multiplication value of the connected inputs. The multiplication is calculated
as follows:
NOTE: Be aware that as a result of the calculation, the input values may
cause an overflow or underflow on the Output.
Input(s)
32-Bit 8-Bit
Inputx Numeric ±3.4028×1038 -83886.08 to Block input. For a Null Input value,
+83886.07 see below.
(x=1 to 2)
EC-gfxProgram 979
Output(s)
32-Bit 8-Bit
NOTE: Be aware that as a result of the calculation, the input values may
cause an overflow () on the Output.
Input(s)
Input Numeric ±3.4028×1038 The base. For a Null Input value, see below.
Exponent Numeric ±3.4028×1038 The exponent. For a Null Input value, see below.
980 EC-gfxProgram
Output(s)
Output Numeric 0 to The resulting value. If no Input to this block is Null, then the
block’s output is the normal result. If one or more Inputs to
this block are Null, then the Output of this block is always
Null.
where
EC-gfxProgram 981
Input(s)
Input Numeric ±3.4028×1038 Block input in radians (radian = degrees * / 180). For
a Null Input value, see below.
Output(s)
Output Numeric -1 to 1 The sine of the input. If the Input to this block is not
Null, then the block’s output is the normal result. If the
Input to this block is Null, then the Output of this block
is always Null.
Square Root
Description Used to perform a standard square root operation. The block will output the
square root value of the connected input.
Input(s)
32-Bit 8-Bit
Input Numeric 0 to 3.4028×1038 0 to 83886.07 Block input. For a Null Input value,
see below.
NOTE: Negative values at the Input are not supported by the Square Root
block. If such a value is inputted then the block outputs Null.
982 EC-gfxProgram
Output(s)
32-Bit 8-Bit
Output Numeric 1.8446×1019 0 to 289.63 The square root value of the input. For
ECL, ECB & ECY Series controllers: If
the Input to this block is not Null, then
the block’s output is the normal result. If
the Input to this block is Null, then the
Output of this block is always Null.
Example The Square Root block can be used to perform a mathematical calculation.
The example below shows how air flow (Multiply block) is calculated based on
the Duct Area (Multiply and Internal constant blocks) and Air Velocity (Multiply
block), which is calculated by multiplying a constant 4005 (Internal Constant
block) by the square root (Square Root block) of the Supply Air Velocity Pres-
sure (Hardware Input block).
The Square Root block outputs the square root of the Supply Air Velocity
Pressure, while the Multiply blocks output the Air Velocity, Duct Area, and
Flow respectively.
Q = Air flow
EC-gfxProgram 983
Subtract
Description Used to perform a standard subtraction operation. The block will output the
subtraction value of the connected inputs. The subtraction is calculated as fol-
lows:
NOTE: Be aware that as a result of the calculation, the input values may
cause an overflow or underflow on the Output.
Input(s)
32-Bit 8-Bit
Input1 Numeric ±3.4028×1038 -83886.08 to Block input. The minuend. For a Null
+83886.07 Input value, see below.
Output(s)
32-Bit 8-Bit
984 EC-gfxProgram
Summation
NOTE: Be aware that as a result of the calculation, the input values may
cause an overflow or underflow on the Output.
Input(s)
32-Bit 8-Bit
Input Numeric ±3.4028×1038 -83886.08 to Block input. For a Null Input value, see
+83886.07 below.
Output(s)
32-Bit 8-Bit
Output Numeric ±3.4028×1038 -83886.08 to The summation value of the input. For
+83886.07 ECL, ECB & ECY Series controllers: If
no Input to this block is Null, then the
block’s output is the normal result. If one
or more Inputs to this block are Null,
then the Output of this block is always
Null.
EC-gfxProgram 985
Block properties See also Common block properties.
TimeBase Menu See Second Select the unit of time: Second, Minute
Description or Hour.
0 to 3×1038
The Duct Heater (Hardware Output block) outputs the percentage of power
used by the equipment. The Multiply block multiplies this percentage by the
total power capacity of the equipment (5kW) and outputs the Instantaneous
Kilowatt Usage (Variable Numeric block). The Summation block takes this
value and adds it to the previous value every minute. The Multiply block then
multiplies this result by 24 hours so that after a day has passed, it outputs the
Daily Power Consumption (Variable Numeric block) in kilowatt hours (kWh).
The Real Time Clock, Variable Enum, Not Equal, and Conditional Custom
Blocks make up a sequence whereby the Summation block is reset after a
day has passed.
986 EC-gfxProgram
Tangent (ECL, ECB & ECY Series)
where
EC-gfxProgram 987
Input(s)
Input Numeric ±3.4028×1038 Block input in radians (radian = degrees * / 180). For a
Null Input value, see below.
Output(s)
Output Numeric ±3.4028×1038 The tangent of the input. If the Input to this block is not
Null, then the block’s output is the normal result. If the
Input to this block is Null, then the Output of this block
is always Null.
988 EC-gfxProgram
nLight
The nLight blocks are the ECY Series controller gateway interface to nLight
and/or XPoint Wireless network as well as acting as the IP interface for Sen-
sorView software.
Description Provides an interface to the nLight network. nLight Channels are groups of
nLight devices exposed as Read/Write BACnet objects to the nLight
ECLYPSE controller. Channels are used to logically divide up a local zone or
system of nLight devices, thus simplifying operation by allowing synchronized
control through a single BACnet command. They provide a single integration
point for system integrators to display the occupancy state for a group of
occupancy sensors, or to set/display the relay state or dimming level for a
group of light fixtures. Channels also allow you to reduce the number of BAC-
net objects to map and to simplify device replacement operations.
Depending on the type (Switch or Occupancy) of the nLight channel that has
been discovered and selected for the nLight Channel block, the number and
the type of block inputs and outputs will vary. The nLight channels can be dis-
covered in completely automated (bulk), semi-manual, or manual mode. They
can be defined on-site, through a connection to the network, or off-site, in
which case a match will be needed afterwards.
Input(s)
DimLevel (for Numeric 0 to 100% Sets the channel’s dimming output level (0 to 10
channels of the VDC).
Switch type)
RelayState (for Digital 0 or 1 Switches the lighting on or off for the channel.
channels of the
Switch type)
EC-gfxProgram 989
Output(s)
RelayState (for Digital 0 or 1 Outputs the channel’s relay state value: ON (1) or
channels of the OFF (0).
Switch type)
Occupied.Reli- Enum See Descrip- This provides an indication of whether the occu-
ability (for chan- tion pancy device is connected to the controller (No
nels of the fault detected (0)) or not (Communication failure
Occupancy type) (12)). See also Reliability property. A configura-
tion error identifies that the device’s configuration
is not valid. Only applicable to channels of the
Occupancy type.
Number Menu See Not Set The nLight channel resource number. This num-
Description ber corresponds to the block number and to the
BACnet object ID. Once the nLight channel
resources have been added to your project (see
Adding nLight channels), click the drop-down
arrow to select the channel to use for the block.
990 EC-gfxProgram
Adding nLight channels
There are two methods of adding nLight channels to your resource tree,
depending on whether or not you are currently connected to your nLight net-
work. If you are connected to the network, you are in online mode. In this
case, you can directly import one or more nLight channels, i.e. retrieve the
channel data from the network: see Adding nLight channels from the network
(online mode). If you are not connected to the network, you can perform your
programming offline, in advance, and then match it with the real data on the
network: see Adding nLight channels not connected to the network (offline
mode).
Adding nLight If you are physically connected to your nLight network, you can perform an
channels from automatic addition of nLight channels, i.e discover the nLight channels in your
the network network as they have been defined in SensorView.
(online mode)
The connected nLight channels are discovered via the Resources Configura-
tion window. To add nLight channel resources in online mode, proceed as fol-
lows.
EC-gfxProgram 991
This will open the nLight Channel Selector window. Select the desired
channel(s) and click Add. The added channel(s) will become visible in
the Resource Tree:
Once the needed nLight channels are available in your resource tree, you can
assign them to nLight Channel blocks. See Creating nLight Channel blocks.
Adding nLight You can use EC-gfxProgram to plan an nLight project in advance, before you
channels not connect to the physical nLight network. You can later switch to the online
connected to the mode, by connecting to the nLight network and synchronize your program-
network (offline ming with the real data.
mode)
NOTE: To transition from the offline to the online mode, ensure that all the
entered data are accurate, i.e. they correspond to the real nLight
channels’ data. To verify the consistency of your data, click the
button next to the Status field. For more information as to how to inter-
pret the various possible statuses, refer to Synchronizing a project
with devices on the network.
992 EC-gfxProgram
3. Set the name and the description of your new channel in the correspond-
ing fields.
4. Unfold the Configuration section and set the Mode field to Manual.
[
5. Fill in the rest of the fields as described below.
Parameter Description
Channel mode Set the Channel mode (Global or Local). Channels are defined as
Local or Global in the SensorView software
Channel type Select the channel type: Switch or Occupancy. Switch channels
are used regulate the dimming output level (0 to 10 VDC) and the
relay state of the concerned nLight devices, while Occupancy
channels are used to manage the occupancy state for a group of
occupancy sensors. Selecting the Switch type automatically
creates the appropriate input and output ports, while the
Occupancy type creates output ports only. The ports can then be
displayed on the block using the Configure Ports command.
EC-gfxProgram 993
Parameter Description
NOTE: If you do not know the exact label of your channel, you can
use the Select channel... hyperlink, which will lead you to
the nLight Channel Selector window, where the data that
you have already set will be used as filters for the display.
Select the desired channel(s) and click Add.
Device type This field is visible if the Channel mode is Local. It represents the
type of the interface between the controller and the connected
nLight devices. Choose Local interface if the devices are plugged
directly into the nLight interface of the controller. If they are plugged
into a Bridge, select either First Bridge or Specific: if there is only
one Bridge connected to your controller, it is recommended to
select First Bridge - in this way, the Bridge will be recognized
automatically, and you will not need to specify its identifier; if
several Bridges are connected to your controller, you must select
Specific, and then fill the Bridge identifier in the Device ID field.
The Local interface and First Bridge device types have their own
reserved range of resource numbers (BACnet object IDs). This
feature makes the identification of the channels faster and easier. It
is especially leveraged by the nLight Channel Calculator (ECY
Series) block to quickly identify a channel based on a set of criteria.
Zone (port) Specify the port (zone) number related to your nLight channel (from
1 to 3).
NOTE: Instead of filling in this field, once you are connected to your
network, you can use the Select channel... hyperlink next
to the Device type field, which will lead you to the nLight
Channel Selector window, where the data that you have
already set will be used as filters for the display. After you
have selected a channel, this field will be populated auto-
matically.
994 EC-gfxProgram
Parameter Description
NOTE: Instead of filling in this field, once you are connected to your
network, you can use the Select channel... hyperlink next
to the Device type field. After you have selected a channel,
this field will be populated automatically.
6. As soon as you have connected to your real nLight network, click the
button in the Configuration section. If the status is In sync, the channel
has been successfully found and linked to your device. See Synchroniz-
ing a project with devices on the network for more details.
NOTE: If, at any time during the manual definition of the nLight channel
resource, you connect to your network, it is possible to switch to the
online mode, by setting the Mode field to Auto, and then by clicking
the Import channel... hyperlink next to the Channel mode field. This
will lead you to the nLight Channel Selector window, where the data
that you have already set will be used as filters for the display. Select
the desired channel(s) and click Add.
With this block selected, in the block’s Properties, click the drop-down arrow
for Number and select an nLight channel from among the ones you have pre-
viously defined (see Adding nLight channels). The selected channel will be
the one that the block will represent in your logic.
EC-gfxProgram 995
nLight Channel Selector
The nLight Channel Selector window lists all the available nLight channels
depending on the invocation context of the sector form. The optional filter bar
can be used to find a channel based on a key word such as the channel type
or the channel label. The channels can also be sorted by column title.
The nLight Selector window presents information on the channel mode, the
channel type, the gateway type, the port (or zone), the channel number, and
the channel label.
Parameter Description
996 EC-gfxProgram
Parameter Description
Device type The type of the interface between the controller and the connected
nLight devices. Local interface means that the devices are
plugged directly into the nLight interface of the controller. If the
channels are connected to a Bridge, the value is either First Bridge
(if a single Bridge is connected to the controller) or Specific (if
several Bridges are connected to the controller).
Zone (port) The port (zone) number related to the nLight channel (from 1 to 3,
for a local interface, or 1 to 8 for a bridge).
The selected channels are added to the project. The progress bar allows you
to track the progress of the addition.
The BACnet points are created under each nLight channel resource automat-
ically, depending on the configured channel type (Switch or Occupancy). All
the fields, except for Description, are set automatically.
EC-gfxProgram 997
Parameter Description
Click nLight > Channels in the resource tree to have an overview of the
nLight channels in your project, as well as their status on the network, in the
Resource Summary section. These statuses can help you tell at a glance
whether your channels are properly synchronized with the network and find
the channels, if any, that require some troubleshooting.
998 EC-gfxProgram
Status Meaning
Unconfirmed The initial status. Remains unchanged until the first synchronization
attempt or until a click on the button.
Not in sync The nLight channel is not found on the network. The configuration
does not match anything discovered by the controller.
Partially in sync A channel with the specified configuration has been found on the
network, but its features do not completely match the configured
points.
To view which point(s) are not in sync, drill down in the channel’s
points in the resource tree until you find the point(s) with the
dedicated indicator.
In sync A channel with the specified configuration and features that entirely
match the configured points has been found on the network.
EC-gfxProgram 999
Description This block allows the system to compute the resource number of a reserved
nLight channel. This number represents the unique BACnet object ID that the
system will select from a reserved range [1-539] and assign it to an nLight
channel resource. Based on a specific configuration defined through its input
ports, the block is capable of computing the resource number of the corre-
sponding nLight channel resource.
NOTE: The nLight Channel Calculator block is designed for nLight chan-
nels whose nLight devices are plugged either directly into the nLight
interface of the controller or into the “first” Bridge. In other terms, the
calculation is only possible for reserved nLight channels, whose
Device type is Local interface of First bridge. It cannot be used to
compute the resource number of Global channels or Local channels
with the Specific Bridge interface type. For more details regarding
channel and device types, see the configuration of the nLight Channel
(ECY Series) block.
Advanced Configure Ports, Show/Hide Ports, Generic nLight Channel (ECY Series),
configuration nLight Channel (ECY Series)
Input(s)
1 = Switch
2 = Occupancy
1000 EC-gfxProgram
Port Type Range Description
DeviceType Integer 1 or 2 The device type, i.e. the type of the interface
between the controller and the connected nLight
devices. Possible values:
1 = Local interface
2 = First bridge
NOTE: For more details about these parameters, refer to the Advanced con-
figuration paragraph of the nLight Channel (ECY Series) block sec-
tion.
Output(s)
nLight Channel Based on the values assigned to its input parameters (in this example, the
Resource values are provided by Internal Constant blocks referring to the nLight
Number Channel Type and nLight Channel Device Type enumerations), the nLight
Calculator Channel Calculator block computes the nLight channel resource number
Example (BACnet object ID) and sends it, through the Number output, to the Generic
nLight Channel block, which uses it to automatically identify and represent
the concerned nLight channel. As a result, the Generic nLight Channel out-
puts the actual values of the dimming level and relay state of the selected
Switch channel. The Occupied parameter is null since the channel is not of
the Occupancy type.
EC-gfxProgram 1001
nLight Device (ECY Series)
Description Provides an interface to the nLight network. nLight devices can be connected
to certain ECY Series controller models. See your controller’s datasheet for
more information about the number and type of nLight devices that are sup-
ported.
Depending on the nLight device type discovered and selected, the number
and type of block inputs and outputs will vary accordingly. See the nLight
device documentation for a complete list of control inputs and outputs and
their definition.
When available, nLight devices internally manage alarms related to its opera-
tion. Such alarms are not BACnet alarm objects that are configured in EC-gfx-
1002 EC-gfxProgram
Program. However, the alarms are reported through the nLight Device block’s
alarm output ports as status information.
Advanced Resources Configuration, Adding nLight devices from the network, Alarms
configuration (ECB & ECY Series), Emergency override and emergency auto (ECB & ECY
Series), Override and auto, Set Value, Find All References (ECL, ECB & ECY
Series), Copy From, Configure Ports, Show/Hide Ports
Input(s)
Dimming Output Numeric 0 to 100% Sets the device’s dimming 0 to 10 VDC output level.
Level (for devices
that support
dimming)
Output(s)
Dimming Output Numeric 0 to 100% Actual light output value. This takes into account
Level P1 any nLight network commands from, for example,
an nLight network push button switch.
Relay State P1 Digital 0 or 1 Actual relay state. This takes into account any
nLight network commands from, for example, an
nLight network push button switch.
Dimming Input Numeric 0 to 100% This is the current value read at the device’s
Level (for devices dimming analog input.
that support a
dimming input)
EC-gfxProgram 1003
Port Type Range Description
[ANY]. Reliability Enum See This provides an indication of whether the device
Description is connected to the controller (No fault detected
(0)) or not (Communication failure (12)). See
also Reliability property. Configuration error
identifies that the device’s configuration is not
valid.
[ANY].Fault Digital 0 or 1 Logical True (1) if the Reliability Property does not
have a value of No Fault Detected, otherwise
logical False (0).
[ANY]. InAlarm Digital 0 or 1 When Enable Alarms is set for this block and the
present value is outside of the High limit and
Low limit settings and taking into consideration
the Dead band and Time delay settings, this
output is On (1). See Alarms (ECB & ECY Series)
to configure the alarm settings.
[ANY]. ChangeOf Numeric 3.4028×1038 Cumulates the number of this value’s state
StateCount changes.
[ANY]. Elapsed Numeric 3.4028×1038 Cumulates the time this value is set to true (1).
ActiveTime
Number Menu See Not Set The extension nLight module instance. Once the
Description nLight network has been discovered, click the
drop-down arrow to select the nLight module to
use for the selected block. See Adding nLight
devices from the network.
1004 EC-gfxProgram
2. In the Resources Configuration window, right-click nLight Devices and
select Import From Device.
Figure 552: Select Import From Device
The nLight Selector Window will appear with all available nLight devices
displayed. The optional search bar can be used to find a device, or they
can be sorted by column title.
Select the desired device or devices, and click Add.
Figure 553: Use the nLight Device Selector to select desired nLight Devices
EC-gfxProgram 1005
The selected devices are added to the project. You can track the progress
of the addition using the progress bar.
Figure 554: nLight Device Selector status bar
1006 EC-gfxProgram
4. Select the nLight Device block on the Programming Sheet and in the
block’s Properties, click the drop-down arrow for Number. This block
instance will use the nLight device selected in this window.
Figure 557: Setting the nLight device to use with the selected block
The input and output ports on the nLight Device block appear according
to the control inputs and outputs supported by the selected nLight device
type.
You can use EC-gfxProgram to plan an nLight project in advance, before you
connect to the physical nLight network. In that context, you can add devices
and either apply a pre-existing template to them, or manually create points to
represent the features you need to create your logic.
EC-gfxProgram 1007
• To import the points from a device connected to the network, set the
mode to Automatic and select Import Device to access the nLight
Device Selector. See Adding nLight devices from the network.
Manually adding 1. Specify the Model of the nLight Device. This is used to classify the
points to devices devices in your project.
2. Right-click the new device and select Add Point.
Repeat this step as needed to add the relevant points for your project.
4. From the Toolbox, drag an nLight Device block on the Programming
Sheet.
5. Select the nLight Device block on the Programming Sheet and in the
block’s Properties, click the drop-down arrow for Number. This block
instance will use the nLight device selected in this window.
1008 EC-gfxProgram
The input and output ports on the nLight Device block appear according
to the control inputs and outputs added for the selected nLight device
type.
Saving an nLight Once you have fully configured your nLight device, you can save the configu-
device ration as a template that you can then apply to other nLight devices in your
configuration as project. Proceed as follows:
a template
1. Right-click the device to use as a template and select Save as device
template.
2. Name your template and select the location where you want to save it.
Click OK.
NOTE: To modify an existing template, specify its exact identifier in the Save
as nLight device template window, and click Yes to replace the exist-
ing template.
EC-gfxProgram 1009
4. Select the nLight Device block on the Programming Sheet and in the
block’s Properties, click the drop-down arrow for Number. This block
instance will use the nLight device selected in this window.
The input and output ports on the nLight Device block appear according
to the control inputs and outputs added for the selected nLight device
type.
Applying a saved Templates are provided for most nLight device models. You can also save
configuration to your own configurations as device templates (see above). To apply a template
a device to a device, proceed as follows:
2. Select the nLight template you want to apply to the device. Click OK.
1010 EC-gfxProgram
NOTE: No link is kept between devices and the templates applied to them.
That is, if a template is modified after it was applied to one or more
devices, these modifications are NOT applied to the devices in ques-
tion.
4. Select the nLight Device block on the Programming Sheet and in the
block’s Properties, click the drop-down arrow for Number. This block
instance will use the nLight device selected in this window.
The input and output ports on the nLight Device block appear according
to the control inputs and outputs added for the selected nLight device
type.
EC-gfxProgram 1011
Synchronizing a You can select nLight > Devices in the resource tree to have an overview of
project with the nLight devices in your project, as well as their status on the network.
devices on the These statuses can help you view at a glance whether your devices are prop-
network erly synchronized with the network and find the devices, if any, that require
some troubleshooting.
Status Meaning
Not in sync The nLight device is not found on the network. There
might be a mistake in the configuration.
1012 EC-gfxProgram
Status Meaning
Partially in sync A device with the specified ID has been found on the
network, but its features do not completely match the
configured points.
To view which point(s) are not in sync, drill down in the
device’s points in the resource tree until you find the
In sync A device with the specified ID, and with features that
match the configured points, has been found on the
network.
Note that if you configure generic devices with very few
points, they may be In Sync with several different types
of nLight devices that count those points among their
many features. (ex: a device that only has the point
Online will be In Sync with every type of nLight devices
since they all have an Online feature).
When you create nLight devices, whether you add their points manually or
apply a template to them, you must then synchronize your configurations with
the devices on the network. To do so, proceed as follows:
EC-gfxProgram 1013
2. After you have identified your devices, you must refresh their status to
synchronize them with the network.
• To refresh the status for all the devices in your project at the same
time, right-click nLight > Devices in the resource tree, and select
Refresh Statuses.
When you synchronize your configuration with a device on the network, the
label, if any, is provided by SensorView. It cannot be modified in EC-gfxPro-
gram.
Description Provides an interface to the nLight network. nLight Profiles are used to control
groups of nLight Devices. For instance, they can turn on a group of lights
based on the output from an occupancy sensor or a schedule.
Advanced Resources Configuration, Manually adding nLight Profiles, Set Value, Find All
configuration References (ECL, ECB & ECY Series), Copy From, Configure Ports, Show/
Hide Ports
1014 EC-gfxProgram
Input(s)
Output(s)
EC-gfxProgram 1015
The nLight Profile Selector window will appear with all available nLight
profiles displayed. The optional search bar can be used to find a profile,
or they can be sorted by column title.
Select the desired profile or profiles, and click Add.
4. Select the nLight Profile block on the Programming Sheet and in the
block’s Properties, click the drop-down arrow for Number. This block
instance will use the nLight profile selected in this window.
1016 EC-gfxProgram
Manually adding nLight Profiles
You can use EC-gfxProgram to plan an nLight project in advance, before you
connect to the physical nLight network. In that context, you can add profiles
and synchronize them with the devices connected to the network later on.
When you connect to the nLight network, you can click to syn-
chronize your profile with the network.
• You can click Select profile to open the nLight Profile Selector win-
dow. You can then select the profile to synchronize with your nLight
profile resource. Note that you must already be connected to the
nLight network to perform this option.
EC-gfxProgram 1017
Psychrometric
Metric (SI) and The following units are used for Psychrometric blocks.
US (Imperial)
Units Property Metric (SI) US (Imperial)
Air Density Kg of dry air/m3 (Kg/ m3) lb of dry air/ft3 (lb/ ft3)
Dew point °C °F
HeatIndex °C °F
Relative % RH % RH
Humidity
Specific Volume m3/Kg of dry air (m3/Kg) ft3/lb of dry air (ft3/lb)
Temperature °C °F
Wetbulb °C °F
1018 EC-gfxProgram
Actual Vapor Pressure (ECL, ECB & ECY Series)
Description Used to calculate the air density when supplied with the relative humidity and
dry air bulb temperature.
The actual vapor pressure is the partial pressure exerted by the water vapor
component present in air.
Input(s)
Effective
Port Type Description
Rangea
Output(s)
Effective
Port Type Description
Rangea
Output Numeric 0 to 45mm of Actual vapor pressure reading (in millimeters of mercury
mercury or inches of mercury).
0 to 1.9inches
NOTE: The pressure unit follows the measurement sys-
of mercury
tem of the project found in Project properties.
a. The Effective Range is the range in which block operates appropriately. Use
the Limit block if necessary to limit the range as necessary.
EC-gfxProgram 1019
Air Density (ECL, ECB & ECY Series)
Description
Used to calculate the air density when supplied with the dry air bulb tempera-
ture and atmospheric pressure.
Input(s)
a. The Effective Range is the range in which block operates appropriately. Use
the Limit block if necessary to limit the range as necessary.
1020 EC-gfxProgram
Output(s)
Output Numeric 0.83 to 1.38Kg/m3 Air density reading (kg of dry air/m3 (Kg/m3) or lb of
0.0519 to 0.0862lb/ dry air/ft3 (lb/ft3)).
ft3
NOTE: The air density unit follows the measurement
system of the project found in Project prop-
erties.
a. The Effective Range is the range in which block operates appropriately. Use
the Limit block if necessary to limit the range as necessary.
EC-gfxProgram 1021
Dew Point (ECL, ECB & ECY Series)
Description Used to calculate the air dew point (at atmospheric pressure) when supplied
with the dry air bulb temperature and humidity.
The dew point is the temperature at which air must be cooled, at constant
atmospheric pressure, for water vapor to condense into water.
Input(s)
32-Bit 8-Bit
Humidity Numeric 1 to 100% 6.4 to 100% Air relative humidity (in %).
Temp Numeric 0 to 60°C 0 to 45°C Dry air bulb temperature (in °C or °F).
32 to 140°F 32 to 113°F
NOTE: The temperature unit follows
the measurement system of
the project found in Project
properties.
a. The Effective Range is the range in which block operates appropriately. Use
the Limit block if necessary to limit the range as necessary.
1022 EC-gfxProgram
Output(s)
32-Bit 8-Bit
Output Numeric -45.28 to 60°C 0 to 45°C Air dew point reading (in °C or °F).
-49.51 to 140.1°F 32 to 113°F
NOTE: The dew point unit follows the
measurement system of the
project found in Project Prop-
erties.
For ECL, ECB & ECY Series
controllers: If the Humidity
input is 0%, the Output is Null.
For ECP Series controllers:
This block has an accuracy of
±0.75°C or ±1.35°F.
a. The Effective Range is the range in which block operates appropriately. Use
the Limit block if necessary to limit the range as necessary.
Example The Dew Point block is used to calculate the dew point temperature of the air.
The example below shows how the Room Dew Point temperature (Dew Point
block) is calculated and sent to a Constant Numeric (ECP Series) block based
on the Room Relative Humidity and Room Temperature (Hardware Input
blocks).
EC-gfxProgram 1023
Enthalpy (ECL, ECB & ECY Series)
Description Used to calculate air enthalpy when supplied with the dry air bulb tempera-
ture, relative humidity, and atmospheric pressure.
Input(s)
32-Bit 8-Bit
Press Numeric 87 to 108.63 kPa 87 to 108.63 kPa Atmospheric pressure (in kPa
or psi).
12.62 to 15.76 psi 12.62 to 15.75 psi
NOTE: The pressure unit fol-
lows the measure-
ment system of the
project found in Proj-
ect properties.
a. The Effective Range is the range in which block operates appropriately. Use
the Limit block if necessary to limit the range as necessary.
1024 EC-gfxProgram
Output(s)
32-Bit 8-Bit
Output Numeric 0 to 543.5 kJ/kg 5 to 108.22 kJ/kg Air enthalpy reading (in kJ/kg or
BTU/lb).
7.64 to 241.32 9.81 to 54.19
BTU/lb BTU/lb
NOTE: The enthalpy unit fol-
lows the measurement
system of the project
found in Project proper-
ties.
For ECP Series control-
lers: This block has an
accuracy of ±3%.
a. The Effective Range is the range in which block operates appropriately. Use
the Limit block if necessary to limit the range as necessary.
Example The Enthalpy block is used to calculate the air enthalpy. The example below
shows how the Outdoor Air Enthalpy (Enthalpy block) is calculated and sent
to a Variable Numeric (ECP Series) block based on the Outdoor Air Relative
Humidity, Outdoor Air Temperature (Hardware Input blocks) and atmospheric
pressure (Internal constant block).
EC-gfxProgram 1025
Heat Index (ECL, ECB & ECY Series)
Description Used to calculate heat index when supplied with the relative humidity and dry
air bulb temperature.
Input(s)
Output(s)
Output Numeric 25.68 to 339.05°C Air heat index reading (in °C or °F).
78.2 to 642.3°F
NOTE: The heat index unit follows the measurement
system of the project found in Project prop-
erties.
a. The Effective Range is the range in which block operates appropriately. Use
the Limit block if necessary to limit the range as necessary.
1026 EC-gfxProgram
Humidity Ratio (ECL, ECB & ECY Series)
Description Used to calculate humidity ratio when supplied with the relative humidity, dry
air bulb temperature, and atmospheric pressure.
The humidity ratio is the ratio of water vapor mass, per kilogram of dry air, at a
given atmospheric pressure.
Input(s)
a. The Effective Range is the range in which block operates appropriately. Use
the Limit block if necessary to limit the range as necessary.
EC-gfxProgram 1027
Output(s)
Output Numeric 0 to 185g/Kg Air humidity ratio reading (in g/Kg or Grains/lb).
0 to
NOTE: The humidity ratio unit follows the mea-
1256.07Grains/lb
surement system of the project found in
Project properties.
a. The Effective Range is the range in which block operates appropriately. Use
the Limit block if necessary to limit the range as necessary.
1028 EC-gfxProgram
Relative Humidity (ECL, ECB & ECY Series)
Description Used to calculate relative humidity when supplied with the dry air bulb tem-
perature, atmospheric pressure, and the air’s enthalpy.
The relative humidity is the ratio of the actual amount of water vapor in the air
divided by the amount of water vapor the air can hold when fully saturated
with moisture for a given air temperature, expressed as a percentage.
Input(s)
a. The Effective Range is the range in which block operates appropriately. Use
the Limit block if necessary to limit the range as necessary.
EC-gfxProgram 1029
Output(s)
a. The Effective Range is the range in which block operates appropriately. Use
the Limit block if necessary to limit the range as necessary.
1030 EC-gfxProgram
Saturation Vapor Pressure (ECL, ECB & ECY
Series)
Description Used to calculate saturation air pressure when supplied with the dry air bulb
temperature, atmospheric pressure, and the air enthalpy.
The saturation air pressure is the equilibrium vapor pressure for a given air
temperature above the flat surface of a body of water.
Input(s)
Output(s)
Output Numeric 4.58 to 148.78mm Saturation vapor pressure reading (mm of mercury
of mercury or inch of mercury).
0.18 to 5.86inch of If no Input to this block is Null, then the block’s
mercury output is the normal result. If one or more Inputs to
this block are Null, then the Output of this block is
always Null.
a. The Effective Range is the range in which block operates appropriately. Use
the Limit block if necessary to limit the range as necessary.
EC-gfxProgram 1031
Wet Bulb (ECL, ECB & ECY Series)
Description Used to calculate the wet bulb temperature (at atmospheric pressure) when
supplied with the dry air bulb temperature and humidity.
The wet bulb is the minimum temperature that can be achieved by purely
evaporative cooling of a ventilated water-wetted surface.
Input(s)
32-Bit 8-Bit
a. The Effective Range is the range in which block operates appropriately. Use
the Limit block if necessary to limit the range as necessary.
1032 EC-gfxProgram
Output(s)
32-Bit 8-Bit
a. The Effective Range is the range in which block operates appropriately. Use
the Limit block if necessary to limit the range as necessary.
Example The Wet Bulb block is used to calculate the wet bulb temperature of the air.
The example below shows how the Outdoor Air Wet Bulb temperature (Wet
Bulb block) is calculated and sent to a Variable Numeric (ECP Series) block
based on the Outdoor Air Relative Humidity and Outdoor Air Temperature
(Hardware Input blocks).
EC-gfxProgram 1033
SNVT Conversions (ECP Series specific blocks)
For LONWORKS networks with ECP Series controllers, the SNVT Conversion
blocks are used to process structured 2-byte long SNVT types.
1034 EC-gfxProgram
SNVT_scene Demux (ECP Series)
Description Used to separate a SNVT_scene type into its two components: Function and
Scene_number.
Input(s)
Output(s)
Example The SNVT_scene Demux block is used to separate a network variable of the
SNVT_scene type. The example below shows how nviLightControl (Network
Variable Input block) is demuxed (SNVT_scene Demux block) so that its
Scene_number can be used to control (Internal constant, Equal, And, Condi-
tional Custom Block, and Variable Numeric (ECP Series) blocks) a Light
(Hardware Output block).
EC-gfxProgram 1035
Figure 561: SNVT_scene Demux block example
The SNVT_scene Demux block receives a value from the Network Variable
Input block and separates it into its Function and Scene_number outputs. If
the Network Variable Input block is updated, the Function is SC_RECALL
and the Scene_number is 5, then the Scene 5 Lighting Conditional Custom
Block is Enabled and the Light (Hardware Output block) turns On. If the Net-
work Variable Input block is updated, the Function is SC_RECALL and the
Scene_number is 6, then the Scene 6 Lighting Conditional Custom Block is
Enabled and the Light (Hardware Output block) turns Off.
1036 EC-gfxProgram
SNVT_scene Mux (ECP Series)
Description Used to merge a SNVT_scene type from its two components: Function and
Scene_number.
Output(s)
Example The SNVT_scene Mux block is used to merge a network variable of the
SNVT_scene type. The example below shows how nvoLightControl (Network
Variable Output block) is muxed (SNVT_scene Mux block) based on a Bool-
ean (Multiplexer and Internal constant blocks) Schedule (Schedule block).
The SNVT_scene Mux block receives a SC_RECALL value into its Function
input from the Internal Constant block and a value of 5 into its Scene_num-
ber input from the Multiplexer block, which makes Boolean values out of the
input it receives from the Schedule block. This Function and Scene_number
are then joined to create a network variable of the SNVT_scene type and is
sent to the Network Variable Output block.
EC-gfxProgram 1037
SNVT_state Demux (ECP Series)
Description Used to separate a SNVT_state type into its 16 bits: Bit0 - Bit15.
Input(s)
Output(s)
1038 EC-gfxProgram
Example The SNVT_state Demux block is used to separate a network variable of the
SNVT_state type. The example below shows how nviFanSpeedCmd (Net-
work Variable Input block) is demuxed (SNVT_state Demux block) so that
its bits can be used to control 2 Evaporative Condenser Fans of 4 speeds
each (Hardware Output blocks).
The SNVT_state Demux block receives a value from the Network Variable
Input block and separates it into its appropriate bits. These bits are then sent
to Hardware Output blocks to control the speeds of evaporative condenser
fans.
EC-gfxProgram 1039
SNVT_state Mux (ECP Series)
Description Used to merge a SNVT_state type from its 16 bits: Bit0 to Bit15.
Input(s)
Output(s)
1040 EC-gfxProgram
Example The SNVT_state Mux block is used to merge a network variable of the
SNVT_state type. The example below shows how nvoAlarmStatus (Network
Variable Output block) is muxed (SNVT_state Mux block) based on alarms
(Numeric Fault, Digital Fault, and Internal constant blocks) received from
Hardware Input and Hardware Output blocks.
The SNVT_state Mux block receives digital values from Digital Fault,
Numeric Fault, and Hardware Input blocks into its first 8 Bit inputs. These
Bits are then joined to create a network variable of the SNVT_state type and
is sent to the Network Variable Output block.
EC-gfxProgram 1041
SNVT_switch Demux (ECP Series)
Description Used to separate a SNVT_switch type into its two components: Value and
State.
Input(s)
Output(s)
Example The SNVT_switch Demux block is used to separate a network variable of the
SNVT_switch type. The example below shows how nviFanState (Network
Variable Input block) is demuxed (SNVT_switch Demux block) so that its
State can control a Fan and its Value can control a Variable Frequency Drive
(Hardware Output blocks).
The SNVT_switch Demux block receives a value from the Network Variable
Input block and separates it into its Value and State outputs. The Value is sent
to control the speed of a Variable Frequency Drive (Hardware Output block)
and the State is sent to turn a Fan (Hardware Output block) On and Off.
1042 EC-gfxProgram
SNVT_switch Mux (ECP Series)
Description Used to merge a SNVT_switch type from its two components: Value and
State.
Input(s)
a. For this input, any value equal to or less than -1 is evaluated as -1. Any value
between -0.99 and 0.99 is evaluated as 0 or False. Any value equal to or
greater than 1 is evaluated as 1 or True.
Output(s)
Example The SNVT_switch Mux block is used to merge a network variable of the
SNVT_switch type. The example below shows how nvoSupplyFanCmd (Net-
work Variable Output block) is muxed (SNVT_switch Mux block) based on
the output of a Supply Fan (Hardware Output, Multiply, and Internal con-
stant block).
Figure 566: SNVT_switch Mux block example
The SNVT_switch Mux block receives an On (1) value into its State input
from the Hardware Output block and a value of 100 into its Value input from
the Multiply block, which multiplies the On (1) value received from the Hard-
ware Output block by 100. This Value and State are then joined to create a
network variable of the SNVT_switch type and is sent to the Network Vari-
able Output block.
EC-gfxProgram 1043
Time
Time blocks are used to configure delays, schedules, and time events.The fol-
lowing blocks are available in this category:
1044 EC-gfxProgram
Calendar (ECL Series)
Description A calendar defines a number of “special events”. Typically they are used to
define days with scheduling exceptions (for example, holidays), and reference
them in a schedule. The calendar for this block must be configured for it to
operate; see Calendar and Schedule Tool (ECL, ECB & ECY Series).
This block is used to link the controller’s calendar to the code. The SNVT type
that has been selected in the Change Type (ECP & ECL Series) window is
shown at the bottom of the block as shown below.
Advanced Resources Configuration, Calendar and Schedule Tool (ECL, ECB & ECY
configuration Series), Advanced configuration, Change Type (ECP & ECL Series), Find All
References (ECL, ECB & ECY Series), Copy From, Configure Ports, Show/
Hide Ports
Related blocks Schedule (ECL Series), Real Time Clock (ECL Series)
Input(s) N/A
Output(s)
Current State Enum See Current calendar status state as provided by the
description building controller. Only the enumeration
LonOccupancyEnum is supported. See Figure 617.
The default value for current_state (set in Advanced
configuration) indicates that the calendar is not
currently configured.
EC-gfxProgram 1045
Port Type Range Description
TimeToNext Numeric -1 to 7 The number of days before the next state. The
State default value for time_to_next_state (set in
Advanced configuration) indicates that the calendar
is not currently configured.
Number Integer See The block number. See Number of blocks for the
description number of block instances supported by the current
controller model. Use this drop-down menu to select
an instance of this block.
Advanced The Calendar Configuration window allows the minimum and maximum send
configuration times to be specified. Network congestion occurs when network variables are
transmitted too frequently on the network. Network congestion can be
reduced by only transmitting network variables as frequently as is necessary
to meet the system requirements. Set the network properties as shown below
(refer to the controller’s Functional Profile in its datasheet). See also Typical
controller internal points. The Default Output values become active once the
calendar has been configured - See Calendar and Schedule Tool (ECL, ECB
& ECY Series).
1046 EC-gfxProgram
Figure 567: Calendar configuraiton window
Parameter Description
EC-gfxProgram 1047
Configuring a A calendar is linked to a schedule in EC-Net so that the calendar can override
Calendar on the the weekly schedule. This is used for example, for holiday or vacation sched-
EC-Net Station ules where the same calendar is reused for both holiday and vacation sched-
(ECL Series) ules. Only a limited number of schedule special events can be saved on a
controller. It is more efficient to reuse a calendar in this way as it saves space
to allow for more schedule special events. See Using schedules and calen-
dars. The number of special events a controller can support varies depending
on the controller model - see the controller’s datasheet for more information.
The following configuration methods are available to create, edit, and transfer
calendar information into a controller:
• The controller must have the latest firmware downloaded into it. See
Upgrade firmware (for ECL Series or ECB Series controllers only).
• EC-Net must have the latest support pack installed.
• The controller object must be in a BcpLonNetwork.
• The associated calendars and schedules must have been previously con-
figured in the controller.
When a EC-Net building controller is not available, use the Calendar and
Schedule Tool. See Calendar and Schedule Tool (ECL, ECB & ECY Series).
1048 EC-gfxProgram
Preferred The general order in which you should configure schedules and calendars is:
schedule and (1) Set the time and date in the controller’s real time clock (see Setting the
calendar time in the controller), (2) configure the schedules (see Creating schedules in
configuration EC-Net (ECL Series)), (3) optionally configure the calendars (see below), and
order (ECL then link a calendar to a schedule (see below).
Series)
If the controller has no calendars in it, follow the procedure to create them.
See Creating schedules in EC-Net (ECL Series).
1. Click the Open Palette button in the Palette side bar to open the Open
Palette selection window.
Figure 568: Opening the Open Palette window
NOTE: If the Palette side bar is not open in the Side Bar Pane, click
WindowsSide Bars Palette to add the Palette side bar.
EC-gfxProgram 1049
2. Select the distechControls palette from the Open Palette selection win-
dow and click OK. This will add the distechControls palette to your Pal-
ette side bar.
Figure 569: Open Palette window: select distechControls
1050 EC-gfxProgram
NOTE: The controller tree is found within the Driver > BcpLonNetwork tree of
the station.
4. Name the calendar and click OK. The CalendarSchedule object is added
to the database.
Figure 571: Accepting the installation of the CalendarSchedule object on the
station
EC-gfxProgram 1051
6. Click Discover. The Discovered pane shows the schedules and cal-
endars available for this controller.
Figure 573: Discovering the available calendars and schedules
7. Click a calendar instance in the Discovered pane that you want to config-
ure and drag it to the Database pane.
Figure 574: Adding a calendar to the Database
1052 EC-gfxProgram
8. In the Add popup window, modify the Supervisor Ord by clicking open.
Figure 575: Adding the calendar to the Database
NOTE: The schedule is synchronized with the device every time you modify
and save it. We recommend setting a daily schedule synchronization
so the calendar will be automatically pushed into the controller should
EC-gfxProgram 1053
the controller have to be replaced for maintenance purposes. Setting
this to once daily helps to minimize network traffic.
1054 EC-gfxProgram
Calendar (ECB & ECY Series)
Description A calendar defines a number of “special events”. Typically they are used to
define days with scheduling exceptions (for example, holidays), and reference
them in a schedule. The calendar for this block must be configured for it to
operate: see Calendar and Schedule Tool (ECL, ECB & ECY Series). This
block is used to link the controller’s calendar to the code.
Advanced Resources Configuration, Calendar and Schedule Tool (ECL, ECB & ECY
configuration Series), Configure Ports, Show/Hide Ports
Number of For ECB Series controllers: The number of Calendar block instances sup-
blocks ported by a controller is shown in the Statistics pane.
For ECY Series controllers: see Supported number of BACnet objects with an
ECY Series controller.
Related blocks Schedule (ECB & ECY Series), Real Time Clock (ECB & ECY Series)
Input(s) N/A
Output(s)
Number Integer See The block number. See Number of blocks for the
description number of block instances supported by the
current controller model. Use this drop-down
menu to select an instance of this block.
EC-gfxProgram 1055
Block properties See Common block properties.
Configuring a A calendar is linked to a schedule in EC-Net so that the calendar can override
Calendar on the the weekly schedule. This is used for example, for holiday or vacation sched-
EC-Net Station ules where the same calendar is reused for both holiday and vacation sched-
(ECB Series) ules. Only a limited number of schedule special events can be saved on a
controller. It is more efficient to reuse a calendar in this way as it saves space
to allow for more schedule special events. See Using schedules and calen-
dars.
The following configuration methods are available to create, edit, and transfer
calendar information into a controller:
• The controller must have the latest firmware downloaded into it. See
Upgrade firmware (for ECL Series or ECB Series controllers only).
• EC-Net must have the latest support pack installed.
• The controller object must be in a BcpBacnetNetwork.
When a EC-Net building controller is not available, use the Calendar and
Schedule Tool. See Calendar and Schedule Tool (ECL, ECB & ECY Series).
Preferred The general order in which you should configure schedules and calendars is:
Schedule and (1) Set the controller’s real time clock through time synchronization service
Calendar (see Configuring time synchronization with EC-Net, (2) configure the sched-
Configuration ules (see Schedule (ECB & ECY Series)), (3) optionally configure the calen-
Order (ECB dars (see below), and then link a calendar to a schedule (see below).
Series)
1056 EC-gfxProgram
Method to Create When the controller has no calendars in it, calendars can be created in EC-
Calendars in EC- Net by following the Creating Calendars in EC-Net (ECB Series) procedure to
Net (ECB Series) create them.
NOTE: When you remove a Calendar Block from the Programming Sheet, it
remains exposed to the BACnet network. To stop exposing this BAC-
net object to the network, use the EC-gfxProgram Synchronization
feature with Clear schedule’s configuration option selected. See
Project Synchronization for more information.
Whether the Calendar block is present on the Programming sheet or
not (the calendar is still exposed to the BACnet network, for example,
by synchronizing it at least once before deleting it), it will override the
Schedule block for any events configured in the calendar.
When a Calendar block is on an EC-gfxProgram programming sheet,
no connection needs to be made to the Calendar block for it to work
(this link is made in EC-Net by linking the Calendar to the Calendar-
Schedule – see Linking a calendar to a schedule in EC-Net (optional -
ECB Series)).
EC-gfxProgram 1057
4. Create a EC-Net based calendar anywhere on the Station that will be
used to link to the controller’s calendar: Right-click a node in the Nav tree
and select Views, Wire Sheet.
Figure 580: Opening a Wire Sheet
5. Click the Open Palette button in the Palette side bar to open the Open
Palette selection window.
Figure 581: Opening the Open Palette window
NOTE: If the Palette side bar is not open in the Side Bar Pane, click Win-
dowsSide BarsPalette to add the Palette side bar.
6. Select schedule from the Open Palette selection window and click OK.
This will add the schedule palette to your Palette side bar.
Figure 582: Opening Palette window: Selecting schedule
1058 EC-gfxProgram
7. From the schedule Palette, drag a CalendarSchedule object to the Wire
Sheet.
Figure 583: Adding a CalendarSchedule to the Wire Sheet
EC-gfxProgram 1059
10. Select the Bacnet Schedule Export Manager.
Figure 586: Selecting the BACNet Schedule Export Manager
11. Click Discover to find all Schedule and Calendar Blocks that have been
synchronized with the controller.
Figure 587: Discovering all Schedule and Calendar blocks that were created on the controller
1060 EC-gfxProgram
12. Select the discovered Calendar and click the list arrow next to Add.
Select Device.
Figure 588: Adding the calendar to the Database
Parameter Description
EC-gfxProgram 1061
15. Link the controller’s calendar to the CalendarSchedule that was created
on the Station. Select CalendarSchedule and click OK.
Figure 590: Linking the controller‘s calendar to the CalendarSchedule
1062 EC-gfxProgram
17. Set the Skip Writes parameter: Click .
Figure 591: Setting the Skip Writes parameter
18. Set the Skip Writes parameter as shown below. Click OK.
Figure 592: Setting the Skip Writes parameter values
If this is the first time you are setting this parameter, you will have to cre-
ate the parameters shown above, one row at a time, in the order shown.
To do so, click to add a new row and set the Key, Type, and Value.
You must type the Key values exactly as shown, respecting upper and
lowercase case characters.
19. Set the Execution Time to Daily at 1 AM with a Randomization interval
of 5 minutes.
NOTE: The calendar is synchronized with the device every time you modify
and save it. We recommend setting a daily calendar synchronization
so the calendar will be automatically pushed into the controller should
the controller have to be replaced for maintenance purposes. Setting
this to once daily helps to minimize network traffic.
EC-gfxProgram 1063
20. Set the calendar’s Name and click OK.
21. Make the calendar operational: Right click the calendar in the database
and select Actions, Execute.
Figure 593: Enabling the calendar
22. Right-click the CalendarSchedule, and select View > AX Slot Sheet.
Figure 594: Opening the CalendarSchedule’s slot sheet
1064 EC-gfxProgram
23. Right-click the slot shown as Action, Execute and select Config Flags.
Figure 595: Opening the CalendarSchedule‘s slot sheet
EC-gfxProgram 1065
26. Right-click CalendarSchedule and select Link Mark.
Figure 596: Selecting the Link Mark for the CalendarSchedule
27. Right-click the Calendar Export Object and select Link From “Calendar-
Schedule”.
Figure 597: Linking the CalendarSchedule to the calendar
1066 EC-gfxProgram
28. In the Link popup, under CalendarSchedule [Source] select Execute
and under the Calendar Export Object [Target] select Execute.
Figure 598: Linking the CalendarSchedule to the calendar
EC-gfxProgram 1067
Adding events to Configure the new calendar schedule as necessary for the controller. Click
the calendar Add to add events. When done, click Save.
(ECB Series)
1068 EC-gfxProgram
Min Off Time
Description Used to maintain the output in the Off state for a user-defined duration after a
falling edge (On-to-Off transition).
The current time unit configured through the TimeBase property in the Prop-
erties pane is shown at the bottom of the block as shown below.
TimeBase Setting
Input(s)
32-Bit 8-Bit
EC-gfxProgram 1069
Port Type Range Description
32-Bit 8-Bit
MinOff Integer 0 to 3×1038s 0 to 65535s The minimum time that the output
will be maintained in the Off
0 to 1092.25m
0 to 5×1036m position before it can be turned On.
0 to 18.20h The units are set in TimeBase of
0 to
the block’s properties.
8.3333×1034h
Output(s)
32-Bit 8-Bit
TimeBase Menu See Second Select the unit of time: Second, Minute or
Description Hour.
1070 EC-gfxProgram
Min Off Time If no Input to a Min Off Time block is Null, then the block’s output is the nor-
block operations mal result. If one or more Inputs to a Min Off Time block are Null, then the
with Null Output of the Min Off Time block is always False (0).
Description Used to maintain the output in the On state for a user-defined duration after a
rising edge (Off-to-On transition) and/or Off state for a user-defined duration
after a falling edge (On-to-Off transition).
The current time unit configured through the TimeBase property in the Prop-
erties pane is shown at the bottom of the block as shown below.
TimeBase Setting
EC-gfxProgram 1071
Input(s)
32-Bit 8-Bit
MinOn Integer 0 to 3×1038s 0 to 65535s The minimum time that the output
will be maintained in the On position
0 to 1092.25m
0 to 5×1036m before it can be turned Off. The
0 to 18.20h units are set in TimeBase of the
0 to
block’s properties.
8.3333×1034h
MinOff Integer 0 to 3×1038s 0 to 65535s The minimum time that the output
will be maintained in the Off
0 to 1092.25m
0 to 5×1036m position before it can be turned On.
0 to 18.20h
0 to
8.3333×1034h
Output(s)
32-Bit 8-Bit
1072 EC-gfxProgram
Block properties See also Common block properties.
TimeBase Menu See Second Select the unit of time: Second, Minute or
Description Hour.
Min On Off Time If no Input to a Min On Off Time block is Null, then the block’s output is the
block operations normal result. If one or more Inputs to a Min On Off Time block are Null, then
with Null the Output of the Min On Off Time block is always Null.
Min On Time
Description Used to maintain the output in the On state for a user-defined duration after a
rising edge (Off-to-On transition).
EC-gfxProgram 1073
Advanced Configure Ports, Show/Hide Ports
configuration
Input(s)
32-Bit 8-Bit
MinOn Integer 0 to 3×1038s 0 to 65535s The minimum time that the output
will be maintained in the On position
0 to 1092.25m
0 to 5×1036m before it can be turned Off. The
0 to 18.20h units are set in TimeBase of the
0 to
block’s properties.
8.3333×1034h
Output(s)
32-Bit 8-Bit
1074 EC-gfxProgram
Property Type Range Default Description
TimeBase Menu See Second Select the unit of time: Second, Minute or
Description Hour.
EC-gfxProgram 1075
Example The Min On Time block is used to keep an output On for a time period. The
example below shows how a pulsed override (bypass occupancy) command
(SmartSensor Module (ECP Series) block) is kept On for 60 minutes (Min On
Time and Internal constant blocks).
The Min On Time block receives its Input from the Override of the SmartSen-
sor Module block. When the Override turns On, the Min On Time block out-
puts an On value for 60 minutes. When the unoccupied mode is scheduled
and the override is turned On, the Switch blocks output bypass mode which is
sent and displayed on the SmartSensor Module block.
Min On Time If no Input to a Min On Time block is Null, then the block’s output is the nor-
block operations mal result. If one or more Inputs to a Min On Time block are Null, then the
with Null Output of the Min On Time block is always False (0).
1076 EC-gfxProgram
Real Time Clock (ECP Series)
Controller This block is available when used with a controller that has a built-in real time
support clock. See the controller’s datasheet for the availability of this feature.
For ECP Series controllers, see Real Time Clock Configuration Tool (ECP
Series).
Input(s) N/A
Output(s)
EC-gfxProgram 1077
Port Type Range Description
Description Supplies and maintains real time for a controller. This block does not need to
be on a Programming Sheet to maintain time.
The time can be set through the configure dialog, in which you can click the
Synchronize button in the Real Time Clock Configuration screen (shown
below) to get the current time from the building controller.
Controller This block is available when used with a controller that has a built-in real time
support clock. See the controller’s datasheet for the availability of this feature.
1078 EC-gfxProgram
Input(s) N/A
Output(s)
EC-gfxProgram 1079
Advanced Configuration parameters for this block are set in the Resources Configura-
configuration tion window to set the controller’s clock.
Parameter Description
Enable Daylight Set to enable daylight saving time. Daylight saving time
Saving Time temporarily advances the clock forward in spring (by an
amount set in Offset - typically by one hour) and is
adjusted backward in autumn.
Month Set the date and time range (between the Start date
and the Stop date) during which Daylight Saving Time
Week
is to be active.
Day
Hour
Minute
1080 EC-gfxProgram
NOTE: Controllers require a network time synchronization pulse before the
real time clock becomes available as follows:
- Click the Synchronize button in the Real Time Clock Configura-
tion screen (shown above) to get the current time from the building
controller.
- For controllers without a battery (see the controller’s datasheet), a
network time synchronization pulse is required at each power-up
cycle.
- For controllers with a battery, a network time synchronization pulse is
required at initial power-up. A power outage cannot be longer than 20
days, otherwise a network time synchronization pulse is required upon
power-up. Such controllers need to be powered for a minimum of 20
hours to fully charge the battery.
Without a network time synchronization pulse, the default power-up
time starts at midnight, January 1, 2011.
LONWORKS Specify the network communication properties for the real time clock in the
Properties LONWORKS Properties tab. See Network Properties Configuration window
(ECL, ECB & ECY Series). See also Typical controller internal points. The
time can be set by binding the real time clock to a building controller. In the
case of a controller equipped with an operator interface or it is connected to
an ECx-Display, the nvoTimeDate can be bound to other controllers so as to
set their time. See also Linking, building, and trimming LONWORKS component
objects in EC-Net.
Description Supplies and maintains real time for a controller. This block does not need to
be on a Programming Sheet to maintain time.
For ECY Series controllers, the time is configured in ENVYSION. See the
ENVYSION User Guide.
For ECB Series controllers, the time can be manually set during configuration
through the configure dialog, in which you can click the Synchronize button
in the Real Time Clock Configuration screen (shown below) to get the cur-
rent time from the building controller.
EC-gfxProgram 1081
B-ASC, B-AAC, and B-BC listed controllers support BIBBS DM-MTS-A. This
supports the time-synchronization-recipients or utc-time-synchronization-
recipients properties which are used to synchronize this controller’s time at
regular intervals from another B-AAC or B-BC listed controller. Under this
scheme, this controller is added to the time-synchronization-recipients or utc-
time-synchronization-recipients recipient list of another controller that sup-
ports this property and acts as the time source.
B-AAC and B-BC listed controllers also support BIBBS Device Management-
TimeSynchronization-B (DM-TS-B). This property can be used to synchronize
the real time clock at regular intervals with other controllers that support the
time-synchronization-recipients or utc-time-synchronization-recipients proper-
ties. The following methods can be used together to transmit the time signal to
other controllers:
Input(s) N/A
1082 EC-gfxProgram
Output(s)
EC-gfxProgram 1083
Advanced Configuration parameters for this block are set in the Resources Configura-
configuration tion window under System > Device to set the controller’s clock.
Parameter Description
Date/time (ECB Click Read Device Time to view the controller’s current
Series time settings.
controllers only)
Click Synchronize to set the controller’s clock with the
building controller’s clock.
1084 EC-gfxProgram
- For controllers without a battery (see the controller’s datasheet), a
network time synchronization pulse is required at each power-up
cycle.
- For controllers with a battery, a network time synchronization pulse is
required at initial power-up. A power outage cannot be longer than 20
days, otherwise a network time synchronization pulse is required upon
power-up. Such controllers need to be powered for a minimum of 20
hours to fully charge the battery.
Without a network time synchronization pulse, the default power-up
time starts at midnight, January 1, 2011.
Setting the The Automatic Time Synchronization Properties recipients are configured as
automatic time follows.
synchronization
properties Parameter Description
recipients (B-
AAC and B-BC Recipients List Shows the recipient controllers for Automatic Time
listed controllers Synchronization property. To add recipients, see
only) Adding recipient controllers to the automatic time
synchronization property.
UTC Time Sync Set the controllers that support the utc-time-
Recipients synchronization-recipients property and are to receive
the automatic time synchronization messages at
regular intervals.
Adding recipient The following Time Sync Recipients types are supported.
controllers to the
automatic time Parameter Description
synchronization
property Time Sync Set the controllers that support the time-synchronization-
Recipients recipients property and are to receive the automatic time
synchronization messages at regular intervals.
EC-gfxProgram 1085
2. Type the recipient controller’s name.
3. Set the Recipient Type. The destination controller for real time clock syn-
chronization can be specified as follows:
Configuring time When a EC-Net building controller is used, it is best to use it to synchronize
synchronization the time to all controllers on the network.
with EC-Net
1086 EC-gfxProgram
1. Under BcpBacnetNetwork, double-click Local Device to open the prop-
erty sheet.
Figure 604: open the local decice’s property sheet
3. Click and then resize the addElement window to make the content vis-
ible.
4. Set the first drop down to Address.
5. Set the MAC Address to synchronize the time with an individual controller,
set this controller’s Network Number and MAC Address. This requires
that for each controller to have its time synchronized, an addElement has
to be added to the Time Synchronization Recipients. By s
EC-gfxProgram 1087
6. Setting the MAC Address to 255, this broadcasts the time synchroniza-
tion message to all controllers on the specified Network Number.
Figure 607: Synchronize the time with one controller using the controller‘s
Network and MAC address
Figure 608: Synchronize with all controllers on the network (255 being a
broadcast message on the network)
1088 EC-gfxProgram
9. For each controller that is in the list of UTC Time Synchronization
Recipients (only), the UTC offset must be set according to the control-
ler’s time zone: Under each controller, double-click the Device Object to
open the property sheet. Set the controller’s UTC offset in minutes in
utcOffset.
Figure 610: For UTC Time Synchronization Recipients, set the controller‘s UTC
offset in minutes in utcOffset
Description Weekly schedules define regular, repeating, events by “time-of-day” and “day-
of-week.”
This block is used to link the controller’s schedule to the code. If nviSchedulex
(x = 1 or 2) is valid, this block will output the values from nviSchedule and the
user-defined schedule (Scheduler tool) is overridden (if applicable). If
nviSchedulex is invalid, this block will output the values from the user-defined
schedule (Scheduler tool). This block supports SNVT types of 1 byte
(SNVT_occupancy, SNVT_hvac_mode, etc.) and 4 bytes (SNVT_tod_event).
See Scheduler Configuration Tool (ECP Series).
Number of 2
blocks
Input(s) N/A
EC-gfxProgram 1089
Output(s)
Current State Enum -1 to 3 Current scheduled status state based on the occup_t
enumeration. The values are defined as follows:
-1 = OC_NUL
0 = OC_OCCUPIED
1 = OC_UNOCCUPIED
2 = OC_BYPASS
3 = OC_STANDBY
TimeToNext Numeric 0 to 65535 Time (in minutes) to the next status state.
State
NOTE: This output only works if the SNVT type is
SNVT_tod_event.
1090 EC-gfxProgram
Schedule (ECL Series)
Description Weekly schedules define regular, repeating, events by “time-of-day” and “day-
of-week.” The schedule for this block must be configured for it to operate; see
Calendar and Schedule Tool (ECL, ECB & ECY Series).
This block is used to link the controller’s schedule to the code. The SNVT type
that has been selected in the Change Type (ECP & ECL Series) window is
shown at the bottom of the block as shown below.
Advanced Resources Configuration, Calendar and Schedule Tool (ECL, ECB & ECY
configuration Series), Advanced configuration, Change Type (ECP & ECL Series), Find All
References (ECL, ECB & ECY Series), Copy From, Configure Ports, Show/
Hide Ports
Related blocks Calendar (ECL Series), Real Time Clock (ECL Series)
Input(s) N/A
Output(s)
Current State Enum See Current scheduled status state as provided by the
description building controller. Only the enumeration
LonOccupancyEnum is supported. See Figure 617.
The default value for current_state (set in Advanced
configuration) indicates that the schedule is not
currently configured or its Effective Period is not
active.
EC-gfxProgram 1091
Port Type Range Description
NextState Enum See Next scheduled status state as provided by the building
description controller. Only the enumeration LonOccupancyEnum
is supported. See Figure 617. The default value for
next_state (set in Advanced configuration) indicates
that the schedule is not currently configured or its
Effective Period is not active.
TimeToNext Numeric 0 to 3.4028 Time (in minutes) to the next status state. The default
State ×1038 value for time_to_next_state (set in Advanced
configuration) indicates that the schedule is not
currently configured or its Effective Period is not
active.
Reliability Enum See This indicates that the currently configured schedule in
Description the controller is incorrectly configured. See Reliability
property.
1092 EC-gfxProgram
Advanced Configuration parameters for this block are set in the Resources Configura-
configuration tion window to set the maximum receive time, and the minimum and maxi-
mum send times to be specified. Network congestion occurs when network
variables are transmitted too frequently on the network. Network congestion
can be reduced by only transmitting network variables as frequently as is nec-
essary to meet the system requirements. Set the network properties as shown
below (refer to the controller’s Functional Profile in its datasheet). See also
Typical controller internal points. The Default Output values become active
once the calendar has been configured in EC-Net - See Configuring a Calen-
dar on the EC-Net Station (ECL Series).
Parameter Description
Next state The schedule’s next output value that will be effective
as shown in time_to_next_state.
Time to next The amount of time before the schedule will transition
state to it next state as shown in next_state.
See Network Properties Configuration window (ECL, ECB & ECY Series).
Configuring a The following configuration methods are available to create, edit, and transfer
schedule on the schedule information into a controller:
EC-Net station
(ECL Series) • By configuring both calendars and schedules with the Calendar and
Schedule Tool by launching it from EC-gfxProgram. See Calendar and
Schedule Tool (ECL, ECB & ECY Series).
• By configuring both calendars and schedules with the Calendar and
Schedule Tool LNS Plugin. See Calendar and Schedule Tool (ECL, ECB
& ECY Series).
• By configuring both calendars and schedules with the Calendar and
Schedule Tool by launching it from the desktop (this is called standalone
mode). See Calendar and Schedule Tool (ECL, ECB & ECY Series).
EC-gfxProgram 1093
• By configuring both calendars and schedules in EC-Net. This configura-
tion method is shown below.
• The controller must have the latest firmware downloaded into it. See
Upgrade firmware (for ECL Series or ECB Series controllers only).
• EC-Net must have the latest support pack installed.
• The controller object must be in a BcpLonNetwork.
• The associated calendars and schedules must have been previously con-
figured in the controller.
When a EC-Net building controller is not available, use the Calendar and
Schedule Tool. See Calendar and Schedule Tool (ECL, ECB & ECY Series).
Preferred The general order in which you should configure schedules and calendars is:
schedule and (1) Set the time and date in the controller’s real time clock (see below), (2)
calendar configure the schedules (see below), (3) optionally configure the calendars
configuration (see Creating Calendars in EC-Net (ECL Series)), and then link a calendar to
order a schedule (see Linking a calendar to a schedule in EC-Net (optional)). See
also Using schedules and calendars.
1094 EC-gfxProgram
Setting the time Set the time in the controller.
in the controller
1. Drag a Real Time Clock block onto the Programming Sheet and double-
click it.
Figure 612: Real Time Clock configuration window
EC-gfxProgram 1095
Importing pre- If you want to create calendars and schedules in EC-Net’s database that have
existing been previously created in the controller as calendars and schedules, right-
calendars and click Schedules under the controller in the Nav tree and select Actions >
schedules from Create Schedules. This action creates EC-Net calendar and schedule
the controller in objects mapped to the device directly under the device object.
EC-Net (ECL
Figure 613: Creating the calendars and schedules in EC-Net’s database from the
Series) controller’s calendars and schedules
1. Click the Open Palette button in the Palette side bar to open the Open
Palette selection window.
Figure 614: Opening the Open Palette window
NOTE: If the Palette side bar is not open in the Side Bar Pane, click Win-
dowsSide Bars Palette to add the Palette side bar.
1096 EC-gfxProgram
2. Select the distechControls palette from the Open Palette selection win-
dow and click OK. This will add the distechControls palette to your Pal-
ette side bar.
Figure 615: Open Palette window: select distechControls
NOTE: The controller tree is found within the Driver > BcpLonNetwork tree
of the station.
EC-gfxProgram 1097
4. Click OK to add the EnumSchedule object to the scheduler. The sched-
ule will be configured in a later step.
6. Click Discover. The Discovered pane shows the schedules and cal-
endars available for this controller.
7. Click a schedule instance in the Discovered pane that you want to con-
figure and drag it to the Database pane.
1098 EC-gfxProgram
8. In the Add popup window, modify the Supervisor Ord by clicking open.
EC-gfxProgram 1099
NOTE: The schedule is synchronized with the device every time you modify
and save it. We recommend setting a daily schedule synchronization
so the schedule will be automatically pushed into the controller should
the controller have to be replaced for maintenance purposes. Setting
this to once daily helps to minimize network traffic.
15. Click .
1100 EC-gfxProgram
16. Use only the LonOccupancyEnum facet for this schedule. Select Use
Frozen Enum in Range. The enumerations for this facet are shown
below.
Figure 617: Enumeration values for LonOccupancyEnum
EC-gfxProgram 1101
Adding events to Configure the new schedule as necessary for the controller. When done, click
the schedule Save. Add events to the schedule as follows.
There are four major elements in the Scheduler interface, separated by tabs
in the view.
Parameter Description
Special Events Special events override (and interact with) events in the
normal weekly schedule. A reference to a calendar can
also be made.
1102 EC-gfxProgram
To view current state of a schedule (such as the current state, the next state,
and time to next state), right-click the Schedule (for example, device/Shed-
ule1) under the device in the Nav tree and select Views > Property Sheet
and expand the nvo (device/Shedule1/nvoSchedule_1).
After having configured the schedules, you can optionally configure the calen-
dars if needed. See Calendar (ECL Series). If you configure a calendar, link it
to a schedule with the following procedure.
Linking a A calendar is linked to a schedule in EC-Net so that the calendar can override
calendar to a the weekly schedule. This is used for example, for holiday or vacation sched-
schedule in EC- ules where the same calendar is reused for both holiday and vacation sched-
Net (optional) ules. Only a limited number of schedule special events can be saved on a
controller. It is more efficient to reuse a calendar in this way as it saves space
to allow for more schedule special events. This procedure assumes a sched-
ule has been previously configured in EC-Net; to do so, see Configuring a
Calendar on the EC-Net Station (ECL Series).
EC-gfxProgram 1103
1. Double-click EnumSchedule in the Nav tree and select the Special
Events tab.
Figure 620: Configuring a calendar in a schedule
NOTE: Make sure that the calendar that you select is one that is exported to
the device (as created in the procedure above). Do not select a EC-
Net stand alone calendar.
1104 EC-gfxProgram
4. Set the duration for this event and the output (in Event Output) for this
event. For example, if this event is for the entire day, set the Event Start
to 12:00 AM and the Event Finish to 12:00 AM, then set the Event Out-
put to Unoccupied (first deselect null).
Figure 622: Setting the event duration and output
EC-gfxProgram 1105
Schedule (ECB & ECY Series)
Description Weekly schedules define regular, repeating, events by “time-of-day” and “day-
of-week.” The schedule for this block must be configured for it to operate: see
Calendar and Schedule Tool (ECL, ECB & ECY Series). This block is used to
link the controller’s schedule to the code.
Advanced Resources Configuration, Calendar and Schedule Tool (ECL, ECB & ECY
configuration Series), Find All References (ECL, ECB & ECY Series), Copy From, Config-
ure Ports, Show/Hide Ports
Number of For ECB Series controllers: The number of Schedule block instances sup-
blocks ported by a controller is shown in the Statistics pane.
For ECY Series controllers: see Supported number of BACnet objects with an
ECY Series controller.
Related blocks Calendar (ECB & ECY Series), Real Time Clock (ECB & ECY Series)
Input(s) N/A
Output(s)
1106 EC-gfxProgram
Port Type Range Description
TimeToNext Numeric 0 to 3.4028×1038 Time (in minutes) to the next status state. -1
State means that the schedule is not currently
configured or its Effective Period is not
active.
Reliability Enum See Description This indicates that the currently configured
schedule in the controller is incorrectly
configured. See Reliability property.
EC-gfxProgram 1107
Configuring a The following configuration methods are available to create, edit, and transfer
schedule on the schedule information into a controller:
EC-Net Station
(ECB Series) • By configuring both calendars and schedules with the Calendar and
Schedule Tool by launching it from EC-gfxProgram. See Calendar and
Schedule Tool (ECL, ECB & ECY Series).
• By configuring both calendars and schedules with the Calendar and
Schedule Tool by launching it from the desktop (this is called standalone
mode). See Calendar and Schedule Tool (ECL, ECB & ECY Series).
• By configuring both calendars and schedules in EC-Net. This configura-
tion method is shown below.
• The controller must have the latest firmware downloaded into it. See
Upgrade firmware (for ECL Series or ECB Series controllers only).
• EC-Net must have the latest support pack installed.
• The controller object must be in a BcpBacnetNetwork.
When a EC-Net building controller is not available, use the Calendar and
Schedule Tool. See Calendar and Schedule Tool (ECL, ECB & ECY Series).
Preferred The general order in which you should configure schedules and calendars is:
schedule and
calendar 1. Set the controller’s real time clock through the time synchronization ser-
configuration vice. See Configuring time synchronization with EC-Net.
order (ECB 2. Configure the schedules (see below).
Series)
3. Optionally configure the calendars (see Creating Calendars in EC-Net
(ECB Series)), and then link a calendar to a schedule (see Linking a cal-
endar to a schedule in EC-Net (optional - ECB Series)). See also Using
Schedules and Calendars.
Method to create When the controller has no calendars in it, calendars can be created in EC-
schedules in EC- Net by following the Creating Calendars in EC-Net (ECB Series) procedure to
Net (ECB Series) create them.
1108 EC-gfxProgram
Creating When the Schedule block is added to a Programming Sheet in EC-gfxPro-
schedules in EC- gram, and the project is synchronized with the controller, a corresponding
Net (ECB Series) Schedule is created in the EC-Net database for this controller. In this configu-
ration mode, this schedule must then be configured in EC-Net.
NOTE: When you remove a Schedule Block from the Programming Sheet, it
remains exposed to the BACnet network. To stop exposing this BAC-
net object to the network, use the EC-gfxProgram Synchronization
feature with the Clear schedule’s configuration option selected. See
Project Synchronization for more information.
1. Set the controller’s real time clock through the time synchronization ser-
vice. See Configuring time synchronization with EC-Net.
2. In EC-gfxProgram, add a Schedule Block to the Programming Sheet
with appropriate (Monitor) blocks connected to its outputs.
Figure 623: Schedule blocks on a programming sheet
3. Right-click the schedule block and select Build Schedule. The calendar
and schedule tool opens. For more information about the calendar and
schedule tool, see Calendar and Schedule Tool (ECL, ECB & ECY
Series).
Figure 624: Building the schedule in EC-gfxProgram’s schedule block
EC-gfxProgram 1109
5. In the Change Schedule Type window, set the Type to Boolean. Click
OK.
6. In the Schedule Default Value, deselect Null, and set Value to False.
8. If you are using more than one schedule instance in your code, use the
schedule / calendar instance selector to select these other schedule
instances and set the type to Boolean and the default value to false for
each of these schedules. See Schedule/Calendar instance selector.
9. Send the schedule to the device. Select File > Save > Send to device.
1110 EC-gfxProgram
10. Close the calendar and schedule tool.
11. Synchronize the project with the controller. Set the following synchroniza-
tion options: Send schedule’s configuration and Compile code and
send it to device. See Project Synchronization for more information.
12. In EC-Net, log into the station.
13. Create a EC-Net based Schedule anywhere on the Station that will be
used to link to the controller’s Schedule: Right-click a node in the Nav tree
and select Views, Wire Sheet.
Figure 625: Open a Wire Sheet
14. Click the Open Palette button in the Palette side bar to open the Open
Palette selection window.
NOTE: If the Palette side bar is not open in the Side Bar Pane, click Win-
dowsSide Bars Palette to add the Palette side bar.
EC-gfxProgram 1111
15. Select schedule from the Open Palette selection window and click OK.
This will add the schedule palette to your Palette side bar.
Figure 626: Open Palette window: selecting schedule
16. From the schedule Palette, drag a BooleanSchedule object to the Wire
Sheet.
17. Name the EC-Net based schedule and click OK. The schedule will be
configured in a later step.
18. Right-click the EC-Net based schedule and select Copy to copy this
schedule’s Ord.
1112 EC-gfxProgram
19. Double-click Schedules under the controller.
EC-gfxProgram 1113
21. Click Discover to find all Schedule and Schedule Blocks that have been
synchronized with the controller.
22. Drag the discovered Schedule into the Database. This imports the sched-
ule’s configuration from the device during schedule creation.
An alternate method to add the schedule that allows you to select the
schedule’s source. Select the discovered schedule and use the one of the
new Add button options: Click the list arrow next to Add to select the
Device option and then click Add.
Figure 627: Adding a schedule to the database
Parameter Description
1114 EC-gfxProgram
Parameter Description
23. Paste the EC-Net based schedule’s Ord into Supervisor Ord: select the
text in Supervisor Ord and press <ctrl>-v.
NOTE: The schedule is synchronized with the device every time you modify
and save it. We recommend setting a daily schedule synchronization
so the schedule will be automatically pushed into the controller should
the controller have to be replaced for maintenance purposes. Setting
this to once daily helps to minimize network traffic.
EC-gfxProgram 1115
27. Set the Skip Writes parameter: Click .
1116 EC-gfxProgram
31. Verify that the schedule is operational. Double-click the controller’s
schedule. Check that Fault Cause is blank, Out Of Service is false, and
the time of the Last Success is a minute ago.
If necessary, Set the Skip Writes parameter: Click and set the pri-
orityForWriting to true (see Figure 628). Click OK.
Figure 629: Verify the schedule‘s operation
EC-gfxProgram 1117
Adding events to Configure the new schedule as necessary for the controller. When done, click
the schedule Save. Add events to the schedule as follows.
(ECB Series)
Figure 630: Configuring the schedule in the Weekly Schedule tab
There are four major elements in the Scheduler interface, separated by tabs
in the view.
Parameter Description
Special Events Special events override (and interact with) events in the
normal weekly schedule. A reference to a calendar can
also be made.
1118 EC-gfxProgram
After having configured the schedules, you can optionally configure the calen-
dars if needed. See Calendar (ECB & ECY Series). If you configure a calen-
dar, link it to a schedule with the following procedure.
Linking a A calendar is linked to a schedule in EC-Net so that the calendar can override
calendar to a the weekly schedule. This is used for example, for holiday or vacation sched-
schedule in EC- ules where the same calendar is reused for both holiday and vacation sched-
Net (optional - ules. Only a limited number of schedule special events can be saved on a
ECB Series) controller. It is more efficient to reuse a calendar in this way as it saves space
to allow for more schedule special events. This procedure assumes a sched-
ule has been previously configured in EC-Net; to do so, see Configuring a
Calendar on the EC-Net Station (ECB Series).
EC-gfxProgram 1119
3. Give the special event a Name and set the Type to Reference. Select the
calendar this event is to reference in Calendars drop-down list of avail-
able calendars: make sure to click the appropriate calendar reference so
that it is highlighted. Click OK.
Figure 632: Selecting the calendar for this event (click it with your mouse)
NOTE: Make sure that the calendar that you select is one that is exported to
the device (as created in the procedure above). Do not select a EC-
Net stand alone calendar.
4. Set the duration for this event and the output (in Event Output) for this
event. For example, if this event is for the entire day, set the Event Start
to 12:00 AM and the Event Finish to 12:00 AM, then set the Event Out-
put to False (first deselect null).
Figure 633: Setting the event duration and output
1120 EC-gfxProgram
Start Delay
Description Used to provide a delay after a rising edge (Off-to-On transition) before turn-
ing the output On. The input must remain On for the duration of the delay
before the block’s output will be turned On.
The current time unit configured through the TimeBase property in the Prop-
erties pane is shown at the bottom of the block as shown below.
TimeBase Setting
Input(s)
32-Bit 8-Bit
Delay Integer 0 to 3×1038s 0 to 65535s The minimum time that the input
must stay On before the output is
0 to 1092.25m0
0 to 5×1036m turned On. The units are set in
to 18.20h
TimeBase of the block’s properties.
0 to
8.3333×1034h
EC-gfxProgram 1121
Port Type Range Description
32-Bit 8-Bit
Output(s)
32-Bit 8-Bit
TimeBase Menu See Second Select the unit of time: Second, Minute or
Description Hour.
1122 EC-gfxProgram
Example The Start Delay block is used to delay turning On an output by a defined time
period. The example below shows how the increase (Variable Numeric (ECP
Series), Switch, Add, and Internal constant blocks) of the Effective Static
Pressure Setpoint (Variable Numeric block) is delayed (Start Delay and
Internal Constant blocks) when one of the dampers (Network Variable
Input block) is open more than 90% (Greater or Equal and Internal Constant
block).
The Start Delay block receives an On Input when it is outputting an Off value
and when one of the dampers is greater than 90%. If after 3 minutes, the Start
Delay block is still receiving an On Input, it will Output an On value and start
increasing the Effective Static Pressure Setpoint (Variable Numeric block) by
0.1”WC.
Start delay block If no Input to a Start Delay block is Null, then the block’s output is the normal
operations with result. If one or more Inputs to a Start Delay block are Null, then the Output of
Null the Start Delay block is always False (0).
EC-gfxProgram 1123
Start Stop Delay
Description Used to provide a delay after a rising edge (Off-to-On transition) before turn-
ing the output On and/or after a falling edge (On-to-Off transition) before turn-
ing the output Off. The input must remain On for the duration of the start delay
before the block’s output will be turned On. The input must remain Off for the
duration of the stop delay before the block’s output will be turned Off.
The current time unit configured through the TimeBase property in the Prop-
erties pane is shown at the bottom of the block as shown below.
TimeBase Setting
Input(s)
32-Bit 8-Bit
1124 EC-gfxProgram
Port Type Range Description
32-Bit 8-Bit
StartDelay Integer 0 to 3×1038s 0 to 65535s The minimum time that the input
must stay On before the output is
0 to 1092.25m
0 to 5×1036m turned On. The units are set in
0 to 18.20h TimeBase of the block’s properties.
0 to
8.3333×1034h
StopDelay Integer 0 to 3×1038s 0 to 65535s The minimum time that the input
must stay Off before the output is
0 to 1092.25m
0 to 5×1036m turned Off.
0 to 18.20h
0 to
8.3333×1034h
Output(s)
32-Bit 8-Bit
EC-gfxProgram 1125
Block properties See also Common Block Properties.
TimeBase Menu See Second Select the unit of time: Second, Minute or Hour.
Description
NOTE: The TimeBase unit affects the value
ranges of StartDelay and StopDelay.
If the TimeBase is set to minutes, 59
seconds will be shown as 0.98 minutes.
If the TimeBase is set to seconds, you
must enter a value of 1 second or more.
Start Stop Delay If no Input to a Start Stop Delay block is Null, then the block’s output is the
block operations normal result. If one or more Inputs to a Start Stop Delay block are Null, then
with Null the Output of the Start Stop Delay block is always Null.
Stop Delay
Description Used to provide a delay after a falling edge (On-to-Off transition) before turn-
ing the output Off. The input must remain Off for the duration of the delay
before the block’s output will be turned Off.
The current time unit configured through the TimeBase property in the Prop-
erties pane is shown at the bottom of the block as shown below.
1126 EC-gfxProgram
TimeBase Setting
Input(s)
32-Bit 8-Bit
Delay Integer 0 to 3×1038s 0 to 65535s The minimum time that the input
must stay Off before the output is
0 to 1092.25m
0 to 5×1036m turned Off. The units are set in
0 to 18.20h TimeBase of the block’s properties.
0 to
8.3333×1034h
Output(s)
32-Bit 8-Bit
EC-gfxProgram 1127
Block properties See also Common block properties.
TimeBase Menu See Second Select the unit of time: Second, Minute or
Description Hour.
Stop Delay block If no Input to a Stop Delay block is Null, then the block’s output is the normal
operations with result. If one or more Inputs to a Stop Delay block are Null, then the Output of
Null the Stop Delay block is always False (0).
Description Used to time an event, process, activity, etc. such as the amount of time that a
piece of equipment has been running.
Number of The number of Timer block instances supported by a controller is shown in the
blocks Number drop-down list in the Properties Pane or in the Statistics pane.
Input(s)
Input Digital 0 or 1 Block input. If On (1), the timer is started. If Off (0), the
timer is stopped.
Reset Digital 0 or 1 Enabling this input (1) will reset the output to 0.
Output(s)
Output Integer 0 to 65535 The time count. The time count will stop automatically
when the range limit is reached.
1128 EC-gfxProgram
Block properties See also Common block properties.
IntervalType Menu See Second Select the unit of time: Second, Minute, or
Description Hour.
Persist Menu See False When this option is True, the output value is
Description preserved during any type of reset.
Description Used to time an event, process, activity, etc. such as the amount of time that a
piece of equipment has been running.
Configuration The current time unit configured in the Advanced configuration is shown at the
type bottom of the block as shown below.
Time Configuration
Number of The number of Timer block instances supported by a controller is shown in the
blocks Number drop-down list in the Properties or Statistics panes.
Persistence The current value is persistent; this allows a value to be saved during a con-
troller power cycle or reset. See Persistent values (ECL, ECB & ECY Series
controllers).
EC-gfxProgram 1129
Advanced Resources Configuration, Advanced configuration, Find All References (ECL,
configuration ECB & ECY Series), Copy From, Configure Ports, Show/Hide Ports
Input(s)
Input Digital 0 or 1 Block input. If On (1), the timer is started. If Off (0), the
timer is stopped.
InitValue Numeric 0 to Sets the starting value of the timer. The units are set in
429496736 Time base in the Advanced configuration.
Reset Digital 0 or 1 Enabling this input (1) will reset the output to the
InitValue value.
Output(s)
Output Numeric 0 to The time count. The time count will stop automatically
429496736 when the range limit is reached.
Persist Menu See False When this option is True, the output value is
Description preserved during any type of reset. See
Persistent values (ECL, ECB & ECY Series
controllers).
1130 EC-gfxProgram
Advanced Configuration parameters for this block are set in the Resources Configura-
configuration tion window to set the timer’s direction and time base.
Parameter Description
Configuration The current time unit configured in the Advanced configuration is shown at the
type bottom of the block as shown below.
Time Configuration
Number of For ECB Series controllers: The number of Timer block instances supported
blocks by a controller is shown in the Number drop-down list in the Properties or Sta-
tistics panes.
For ECY Series controllers: see Supported number of BACnet objects with an
ECY Series controller.
Persistence The current value is persistent; this allows a value to be saved during a con-
troller power cycle or reset. See Persistent values (ECL, ECB & ECY Series
controllers).
EC-gfxProgram 1131
Related blocks Generic Timer (ECB & ECY Series)
Input(s)
Input Digital 0 or 1 Block input. If On (1), the timer is started. If Off (0), the
timer is stopped.
InitValue Numeric 0 to Sets the starting value of the timer. The units are set in
429496736 Time base in the Advanced configuration.
Reset Digital 0 or 1 Enabling this input (1) will reset the output to the
InitValue value.
Output(s)
Output Numeric 0 to The time count. The time count will stop automatically
429496736 when the range limit is reached.
Persist Menu See False When this option is True, the output value is
Description preserved during any type of reset. See
Persistent values (ECL, ECB & ECY Series
controllers).
1132 EC-gfxProgram
Advanced Configuration parameters for this block are set in the Resources Configura-
configuration tion window to set the timer’s operating parameters.
Parameter Description
EC-gfxProgram 1133
Tools
Tools are blocks that are used to help program developers keep their project
code organized.
1134 EC-gfxProgram
Live Trend Log
For example, use Live Trend Log to view the performance of a process by
assigning one or more control variables to the Y-axis and time as the X-axis.
You can then see the system response.
NOTE: The Live Trend Log can be directly launched from the Pid Loop block.
See Pid Loop (ECL Series) and Pid Loop (ECB & ECY Series).
The Live Trend Log block is not intended to be used as an administra-
tor tool for ongoing surveillance as it consumes too many network
resources in this mode.
Related blocks Pid Loop (ECL Series), Pid Loop (ECB & ECY Series)
Input(s)
32-Bit 8-Bit
EC-gfxProgram 1135
Output(s) Live plot of X and Y-axes data is graphed in a separate window. See Viewing
a Live Trend Log.
32-Bit 8-Bit
1. Connect the inputs of the Live Trend Log block to the outputs of blocks
that are to be measured.
2. To send a project to the device, click the Build And Send button on the
Home ribbon, Project buttons or synchronize the project with the device,
click Synchronize (see Synchronizing a project with a device).
3. Debugging a Project; click the Start button on the Home ribbon, Debug-
ging buttons.
1136 EC-gfxProgram
4. Double-click the Live Trend Log block.
Figure 637: Live Trend Log overview (project in Debug mode)
Click a Trend Legend to bring the selected trend forward and to change the
scale of the X and Y-axes to that of the selected trend.
Trend point By hovering your mouse in the Live Trend Log will highlight the data point, the
inspection and value of which is shown in the lower left corner.
data details
EC-gfxProgram 1137
Live Trend Log Home ribbon buttons
The Live Trend Log’s Home ribbon has buttons for view magnification (zoom),
View, Style, and Align.
Parameter Description
Zoom Out Shrinks the scale of the Y-axis when the Change Value
(Vertical) Range is set to a value (found under Range and
Zoom).
Line Weight Sets the line thickness of Y-axis input trend plot line and
of the trend plot’s X and Y-axes.
Line Pattern Sets the trend plot line’s type (solid, dash, dot) of a Y-
axis input.
1138 EC-gfxProgram
Parameter Description
Line Style Sets the trend plot line’s Y-axis presentation style:
Curve: Smooths the trend plot line’s data points to
create a continuous presentation.
Line: Plot a straight line between data points. This is the
most accurate viewing mode available.
Step: Plot the data points in discrete steps.
Point Pattern Show Series Points: Marks the raw data points on the
plot with symbols. See Figure 637.
The Live Trend Log’s Tools ribbon has buttons to import and export Live
Trend Log configuration information, export trend plot data, and set the Live
Trend Log’s configuration.
Parameter Description
Export Data to Saves the current Live Trend Log’s data to a CSV file on
File your PC. This file can be opened by most spreadsheet
software.
EC-gfxProgram 1139
Parameter Description
1140 EC-gfxProgram
Monitor
Description Used to monitor values in the program. It is primarily used to debug project
code or to provide connections to block outputs that require connections (see
Connection Rules).
Quickly add a Monitor to an output port of a block, right-click the output port
and select Link to in the list and then Monitor.
Quickly add Monitor blocks to all unconnected output ports of one or more
selected blocks as follows:
• Press Ctrl+Space.
• Right-click the top title area of the block and select Monitor All. See Fig-
ure 138.
Input(s)
32-Bit 8-Bit
Output(s) N/A
Watch String Unlimited – When set with a name, the current value of
Variable the Monitor is shown in the Watch List during
debugging. See Watch List.
EC-gfxProgram 1141
Reference Hub
Description Used with Reference Target blocks to keep the Programming Sheet clean,
that is, without too many connectors and thus easier to see where connec-
tions are going. It also allows blocks on different documents to be connected.
Double-clicking a Reference Hub (or right-click and select Find All Refer-
ences (ECL, ECB & ECY Series)) finds all Reference Target blocks that are
connected to the Reference Hub.
Input(s) N/A
Output(s) N/A
NOTE: When Assign tag name to linked reference hub is set in the Tools
menu, EC-gfxProgram Options screen, linking to a Reference Hub
block will automatically assign to it the name the source block being
linked.
If the name for the Reference Hub block already exists, an automati-
cally incremented number is added to the end of the block name.
1142 EC-gfxProgram
Reference Target
Description Used with Reference Hub blocks to keep the Programming Sheet clean, that
is, without too many connectors and thus easier to see where connections are
going. It also allows blocks on different documents to be connected.
Advanced Go To Source
configuration
Input(s) N/A
Output(s) N/A
Go To Source Go To Source highlights the Reference Hub block linked to the Reference
Target block, or by double-clicking the Reference Target block. These two
blocks are linked by Tag Names.
EC-gfxProgram 1143
Text
Description Used to write comments or explanations about the program. Can type across
multiple lines and can copy-paste text from other sources, documents, etc.
Formatting from the source document may be preserved when the UseRTF
Property is set to True. See About RTF Text.
NOTE: The block will not consume any project code space. However, it will
increase the size of the project code backup on the controller.
Input(s) N/A
Output(s) N/A
Alignment Menu See Left The text alignment. Select Left, Right,
Description or Center.
BackColor Menu See Solid Select the background color style: Solid
Style Description or Gradient. When set to Gradient, the
color blends from the BackColor color
to the GradientColor.
BorderDash Menu See Solid Select the border type: Solid or one of
Style Description many broken line styles.
1144 EC-gfxProgram
Property Type Range Default Description
Fonta String – Arial, 7pt Place your mouse cursor over this field
and click the button in the Font field
to set the font type, style, size, and
effects. (or expand with the + to modify
the Font components).
Font Bolda Menu See False Select the font to be bold (True) or not
Description (False).
Font Italica Menu See False Select the font to be italic (True) or not
Description (False).
UseRTF Menu See False When set to True, you can paste
Description formatted text into the Text Block. See
About RTF Text, below.
When set to False, only plain text is
supported with the formatting set in the
Properties above that are uniformly
applied to all text content.
EC-gfxProgram 1145
About RTF Text RTF Text content can be copied from design documents (created in a word-
processing program) including pictures (created in a drawing program) and
pasted into the Text block when the UseRTF property is set to True. The for-
matting of pasted text will be preserved as best as possible, especially when
the source text comes from a word-processing program that supports rich text
format when copying and pasting.
The text box can be resized by the reshape handles located on the border of
the Text block.
NOTE: Do not add too many pictures if you intend to backup the project code
to the controller.When the Backup code to device option is selected
during Project Synchronization, all RTF Text content will be backed up
to the controller, including pictures.
Pictures can especially take a lot of memory space on the controller.
One solution is to first reduce picture size by using the compress pic-
tures feature (if available) in your word-processing program before
copying content to the Text Block.
1146 EC-gfxProgram
VAV
VAV blocks are used to interface with the flow sensor and actuator of a pro-
grammable VAV controller for single-duct and dual-duct applications.
EC-gfxProgram 1147
Actuator Control (ECL Series)
Description Used to interface with the VAV controller’s damper actuator for flow control.
For a project code example of how to use this block, see Actuator Control
block example.
Input(s)
Flow Numeric 0 to Actual flow value read from the sensor input.
3.4028×1038
MaxFlowSP Numeric 0 to The maximum flow setpoint for the VAV. Used
3.4028×1038 internally by the damper control algorithm to calculate
the next damper movement.
1148 EC-gfxProgram
Port Type Range Description
DamperFeed Numeric 0 to 100 The feedback of the damper’s actual position (from the
back Internal Actuator (ECL Series)’s Damper Feedback
output port).
Output(s)
EC-gfxProgram 1149
Actuator Control The Reference Hub supplies the operating requirements for the Actuator
block example Control block. The damper feedback from the Internal Actuator (ECL
Series)’s Damper Feedback output port sends the damper’s actual position
so that the Actuator Control block can calculate the next actuator command.
Description Used to interface with the VAV controller’s damper actuator for flow control.
Advanced Resources Configuration, Configure Ports, Show/Hide Ports, Alarms (ECB &
configuration ECY Series)
Input(s)
Flow Numeric 0 to Actual flow value read from the sensor input.
3.4028×1038
MaxFlowSP Numeric 0 to The maximum flow setpoint for the VAV. Used
3.4028×1038 internally by the damper control algorithm to calculate
the next damper movement.
1150 EC-gfxProgram
Port Type Range Description
Output(s)
EC-gfxProgram 1151
Actuator Control The Analog Value (ECB & ECY Series) blocks supply the operating require-
block example ments for the Actuator Control block.
Description Used to interface with the VAV controller’s damper actuator for flow control.
The user can read the value of the DamperPos on the network through
nvoDamperPos. nviFlowOverride can be used to set the damper position by
specifying the state (HVO_OFF, HVO_POSITION, HVO_FLOW_VALUE,
HVO_FLOW_PERCENT, HVO_OPEN, HVO_CLOSE, HVO_MINIMUM,
HVO_MAXIMUM), the percent (if applicable) and the flow (if applicable).
Input(s)
Flow Numeric 0 to Actual flow value read from the sensor input.
83886.07
1152 EC-gfxProgram
Port Type Range Description
Output(s)
Advanced The Damper Control Configuration window has all the settings required to
configuration configure a damper.
EC-gfxProgram 1153
Damper
Parameter Description
Initialization
Parameter Description
Initialize Resets the damper position and calculates the total number
Damper of steps between the stops.
Use this option if the mechanical stops on the actuator have
been moved to limit the range of movement of the damper.
1154 EC-gfxProgram
Configuration
Parameter Description
Drive time Used to specify the time that the damper will take to go from
the fully closed position to the fully open position or vice-
versa.
The damper drive time can be set to between 45 seconds
and 150 seconds. However, it is recommended to use the
default value of 95 seconds for the built-in actuator (to have
the most torque and for quiet operation).
For the built-in actuator in normal control, the lower the drive
time is set, the faster the actuator will move from fully open
to fully closed and vice versa. Likewise, the higher the drive
time is set, the slower the actuator will move from fully open
to fully closed and vice versa.
EC-gfxProgram 1155
Network Variable Figure 641: Damper Control Configuration window - Network Variable
Parameter Description
Min send The minimum time period that must pass between network
time variable updates on the network for the network variable
shown immediately above. If the value of the network
variable changes, an update will only be sent after this time
expires. Setting the min send time to 0 disables it. See
Network Properties Configuration window (ECL, ECB & ECY
Series).
The min send time is often referred to as the "throttle".
1156 EC-gfxProgram
Diff Pressure (ECL Series)
Description Provides the differential pressure reading from VAV controllers equipped with
a built-in differential pressure sensor.
Input(s)
DoZero Digital 0 or 1 Used to zero the flow reading of a VAV box to allow the
calibration of the flow sensor. When set to True (1), the
differential pressure is set to zero.
Output(s)
Output Numeric 0 to 500Pa Differential pressure reading from the VAV controller.
0 to
2inches
water
column
EC-gfxProgram 1157
Diff Pressure (ECB Series)
Description Provides the differential pressure reading from VAV controllers equipped with
a built-in differential pressure sensor.
Advanced Network Properties Configuration window (ECL, ECB & ECY Series), Config-
configuration ure Ports, Show/Hide Ports
Input(s)
DoZero Digital 0 or 1 Used to zero the flow reading of a VAV box to allow the
calibration of the flow sensor. When set to True (1), the
differential pressure is set to zero.
Output(s)
Output Numeric 0 to 500Pa Differential pressure reading from the VAV controller.
0 to
2inches
water
column
1158 EC-gfxProgram
VAV Differential Pressure (ECY Series)
Description Provides the differential pressure reading from VAV controllers equipped with
a built-in differential pressure sensor.
Advanced Resources Configuration, Find All References (ECL, ECB & ECY Series),
configuration Copy From, Configure Ports, Show/Hide Ports, Alarms (ECB & ECY Series)
(ECY Series only)
Input(s)
DoZero Digital 0 or 1 Used to zero the flow reading of a VAV box to allow the
calibration of the flow sensor. When set to True (1), the
differential pressure is set to zero.
Output(s)
Output Numeric 0 to 500Pa Differential pressure reading from the VAV controller.
0 to
2inches
water
column
EC-gfxProgram 1159
Flow Calculation (ECL Series)
Description Used to calculate the airflow based on the differential pressure according to
the following formula: Flow = KFactor √.
Input(s)
DiffPressure Numeric 0 to 500Pa Used to calculate the airflow based on the differential
pressure. The input typically comes from the Diff
0 to 2inches
Pressure (ECL Series) block. See Flow Calculation
water column
block example (ECL Series).
KFactor Numeric 0 to Sets the K-Factor provided by the VAV box / Pitot tube
3.4028×1038 manufacturer. In imperial units, the K-Factor
represents the airflow in CFM at 1 inch of water
column. In SI (Metric units), the K-Factor represents
the airflow in liter per second at 1 Pascal.
When the KFactor input is linked to a Network
Variable Input, Numeric Constant (ECL Series), or
Numeric Value (ECL Series) block, the Flow
Calculation block can assign the K-Factor it has
calculated from the FlowCalib input to the linked
block. See Flow Calculation block example (ECL
Series).
1160 EC-gfxProgram
Port Type Range Description
Output(s)
EC-gfxProgram 1161
Flow Calculation If only DiffPressure and Kfactor block inputs are linked, this block will output
block example the flow. If you want to use the FlowCalib option, all block inputs must be
(ECL Series) linked and:
• The Kfactor input must be linked to any one of the following types of
blocks: Network Variable Input, Numeric Constant (ECL Series), or
Numeric Value (ECL Series).
• The KfactorNum input must be linked to the Number port of the block
linked to the Kfactor input.
• The FlowCalib input must be linked to any one of the following types of
blocks: Network Variable Input, Numeric Constant (ECL Series), or
Numeric Value (ECL Series).
• The FlowCalibNum input must be linked to the Number port of the block
linked to the FlowCalib block.
When the FlowCalib and KFactor inputs are linked to Network Variable
Input, Numeric Constant (ECL Series), or Numeric Value (ECL Series)
blocks, and the calibration is complete, the Flow Calculation block sets the
value of the block linked to the FlowCalib input to 0 and assigns the newly
calculated K-Factor value to the block linked to the KFactor input.
To calibrate the K-Factor in the example below, set the Network Variable
Input 27 (nciFlowCalib) block to the measured air flow (measured with a flow
hood).
1162 EC-gfxProgram
Flow Calculation (ECB & ECY Series)
Description Used to calculate the airflow based on the differential pressure according to
the following formula:
Related blocks Diff Pressure (ECB Series), VAV Differential Pressure (ECY Series)
Input(s)
DiffPressure Numeric 0 to 500Pa Used to calculate the airflow based on the differential
pressure. The input typically comes from the Diff
0 to 2inches
Pressure (ECB Series) or VAV Differential Pressure
water column
(ECY Series) Block.
KFactor Numeric 0 to Sets the K-Factor provided by the VAV box / Pitot tube
3.4028×1038 manufacturer. In imperial units, the K-Factor
represents the airflow in CFM at 1 inch of water
column. In SI (Metric units), the K-Factor represents
the airflow in liter per second at 1 Pascal.
When the KFactor input is linked to an Analog Value
(ECB & ECY Series) block, the Flow Calculation
block can assign the K-Factor it has calculated from
the FlowCalib input to the Analog Value block.
KFactorNum Numeric 0 to 100 When the KFactor input is linked to an Analog Value
(ECB & ECY Series) block, it should be connected to
the block’s Number output. Doing so allows the Flow
Calculation block to assign the K-Factor it has
calculated from the FlowCalib input to the Analog
Value block. See Flow Calculation block example.
EC-gfxProgram 1163
Port Type Range Description
Output(s)
1164 EC-gfxProgram
Flow Calculation If only Diff Pressure (ECB Series) / VAV Differential Pressure (ECY Series)
block example and Kfactor block inputs are linked, this block will output the flow. If you want
to use the FlowCalib option, all block inputs must be linked and:
• The Kfactor input must be linked to an Analog Value (ECB & ECY Series)
block.
• The KfactorNum input must be linked to the Number port of the Analog
Value block linked to the Kfactor input.
• The FlowCalib input must be linked to an Analog Value block.
• The FlowCalibNum input must be linked to the Number port of the Ana-
log Value block linked to the FlowCalib input.
When the FlowCalib and KFactor inputs are linked to Analog Value blocks,
and the calibration is complete, the Flow Calculation block sets the value of
the Analog Value block connected to the FlowCalib input to 0 and assigns
the newly calculated K-Factor value to the Analog Value block linked to the
KFactor input.
To calibrate the K-Factor in the example below, set the FlowCalib Analog
Value block to the measured air flow (measured with a flow hood).
EC-gfxProgram 1165
Flow Sensor (ECP Series)
Description Used to interface with the VAV controller’s differential pressure sensor input to
measure airflow and calculate the flow setpoint by balancing the VAV through
one of several calibration methods. The user can read the values of the Pres-
sure, Flow, and FlowSetpoint on the network through nvoDiffPressure, nvoAir-
Flow, and nvoFlowSetpoint respectively. nviFlowCalib can be used to
calibrate the flow sensor by specifying the command (NORMAL_OPERA-
TION, GOTO_PERCENT, GOTO_FLOW, DO_ZERO_CALIB,
DO_HI_POINT_CALIB, RESET_CALIBRATION, DO_DAMPER_INIT), the
percent (if applicable) and the flow (if applicable).
Input(s)
MinFlow Numeric 0 to 11526.66 CFM Minimum flow (in CFM, l/s, or m3/h).
0 to 5439.97l/s
0 to 19583.91 m3/h
MaxFlow Numeric 0 to 11526.66 CFM Maximum flow (in CFM, l/s, or m3/h).
0 to 5439.97l/s
0 to 19583.91 m3/h
ZeroCalib Digital 0 or 1 Takes a reading for the zero flow calibration point (Zero
calibration) on the rising edge. Close the damper fully
before triggering this input.
1166 EC-gfxProgram
Output(s)
Flow Numeric 0 to Actual flow value read from the sensor input.
83886.07
This value can be read from nvoAirFlow.
FlowFormat Menu See – The format of the flow. The available formats
Description are:
SNVT_flow#SI
SNVT_flow#US
UNVT_flow#SI_m3h
Advanced The Flow Sensor Configuration window has all the settings required to config-
configuration ure a flow sensor.
EC-gfxProgram 1167
Flow Sensor Tab
Zero Calibration
Parameter Description
Calibrate Takes a reading for the zero flow calibration point. Close the
damper fully before taking the reading. Once the calibration
is complete, the Zero calibration done indicator will turn
green.
1168 EC-gfxProgram
Flow Configuration
Parameter Description
Balancing K-Factor: Select this option to balance the VAV box using
mode the K-Factor.
Pitot Factor and Duct Area: Select this option to balance
the VAV box using the Pitot factor and Duct area.
Hi Point Calibration: Select this option to balance the VAV
box using a high calibration point value. When the high value
option is used, the damper can be adjusted so that the
airflow is relatively close to the MaxFlow and then a
calibration is performed by entering the reading in the Hi
point calibration field and pressing the Calibrate button.
Once the calibration is complete, the Calibration done
indicator will turn green.
Hi point Adjust the damper so that the airflow is relatively close to the
calibration maximum possible flow then enter this airflow reading in this
field and click the Calibrate button.
Calibrate Takes a reading for the high calibration point. Once the
calibration is complete, the Calibration done indicator will
turn green.
EC-gfxProgram 1169
Parameter Description
Pitot factor Most VAV box / Pitot tube manufacturers create their Pitot
tubes in a manner that it amplifies the differential pressure
by a certain factor. Contact them to acquire the value of this
factor if they have not provided it.
The Pitot factor is therefore a divider that is applied to the
differential pressure reading that compensates for varying
characteristics and flow effects in VAV box equipment and
pickup probes, for example, the amplification factor. The
Pitot factor must be entered along with the Duct area to
ensure precise automatic calibration.
NOTE: This field is only available when using the Pitot Fac-
tor and Duct Area balancing mode.
Duct area This value is used to perform a calibration of the VAV box by
using the Pitot factor to calculate the K-Factor.
NOTE: This field is only available when using the Pitot Fac-
tor and Duct Area balancing mode.
K-Factor Enter the K-Factor provided by the VAV box / Pitot tube
manufacturer here if using the K-Factor balancing mode.
The K-Factor is calculated by the Pitot factor and Duct area
when using the Pitot Factor and Duct Area balancing
mode.
The value entered in this field is written to UCPTkfactor.
Nominal The expected airflow when the damper is fully open. It is also
flow used to determine the next damper movement.
Reset Resets the calibration and flow readings. This button returns
Calibration the controller to the uncalibrated state allowing a
recalibration to be performed.
1170 EC-gfxProgram
Parameter Description
Flow Controls
Parameter Description
Actual flow The real-time air flow that is being supplied to the zone.
The flow reading will only be available if the controller has
been calibrated.
This value can be read from nvoAirFlow.
Goto Flow Moves the damper to permit the airflow specified in the
Flow command field.
Flow setpoint The setpoint of the flow so that the value specified in the
Flow command field is reached.
This value can be read from nvoFlowSetpoint.
Parameter Description
Goto Position Moves the damper to the position specified in the Damper
command field.
EC-gfxProgram 1171
Network Variable tab
nvoDiffPressure/nvoAirFlow/nvoFlowSetpoint
Parameter Description
Min send The minimum time period that must pass between network
time variable updates on the network for the network variable
shown immediately above. If the value of the network
variable changes, an update will only be sent after this time
expires. Setting the min send time to 0 disables it. See
Network Properties Configuration window (ECL, ECB & ECY
Series).
The min send time is often referred to as the "throttle".
1172 EC-gfxProgram
VAV balancing A VAV can be balanced either through EC-gfxProgram or the network inter-
method face.
EC-gfxProgram 1173
3. Validating the minimum flow accuracy.
a. Enter a value close to 0 in the Flow command box and click the
Goto Flow button.
b. Use the capture hood/flow hood to record the airflow that is passing
through the VAV box.
c. If the measured airflow is close (±5%) to the Flow command, go on
to validate the maximum flow accuracy. If the measured airflow is
greater than 5% above the Flow command, decrease the K-Factor
and measure the airflow again. If the measured airflow is less than
5% below the Flow command, increase the K-Factor and measure
the airflow again.
d. Repeat steps 2 and 3 until a satisfactory airflow is reached.
4. Validating the maximum flow accuracy.
a. Enter the maximum flow (Hi point or nominal flow) in the Flow com-
mand box and click the Goto Flow button.
b. Use the capture hood/flow hood to record the airflow that is passing
through the VAV box.
c. If the measured airflow is close (±5%) to the Flow command, then
the VAV is balanced. If the measured airflow is greater than 5% above
the Flow command, decrease the K-Factor and measure the airflow
again. If the measured airflow is less than 5% below the Flow com-
mand, increase the K-Factor and measure the airflow again.
d. Repeat steps 2 and 3 until a satisfactory airflow is reached.
The same procedure outlined above can be used to balance a VAV using the
network interface. The following NVIs, NVOs, and CPs can be used:
• nviFlowCalib
• nviFlowOverride
• nvoDiffPressure
• nvoAirFlow
• nvoFlowSetpoint
• nvoDamperPos
• UCPTkfactor
• SCPTnomAirFlow
1174 EC-gfxProgram
Duct Area The Duct Area Calculator window allows the duct area to be conveniently
Calculator determined. The duct area is only used when the Pitot factor and Duct Area
Balancing mode is selected
Parameter Description
Rectangle When the Duct width and Duct height are entered,
the Calculated area field will automatically be
updated.
EC-gfxProgram 1175
Internal Actuator (ECL Series)
Description Used to interface with the VAV controller’s damper actuator for flow control
with controllers equipped with a built-in actuator. For a project code example
of how to use this block, see Actuator Control block example.
Input(s)
Initialize Digital 0 or 1 A True (1) input resets the damper position and
calculates the total number of steps between the stops.
Use this option if the mechanical stops on the actuator
have been moved to limit the range of movement of the
damper.
1176 EC-gfxProgram
Output(s)
Opening Digital 0 or 1 When the damper is opening, this output is True (1)
otherwise it is False (0).
Closing Digital 0 or 1 When the damper is closing, this output is True (1)
otherwise it is False (0).
Advanced Configuration parameters for this block are set in the Resources Configura-
configuration tion window.
See Network Properties Configuration window (ECL, ECB & ECY Series).
EC-gfxProgram 1177
Initialization This resets the damper position and calculates the total number of steps
between the stops. Use this option if the mechanical stops on the actuator
have been moved to limit the range of movement of the damper. To initialize
the Internal Actuator, right click it and select Initialize.
NOTE: The actuator mechanical stops should be moved only to limit damper
movement from going under 0% or over 100%.
1178 EC-gfxProgram
Internal Actuator (ECB & ECY Series)
Description Used to interface with the VAV controller’s damper actuator for flow control.
Advanced For ECB Series Controllers: Resources Configuration, Actuator Control block
configuration example, Initialization, Configure Ports, Show/Hide Ports
Input(s)
EC-gfxProgram 1179
Port Type Range Description
Initialize Digital 0 or 1 A True (1) input resets the damper position and
calculates the total number of steps between the stops.
Use this option if the mechanical stops on the actuator
have been moved to limit the range of movement of the
damper.
Output(s)
Opening Digital 0 or 1 When the damper is opening, this output is True (1)
otherwise it is False (0).
Closing Digital 0 or 1 When the damper is closing, this output is True (1)
otherwise it is False (0).
Advanced For ECB Series Controllers: configure the BACnet object properties for this
configuration block in the Internal Actuator Configuration window. See below.
For ECY Series controllers: configure the BACnet object properties for this
block in the Resources Configuration.
Configure Configuration parameters for this block are set in the Resources Configura-
actuator position tion window. Configure the network properties for the:
and actuator
setpoint (ECB • Damper command value under Actuator Command.
Series
Controllers Only)
1180 EC-gfxProgram
• Damper position value under Actuator Position.
Figure 649: Damper Control Configuration window – Damper
See Network Properties Configuration window (ECL, ECB & ECY Series).
Initialization This resets the damper position and calculates the total number of steps
between the stops. Use this option if the mechanical stops on the actuator
have been moved to limit the range of movement of the damper. To initialize
the Internal Actuator block, right click the Internal Actuator block and select
Initialize.
NOTE: The actuator mechanical stops should be moved only to limit damper
movement from going under 0% or over 100%.
EC-gfxProgram 1181
1182 EC-gfxProgram
Block Actions
CHAPTER 7
Block Actions
Aside from the block configuration that can be done directly to the block or
through the Properties pane, every block (except Reference Hub and Text
blocks) is able to access one or more advanced configuration windows.
Blocks have a default action when double-clicked. The default action for a
block is shown in bold when you right-clicking on it.
Topics
Advanced configuration windows overview
Opening a block action
Set Constant (ECL Series)
Set Value
View content
Format Editor
Creating and using enumerations (8-Bit)
Creating and using enumerations (ECP Series)
Creating and using enumerations (ECL Series)
Enumeration Picker (ECP & ECL Series)
Format Selection
Edit Value (ECP Series)
Edit Mode and Value (ECP Series)
Emergency override and emergency auto (ECB & ECY Series)
Override and auto
Find All References (ECL, ECB & ECY Series)
Copy From
Configure Ports
Show/Hide Ports
Set and reset timer (ECY series)
Replacing blocks
Network Properties Configuration window (ECL, ECB & ECY Series)
Change Type (ECP & ECL Series)
Alarms (ECB & ECY Series)
Viewing a trend log (ECY Series)
EC-gfxProgram 1183
Advanced configuration windows overview
• Configure (see the block for details). For ECY Series controllers, see
Resources Configuration. To add a resource in the Resources Configura-
tion window, see Adding resource block instances to the resource tree.
• Opening a block action
• Set Constant (ECL Series)
• Set Value
• View content
• Format Editor
• Creating and using enumerations (8-Bit)
• Creating and using enumerations (ECP Series)
• Creating and using enumerations (ECL Series)
• Enumeration Picker (ECP & ECL Series)
• Format Selection
• Edit Value (ECP Series)
• Edit Mode and Value (ECP Series)
• Emergency override and emergency auto (ECB & ECY Series)
• Override and auto
• Copy From
• Initialize (see Internal Actuator (ECB & ECY Series))
• Configure Ports
• Show/Hide Ports
• Network Properties Configuration window (ECL, ECB & ECY Series)
• Change Type (ECP & ECL Series)
• Alarms (ECB & ECY Series)
• Synchronize Bindings (see Network Variable Input (ECP Series))
• Learn (see Wireless Module (ECP Series))
• Go To Source
• Edit Text (see Text)
1184 EC-gfxProgram
Block Actions
• Selecting the block and clicking the advanced configuration window name
in the Properties pane (the blue hyperlinks at the bottom).
• Right-click an input or output in the and select the Configure option from
the drop down list (for ECL, ECB & ECY Series controllers only). See
Resource Viewer for more information.
EC-gfxProgram 1185
Set Constant (ECL Series)
Configuration parameters for these blocks are set in the Resources Configu-
rationwindow. For Boolean Constant (ECL Series), Enum Constant (ECL
Series), and Numeric Constant (ECL Series) blocks, this forces the output of
these blocks to assume a user-set value.
Parameter Description
If an enumeration format has been applied to the block, the Edit Value window
will display a combo box for you to select an enumeration value.
NOTE: Large numbers are entered into a dialog box using a special format.
For example, 2.385X1012 is entered into a dialog box as 2.385E+12.
A null value is typed in as null.
1186 EC-gfxProgram
Block Actions
Set Value
NOTE: Large numbers are entered into a dialog box using a special format.
For example, 2.385X1012 is entered into a dialog box as 2.385E+12.
A null value is typed in as null.
ECL Series The Set Value window, available with ECL Series controllers only, allows the
controllers mode and value of the block to be set according to the format that has been
applied to the block. The mode can be set to either Manual, in which case the
value entered will be set as a constant, or to Automatic, in which case the
value received as an input from another block or the value of the attached
device will be read.
For a Variable Numeric (ECP Series) and Hardware Input block, any decimal
value (±3.4028×1038) can be set. For an Enum Value (ECL Series) block, any
integer value between -128 and 127 can be set. For a Hardware Output
block, any decimal value between 0 and 100 can be set. If an enumeration
format has been applied to the block, the Edit Value window will display a
combo box for you to select an enumeration value.
If an enumeration format has been applied to the block, the Edit Value window
will display a combo box for you to select an enumeration value.
NOTE: For a Floating Pair block, setting the mode to Manual or Automatic
will set the PositionMode output to Manual or Automatic.
ECB & ECY For Hardware Output, Analog Value (ECB & ECY Series), Digital Value, and
Series Multi State Value (ECB & ECY Series) Blocks, this forces an output to assume
controllers a user-set value at any priority level. See Commandable object priority array
levels. This is not available for the Hardware Input Block.
EC-gfxProgram 1187
Figure 656: Set value configuration
Parameter Description
Value [Unit] The Present Value (including Null) and its associated
unit (for commandable values). To revert to the default
value, set the value to Null.
For blocks that support multiple BACnet objects at once, select through the
BACnet object to set the action.
Figure 657: Selecting override or auto for a block that supports multiple BACnet
objects at once
View content
View Content opens a programming sheet where the project code within Cus-
tom block, Conditional Custom Block, or For Loop (ECL, ECB & ECY Series)
can be viewed and created.
1188 EC-gfxProgram
Block Actions
Format Editor
The Format Editor window has all the formats that can be assigned to the
selected output port of a EC-gfxProgram block. When an output port is
assigned a format, enumeration or any type of unit, this does not affect the
actual value of the output, but it adds text after the value or it converts the
value into a text in the case of enumerations.
Even if the project’s measurement system is changed, only the displayed for-
mat, enumeration or unit will change, that is, the value is not converted.
EC-gfxProgram 1189
Figure 659: Format editor window
Parameter Description
1190 EC-gfxProgram
Block Actions
Parameter Description
Favorite and Favorite and recent formats permit instant recall of formats:
recently-used
formats • That you have added to the favorites list as Favorite Formats.
• Any recently-used format (history) as Recent Formats.
Parameter Description
Manage Favor- Allows you to delete a format from the list of Favorite
ites Formats. Right-click a format and select Delete from
the list.
This list can be directly accessed through the Configure Ports window by
clicking the arrow on the right of Format.
EC-gfxProgram 1191
Figure 661: Quick-access to the favorite and recent formats lists
Format editor
If you have already created enumerations for your project, select the Enumer-
ation Format Type and select an enumeration from the Enumeration drop-
down list.
1192 EC-gfxProgram
Block Actions
Click for quick access to favorite and recently-used formats. See Favorite
and recently-used formats.
Controller
Description
Model
EC-gfxProgram 1193
Figure 663: Selecting a BACnet Enumeration that has previously been configured
(ECB Series)
1194 EC-gfxProgram
Block Actions
Figure 664: Selecting a BACnet enumeration that has previously been configured
(ECY Series)
Parameter Description
EC-gfxProgram 1195
Figure 666: Member drop-down menu
Parameter Description
Parameter Description
1196 EC-gfxProgram
Block Actions
To import the enumerations you have previously exported from another proj-
ect, select Custom Enumerations in the Enumerations tree and click
Import Enumeration.
If you have already created enumerations for your project, select the Enumer-
ation Format Type and select an enumeration from the Enumeration drop
down list.
EC-gfxProgram 1197
Figure 669: Selecting an enumeration that already has been configured
Parameter Description
Parameter Description
1198 EC-gfxProgram
Block Actions
Parameter Description
Parameter Description
You can export the enumerations that are part of your current project to a file
so you can import and use them in other projects. Click Export Enumeration
to do so. This creates an .enum file that you save on your PC. Share this file
by any available file transfer method (Email file attachment, ftp upload, etc.).
To import the enumerations you have previously exported from another proj-
ect, click Import Enumeration.
EC-gfxProgram 1199
Format editor
If you have already created enumerations for your project, select the Enumer-
ation Format Type and select an enumeration from the Enumeration drop-
down list.
1200 EC-gfxProgram
Block Actions
Parameter Description
Parameter Description
EC-gfxProgram 1201
Setting an enumeration range
A member can be a value or a range of values.
Parameter Description
To import the enumerations you have previously exported from another proj-
ect, select Custom Enumerations in the Enumerations tree and click
Import Enumeration.
1202 EC-gfxProgram
Block Actions
The Enumeration Picker window has all the enumerations that can be
assigned to the selected output. An enumeration is assigned to an output to
provide a descriptive meaning to the output based on a type of mode. For
example, instead of outputting a value of 3 for an HVAC mode, an output can
be assigned an enumeration so that it will output HVAC_COOL (which corre-
sponds to a value of 3), which is much more descriptive than the numeric
value in of itself.
Parameter Description
Type File Select a type file from the drop-down list. All available
type files from the device resource file catalog (stan-
dard and manufacturer defined) are listed. The Enu-
merations will change based on the .TYP file selected.
EC-gfxProgram 1203
Parameter Description
Format Selection
The Format Selection window has all the SNVT and SCPT format types that
can be assigned to the selected output. A format is assigned to an output to
provide a context for the value outputted. For example, an output value of 74
does not provide much meaning to the user by itself, but if the value is fol-
lowed by °F, then the user immediately understands that the value is a tem-
perature.
1204 EC-gfxProgram
Block Actions
Parameter Description
Format File Select a format file from the drop-down list. All avail-
able format files from the device resource file catalog
(standard and manufacturer defined) are listed. The
Formats will change based on the .FMT file selected.
EC-gfxProgram 1205
Edit Value (ECP Series)
The Edit Value window, available with ECP Series controllers only, allows the
value of the block to be set according to the format that has been applied to
the block when the controller is Online. The following value ranges are valid.
Constant Enum (ECP Series) Any integer value between -128 and
127
Network Variable Input (ECP The value(s) that can be set depend on
Series) the SNVT type of the block
For ECL Series Controller, configuration parameters for these blocks are set
in the Resources Configuration window.
If an enumeration format has been applied to the block, the Edit Value window
will display a combo box for you to select an enumeration value.
The Edit Mode and Value window, available with ECP Series controllers only,
allows the mode and value of the block to be set according to the format that
has been applied to the block when the controller is Online. The mode can be
set to either Manual, in which case the value entered will be set as a con-
stant, or to Automatic, in which case the value received as an input from
another block or the value of the attached device will be read. For a Variable
Numeric (ECP Series) and Hardware Input (ECP Series) block, any decimal
value (-83886.08 to 83886.07) can be set. For a Variable Enum (ECP Series)
block, any integer value between -128 and 127 can be set. For a Hardware
Output (ECP Series) block, any decimal value between 0 and 100 can be set.
If an enumeration format has been applied to the block, the Edit Mode and
Value window will display a combo box for you to select an enumeration
value.
1206 EC-gfxProgram
Block Actions
NOTE: For a Floating Pair block, setting the mode to Manual or Automatic
will set the PositionMode output to Manual or Automatic.
For a commandable value, this sets or clears a block’s output value at priority
level 1 as follows when the controller is Online. This is not available for the
Hardware Input Block.
Property Description
Right-click one or more blocks the block and select Emergency Override or
Emergency Auto as follows.
NOTE: If you select blocks of the same type, you can perform the following
actions: Emergency Override, Emergency Auto, Override, Auto, and
Set Value.
If you select blocks of different types, you can only perform an Emer-
gency Auto or Auto on the selected blocks.
EC-gfxProgram 1207
Figure 682: Selecting emergency override or emergency auto
NOTE: To easily set or clear the output value at priority level 1 for several
blocks throughout the project, open the Resource Viewer, right-click
these blocks, and select Emergency Override or Emergency Auto.
NOTE: Large numbers are entered into a dialog box using a special format.
For example, 2.385X1012 is entered into a dialog box as 2.385E+12.
A null value is typed in as null.
For Hardware Input, Hardware Output Blocks, and network objects, set or
clear a block’s input or output value by right-clicking one or more blocks the
block and selecting either Override or Auto as follows when the controller is
Online.
NOTE: If you select blocks of the same type, you can perform the following
actions: Emergency Override, Emergency Auto, Override, Auto, and
Set Value.
If you select blocks of different types, you can only perform an Emer-
gency Auto or Auto on the selected blocks.
NOTE: To easily set or clear the output value for several blocks throughout
the project, open the Resource Viewer, right-click these blocks, and
select Override or Auto.
1208 EC-gfxProgram
Block Actions
For blocks that support multiple BACnet objects at once, select through the
BACnet object to set the action.
Figure 684: Selecting override or auto for a block that supports multiple BACnet
objects at once
When Override is selected, set the value of the override in the dialog box and
click OK to apply the value.
NOTE: Large numbers are entered into a dialog box using a special format.
For example, 2.385X1012 is entered into a dialog box as 2.385E+12.
A null value is typed in as null.
ECL Series Sets or clears a block’s input or output value as follows when the controller is
controllers Online.
Table 32:
Hardware Output
Hardware
Property Block / LONWORKS Description
Input Block
Objecta
Enum Value (ECL Series), Boolean Value (ECL Series), and Numeric Value
(ECL Series) Blocks
EC-gfxProgram 1209
For ECB & ECY Sets or clears a block’s input or output value as follows when the controller is
Series Online.
controllers
Hardware
Hardware Output (ECB
Input (ECB & & ECY Series)
Property Description
ECY Series) Block /
Block BACnet
Objecta
Analog Value (ECB & ECY Series), Binary Value (ECB & ECY Series), and
Multi State Value (ECB & ECY Series) Blocks
1210 EC-gfxProgram
Block Actions
For blocks that have numbers, select Find All References to search for
instances of this block on all Programming Sheets by right-clicking the block
and selecting Find All References as follows.
The object(s) that use the resource are listed in the Search Results pane.
Double-click a search result to focus the programming sheet on that object,
which is shown highlighted.
Copy From
The Copy From window applies to resource blocks that have a block number
property. If there is another instance of the same type of block in the project,
one block can copy the configuration from another block through this window.
Right-click the block that is to receive the configuration from another block
and select Copy From as follows.
EC-gfxProgram 1211
Configure Ports
The Configure Ports window lists all the input and output ports available for
the selected block. To make a port visible or hidden, simply check or deselect
the associated box. There is also a context menu shortcut to show or hide an
input or output port - see Show/Hide Ports.
Not all ports are visible by default when a block is dropped into the program-
ming sheet; therefore it is a good practice to always check the Configure Ports
window until you are more familiar with the properties of each block. In some
special cases, new ports become available when the Block’s Properties pane
are modified (for example, block numbers 13 to 17 of the Network Variable
Input block reveal additional outputs ports).
1212 EC-gfxProgram
Block Actions
Parameter Description
Check All If the input list selected, checks all input ports and if the
output list is selected, checks all output ports.
Uncheck All If the input list is selected, this deselects all input ports
except ports with connection indicators and if the out-
put list is selected, this deselects all output ports except
ports with connection indicators.
Move Down Moves the selected port down one position (applicable
to Custom, Conditional Custom, and For Loop (ECL,
ECB & ECY Series) blocks only) to decrease the
event’s priority.
EC-gfxProgram 1213
Parameter Description
Format drop- The Format drop-down menu lists the most recently used formats. To access
down menu this menu, select one or more output ports and click the drop-down arrow
located next to the Format button or right-click the selected output port(s).
NOTE: The number of most recently used formats that are listed can be
changed in the EC-gfxProgram Options window.
Parameter Description
1214 EC-gfxProgram
Block Actions
Context menu Right-click an output port to view a list of recently-used formats. Formats can
also be added to a list of favorites by clicking Add to Favorites.
Show/Hide Ports
This context menu lists all the input and output ports available for the selected
block. To make a port visible or hidden, simply check or deselect the associ-
ated box.
Not all ports are visible by default when a block is dropped into the program-
ming sheet; therefore it is a good practice to always check the full range of
ports that are available with the Show/Hide Ports context menu until you are
more familiar with the properties of each block. In some special cases, new
ports become available when the Block’s Properties pane are modified (for
example, block numbers 13 to 17 of the Network Variable Input block reveal
additional outputs ports).
This context menu is accessible directly through all blocks except the Text,
Reference Hub and Reference Target blocks.
EC-gfxProgram 1215
Figure 692: Selecting Show/Hide Ports
1216 EC-gfxProgram
Block Actions
Certain time-related blocks have access to the Set Timer Value and Reset
Timer options directly from the context menu.
• Right-click on a timer block, and select Set Time Value to directly set the
starting value.
• Right-click on a timer block, and select Reset Timer to directly reset the
output to the initial value.
EC-gfxProgram 1217
Replacing blocks
Blocks that can logically be replaced by a block of another type (for example,
Comparator blocks) or blocks that have a logical opposite (for example,
Count Down and Count Up blocks) can be replaced directly on the program-
ming sheet without deleting them and redoing their connections to other
blocks.
1. Right-click the block to replace and select the new block from the drop-
down Replace Block option.
1218 EC-gfxProgram
Block Actions
Network properties
Status network The network properties associated to the block can be set for the block’s
variable NVOs and NVIs.
configuration
EC-gfxProgram 1219
Parameter Description
LonMark Prop- The name in the title is the name of the network vari-
erties able used for displaying the actual value on the LON-
WORKS network.
COV min send The minimum time period that must pass before the
time this network variable is transmitted even if there is a
change in value greater than the COV Increment value
during this time. If the value of the network variable
changes, an update will only be sent after this time
expires. Setting the min send time to 0 disables it.
The minimum send time is often referred to as the
"throttle".
COV max send The maximum time lapse allowed between COV notifi-
time cations for the network variable even if the value’s
change is not greater than the COV Increment value
during this time. Setting the max send time to 0 dis-
ables it.
The maximum send time is often referred to as the
"heartbeat".
If max receive time is configured for the corresponding
network variable input, the recommended setting for
this value is half the COV max receive time (for an nvo)
value.
COV Increment The minimum change in value that will cause a value to
be propagated on the network.
1220 EC-gfxProgram
Block Actions
Parameter Description
Program A Program network variable usually groups together a number values into a
network variable structured network variable, shown in the Common Network Variables. For
configuration example, in Figure 695 (left window), the window shows that hardware inputs
1 to 7 are grouped together in nvoHwIn01_07 under Program. A setting for a
structured network variable applies to all other related blocks that use this
structured network variable. Set the network properties as shown below (refer
to the controller’s Functional Profile in its datasheet). See also Typical control-
ler internal points.
Parameter Description
EC-gfxProgram 1221
Parameter Description
COV max send The maximum time lapse allowed for the configured
time Program network variable to be transmitted. This is
also known as heartbeat.
COV min send The minimum time period that must pass before the
time configured Program network variable is transmitted.
This is also known as throttle.
Property Description
Object name The object name. This is how this object will be identi-
fied on the network.
1222 EC-gfxProgram
Block Actions
Property Description
True text / false Assigns a Boolean format to the BACnet object, for
text (for Binary example, On, Off. Click Configure to create a new
Values only) enumeration or add a new member to an enumeration.
(ECB Series See Creating and using enumerations (8-Bit).
controllers)
COV min send When another device subscribes to the object for COV,
time this is the minimum time lapse allowed between COV
notifications even if there is a change in value greater
than the COV Increment value during this time. See
also Reading and writing network points.
COV max send When another device subscribes to the object for COV,
time this is the maximum time lapse allowed between COV
notifications even if the value’s change is not greater
than the COV Increment value during this time.
COV increment When another device subscribes to the object for COV,
this specifies the minimum change in value that will
cause a COV Notification to be issued to subscriber
COV-clients.
Default value This value is used when all priority levels are set to
Null.
Minimum off For Binary Values and Hardware outputs set to Digital
time mode, this sets a temporary override at priority level 6
for the minimum amount of time a binary value will be
false (0) when a falling edge is written to this object.
See Commandable object priority array levels.
Broadcast mode Instead of regularly polling an object for its value, when this option is set to
Local or Global, this allows a device to push a value to the receiving control-
ler only when the value has changed at the remote controller. This method is
useful to reduce network congestion as information is transmitted only when
necessary. The remote controller must be configured for Send Broadcast
COV for the property value.
EC-gfxProgram 1223
• Local: Broadcast the value to all devices that share the same Network
Number (are on the same subnet).
• Global: Broadcast the value to all devices on all networks. This global
broadcast is passed on (repeated) by Building Controllers according to
their routing configuration.
For blocks that have Broadcast Mode set to Local or Global, the Trigger-
Broadcast input port becomes available. A pulse at this input triggers a
broadcast of the object’s present value on the local or global network.
The Change Type window has all the SNVT types that can be assigned to the
block. It is typically used when there is a need to modify the variable type
before creating a binding.
Change type for Set the associated NVO on the other controller(s) to the same SNVT variable
netwrok variable type.
inputs
NOTE: If you change an NVI’s type in an external network management tool,
this will have no effect on the Network Variable Input block’s format
and configuration. It is recommended to use only EC-gfxProgram to
change the NVI type.
1224 EC-gfxProgram
Block Actions
Parameter Description
Network variable The name of the network variable as shown in the Net-
name workName property (in the Block’s Properties pane).
When you are using an LNS Network management
tool, this name is written to the associated network vari-
able, or if you are using EC-Net, this name is written to
the DisplayName field of the network variable. This
makes identification easier when making network con-
nections to the Network Variable Outputs of other
devices or HMIs.
Current type The current network variable type length. If the type is
length changed, this field is updated.
Type file Select a type file from the drop-down list. All available
type files from the device resource file catalog (stan-
dard and manufacturer defined) are listed. The Types
will change based on the .TYP file selected.
Types Select a type from the list. All types contained within
the selected .TYP file are listed and sorted by Name,
Field or Length.
Change type for Set the associated NVI on the other controller(s) to the same SNVT variable
network variable type.
outputs
NOTE: If you change an NVO’s type in an external network management tool,
this will have no effect on the Network Variable Input block’s format
and configuration. It is recommended to use only EC-gfxProgram to
change the NVO type.
EC-gfxProgram 1225
Figure 698: Typical NVO Change Type window
Parameter Description
Current type The current network variable type length. If the type is
length changed, this field is updated.
Type file Select a type file from the drop-down list. All available
type files from the device resource file catalog (stan-
dard and manufacturer defined) are listed. The Types
will change based on the .TYP file selected.
1226 EC-gfxProgram
Block Actions
Parameter Description
Types Select a type from the list. All types contained within
the selected .TYP file are listed and sorted by Name,
Field or Length.
Alarms are available with B-AAC and B-BC controller models only (see the
controller’s datasheet for more information) and are configured in the
Resources Configuration window. When the present value goes beyond pre-
defined thresholds, a notification message (Alarm or Event) is sent to a list of
other BACnet devices to warn of the alarm condition.
For ECB Series Controllers: For Values type blocks (Analog Value (ECB &
ECY Series), Binary Value (ECB & ECY Series), Multi State Value (ECB &
ECY Series)), only commandable objects support alarms (for more informa-
tion, see Commandable and non-commandable values (ECB & ECY Series
controllers)).
Notification classes are used to route alarms to other devices that have the
same set of properties, priorities, and use for the alarm or event notification. In
addition, the requirement for the acknowledgment from a human operator can
also be set (for a notification message only). See Configuring alarm recipi-
ents. ECB Series controllers are limited to five Notification Classes.
When Enable alarms is set, and the block is in an alarm state, the block’s
InAlarm output port is True(1). Alarms can also be temporarily disabled - see
also AlarmInhibit input (ECY Series controllers).
The alarm configuration varies according to the block type and its configura-
tion.
Binary Value (for ECB Binary Value (ECB & ECY Binary value block and digital
Series controllers, this Series) input alarms
applies to Commandable
instances only)
Digital Hardware Input Hardware Input (ECB & ECY Binary value block and digital
Light Sunblind Input (ECY Series) input alarms
Series only) Light Sunblind Input (ECB &
ECY Series expansion mod-
ules)
EC-gfxProgram 1227
Table 34: B-AAC and B-BC controller alarm support
Digital Hardware Output Hardware Output Digital and pulse hardware out-
Pulse Hardware Output Light Output put alarm
(ECB Series controllers)
Light Output (on/off
instances - ECY Series
only)
Multi State Value (for ECB Multi State Value Multi state value block and multi-
Series controllers, this level input alarms
applies to Commandable
instances only)
Multilevel Hardware Input Hardware Input Multi state value block and multi-
level input alarms
1228 EC-gfxProgram
Block Actions
To see all available ports and to make them available to project code when
possible, see Configure Ports. For more information about how to use these
inputs, refer to the description provided for the individual block. Links to these
blocks are found in Table 34.
Using a variable When alarms are enabled for an Analog Value (ECB & ECY Series) block, by
setpoint for the applying a positive input value to the AlarmSetpoint input increases the
alarm activation alarm setpoint values set in the Resources Configuration’s Alarms configura-
on an analog tion for the block (a negative value reduces the alarm setpoint values): The
value block High limit is now the High limit value (set in the resources configuration’s
Alarms configuration for the block) plus AlarmSetpoint input and the Low
example
limit is now the Low limit value (set in the resources configuration’s Alarms
configuration for the block) plus AlarmSetpoint input.
Figure 699: Analog values block alarms configuration window (ECY Series)
For example, this is ideal to use when you have a variable setpoint and you
want an alarm to be triggered when the measured value falls outside a set tol-
erance limit, say ±2ºF.
With the above settings for the Analog Value (ECB & ECY Series) block’s
Alarms Configuration parameters (2 set in High Limit and -2 set in Low
Limit), an Input of 75 with an AlarmSetpoint of 72, the Analog Value 1
block’s InAlarm output is True (1). This is because the block’s Input of 75 is
higher than the total of the High limit setting of 2 and the AlarmSetpoint
input of 72, which is 74.
NOTE: When the AlarmSetpoint input is disconnected, you must reset the
controller (see Project Synchronization) or connect a Null value (ECL,
ECB & ECY Series) block to this port so the controller will release this
port as being unconnected.
EC-gfxProgram 1229
Figure 701: Using a numm block to release the AlarmSetpoint input
NOTE: When a block has the InAlarm output, setting or clearing High or Low
in the Limit enable options shown above has no effect on the activa-
tion of this output.
When the AlarmSetpoint input is disconnected, the High limit and Low limit
can be written to through the BACnet interface.
Fan start-stop The project code to create an alarm for a fan failure is shown below. Hard-
alarm project ware Input 1 reads the Fan Status. When there is a mismatch between the
code example value at Input of Hardware Output 1 and the value at Feedback, and alarm
in generated according to the properties set in the Hardware Output 1’s
Resources Configuration, Alarms tab.
NOTE: For hardware inputs, alarm inhibit does not suppress Check out of
range or Check signal fault alarms.
To suppress alarms that result from a value that is out of range (e.g., a
network value that is out of range during network startup) or for a con-
nected sensor that is warming up (e.g., during system power up), set
an appropriate value (e.g., 300 to 900 seconds) in Time delay in the
1230 EC-gfxProgram
Block Actions
Parameter Description
Enable Alarms Set to enable the BACnet alarm profile for this
Enabled block. This also creates the alarm properties on
the associated BACnet object and it enables the
block’s Inalarm output: When the block is in an
alarm state, the block’s InAlarm output port is
True(1).
Alarm value The present value that will trigger the To offnor-
mal alarm.
Time delay (Normal) This is the minimum amount of time that a value
(for ECY Series only) must be back within limits before a To normal
notification message is sent.
EC-gfxProgram 1231
Parameter Description
Event enable Set the types of service status change that will
trigger a notification message:
To offnormal: The present value is equal to the
block’s Alarm value input for a period set by
Time delay, thus triggering a To offnormal noti-
fication message.
To fault: A communication problem with an
ECx-400 Series Extension module triggers a To
fault notification message.
To normal: The present value is not equal to the
block’s Alarm value input for a period set by
Time delay, thus triggering a To normal notifi-
cation message.
1232 EC-gfxProgram
Block Actions
Parameter Description
Enable Alarms Set to enable the BACnet alarm profile for this
Enabled block. This also creates the alarm properties on
the associated BACnet object and it enables the
block’s Inalarm output: When the block is in an
alarm state, the block’s InAlarm output port is
True(1).
Time delay (Normal) This is the minimum amount of time that a value
(for ECY Series only) must be back within limits before a To normal
notification message is sent.
EC-gfxProgram 1233
Parameter Description
Event enable Set the types of service status change that will
trigger a notification message:
To offnormal: The present value is not equal to
the block’s Feedback value input for a period
set by Time delay, thus triggering a To offnor-
mal notification message.
To fault: A communication problem with an
ECx-400 Series Extension module triggers a To
fault notification message.
To normal: The present value is equal to the
block’s Feedback value input for a period set by
Time delay, thus triggering a To normal notifi-
cation message.
1234 EC-gfxProgram
Block Actions
Parameter Description
Enable Alarms Set to enable the BACnet alarm profile for this block.
Enabled This also creates the alarm properties on the associ-
ated BACnet object and it enables the block’s Inalarm
output: When the block is in an alarm state, the block’s
InAlarm output port is True(1).
Limit enable Use the High limit threshold and/or Low limit thresh-
old for To offnormal notification message generation.
High limit When the Limit enable: High is set and the present
value goes above this threshold, the To offnormal noti-
fication message is triggered.
Low limit When the Limit enable: Low is set and the present
value goes below this threshold, the To offnormal noti-
fication message is triggered.
EC-gfxProgram 1235
Parameter Description
Dead band Specifies the signal range above the Low limit and
below the High limit in which no notification message
can be triggered or retriggered; that is, if the present
value oscillates around the Low limit or High limit but
remains within the range defined by this value.
Time delay The minimum amount of time that a value must be out
of limit before a To offnormal notification message is
sent.
Time delay (Nor- This is the minimum amount of time that a value must
mal) (for ECY be back within limits before a To normal notification
Series only) message is sent.
Event enable Set the types of service status change that will trigger a
notification message:
To offnormal: The present value is outside the limits
set by Limit enable, High limit (plus the block’s
AlarmSetpoint value input), and Low limit (plus the
block’s AlarmSetpoint value input) for a period set by
Time delay, thus triggering a To offnormal notification
message.
To fault: A communication problem with an ECx-400
Series Extension module triggers a To fault notification
message.
To normal: The present value is inside the limits set by
Limit enable, High limit (plus the block’s AlarmSet-
point value input) minus Deadband, and Low limit
(plus the block’s AlarmSetpoint value input) plus
Deadband for a period set by Time delay, thus trigger-
ing a To normal notification message. See Figure 706.
1236 EC-gfxProgram
Block Actions
Parameter Description
Enable Alarms Set to enable the BACnet alarm profile for this
Enabled block. This also creates the alarm properties on
the associated BACnet object and it enables the
block’s Inalarm output: When the block is in an
alarm state, the block’s InAlarm output port is
True(1).
Configure fault and Set the enumeration values to trigger a fault and
alarm values alarm. See Configuring fault and alarm values.
EC-gfxProgram 1237
Parameter Description
Time delay (Normal) This is the minimum amount of time that a value
(for ECY Series only) must be back within limits before a To normal
notification message is sent.
Event enable Set the types of service status change that will
trigger a notification message:
To offnormal: The present value is the same as
any Alarm values for a period set by Time
delay, thus triggering a To offnormal notifica-
tion message.
To fault: The present value is the same as any
Fault values, thus triggering a To fault notifica-
tion message.
To normal: The present value does not match
any Alarm values for a period set by Time
delay, thus triggering a To normal notification
message.
Configuring fault According to the enumeration selected for the block, the values for the enu-
and alarm values meration are shown. Any enumeration value can be selected to send either a
fault or alarm notification according to the enumeration’s present value.
1238 EC-gfxProgram
Block Actions
A drop down list (Insert variable) provides quick access to pre-defined vari-
ables for the most commonly-used BACnet objects.
Variable Description
Device name This is set in set in the BACnet Settings screen in the
controller’s Web Configuration Interface.
Notification The text of the Notify class set for this object.
class name
Object name The text of the Object name set for this object.
Object descrip- The text of the Description set for this object.
tion
Object unit The text of the Units set for this object.
Object high limit The object’s current alarm high limit threshold.
Object low limit The object’s current alarm low limit threshold.
EC-gfxProgram 1239
However, you can create a variable that will be sent in the event notification
message based on the value of any controller BACnet object as follows.
B
A C D
Item Description
1240 EC-gfxProgram
Block Actions
• The notification class must be configured, and the recipient for each noti-
fication class must be configured. See BACnet notification class configu-
ration and Adding a new BACnet notification recipient.
• The device that receives the BACnet notification messages must also be
configured, for example in EC-Net. See About alarms with the EC-Net
platform.
• For ECY Series controllers, notification messages can also be sent to an
Email recipient. See Configuring a notification class to send email alerts
(ECY Series).
Figure 710: Notification class resources configuration tree notification class (ECY
Series)
Parameter Description
Notification Classes The five notification classes. Click one to edit its
properties on the right.
EC-gfxProgram 1241
Parameter Description
Add new recipient Click to add a new recipient. See Adding a new
BACnet notification recipient.
Alarm or Event
Network Priority
Priority
Adding a new For ECB Series controllers, each of the five notification classes specifies one
BACnet to five destination devices (list of recipients) that will receive notification mes-
notification sages for this notification class from the current controller.
recipient
For ECY Series controllers, see Adding resource block instances to the
resource tree to add Recipients to the Resources Configuration tree.
1242 EC-gfxProgram
Block Actions
Parameter Description
Days of week The days of the week that notification messages will be
sent to this recipient.
Start time The time of day that notification messages will be sent
End time to this recipient.
Process identi- Sets the process identifier within the recipient device.
fier The process identifier is a number that is only under-
stood by the destination device to signify what the cur-
rent notification means, and its appropriate treatment.
In EC-Net, this is the Niagara Process Id (see About
alarms with the EC-Net platform).
EC-gfxProgram 1243
Figure 712: Alarms configuration in EC-Net
WARNING: For notification messages to work efficiently with the EC-Net Plat-
form, you must build the control points in EC-Net for all EC-gfx-
Program objects that are configured to generate an alarm. To do
this, see Automatic generation of control points from EC-gfxPro-
gram code.
If there is an alarm for a point for which no control point was cre-
ated in EC-Net, the alarm will take approximately 10 seconds
more to resolve. Also, the alarm source’s control point’s name
will not be shown to the console’s recipient.
• First create one or more Email accounts that will be used to send notifica-
tion messages to recipients. The controller uses a network connected
Email provider’s SMTP server to send out-going Email. See below.
• Once an Email account is created, it is then used in the Notification Class
configuration - see Adding a new email recipient.
1244 EC-gfxProgram
Block Actions
Adding a new For the controller to send an Email message, the controller must be able to
email account log into a previously-configured Email account or SMTP server. An SMTP
server handles Internet mail delivery and may be provided by your Internet
Service Provider, or by Gmail for example. Thus, the required configuration
parameters are normally provided by your ISP or mail service provider.
Parameters Description
Use authentica- Set this option if the Email account requires the use of
tion a username and password to send Email.
Username Your user name for this account. Some Email providers
require the full Email address as the user name.
EC-gfxProgram 1245
Parameters Description
Typical email The following are the Email settings for Gmail and Hotmail services.
settings for
gmail and Parameters Gmail Hotmail
hotmail
Hostname Gmail Hotmail
Connection tim- 10 10
eout
Sending a test A test Email message can be sent from an Email account to verify that it has
email been properly configured.
1246 EC-gfxProgram
Block Actions
Parameters Description
Test From This This sends a test Email message using the current
PC Email account settings from your PC. If the test Email is
received, the current Email account settings are valid.
If the controller in online and has internet connectivity, it
is best to use the Test From Device option.
Test From This sends a test Email message using the current
Device Email account settings from the connected controller.
The controller must be online and have internet con-
nectivity for this test to work. If the controller is not
online, then try the Test From This PC option.
If a test Email is received, the current Email account
settings and network configuration are valid.
Adding a new The controller’s Email service supports message texts created using UTF-8
email recipient character encoding only. To add Email Recipients to the Resources Configu-
ration tree, see Adding resource block instances to the resource tree.
EC-gfxProgram 1247
Figure 715: Email recipient resources configuration (ECY Series)
Parameter Description
Days of week The days of the week that Email notification messages
will be sent to this recipient.
Start timeEnd The time of day that Email notification messages will be
time sent to this recipient.
Body format The text format used for the Body text can be either
plain text or it can use HTML formatted text. HTML for-
matted text can use hyperlinks to Web pages and
graphics. In this case, use an HTML editor to create
HTML code and paste it into the Body text box.
1248 EC-gfxProgram
Block Actions
Parameter Description
Insert variable This inserts a variable into the current cursor position in
the Subject line or in the Body. See Table 36 for the
definition of these variables.
A drop down list (Insert variable) provides quick access to pre-defined vari-
ables to use in Email messages.
Variable Description
Device name This is set in set in the BACnet Settings screen in the
controller’s Web Configuration Interface.
Notification The text of the Notify class set for this object.
class name
Object name The text of the Object name set for this object.
Object descrip- The text of the Description set for this object.
tion
EC-gfxProgram 1249
Table 36: Email message variable descriptions
Variable Description
Event process The process identifier used by the recipient device. The
identifier process identifier is a number that is only understood
by the destination device to signify what the current
notification means, and its appropriate treatment. See
Adding a new BACnet notification recipient.
Event device The BACnet network address (Node ID) of the device
identifier that is generating the event.
Event object The BACnet object identifier of the object that initiates
identifier the notification.
Event type Indicates the type of event transition that was used to
detect the event occurrence: To offnormal, To fault, To
normal.
Event from state The point’s alarm status prior to the alarm event.
Event to state The point’s alarm status at the moment of the alarm
event: Normal, Off Normal, and Fault.
1250 EC-gfxProgram
Block Actions
Property Description
View Trend Log Opens the trend log for the selected resource. See
History below.
Clear Trend Log Clears the trend log history for the selected resource.
When View Trend Log History is selected, the trend log is then shown for the
block.
The Reload button in the Home ribbon bar reloads data from the device Note
that this operation may be time consuming, since all the points saved in the
device will be loaded For more information about the Trend Log window, see
Live Trend Log Home ribbon buttons and Live Trend Log Tools ribbon buttons.
EC-gfxProgram 1251
1252 EC-gfxProgram
The Toolbox Builder Tool
CHAPTER 8
The Toolbox Builder Tool
This chapter describes the toolbox Builder user interface including the differ-
ent toolbars, menus, and utility panes. It also provides a detailed explanation
of how to use the Toolbox Builder to create your own custom toolbox file (with
a .dll extension). Other program developers can then use the blocks created
in a custom toolbox once they have installed the toolbox file on their PC.
Topics
Toolbox tool overview
Overview of the toolbox builder user interface
Toolbox builder main menu toolbar
Using toolboxes
Creating a new toolbox
Creating a new toolbox with the toolbox builder
Toolbox troubleshooting
EC-gfxProgram 1253
Toolbox tool overview
What is a A toolbox is a file (with a .dll extension) that adds new programming blocks
toolbox? when installed on a PC with EC-gfxProgram. Toolboxes allow you to:
A toolbox is made from one or more code snippets (refer to Code Library).
Each of these code snippets are created from the root of a Custom block or a
Conditional Custom Block. For more information, refer to Creating a new tool-
box.
1254 EC-gfxProgram
The Toolbox Builder Tool
The Toolbox Builder User Interface (UI) was developed to follow Windows UI
standards. The UI employs a number of easy-to-use and dynamic utility
panes and toolbars.
2 Main Menu Toolbar 5 Descriptive text for how to fill in the selected
Properties Pane field.
3 Tree View pane of the toolbox, 6 Build Output pane shows a log of the
groups, and blocks. toolbox build process. If the build is
unsuccessful, check this log for an
indication as to the problem.
EC-gfxProgram 1255
Toolbox builder main menu toolbar
The Main Menu toolbar is situated at the top of the Toolbox Builder tool. This
toolbar contains the commands and options that are needed to manage and
use the Toolbox Builder.
File This menu contains functions essential for starting, saving, and managing
your project.
Parameter Description
Save Saves the current toolbox onto your PC’s file system.
The current toolbox can also be saved by pressing
Ctrl+S on the keyboard.
1256 EC-gfxProgram
The Toolbox Builder Tool
Toolbox This menu contains all the commands necessary to add groups and blocks to
a toolbox, or to remove a group or block from a toolbox.
Parameter Description
Add New Group When the toolbox is selected in the Tree View pane,
this adds a new group. Refer to Toolbox structure.
Add New When a group is selected in the Tree View pane, this
Snippet adds a new snippet to the group. Once a snippet is
added to the toolbox, it becomes a block. Refer to
Toolbox structure.
Create the snippet in any EC-gfxProgram project. The
snippet must be created from a Custom block or a
Conditional Custom Block.
Build This menu contains commands to build the toolbox and to view the build log.
Parameter Description
Build Toolbox Builds the toolbox and checks for any errors.
Show Build Shows the Build Output pane. This is a log of the
Output toolbox build process. If the build is unsuccessful,
check this log for an indication as to the problem.
EC-gfxProgram 1257
Using toolboxes
Toolbox Namespace is an attribute that you assign a string starting with a letter and
versioning contains any combination of letters and numbers including period (.). It usually
is represented as <YourCompanyShortName>.<YourToolboxName>.
Maintaining When you want to update a block in a toolbox while maintaining backwards
backwards compatibility, you must observe the following points:
compatibility
• Ensure your toolbox uses the same Namespace variable attribute as the
previous toolbox version.
• Ensure the blocks in the toolbox use the same Programmatic Name vari-
able attribute as the blocks found in the previous toolbox version.
• Ensure that you do not delete a port or change the name of a port in the
Custom block / Conditional Custom Block used to create the code snip-
pet.
• Ensure that if you add a port, that it is defined as optional in the Custom
block / Conditional Custom Block used to create the code snippet. Other-
wise, when a user opens a project, they will receive a compilation error
and reprogramming for this new input will be required.
When a new toolbox is incompatible with the previous version, you should
change the toolbox’s filename and the Namespace variable to make a version
fork in the project code tree.
An alternate solution is to create a toolbox group for old blocks that are not to
be used and put old blocks in that group. This allows older projects to be
opened without requiring reprogramming as the Namespace and Program-
matic Name attributes are still available for the old blocks in the toolbox.
1258 EC-gfxProgram
The Toolbox Builder Tool
Toolbox version You can give a toolbox a version number. This is useful if you have two ver-
number sions of a toolbox file with the same Namespace and you want to know which
is the most recent, you can right-click the file in Microsoft Windows Explorer
and select Properties. Under the Details tab, you can see the toolbox’s ver-
sion number.
Information about the selected toolbox (including the version) can also be
viewed by clicking .
EC-gfxProgram 1259
Creating a new toolbox
Toolbox A toolbox can contain one or more groups and each group contains one or
structure more toolbox blocks. This structure is shown below.
Figure 723: The toolbox structure (toolbox name, group name, and block name) shown
in EC-gfxProgram
Prerequisites for The root Custom block used to create the code snippet cannot use any blocks
creating a new that use countable resources that are found in the Resource Viewer.
toolbox
Procedure to A toolbox block is created from the code snippet you create in this procedure.
create a code
snippet for a NOTE: You must validate your project code to ensure it builds without errors
toolbox block before making it into a toolbox block. The Toolbox Builder does not
validate the snippet code used to make a block
1. Add a Custom block / Conditional Custom Block to any project (this is the
root Custom block).
2. Double-click the root Custom block to go to the programming sheet for the
Custom block / Conditional Custom Block.
3. Add blocks to the programming sheet and connect them as you usually
would do to create valid code. Add Exported Inputs and Exported Outputs
to serve as the inputs and output connectors of the future block.
1260 EC-gfxProgram
The Toolbox Builder Tool
4. Return to the page of the root Custom block. See Show in Containing
Page.
5. Right-click the root Custom block and select Save As Code Snippet.
6. Give the code snippet a name and select the library where the snippet is
to be stored in the Add To Library window.
7. Find the snippet you just created in the Code Library and right-click it.
8. Select Export To File.
NOTE: Use a filename that only has alphanumeric characters. Filenames with
non-alphanumeric characters will be renamed by the Toolbox Builder
when they are imported to Snippets.
The snippet’s filename is used as the Block’s Programmatic Name by
default. See Create a block for more information.
Now you are ready to create a toolbox in which this snippet will become a
block. Repeat this procedure to make a toolbox with more than one block.
WARNING: Ensure you save and backup your project and snippet files
(source files). Only with these files can you update or modify a
toolbox in the future. It is impossible to recreate source files from
a toolbox.
EC-gfxProgram 1261
Creating a new toolbox with the toolbox builder
2. Enter the properties for the new toolbox in the following fields.
Figure 725: Setting the properties of the new toolbox
1262 EC-gfxProgram
The Toolbox Builder Tool
Parameter Description
Project File Path and filename for this toolbox project file (once the
toolbox has been saved). This property is view only.
Target File Path and filename for the generated toolbox .dll file.
This property is view only.
EC-gfxProgram 1263
Create a group Create a group as follows.
Parameter Description
1. With the group selected, in the Toolbox menu, select Add New Snippet.
2. Find and select the snippet you saved in your file system in Procedure to
create a code snippet for a toolbox block. The snippet is added to the
group as a block.
1264 EC-gfxProgram
The Toolbox Builder Tool
3. Enter the properties for the new block in the following fields.
Figure 728: Setting the properties of the new toolbox
Parameter Description
Display Name The name for the block to be shown in the toolbox
explorer bar (required field).
File Path and filename for the snippet that is the source for
this block. When this field is selected, click to select
another snippet file as the source for this block.
Programmatic A unique name for this block that starts with a letter and
Name contains any combination of alphanumeric characters
(required field). This is the name that EC-gfxProgram
uses to identify a block so as to maintain lineage
(compatibility) with future versions of this block. When
you update this block with a new code snippet, the
updated project code will be used everywhere in place
of the previous version the next time the project’s
project code is built and synchronized with the device.
Refer to Maintaining backwards compatibility.
EC-gfxProgram 1265
Build the toolbox Build the toolbox as follows.
1. In the Build menu, select Build Toolbox. Wait for the Build Succeeded
message to be shown in the lower left corner.
2. If for any reason, the toolbox could not be built, the Build output form will
show up with detailed logs to troubleshoot the situation. The Build Failed
message will be shown in the lower left corner.
3. Restart EC-gfxProgram to make the new toolbox available for use.
Sharing a A Toolbox file can be shared with colleagues by sending them the toolbox .dll
toolbox file. Proceed as follows:
NOTE: If you create a toolbox that refers to another toolbox (contains a block
that was created with one or more blocks from another toolbox), the
first toolbox is dependent on the second. Because of this dependency,
all toolboxes that are required to make a block work must be sent
together and installed on the target project code development PC.
Installing or Installing a Toolbox file on a PC makes the programming blocks of that tool-
updating a box available to the graphical programming tool. Installing an updated Tool-
toolbox box file on a PC will update the project code for those toolbox blocks
wherever they are used in a project, so long as the toolbox’s internal Name-
space variable attribute and the Programmatic Name attributes variables for
the blocks are the same as those of the old toolbox (refer to Maintaining back-
wards compatibility). Toolbox files have a version number to help to know
which file is the latest; see Toolbox version number.
1266 EC-gfxProgram
The Toolbox Builder Tool
Toolboxes are If a project uses one or more blocks from a toolbox, the entire toolbox is saved
saved in the in the LNS or EC-Net database for that device if it has not already been saved
database there or the version saved there is out of date. Toolboxes are never saved on
the device with the project as is the case with code. If you open a project from
the database that uses a toolbox that is not currently installed on your PC, the
necessary toolboxes will be uploaded to the PC from the database.
NOTE: If the toolbox (with the same filename) is already available on the proj-
ect code development PC, it is this version of the toolbox that will be
used when opening and generating the project code for the project.
See also Toolbox Version Number for how to identify a toolbox ver-
sion.
When you load a EC-gfxProgram project that uses blocks from toolbox that do
not exist on your PC, EC-gfxProgram will ask you if it can look for the right
toolbox in the database (EC-Net or LNS) so that the blocks in your project can
be resolved.
Figure 729: Click Yes for EC-gfxProgram to look for the toolbox in the database
Available LNS and EC-Net databases can store at maximum 192 kB of toolboxes. EC-
storage space gfxProgram uses the ZIP compression algorithm to optimize toolbox space
for toolboxes in usage of the toolboxes used for a given project in the database. However, if
the database the ZIPed toolboxes are too large for this 192 kB file size limit, the toolboxes
will not be backed up in the database.
EC-gfxProgram 1267
Toolbox troubleshooting
Unavailable When you open a project that uses a block from a toolbox that is not available
block on your PC, EC-gfxProgram asks if you want to try to retrieve the toolbox from
the database. If the toolbox cannot be found, the block is flagged with “The
object “[object name]” is not supported by the current device.” errors in
the Error List.
This is due to EC-gfxProgram not being able to find any block with a matching
toolbox Namespace variable and / or block Programmatic Name variable attri-
butes. Technically, the block type could not be resolved by EC-gfxProgram.
In this case, the Namespace, Programmatic Name, and toolbox name of the
unavailable block is shown in the Error List.
The missing toolbox can also be resolved if it was saved in the database.
(See Toolboxes are saved in the database). Re-open the project and when
EC-gfxProgram asks if you want to try to retrieve the toolbox from the data-
base, click Yes.
Deleting a When EC-gfxProgram is started, it copies all Toolbox files found in the above
toolbox from mentioned Design Toolbox file directory to the RunTime directory located just
your PC above the Design directory.
To delete a Toolbox file, you must delete it from both the Design and Run-
Time directories.
NOTE: Make sure that no project refers to the toolbox you are deleting. Other-
wise, if the toolbox was saved in the database, then it will be down-
loaded as soon a project that refers to it is loaded.
1268 EC-gfxProgram
Calendar and Schedule Tool (ECL, ECB & ECY Series)
CHAPTER 9
Calendar and Schedule Tool (ECL, ECB
& ECY Series)
This chapter explains how to configure calendars and schedules on ECL
Series and ECB & ECY Series controllers with the Calendar and Schedule
Tool.
Topics
Using schedules and calendars
Calendar and schedules configuration overview (ECL, ECB & ECY Series)
Getting started on the calendar and schedule tool
Overview of the calendar and schedule user interface
File menu
Home ribbon
Current view
Shortcuts
Schedule/Calendar instance selector
About the calendar and scheduler
Configuring a schedule (calendar and schedule tool)
Configuring a calendar (Calendar and Schedule tool)
EC-gfxProgram 1269
Using schedules and calendars
Schedules are typically used to define a weekly schedule for example, the
work week can be defined as Monday through Friday with working hours from
8:00 a.m. to 5:00 p.m. Schedules also have special events that take priority
over the weekly schedule. A special event can be a reference to a calendar.
Calendars on the other hand let you globally specify holidays and other spe-
cial days in one place. A calendar can then be referenced in multiple sched-
ules, allowing you to create recurring holidays only one time that will change
the behavior of many schedules. This is shown below.
NOTE: For ECL Series and ECB Series controllers: A schedule can have up
to 5 or 10 special events depending on the controller model - see the
controller’s datasheet for more information. A calendar can have up to
50 calendar events. Using calendars increases the total number of
“special events” a controller can manage.
1270 EC-gfxProgram
Calendar and Schedule Tool (ECL, ECB & ECY Series)
The following configuration methods are available to create, edit, and transfer
both calendar and schedule information into a controller:
Application The Calendar and Schedule Tool (including the LNS plug-in) is ideal for con-
trol networks that have no building controller or HMI.
EC-gfxProgram 1271
Getting started on the calendar and schedule tool
• For ECL Series controllers: In LNS, right-click the device and select
Plug-Ins (Device) > Scheduler to open the Calendar and Schedule
Tool.
• For ECL Series and ECB Series controllers: Launch it from your
desktop. This is called the standalone mode.
NOTE: The time format (AM/PM or 24 hour clock) is shown in the user inter-
face according to your PC’s regional settings.
1272 EC-gfxProgram
Calendar and Schedule Tool (ECL, ECB & ECY Series)
Resolving Calendars and schedules can be modified through a number of methods (see
schedule / Calendar and schedules configuration overview (ECL, ECB & ECY Series)).
calendar When opening the Calendar and Schedule Tool in EC-gfxProgram, the follow-
conflicts (ECL ing window may appear. It indicates that the calendar or schedule saved in
Series & ECB your EC-gfxProgram project is different from the calendar or schedule saved
in the database. This occurs when:
Series)
• The calendars and schedules have been configured with the Calendar
and Schedule Tool in LNS or in standalone mode (Calendar and Sched-
ule Tool launched from your PC).
• A EC-Net building controller is used to configure the calendars and
schedules for a controller, any changes to calendars and schedules made
locally in the controller through the operator’s interface / ECx-Display
(color LCD screen) are synchronized with the EC-Net building controller’s
database, when the controller is a client of a BcpBacnetNetwork or a
BcpLonNetwork.
For more information about these configuration modes, see Calendar and
schedules configuration overview (ECL, ECB & ECY Series).
Parameter Description
EC-gfxProgram 1273
Parameter Description
Do this for the Set this to automatically repeat the above selected
next x conflict option for the remaining calendar / schedule conflicts.
If you suspect that a calendar or schedule may have been modified directly on
the controller through the controller’s LCD screen and you want to keep this
information, perform an Import From Device action (see File menu) when
you first open the Calendar and Schedule Tool.
1274 EC-gfxProgram
Calendar and Schedule Tool (ECL, ECB & ECY Series)
The Calendar and Schedule user interface (UI) was developed to follow Win-
dows UI standards. The UI employs a number of easy-to-use menus and tool-
bar.
2 5
6
3
7
4
1 File Menu: Contains the commands 2 The current view. See Current view.
and options that are needed to
manage and use the Calendar and
Scheduler. See File menu.
Home Ribbon: Provides quick
access to features that are contained
in the Main Menu. See Home ribbon.
3 The Weekly Schedule view. See 4 A previously created event. See Creating
Weekly schedule. an event.
5 The currently selected schedule or 6 Set or fine tune the selected event’s
calendar instance being configured. properties. See Changing the event’s
See Schedule/Calendar instance properties and Setting a Setting a special
selector. event’s properties.
EC-gfxProgram 1275
Item Description Item Description
7 A default value is the value that will be 8 The Status Bar shows the name of the
effective when there is no active connected device, the network interface
event. See Schedule default value. used to make the connection, and the
connection status.
The date and time is read from the device.
When the controller is offline, the date and
time is hidden.
1276 EC-gfxProgram
Calendar and Schedule Tool (ECL, ECB & ECY Series)
File menu
The File menu contains the commands and options that are needed to man-
age and use the Calendar and Scheduler.
About XML file Schedules and calendars can be saved onto your PC in an XML file format.
formats An XML file contains the complete information about schedule/calendar (data,
special event’s names, and enumeration members information).
Parameter Description
Select Device Opens the Select Device window. Select the device on
(Standalone the current network to connect to.
Mode Only)
For more information about the different modes to
launch the Calendar and Schedule Tool, see
Prerequisite Steps.
Save > Save To For ECY Series controllers, saves the current calendar
Database and schedule in the gfx project file, so it can later be
sent to a device when the project is synchronized.
For ECL & ECB Series controllers: Saves the current
calendar and schedule instances to the EC-Net or LNS
database.
Save > Send To For ECY Series controllers: Saves the current calendar
Device and schedule instances to the currently connected
device (when connected).
For ECL & ECB Series controllers: Saves the current
calendar and schedule instances to the EC-Net or LNS
database, and then to the currently connected device
(when connected).
Save > Save To Saves the current calendar and schedule instances to
File a file as an .xml format.
EC-gfxProgram 1277
Parameter Description
Import > Import For ECY Series controllers, imports the calendar and
From Database schedule instances from the gfx file. Note that this
option is only possible if a calendar and schedule
instance has previously been saved in the gfx file
(Save to Database).
For ECL & ECB Series controllers: Imports the
calendar and schedule instances from the EC-Net or
LNS database.
Import > Import Imports the calendar and schedule instances from the
From Device currently connected device.
Import > Import Imports the calendar and schedule instances from an
From File .xml file.
Clear > Current Removes all events and configuration information from
Schedule the calendar or schedule currently selected by the
Schedule/Calendar instance selector.
Clear > All Removes all events and configuration information from
Schedules and all calendar and schedule instances being configured
Calendars for the current controller.
1278 EC-gfxProgram
Calendar and Schedule Tool (ECL, ECB & ECY Series)
Select device The Select Device window displays the devices available on the current net-
work and allows one to be selected so as to open it in an application for con-
figuration purposes.
Clear Show only current device type to show all devices available on the
network.
EC-gfxProgram 1279
Home ribbon
Parameter Description
1280 EC-gfxProgram
Calendar and Schedule Tool (ECL, ECB & ECY Series)
Parameter Description
Change A built in default enumeration that cannot be modified is also provided, when
schedule type the Change type screen is configured as shown in Figure 739 (Type is set to
Enumerated and Enum is set to Occupancy). See also Default schedule enu-
meration values for this enumeration’s values.
Schedules support a number of data types. Each schedule can be set to any
one of these data types.
Type Description
EC-gfxProgram 1281
Type Description
When a schedule has been configured and the data type is changed, the
event values are converted as best as possible to the format of the newly
selected data type. However, changing the data type will require that you ver-
ify and if necessary set the value of all events and the default value.
Enumeration list This item is available only when the data type is set to Enumeration. The enu-
editor (ECB & meration editor allows you to create an enumeration, to change the number of
ECY Series members in an enumeration, or to change an enumeration member’s proper-
controllers only) ties.
Parameter Description
Name Sets the display name for this member that will be
shown in the interface when this enumeration member
is active.
1282 EC-gfxProgram
Calendar and Schedule Tool (ECL, ECB & ECY Series)
Parameter Description
Help These buttons are used to access the EC-gfxProgram’s help file, as well as
the version and build number in About.
Parameter Description
EC-gfxProgram 1283
Current view
The current view buttons are only available when a schedule is selected in the
Schedule/Calendar instance selector.
Parameter Description
Special Events Displays the Special Events view. See Special events.
1284 EC-gfxProgram
Calendar and Schedule Tool (ECL, ECB & ECY Series)
Shortcuts
Several commands have a keyboard shortcut associated with them for more
rapid use. The table below contains all the commands that have a keyboard
shortcut associated with them.
Parameter Description
EC-gfxProgram 1285
Schedule/Calendar instance selector
The schedule / calendar instance selector allows you to choose which one of
the Schedule / Calendar Instances to configure. The properties and configura-
tion information is shown for the selected Schedule / Calendar Instance.
For ECL Series and ECB Series controllers: Right-click a schedule or calen-
dar in the Instance Selector to rename it. This is the name by which the
schedule or calendar will be identified on the network.
1286 EC-gfxProgram
Calendar and Schedule Tool (ECL, ECB & ECY Series)
The following topics explain concepts necessary to know about this applica-
tion.
Schedule The Effective Period for a schedule defines the period during which the cur-
hierarchy rently selected schedule instance is active or inactive. When the schedule
instance is inactive, the schedule block’s TimeToNextState output is -1.
When the Effective Period for a schedule instance is active, there are three
types of schedule priority assigned to them should there be any conflict
between them. The current highest level schedule event will have precedence
over a lower priority schedule event.
Special 1 (highest) Special Events define a number of “Special Days” in the currently
Events selected schedule instance. Within Special Events, the priority of
Special Events is set by the order in which they are listed.
Schedule 3 (lowest) When no schedule event is active, the default value becomes
Default Value active. See Schedule default value.
EC-gfxProgram 1287
Schedule default A default value is configured that will be effective when there is no active
value event. This is set in the Weekly Schedule tab for each individual schedule as
shown below.
Figure 745: Setting the default value in the Weekly Schedule tab
NOTE: For ECL Series controllers, there are two types of null values available
that are not the same and are not interchangeable:
- Null output: Set the Schedule Default Value Null tick box. When
active, this outputs the Null value (which indicates ‘no value’) at the
block’s output port(s). This value is compatible with the Is Null block.
- Nul: Selected from the Schedule Default Value drop-down list Setting
the Default Value in the Weekly Schedule Tab). This is an enumerated
value of the SNVT_occupancy enumeration. When active, this outputs
-1 at the block’s output port(s). This value is not compatible with the Is
Null block.
Default schedule The following default schedule occupancy enumeration is built in to the Calen-
enumeration dar and Schedule Tool. These values are sent to the project code connected
values to the Schedule block.
SNVT_occupancy
Enumeration Values Enumeration Values for
Enumeration for ECL Series ECB & ECY Series
Controllers Controllers
(unalterable)
Nul -1 –
Occupied 0 1
Unoccupied 1 2
Bypass 2 3
Standby 3 4
1288 EC-gfxProgram
Calendar and Schedule Tool (ECL, ECB & ECY Series)
For ECB & ECY Series controllers only; you can also set the data type and
freely create your own schedule enumeration. See Change schedule type.
Default calendar The following default calendar active/inactive Boolean value is built in to the
enumeration Calendar and Schedule Tool. These values are sent to the project code con-
values nected to the Calendar block.
Active 1
Inactive 0
Setting event In the Schedule’s Special Events tab and in the Calendar, each event prop-
properties erty has an Any selection for properties such as weekday, day-of-month,
month-of-year, year, and so on. When an event property is set to Any, it
means that the range for this property is unlimited. A working event configura-
tion must normally have at least one property set with a value other than Any.
If all event properties are set to Any, the event will always be active.
The result of all property selections are additive, to combine to exclude the
rest. For example, if you select weekday of Wednesday, 6th day of the month
in any year: If the month does not have a Wednesday that falls on the 6th day,
then there will be no event for that month.
For the Schedule’s Effective Period tab, setting all properties for the Start
Period and End Period to Any will make the Schedule always active.
Selecting a In the Schedule’s Special Events and Effective Period tabs and in the Cal-
month in a endar, you can change the month displayed as shown below.
calendar
Figure 746: Changing the month displayed
Click these arrows to move
ahead or back a month
EC-gfxProgram 1289
Configuring a schedule (calendar and schedule tool)
• Weekly schedule
• Special events
• Effective period
Figure 747: schedules view selector
Weekly schedule Weekly schedules define regular, repeating, events by “time-of-day” and “day-
of-week.” At a minimum, up to three distinct events can be configured for each
day. Special Events have priority over the Weekly Schedule – see Schedule
hierarchy. A default value is configured that will be effective when there is no
active event for this calendar instance.
Events that are out-of-view due to where the screen is scrolled, an indicator
arrow shows the existence of this event; click it to view the event.
1290 EC-gfxProgram
Calendar and Schedule Tool (ECL, ECB & ECY Series)
2. Release the mouse button. The event remains selected (shown in dark
blue).
NOTE: Try this shortcut: With the keyboard, type the first letter of the value to
select the event’s value. Press <Enter> to use the value previously
selected last time. For example, type "o" to create an event with the
value of "Occupied" (when Occupied is available as a value).
3. Right-click the event and select New Event. A drop-down menu appears
in the event.
4. Select the value for the event. This is the value that will be sent to project
code when this event is active.
5. Click elsewhere in the week. The selected value is accepted.
NOTE: For ECB Series controllers: If the event data type is an enumeration,
you can use the default enumeration, or you can define an enumera-
tion by selecting Change Schedule Type from the Edit menu. See
Enumeration list editor (ECB & ECY Series controllers only).
EC-gfxProgram 1291
Changing the With any event selected:
event’s
properties • Click on the event and drag on the event’s top or bottom edge to change
its start or finish time (in broad increments).
Figure 750: Adjusting an event’s start or finish time
• Fine tune the start and finish time by selecting the hours portion or min-
utes portion and using the controls (up / down fine tuning buttons), or click
and type values in directly in Start Time and End Time.
• Set the event’s value in Value
• Set the event’s value with the keyboard:
• Type the first letter of the value to select the value for the event
• Press <Enter> and then use the up / down arrow (<↑> / <↓>) to select
a value. Press <Enter> again to accept the value.
• With the mouse, drag and drop an event to a new location to change its
start time or day.
Figure 751: Moving an event to a new location
NOTE: For any event, start time is inclusive, and the event extends to (but is
exclusive of) the end time. In other words, there is no output glitch
between adjacent events, even across days. For example, if a Mon-
day event ends at midnight, then a Tuesday event starts at midnight,
the schedule output is continuous (provided both events have the
same value).
1292 EC-gfxProgram
Calendar and Schedule Tool (ECL, ECB & ECY Series)
Resolving event When there is a Weekly Schedule configuration error, events are shown in red
errors and an Event Error description of the error is provided in the lower left corner.
• Overlapping events: An event must finish before another event can start.
However, events can touch. Drag or resize the events so they do not
overlap.
• Maximum number of events per day exceeded: When this error is shown,
reduce the number of events in that day. No more than three distinct
events per day can be configured, however when adjacent events are
added, it is possible to make a valid configuration with up to six adjacent
events per day.
• Crossing multiple days event: An event cannot start on one day and finish
on another day. Adjust the event to be on one day and create another
event on the second day with the same value.
Special events Special Events define a number of “Special Days” in the currently selected
schedule instance. Typically, you use them to define days with scheduling
exceptions (for example, holidays). Special Events have priority over the
Weekly Schedule – see Schedule hierarchy. A special Event can reference a
previously configured Calendar Event.
Existing Special Events (if any) are listed in the central area. When you select
a Special Event, the applicable day(s) for this Special Event are highlighted in
the calendar on the left, and the associated time-of-day events are displayed
on the right-side.
NOTE: The Date Status column shows if this event is currently active. For
display purposes, this status is calculated from your PC’s current time
and not from the controller’s time (as the controller may be offline).
Should the controller’s real time clock be set for a time zone other
EC-gfxProgram 1293
than your PC’s time clock (or if the clocks are poorly synchronized), an
event’s Date Status may not represent the actual controller’s status.
The effective time of Special Events can overlap. In the case of overlap, only
the highest priority Special Event will be active. Special Event priority is set by
the order in which they are listed. To change the order in which Special Events
are shown, right-click the event and select Up or Down, or select the event
and click (move up) or (move down) in the toolbar.
1294 EC-gfxProgram
Calendar and Schedule Tool (ECL, ECB & ECY Series)
Parameter Description
New Event This creates a new Special Event (the default is the first
day of every month).
Day(s) Of Month Create events for the selected days in all months.
This Date Range Create an event for the selected range of days.
Date Range of Create an event for the selected range of days for all
Month months.
EC-gfxProgram 1295
Parameter Description
NOTE: The first week is from the 1st to the 7th, the sec-
ond week is from the 8th to the 14th, the third
week is from the 15th to the 21st, the fourth
week is from the 22nd to the 28th (if applicable),
the fifth week is from the 29th to the 31st (if
applicable).
NOTE: The first week is from the 1st to the 7th, the sec-
ond week is from the 8th to the 14th, the third
week is from the 15th to the 21st, the fourth
week is from the 22nd to the 28th (if applicable),
the fifth week is from the 29th to the 31st (if
applicable).
Week Days In Create events for each selected day of the week for the
Month current month.
Week Days Create events for each selected day of the week for all
years.
Days > 1st Day Create an event for the selected day for all months.
to 31st Day and
Last Day
Week Days > Create an event for the selected day of the week for all
Sunday to months.
Saturday
Weeks > 1st Create an event the entire selected week of the week
for all months.
Week to 5th
Week and Last
Week NOTE: The first week is from the 1st to the 7th, the sec-
ond week is from the 8th to the 14th, the third
week is from the 15th to the 21st, the fourth
week is from the 22nd to the 28th (if applicable),
the fifth week is from the 29th to the 31st (if
applicable).
4. Create an event that defines the time range during which the Special
Event is active.
1296 EC-gfxProgram
Calendar and Schedule Tool (ECL, ECB & ECY Series)
Setting a special With any Special Event selected, select the Properties tab to the right and
event’s configure the Special Event’s properties. See also Setting event properties.
properties
Figure 756: Setting a special event’s properties
Parameter Description
When a Special Event’s property is set to Any, it means that the range for this
property is unlimited. A working configuration must normally have at least one
property set with a value other than Any. Properties are additive, to combine
EC-gfxProgram 1297
to exclude the rest. See Setting a Setting a special event’s time-of-day event
properties.
Parameter Description
1298 EC-gfxProgram
Calendar and Schedule Tool (ECL, ECB & ECY Series)
Parameter Description
Special selection The number of days in a calendar month varies according to the month, and
options for February, whether it is a leap year. Due to this, there is the option in Day to
select the last day of the month which automatically selects the last day of the
month, regardless of the month.
Also, for Month, there is the option to select all even months (February, April,
June, August, October, December), or to select all odd months (January,
March, May, July, September, November).
Setting a special With any Special Event selected, select the Events tab to the right and config-
event’s time-of- ure the time range during which the Special Event is active (time-of-day
day event event). At a minimum, up to three distinct time-of-day events can be config-
properties ured for each Special Event. See also Changing the event’s properties.
NOTE: For ECB Series controllers: If the event data type is an enumeration,
you can use the default enumeration, or you can define an enumera-
EC-gfxProgram 1299
tion by selecting Change Schedule Type from the Edit menu. See
Enumeration list editor (ECB & ECY Series controllers only).
Parameter Description
Value Set the time-of-day event’s value for the Special Event.
Start Time Set the time-of-day event’s start and stop time. Fine
tune the start and finish time by selecting the hours
End Time
portion or minutes portion and using the controls (up /
down arrow), or click and type values in directly in Start
Time and End Time.
Resolving When there is a Special Event configuration error, the error is shown in the
special event Date Status column for the special Event. Special Event configuration errors
errors include:
• No time period defined: This is a user warning that a Special Event must
have a time period defined in the Event tab. See Setting a special event’s
time-of-day event properties.
• Invalid configuration: This is a user warning that a Special Event’s Proper-
ties are ambiguous: A Special Event cannot have its Week Day, Day,
Month, and Year all set to Any while in the Event tab, no event has been
created.
• Maximum number of events per day exceeded: When this error is shown,
reduce the number of events in that day. No more than three distinct
events per day can be configured, however when adjacent events are
added, it is possible to make a valid configuration with up to six adjacent
events per day.
• Invalid Date: A date was specified that cannot exist, for example, Febru-
ary 30th. Select a valid date or for example, use the Last Day option
1300 EC-gfxProgram
Calendar and Schedule Tool (ECL, ECB & ECY Series)
which automatically selects the last day of the month according to the
actual number of days in a given month. See Special selection options.
• When the Type is set to Reference: The calendar being referenced must
be properly configured.
Effective period Effective Period defines the period during which the currently selected sched-
ule instance is active or inactive (see Schedule hierarchy).
Parameter Description
This Date Range Create an event for the selected range of days.
Date Range of Create an event for the selected range of days for all
Month months.
EC-gfxProgram 1301
Changing the Set the Effective Period’s start and end period as follows.
effective period’s
properties Figure 761: Setting a date range’s properties
Parameter Description
When a Date Range’s property is set to Any, it means that the range for this
property is unlimited. See also Setting event properties.
Resolving When there is an Effective Period configuration error, the calendar is shown in
effective period pink and an error description is provided in the lower left corner. Special Event
errors configuration errors include:
• Invalid Date: A date was specified that cannot exist, for example, Febru-
ary 30th. Select a valid date to correct the error.
1302 EC-gfxProgram
Calendar and Schedule Tool (ECL, ECB & ECY Series)
Calendar events Calendar events define a number of “special event days” in the currently
selected calendar instance. Typically, you use them to define days with
scheduling exceptions (for example, holidays), and reference them in a
schedule’s “Special Events” configuration.
Existing calendar events (if any) are listed in the central area. When you
select a calendar event, the applicable day(s) for these days for this calendar
event are highlighted in the calendar on the left, and the associated time-of-
day events are displayed on the right-side.
The effective time of Calendar Events can overlap. In the case of overlap,
only the highest priority Calendar Event will be active. Calendar Event priority
is set by the order in which they are listed. To change the order in which Cal-
endar Events are shown, right-click the event and select Up or Down, or
select the event and click (move up) or (move down) in the toolbar.
EC-gfxProgram 1303
Creating a Configure a calendar event as follows:
calendar event
1. In the calendar pane (on the left side), select the calendar dates for the
Calendar Event:
Parameter Description
New Event This creates a new calendar event for the selected day.
Day(s) Of Month Create events for the selected days in all months.
This Date Range Create an event for the selected range of days.
Date Range of Create an event for the selected range of days for all
Month months.
1304 EC-gfxProgram
Calendar and Schedule Tool (ECL, ECB & ECY Series)
Parameter Description
NOTE: The first week is from the 1st to the 7th, the sec-
ond week is from the 8th to the 14th, the third
week is from the 15th to the 21st, the fourth
week is from the 22nd to the 28th (if applicable),
the fifth week is from the 29th to the 31st (if
applicable).
NOTE: The first week is from the 1st to the 7th, the sec-
ond week is from the 8th to the 14th, the third
week is from the 15th to the 21st, the fourth
week is from the 22nd to the 28th (if applicable),
the fifth week is from the 29th to the 31st (if
applicable).
Week Days In Create events for each selected day of the week for the
Month current month.
Week Days Create events for each selected day of the week for all
years.
Days > 1st Day Create an event for the selected day for all months.
to 31st Day and
Last Day
Week Days > Create an event for the selected day of the week for all
Sunday to months.
Saturday
Weeks > 1st Create an event the entire selected week of the week
for all months.
Week to 5th
Week and Last
Week NOTE: The first week is from the 1st to the 7th, the sec-
ond week is from the 8th to the 14th, the third
week is from the 15th to the 21st, the fourth
week is from the 22nd to the 28th (if applicable),
the fifth week is from the 29th to the 31st (if
applicable).
EC-gfxProgram 1305
Setting a With any calendar event selected, configure the event’s properties.
calendar event‘s
properties Figure 765: Setting a calendar event‘s properties
Parameter Description
When a Calendar Event’s property is set to Any, it means that the range for
this property is unlimited. A working configuration must normally have at least
one property set with a value other than Any. Properties are additive, to com-
bine to exclude the rest. See Setting a special event’s time-of-day event prop-
erties. See also Special selection options.
1306 EC-gfxProgram
Calendar and Schedule Tool (ECL, ECB & ECY Series)
Parameter Description
EC-gfxProgram 1307
Resolving When there is a Calendar Event configuration error, the error is shown in the
calendar event Date Status column for the Calendar Event. Calendar Event configuration
errors errors include:
• When the Type is set to Reference: The calendar being referenced must
be properly configured.
• When the Type is set to Date Range: The start date must be earlier than
or the same as the end date.
• Invalid Date: A date was specified that cannot exist, for example, Febru-
ary 30th. Select a valid date or for example, use the Last Day option
which automatically selects the last day of the month according to the
actual number of days in a given month. See Special selection options.
1308 EC-gfxProgram
Scheduler Configuration Tool (ECP Series)
CHAPTER 10
Scheduler Configuration Tool (ECP
Series)
For ECP Series controllers, this chapter provides a procedure to quickly setup
a schedule for controllers that support this feature as well as a comprehensive
description of the entire tool. This chapter follows the same organization as
the tool itself in order to help configure a schedule in a logical fashion.
Topics
Quick start guide
Calendar
Week schedules
Special day schedules
Options
Data Manage
Object Manage
Message Logger
EC-gfxProgram 1309
Quick start guide
This section describes how to quickly setup a schedule through the Scheduler
configuration tool.
4. Configure the rest of the days of the week in a similar manner. Identical
schedules can be setup for different days by clicking the Copy button in
the configured day, selecting another day from the Select Day drop-down
menu and clicking the Paste button.
5. Select the Special Day Schedules module from the Menu window of the
Scheduler configuration tool to configure holiday or special day sched-
ules. There are four special day schedules that can be configured.
1310 EC-gfxProgram
Scheduler Configuration Tool (ECP Series)
6. Select the special day from the Special Day Schedules drop-down
menu. To change the name of the special day, click the […] button next to
the menu. Enter the name of the special day and click OK.
Figure 767: Changing the name of the special day
8. Select the Calendar module from the Menu window of the Scheduler con-
figuration tool.
9. Click Assign Schedule under Calendar Mode. Select the special day to
assign to the calendar by selecting it from the Select Special Day drop-
down menu.
10. Browse the months by clicking on the Next and Previous buttons. Once
the month and day is found where the special day is to be assigned, sim-
ply click on it with the mouse and a grey number will appear which corre-
sponds to the Special Day Schedule selected in the Special Day
Schedules drop-down menu. So if special day 1 has been selected, then
EC-gfxProgram 1311
the number 1 will appear in grey on the day selected in the calendar as
shown in the figure below.
Figure 769: Assigning the special day to the calendar module
11. Select View Schedule under Calendar Mode. Confirm the accuracy of
the schedules by selecting a day in the calendar and checking to see if
the appropriate day schedule appears. Click OK.
Schedule 1 is now ready for use by any device that supports a schedule.
1312 EC-gfxProgram
Scheduler Configuration Tool (ECP Series)
Calendar
This is the first screen that appears after launching the Scheduler configura-
tion tool. The user may also access this screen by clicking Calendar from the
Menu window on the left hand side of the configuration tool.
Parameter Description
View Schedule By selecting this option in Calendar Mode, the user will
be able to view the daily schedules configured for this
schedule. By clicking on any day in the calendar, the
user will be able to see all the events configured for
that particular day of the week. The time and status of
the schedule will be displayed on the right hand side of
the schedule.
The Next and Previous buttons are used to browse
the months of the year. Clicking the Today button
automatically brings the calendar to the current day,
month, and year.
EC-gfxProgram 1313
Parameter Description
Assign Schedule This option in Calendar Mode allows the user to assign
a Special Day Schedule to a day on the calendar. This
is done by first selecting the Special Day from the
Special Day Schedules drop-down menu that appears
to the right of the calendar as soon as the
Assign Schedule mode is selected. There are four
special days available for configuration. Their default
names are Holiday 1 through Holiday 4. They are also
numbered 1 through 4 (the numbers appear in brackets
next to the special day). If the special day schedules
have not yet been configured, clicking on the > button
to the right of the menu will open the Special day
schedules. After the special day schedule has been
configured and selected, click on the day in the
calendar on which the special day is to be scheduled.
The number of the special day (the one in between
brackets) will appear in grey.
The Next and Previous buttons are used to browse
the months of the year. Clicking the Today button
automatically brings the calendar to the current day,
month, and year.
1314 EC-gfxProgram
Scheduler Configuration Tool (ECP Series)
Week schedules
This module is used to configure the schedule for every day of the week. It is
accessible through the Menu window on the left-hand side of the configuration
tool.
To configure a particular day, select that day from the Select Day drop-down
menu. The days can also be browsed through by using the Next and Previ-
ous buttons. Clicking the Apply button will confirm the changes made to the
schedule. Clicking OK will confirm the changes to the schedule and close the
Scheduler configuration tool.
If the same events are to be used for different days of the week, simply click
the Copy button on one configured day, go to the new day to be configured
and click Paste. This will copy all the parameters from one day to another.
Once the day to be configured has been selected, the events for that day may
be defined. This is done by entering a Time and Enumeration (state) for
each event. For advanced users the Value field is also available. There are six
events available for each day.
EC-gfxProgram 1315
Parameter Description
Time This is the time at which the event will start and the
event preceding it will end. All times should be entered
in military time (00:00 to 23:59).
For example, Event 1 can be the morning shift, which
starts at 08:00. Event 2 can be the lunch break, which
starts at 12:00. This way Event 1 lasts from 08:00 till
11:59.
1316 EC-gfxProgram
Scheduler Configuration Tool (ECP Series)
Parameter Description
EC-gfxProgram 1317
Special day schedules
This module is similar to the Week schedules module except that it is used to
configure Special Days as the name suggests.
Click OK to confirm the change and close this window. Click Cancel to close
the window without confirming the change.
1318 EC-gfxProgram
Scheduler Configuration Tool (ECP Series)
After selecting the Special Day to be configured, simply enter a Time and
Value or Enumeration for each event in the special day schedule.
The Copy button may also be used to copy all configured parameters of the
configured special day and the Paste button can then be used to apply those
copied parameters to another special day.
Clicking on the Apply button will confirm the changes made to the schedule.
Clicking OK will confirm the changes to the schedule and close the Scheduler
configuration tool.
EC-gfxProgram 1319
Options
The Options module contains the configuration parameters for the Scheduler
object’s NVO and NVI. You can access this window by clicking on Options
from the Menu window on the left hand side of the configuration tool.
1320 EC-gfxProgram
Scheduler Configuration Tool (ECP Series)
Each schedule object has a dedicated NVO for it to transmit its contents over
the network. The number of schedule objects available is dependent on the
device being used. In addition to this, programmable controllers using EC-gfx-
Program have a dedicated NVI for it to receive a schedule over the network.
In order for the information to be propagated over the network using these
NVOs or NVIs, the NVOs must be bound to the proper NVIs on the receiving
controllers and the NVIs must be bound to the proper NVOs on the transmit-
ting controllers. The binding of variables is done using a network manage-
ment tool. Refer to their respective user guides for more details on how to
bind network variables.
Scheduler
Parameter Description
Scheduler
output options
Parameter Description
Update Period This is a user defined interval which is the rate at which
the schedule object will send out the value of the
schedule to the network. The value must be entered in
seconds. It is not advised to put a very low update
period so as not to flood the network with data.
Default Value This is the value that the schedule will take when an
override is activated. The user may select from a drop-
down menu of enumerations. The enumerations
change according to the selected SNVT type. Refer to
Object Manage for more details on override.
EC-gfxProgram 1321
Parameter Description
1322 EC-gfxProgram
Scheduler Configuration Tool (ECP Series)
Scheduler input
configuration
(EC-gfxProgram) Parameter Description
EC-gfxProgram 1323
Parameter Description
Change network The Change Network Variable type window is typically used when there is a
variable type need to modify the variable type before creating a binding.
(LNS)
NOTE: The NV type should be changed BEFORE configuring the schedule.
Parameter Description
Actual Type The current network variable type. When the type is
changed and Apply is clicked, this field will be updated.
1324 EC-gfxProgram
Scheduler Configuration Tool (ECP Series)
Parameter Description
Preferred type Checking this box will show the preferred type list for
list the network variable. This option is selected by default.
The preferred type varies based on the type of input
and displays the most appropriate SNVT types that
should be attributed to the network variable. The
preferred SNVT types for nvoSchedule are:
• SNVT_hvac_mode
• SNVT_occupancy
• SNVT_tod_event
Type files A list of all available type files from the device resource
file catalog (standard and manufacturer defined).
Based on the .TYP file you select, the Type List will
change.
Type list A list of types within the selected file that are of the
appropriate length.
Change netwrok The Changeable Nv Manager view is typically used when there is a need to
variable type modify the variable type before creating a binding. Each variable type has a
(EC-Net) preferred number of SNVT types and these preferred SNVT types will work
best with the selected variable type. The supported SNVT types for
nvoSchedule are:
• SNVT_hvac_mode
• SNVT_occupancy
• SNVT_tod_event
EC-gfxProgram 1325
1. Enter into the Changeable Nv Manager view by right-clicking the device
name and selecting Views > Changeable Nv Manager.
Figure 777: Changeable Nv Manager view
1326 EC-gfxProgram
Scheduler Configuration Tool (ECP Series)
Data Manage
EC-gfxProgram 1327
Data
management
Parameter Description
Synchronization
Parameter Description
1328 EC-gfxProgram
Scheduler Configuration Tool (ECP Series)
Object Manage
Parameter Description
Override OFF Used to return the device from Override mode to its
normal functioning mode.
EC-gfxProgram 1329
Parameter Description
Display Active Select this option to only display requests that are
Only “ON”.
1330 EC-gfxProgram
Scheduler Configuration Tool (ECP Series)
Message Logger
This tool displays errors and warnings as soon as they occur. The errors
remain in the log until the user clears the log by clicking the Clear button. The
Close button closes the message logger without erasing the errors. The user
can also save the message log to a file by clicking the Save to File button.
NOTE: The user is notified to the presence of an error in the main window of
the configuration tool by the book icon turning red. This means that
there are logged errors ready for viewing. The book icon will only
return to its default grey color after the errors have been erased.
The Save to File function can be used to save a message log which can then
be sent to Technical Support for more efficient and accurate responses.
EC-gfxProgram 1331
1332 EC-gfxProgram
Real Time Clock Configuration Tool (ECP Series)
CHAPTER 11
Real Time Clock Configuration Tool
(ECP Series)
For ECP Series controllers, this chapter provides a comprehensive descrip-
tion of this configuration tool and explains how to setup all parameters so that
the controller has proper real time settings.
Topics
Daylight Saving Time
Object Manage
EC-gfxProgram 1333
Daylight Saving Time
This is the first screen that appears after launching the Real Time Clock
(RTC) configuration tool. The user may also access this screen by clicking
Daylight Saving Time from the Menu window on the left hand side of the
configuration tool.
Parameter Description
General
Parameter Description
Offset Enter the amount of time that clocks are forwarded and
returned at the end of the Daylight Saving Time period.
Typically 60 minutes.
1334 EC-gfxProgram
Real Time Clock Configuration Tool (ECP Series)
Start time
Parameter Description
Time Enter the time of day when Daylight Saving Time shall
begin. The format should be in military units (6PM =
18:00).
Day Select the day of the week when Daylight Saving Time
shall begin. Use this drop-down menus to select the
day of the week in the month, for example the second
Sunday.
End time
Parameter Description
Time Enter the time of day when Daylight Saving Time shall
end. The format should be in military units (6PM =
18:00).
Day Select the day of the week when Daylight Saving Time
shall end. Use this drop-down menus to select the day
of the week in the month, for example the first Sunday.
Month Select the month when Daylight Saving Time shall end.
Device date/time
Parameter Description
Get System Displays the date and time running on the system in the
Time Date and Time fields respectively.
EC-gfxProgram 1335
Parameter Description
Get Device Time Displays the date and time running on the device in the
Date and Time fields respectively.
Set Device Time Sets the date and time displayed in the Date and Time
fields to the device.
Update period
Parameter Description
Update Period The period of time that the RTC NVO, nvoTimeDate,
will be re-transmitted.
1336 EC-gfxProgram
Real Time Clock Configuration Tool (ECP Series)
Object Manage
This module of the RTC configuration tool is used to perform certain object
requests on the device.
Parameter Description
Display Active Select this option to only display requests that are
Only “ON”.
EC-gfxProgram 1337
1338 EC-gfxProgram
EC-Net Platform Support Pack Features for ECP & ECL Series Controllers
CHAPTER 12
EC-Net Platform Support Pack Features
for ECP & ECL Series Controllers
An EC-gfxProgram compatible controller can be programmed on a EC-Net
platform just like any other device. However, if the EC-Net platform is to man-
age the programmable controller directly, it needs to connect to the device’s
internal points in a certain way. By using special control points that can be
linked to the internal points of the programmable controller, the controller’s
internal points can be used in graphics (Px) pages, logs, or alarms.
Topics
Typical controller internal points
Automatic generation of control points from EC-gfxProgram code
Manual creation of internal control points
Internal control points actions
Linking, building, and trimming LONWORKS component objects in EC-Net
Sending weather information to a controller
EC-gfxProgram 1339
Typical controller internal points
Controller Type
1340 EC-gfxProgram
EC-Net Platform Support Pack Features for ECP & ECL Series Controllers
Controller Type
ComSenser (nvoComSensr01_04, -
nvoComSensr05_08, nvoComSensr09_12)
The EC-Net platform can be used to manage these internal points for several
purposes including reading and writing to them in a graphics (Px) page, log-
ging them or linking them to alarms. However, to enable the EC-Net platform
to be able to manage the internal points, they first must be added to the sta-
EC-gfxProgram 1341
tion. See Automatic generation of control points from EC-gfxProgram code
and Manual creation of internal control points.
Internal control points provide an interface between the EC-Net platform and
the internal points of a controller. Through this interface, the EC-Net platform
can have proper control over the internal points to be able to read their modes
and values, set their values, override their modes, etc. There are 3 types of
internal control points: InternalPointNumeric, InternalPointEnum, and Internal-
PointBoolean (see Automatic generation of control points from EC-gfxPro-
gram code).
After an internal control point from the EC-Net platform is linked to an internal
point from the controller, it needs to be updated with the values and modes
from the internal point. The only way to update an internal control point is
through Binding (see below).
NCIs cannot be bound: When an NCI is “polled”, the internal control point
sends out ONLY one request for an update when it becomes subscribed. This
can either be initiated directly by the user or, if the NCI is in a graphics (Px)
page, it is initiated when the page is first opened. An NCI is generally used as
part of a graphics (Px) page where one value and/or mode update is sufficient
and not when it is part of a control logic sequence, alarm sequence or being
logged where regular automatic updates are often required.
1342 EC-gfxProgram
EC-Net Platform Support Pack Features for ECP & ECL Series Controllers
same time, use the Lon Link Manager. Right-click BcpLonNetwork in the in
the Nav tree to access the Lon Link Manager.
Figure 785: Defining the service type through the Lon LinkManager
Parameter Description
EC-gfxProgram 1343
If you set Priority in combination with any of the message service types, upon
a bind, the Priority flag is set in the network variable’s Nv Config Data.
Once the links have been created, remove any unnecessary control points to
reduce the amount of memory resources needed by using the Trim feature.
See Trimming LONWORKS component objects in EC-Net.
Types of point There are two types of controller points that can be created in EC-Net.
Parameter Description
1344 EC-gfxProgram
EC-Net Platform Support Pack Features for ECP & ECL Series Controllers
NOTE: These controller internal points are special control points that allow for
the control of internal parameters and can be identified in EC-Net in
the Points folder by their icon (the icon has a black dot in its cen-
ter).
For the highest level of integration with EC-Net, always use the latest
EC-Net service pack.
EC-gfxProgram 1345
Automatically The following procedure creates the control points on the EC-Net Station from
creating in EC- blocks in EC-gfxProgram code. If you update your code, and want to see the
Net the control change reflected on the Station, use the option Update Points (see Updating a
points used in control point in EC-Net). Add control points that are associated with a device’s
your code internal control points as follows:
1. Right-click the device and select Actions, Create Points.
Figure 786: Automatically adding internal control points of a compatible controller
2. A Create Points popup asks if you want to use a temporary folder. Select
True to put the control points into a temporary subfolder (you then choose
the ones you need to use by moving them as necessary in the Points
folder to then later delete the temporary folder to remove remaining
unused ones). Use the temporary folder when you need to replace only a
few existing proxy points. Select false to put all control points directly in
the Points folder of the device – this is not recommended as this can cre-
ate a large volume of network traffic that can impair normal operation.
NOTE: Pre-existing internal control points are not overwritten when creating
control points with the same name using the above procedure. Control
points are found under their corresponding network variable.
1346 EC-gfxProgram
EC-Net Platform Support Pack Features for ECP & ECL Series Controllers
3. Delete any unused internal control points that were created to reduce the
amount of memory resources needed.
NOTE: When the default value is set for the control point in EC-gfxProgram,
the same default value is automatically set in EC-Net for the control
point.
Updating a If a control point has been automatically created in EC-Net from an EC-gfx-
control point in Program project, and then you make a change of a block (format type, unit,
EC-Net Boolean value, or text for example), the control point in EC-Net will not be
automatically updated. First update the control point in EC-Net by right-click-
ing the device and selecting Actions, Update Points.
NOTE: This does not update points located in the temporary CreatedPoints
folder. If the control point does not update, delete the control points
and repeat the create control points procedure (see above).
Conversion of The Name, Type (Bool, Enum, or Numeric) and Units / Enumeration you con-
EC-gfxProgram figure for a LONWORKS network variable in EC-gfxProgram are reused to cre-
formats to EC- ate the EC-Net control point. For example,if you create a Numeric input that
Net control reads the Outdoor Air Temperature, the name of the block is OAT with the
points LonMark Format set to Fahrenheit, the same name, type, and unit will be
reproduced in EC-Net.
If no format is set for a block’s output port, the control point will be numeric
without a facet applied.
Boolean Output ports that are configured as Boolean format in EC-gfxProgram are
automatically created as Boolean control points with the corresponding name
and facets in EC-Net.
Enumeration Output ports that are configured as enumeration format in EC-gfxProgram are
automatically created as enumeration control points with the corresponding
name and facets in EC-Net for the following objects:
• Hardware Output
• Constant Enum (ECP Series)
• Variable Enum (ECP Series)
• SmartSensor Outputs
• Wireless Inputs
For all other objects, they are automatically created as numeric control points.
The notion of a value range for enumeration does not exist in EC-Net and any
enumeration value range created in EC-gfxProgram is not created in EC-Net.
Numeric value + Output ports that are configured as Numeric Value + Text format in EC-gfx-
Text Program are automatically created as numeric control points with the corre-
sponding name and with a ptText facet that can be used in px pages.
EC-gfxProgram 1347
LonMark Output ports that are configured as LonMark Enumeration format in EC-gfx-
enumeration Program are automatically created as enumeration control points with the cor-
responding name and facets in EC-Net for the following objects:
• Hardware Output
• Constant Enum (ECP Series)
• Variable Enum (ECP Series)
• SmartSensor Outputs
• Wireless Inputs
For all other objects, they are automatically created as numeric control points.
LonMark format Output ports that are configured as LonMark format in EC-gfxProgram are
automatically created as numeric control points.
For ECL Series controllers only: EC-gfxProgram blocks that use a LonMark
format from any installed manufacturer’s DRF will be automatically converted
into control points with the corresponding name and facets in EC-Net.
For ECP Series controllers only: Only EC-gfxProgram blocks that use a Lon-
Mark format listed below will be automatically converted into control points
with the corresponding name and facets in EC-Net. For formats not listed
below, you will have to set the facet manually in EC-Net (see Internal control
points configuration to do so).
LonMark Format
SNVT_abs_humid
SNVT_area
SNVT_btu_kilo SNVT_btu_mega
SNVT_density
SNVT_elec_kwh SNVT_elec_whr
SNVT_enthalpy
SNVT_flow SNVT_flow#US_liq
SNVT_flow_mil SNVT_flow_p
SNVT_grammage
SNVT_lev_cont SNVT_lev_percent
1348 EC-gfxProgram
EC-Net Platform Support Pack Features for ECP & ECL Series Controllers
LonMark Format
SNVT_lux
SNVT_ph
SNVT_power SNVT_power_kilo
SNVT_ppm
SNVT_res SNVT_res_kilo
SNVT_rpm
SNVT_sound_db
SNVT_speed SNVT_speed_mil
SNVT_temp SNVT_temp#US_diff
SNVT_temp_diff_p SNVT_temp_p#US_diff
SNVT_temp_p
SNVT_temp_ror
SNVT_turbidity
SNVT_vol_mil
SNVT_volt_mil
UNVT_flow#SI_m3h
UNVT_press_p#US_mi
lli
EC-gfxProgram 1349
Manual creation of internal control points
Internal control points are linked to the internal points of a controller so that
the internal points can be properly controlled by the EC-Net platform. There
are 3 types of internal control points: BcpNumericWritable, BcpEnumWritable,
and BcpBooleanWritable. Any type of internal control point can be linked to
any type of internal point in the controller (with the exception that BcpEnum-
Writable cannot be linked to Constant Numeric (ECP Series), Variable
Numeric (ECP Series), and Hardware Input (ECL Series)), but generally
BcpNumericWritable internal control points are linked to internal points with
numeric values and BcpEnumWritable internal control points are linked to
internal points with enumerated values.
NOTE: It is easier to use the Automatic generation of control points from EC-
gfxProgram code feature to automatically create the Internal control
points into a temporary folder. Simply move the needed points from
the temporary folder into the points folder and then delete the tempo-
rary folder.
1350 EC-gfxProgram
EC-Net Platform Support Pack Features for ECP & ECL Series Controllers
2. Drag and drop an Internal control point from the distechControls palette
onto the Points folder of the EC-gfxProgram compatible controller in the
station. The internal control point will be in fault until it is linked to an inter-
nal point.
Figure 787: Adding an internal control point to an EC-gfxProgram compatible
controller
3. Configure the internal control point through its property sheet (see Inter-
nal control points configuration). Access the property sheet by:
EC-gfxProgram 1351
NOTE: If the Points folder is expanded in the Nav Side Bar, the newly added
internal control point appears underneath and in the controller’s prop-
erty sheet under the Points parameter.
Figure 788: Location of internal control point in the EC-gfxProgram compatible controller
After configuring the internal control points, they can be copied and pasted
into other EC-gfxProgram compatible controllers if the same setup is desired.
This is done by:
1352 EC-gfxProgram
EC-Net Platform Support Pack Features for ECP & ECL Series Controllers
Internal control Each internal control point has certain parameters that need to be configured
points in order to properly interface with the internal points of the controller.
configuration
Figure 789: Internal control point property sheet
Parameter Description
Proxy Ext Proxy Ext parameters are used to further define the link
between the internal control point and the internal point
of the controller. Refer to Proxy Ext for more
information on the Proxy Ext parameters.
Override Displays the date and time that the override mode will
Expiration expire when the linked internal point is put into override
mode. Null is displayed if the linked internal point is put
into permanent override mode or if it is in automatic
mode. This field is read only.
EC-gfxProgram 1353
Parameter Description
Select Type Select the type of internal point to which the internal
control point is to be linked. There are 8 types of
internal points in the drop-down list: hwInput, wrInput,
smInput, hwOutput, numVariable, enumVariable,
numConstant, and enumConstant.
Select Index Select the index of the specific internal point to which
the internal control point is to be linked. The range
varies depending on the type of internal point selected
and the type of controller.
For example, a controller has 10 hardware inputs and
the internal control point is to be linked to hardware
input 2. The user would select hwInput from the Select
Type field and then enter 2 in the Select Index field.
Figure 790: Select type and select index example
Support, Write The last value written to the linked internal point. This
Value field is read only.
Proxy Ext Proxy Ext parameters are used to further define the link between the internal
control point and the internal point of the controller. These parameters are set
with default values and usually do not require any user configuration.
1354 EC-gfxProgram
EC-Net Platform Support Pack Features for ECP & ECL Series Controllers
Parameter Description
Fault Cause If the internal control point is in {fault} status, this field
will display a brief description as to the reason for the
fault. This field is read only.
Enabled This field determines whether the Proxy Ext and in turn
the internal control point is enabled or disabled. Set the
Enabled field to True to enable the control point. Set the
Enabled field to false to disable the control point.
Device Facets Native facets used in proxy read and write. Set the
internal control points facets under its Facets field.
EC-gfxProgram 1355
Parameter Description
Read Value Last value read from the device, expressed in device
facets. This field is read only.
Write Value Last value written, using device facets. This field is read
only.
1356 EC-gfxProgram
EC-Net Platform Support Pack Features for ECP & ECL Series Controllers
Parameter Description
Target Comp The NVO linked to the internal control point. This is
determined by the Select Type and Select Index fields.
Target Name The name of the specific object in the NVO linked to the
internal control point. This is determined by the Select
Type and Select Index fields.
Link Type Determines the service type of the internal control point.
There are five available service types:
• Standard – (unacknowledged) is the least reliable,
yet often most widely-used. This is the default ser-
vice type for a EC-Net binding. With this service, the
message is sent one time and no response is
expected. This service is typically used when the
highest level of network performance is needed, net-
work bandwidth is limited, and the application is not
sensitive to the loss of messages.
• Reliable – (unacknowledged/repeated) is recom-
mended for messaging that has been classified as
important--if there is a specific need to know that a
status has changed. Reliable messaging sends a
message three times. The controller sends each
message three times, and if the EC-Net platform
receives the message, it simply throws subsequent
messages away.
• Critical – (acknowledged) means that the EC-Net
platform must acknowledge the fact that it received a
message. The controller continues to send the mes-
sage until the EC-Net platform acknowledges receipt
of that message. You are limited to the number of
bindings that can be defined as critical, because it
often causes communication issues by loading down
the network with message verification traffic.
• Authenticated – a security service reserved for
secure messaging. When using authentication, the
controller must identify itself to the EC-Net platform,
and vice-versa. This service is rarely used, and only
in instances where messaging must be secure.
• Poll Only – This will only poll the internal point.
EC-gfxProgram 1357
Internal control points actions
After linking an internal control point to an internal point the control point can
be used to manually set or control the internal point. By right-clicking the inter-
nal control point and selecting Actions, a set of commands become available
to the user to manually affect the internal point. The actions that are displayed
depend on the internal control point being used as well as the type of internal
point.
Parameter Description
Override Use this action to put the internal point into override
mode. The override duration can be set in the Override
window.
Auto Use this action to put the internal point into Automatic
mode.
Read Point Use this action to read the current actual value of the
internal point.
1358 EC-gfxProgram
EC-Net Platform Support Pack Features for ECP & ECL Series Controllers
Parameter Description
Read Point Use this action to read the current actual value of the
internal point.
NOTE: An internal control point will not read an override mode that is acti-
vated directly in the programming tool of a programmable controller.
InternalPointBoolean Actions
Parameter Description
True (Active) Use this action to put the internal point into override
True (Active) mode. How long the internal point will
remain True is determined by the Min Active Time set
in the InternalPointBoolean property sheet. The
override duration can be set in the Override window.
False (Inactive) Use this action to put the internal point into override
False (Inactive) mode. How long the internal point will
remain False is determined by the Min Inactive Time
set in the InternalPointBoolean property sheet. The
override duration can be set in the Override window.
Auto Use this action to put the internal point into Automatic
mode.
Read Point Use this action to read the current actual value of the
internal point.
Hide/Show point When control points are used on a Px graphics page, you do not always want
actions (ECP & an operator to be able to override the control point. This feature allows you to
ECL Series) control what actions can be done to a control point on a Px graphics page. By
selecting one or more control points, you can control any one of the actions
that are available for the selected control points. This procedure presumes
that the control points have already been created on the station for the con-
troller – see Automatic generation of control points from EC-gfxProgram code.
Proceed as follows.
1. Expand the Points folder tree under the device to show the control points.
EC-gfxProgram 1359
2. Select the control points that you want to disable actions from being done
to them from a Px graphics page. To select two or more control points,
first click a control point, then hold down the Ctrl or Shift key and click
another control point to individually add it to the selection or a to select a
range of control points.
Figure 793: Selecting a range of control points
1360 EC-gfxProgram
EC-Net Platform Support Pack Features for ECP & ECL Series Controllers
When you add a device, the network variables are automatically created.
Ensure to set the same SNVT type for both matching network variables on
each controller. See Change Type (ECP & ECL Series).
NOTE: This procedure applies only to controllers that use the BcpLonworks-
Device device type.
When finished creating network bindings, use the Trim function to
remove unused objects to reduce the amount of memory resources
needed. Should you need to then create more network bindings, you
can create them by using the Build function to create the underlying
NV components. See below.
If you need to create a control point in EC-Net for a network variable that is
going to be bound to another controller, it is best to create it only on the con-
troller with the network variable output (as opposed to the controller with the
network variable input). See also Automatic generation of control points from
EC-gfxProgram codee.
EC-gfxProgram 1361
In EC-Net, Bcp devices have the following two incompatible methods to link
network variables between controllers. When using one Link Mark method in
the menu, you cannot use the other method to complete the Link From or
Link To in the menu.
Parameter Description
1362 EC-gfxProgram
EC-Net Platform Support Pack Features for ECP & ECL Series Controllers
The following procedure shows how to link a network variable value from the
first controller to make it available on the second controller according to the
figure below.
1. In the project code for both controllers, add a component object to the
programming sheet and connect it to the appropriate code.
2. In the project code for both controllers, ensure to set the same SNVT type
for both matching variables on each controller. See Change Type (ECP &
ECL Series).
3. In the EC-gfxProgram for both controllers, synchronize the project with
their respective controller. See Project Synchronization.
4. In EC-Net, on Controller A, right-click the controller in the Nav tree and
select Nv Link Mark.
Figure 797: Selecting the Nv Linl Mark on the first controller in EC-Net
EC-gfxProgram 1363
5. In EC-Net, on Controller B, right-click the controller in the Nav tree and
select Nv Link From “Controller A”. The Link window opens.
Figure 798: Selecting Lin Mark
6. In the Link window, select the Source object in the left pane (NVOs) and
then the Target object in the right pane (NVIs). Only objects that have the
same SNVT type can be linked. Click OK.
Figure 799: Linking the source object to the target object
1364 EC-gfxProgram
EC-Net Platform Support Pack Features for ECP & ECL Series Controllers
8. Select the New Link binding in the list and click Selective Bind.
Figure 801: Binding the new link
9. Wait for the Lon Bind to complete and for the LinkStatus to become
Bound.
Figure 802: The LinkStatus has become bound
EC-gfxProgram 1365
Removing the binding between two controllers
A binding between two controllers is managed by EC-Net, however the bind-
ing is made in the controllers themselves.
NOTE: If a binding is to be removed that has control points that have been
created in EC-Net for either controller, it is recommended to delete
these control points on either controller before carrying out this proce-
dure. Once this procedure is complete, recreate the control points in
EC-Net if necessary. See also Automatic generation of control points
from EC-gfxProgram code.
1366 EC-gfxProgram
EC-Net Platform Support Pack Features for ECP & ECL Series Controllers
EC-gfxProgram 1367
6. The Binding’s linkStatus should be Unbound. Click Refresh to remove
the binding from the Lon Link Manager’s list.
Figure 806: Refreshing the Lon Link manager’s list
1368 EC-gfxProgram
EC-Net Platform Support Pack Features for ECP & ECL Series Controllers
Setting Description
EC-gfxProgram 1369
Sending weather information to a controller
Adding the For a EC-Net platform that has Internet connectivity, configure it as follows.
WeatherService
to the station 1. Click the Open Palette button in the Palette side bar to open the Open
(ECL Series) Palette selection window.
Figure 809: Opening the Open Palette window
NOTE: If the Palette side bar is not open in the Side Bar Pane, click Windows
> Side Bars > Palette to add the Palette side bar.
1370 EC-gfxProgram
EC-Net Platform Support Pack Features for ECP & ECL Series Controllers
2. Select weather from the Open Palette selection window and click OK.
This will add the Weather palette to your Palette side bar.
Figure 810: Opening Palette window: select weather
3. Install the WeatherService: Drag and drop the WeatherService from the
weather Palette into the Station’s Services tree.
Figure 811: Installing the WeatherService on the station
NOTE: The Services tree is found within the Config tree of the station.
EC-gfxProgram 1371
4. Click OK to add the WeatherService on the station.
Figure 812: Accepting the installation of the WeatherSerbvice on the station
Configuring the The WeatherService must be configured by adding one or more weather pro-
WeatherService viders. The standard weather provider, EC-Net Nws Weather Provider will
(ECL Series) be used as an example in the procedure below (refer to the EC-Net documen-
tation for the configuration information of other available weather providers).
Weather providers are added to the Weather Manager. The Weather Man-
ager can be accessed from the Nav side bar; double-click WeatherService in
the Services tree of the station.
1. Click New.
2. Select Nws Weather Provider in Type to Add. Set the Number to Add
to 1. Click OK.
Figure 814: Accepting the Weather Provider
1372 EC-gfxProgram
EC-Net Platform Support Pack Features for ECP & ECL Series Controllers
3. Give the weather provider a name and select the current building’s loca-
tion in Provider. Click OK.
Figure 815: Naming the Weather Report and setting the location
The Weather Report is available when the fields populate with weather data
as shown below. If weather data is not available, verify that the Platform’s
TCP/IP Configuration is properly configured.
Configuring the To make the weather data available to ECL Series controllers, the BcpWeath-
Weather Export erExport component needs to be added to the BcpLonNetwork driver. Pro-
component for a ceed as follows.
LONWORKS
network 1. Click the Open Palette button in the Palette side bar to open the Open
Palette selection window. See Figure 809.
2. Select the distechControls palette from the Open Palette selection win-
dow and click OK. This will add the distechControls palette to your Pal-
ette side bar.
EC-gfxProgram 1373
3. Install the BcpWeatherExport component: Drag and drop the Bcp-
WeatherExport component from the Palette into the Station’s BcpLon-
Network drivers tree.
Figure 817: Installing the BcpWeatherExport on the station
NOTE: The BcpLonNetwork driver is found within the Config > Drivers tree
of the station.
1374 EC-gfxProgram
EC-Net Platform Support Pack Features for ECP & ECL Series Controllers
2. Click the tiny black arrow on the folder icon (located on the right of
the Weather Report Path field) and select Component Chooser.
Figure 819: Selecting the Component Chooser
3. Navigate to the location where the weather provider is found: Services >
WeatherService > [weather report provider] and click OK.
Figure 820: Navigating the Weather Report provider location
EC-gfxProgram 1375
4. Click Save.
Figure 821: Weather Report path - saving selected provider
Configuring the Once the BcpWeatherExport component has been added to the BcpLonNet-
Weather Export work, it must be configured.
component (ECL
Series) Figure 822: Configuring the BcpWeatherExport
Parameter Description
Weather Report This is the ord to the Weather Report. See Linking the
Path Weather Export component to the Weather Report
(ECL Series) to create this ord.
1376 EC-gfxProgram
EC-Net Platform Support Pack Features for ECP & ECL Series Controllers
Parameter Description
Send Heartbeat Shows how often the weather data will be sent to the
controllers.
Trigger Mode Sets the method that triggers a weather data update
being sent to the controllers.
Last Trigger Shows the last time a weather data update was sent to
the controllers.
Next Trigger Shows the next time a weather data update will be sent
to the controllers.
Binding the Each ECL Series controller that is to receive weather data must be bound to
Weather Export the building controller. The controller must be online: To do this, you must first
component to a use the Change Type (ECP & ECL Series) option on the network variable
controller input that is going to receive the weather data. Launch EC-gfxProgram for the
controller and configure it as follows.
1. Launch the EC-gfxProgram wizard for the controller: Right-click the con-
troller and select Launch Wizard.
Figure 823: Launching the EC-gfxProgram wizard
EC-gfxProgram 1377
2. Add a Network Variable Input block to the programming sheet.
Figure 824: Adding a Network Variable Input block to the programming sheet
3. Right-click the Network Variable Input block and select Change Type.
Figure 825: Changing the Network Variable Input’s facet type
4. In the Type file drop-down list, select StaticProg.typ. In the Types list,
select UNVT_current_weather_condition if you are binding to the
nvoCurrWeathCond (for the current weather conditions) or select
1378 EC-gfxProgram
EC-Net Platform Support Pack Features for ECP & ECL Series Controllers
NOTE: The Network Variable Input block updates with weather data ports.
In EC-Net, the corresponding network variable’s facet has now
changed to support weather data.
EC-gfxProgram 1379
5. In EC-Net, right-click the BcpWeatherExport component (found under
Station > Config > Drivers > BcpLonNetwork) network variable and
select Nv Link Mark.
Figure 827: Selecting the Nv Link Mark on the BcpWeatherExport component EC-
Net
1380 EC-gfxProgram
EC-Net Platform Support Pack Features for ECP & ECL Series Controllers
get. Since in the project code we used Network Variable Input 1, the tar-
get appears here as nviFP01. Click OK.
Figure 829: Linking the Source object to the Target object
EC-gfxProgram 1381
9. Select the New Link binding in the list and click Selective Bind.
Figure 831: Binding the new link
10. Wait for the Lon Bind to complete and for the LinkStatus to become
Bound.
Figure 832: The LinkStatus has become bound
Should you want to remove a binding, see Removing the binding between
two controllers.
1382 EC-gfxProgram
EC-Net Platform Support Pack Features for ECB & ECY Series Controllers
CHAPTER 13
EC-Net Platform Support Pack Features
for ECB & ECY Series Controllers
An EC-gfxProgram compatible controller can be programmed using EC-gfx-
Program on a Distech Controls platform just like any other device. However,
control points must be created in EC-Net to link to the controller’s values such
as inputs, outputs, etc. This chapter explains a method to quickly create con-
troller points in EC-Net. Proxy points are typically used in graphics (Px)
pages, logs or alarms.
Topics
Introduction
Automatic generation of control points from EC-gfxProgram code
Hide/Show point actions (ECB & ECY Series)
Configuring weather information for controllers with an operator interface
EC-gfxProgram 1385
Introduction
The EC-Net platform is used to manage these points for several purposes
including reading and writing to them in a graphics (Px) page, logging them, or
linking them to alarms. choose in the Configuration Assistant.
NOTE: For the highest level of integration with EC-Net, always use the latest
EC-Net service pack.
1386 EC-gfxProgram
EC-Net Platform Support Pack Features for ECB & ECY Series Controllers
• Analog Input
• Analog Output
• Analog Value (ECB & ECY Series)
• Binary Input
• Binary Output
• Binary Value (ECB & ECY Series)
• Multi-State Input
• Multi-State Value
• Loop
Automatically The following procedure creates the control points on the EC-Net Station from
creating the blocks in EC-gfxProgram code. If you update your code, and want to see the
control points change reflected on the Station, use the option Update Points (see Updating a
used in EC- control point in EC-Net). Add control points that are associated with device
gfxProgram points as follows:
code
EC-gfxProgram 1387
1. Right-click the device and select Actions, Create Points.
Figure 833: Automatically adding internal control points to an EC-gfxProgram
compatible controller in EC-Net
2. A Create Points popup asks if you want to use a temporary folder. Select
True to put the control points into a temporary subfolder (you then choose
the ones you need to use by moving them as necessary in the Points
folder to then later delete the temporary folder to remove remaining
unused ones). Use the temporary folder when you need to replace only a
few existing proxy points. Select false to put all control points directly in
the Points folder of the device – this is not recommended as this can cre-
ate a large volume of network traffic that can impair normal operation.
Figure 834: Selecting where the internal control points are to be created
1388 EC-gfxProgram
EC-Net Platform Support Pack Features for ECB & ECY Series Controllers
NOTE: Pre-existing internal control points are not overwritten when creating
control points with the same name using the above procedure.
Figure 835: Once the control points are created, a notification is shown
3. Delete any unused internal control points that were created as they
unnecessarily consume resources.
NOTE: When the default value is set for the control point in EC-gfxProgram,
the same default value is automatically set in EC-Net for the control
point.
Verifying control If control points have been automatically created in EC-Net from an EC-gfx-
points in EC-Net Program project, you can confirm that there are no issues with the current
control points such as duplicates, or incorrect facets.
Conversion of The Name, Type (Binary, Multi-State, or Analog) and the BACnet Units / Enu-
EC-gfxProgram meration you configure for a BACnet object in EC-gfxProgram are reused to
formats to EC- create the EC-Net control point. For example, in EC-gfxProgram, if you create
Net control an Analog Input that reads the Outdoor Air Temperature, the name of the
points block is OAT with the BACnet unit set to Fahrenheit, the same name, type,
and unit will be reproduced in EC-Net.
EC-gfxProgram 1389
Hide/Show point actions (ECB & ECY Series)
When control points are used on a Px graphics page, you do not always want
an operator to be able to override the control point. This feature allows you to
control what actions can be done to a control point on a Px graphics page. By
selecting one or more control points, you can control any one of the actions
that are available for the selected control points. This procedure presumes
that the control points have already been created on the station for the con-
troller – see Automatic generation of control points from EC-gfxProgram code.
Proceed as follows.
1. Expand the Points folder tree under the device to show the control points.
2. Select the control points that you want to disable actions from being done
to them from a Px graphics page. To select two or more control points,
first click a control point, then hold down the Ctrl or Shift key and click
another control point to individually add it to the selection or a to select a
range of control points.
Figure 836: Selecting a range of control points
1390 EC-gfxProgram
EC-Net Platform Support Pack Features for ECB & ECY Series Controllers
Adding the For a EC-Net platform that has Internet connectivity, configure it as follows.
WeatherService
to the Station 1. Click the Open Palette button in the Palette side bar to open the Open
(ECB & ECY Palette selection window.
Series) Figure 838: Opening the Open Palette window
NOTE: If the Palette side bar is not open in the Side Bar Pane, click Win-
dows> Side Bars > Palette to add the Palette side bar.
EC-gfxProgram 1391
2. Select weather from the Open Palette selection window and click OK.
This will add the Weather palette to your Palette side bar.
Figure 839: Open Palette window: Select weather
3. Install the WeatherService: Drag and drop the WeatherService from the
weather Palette into the Station’s Services tree.
Figure 840: Installing the WeatherService on the station
NOTE: The Services tree is found within the Config tree of the station.
1392 EC-gfxProgram
EC-Net Platform Support Pack Features for ECB & ECY Series Controllers
Configuring the The WeatherService must be configured by adding one or more weather pro-
WeatherService viders. The standard weather provider, Nws Weather Provider will be used
(ECB & ECY as an example in the procedure below (refer to the EC-Net documentation for
Series) the configuration information of other available weather providers). Weather
providers are added to the Weather Manager. The Weather Manager can be
accessed from the Nav side bar; double-click WeatherService in the Services
tree of the station.
1. Click New.
2. Select Nws Weather Provider in Type to Add. Set the Number to Add
to 1. Click OK.
Figure 843: Accepting the Weather Provider
EC-gfxProgram 1393
3. Give the Weather Report a name and select the current building’s location
in Provider. Click OK.
Figure 844: Naming the Weather Report and setting the location
The Weather Report is available when the fields populate with weather
data as shown below. If weather data is not available, verify that the Plat-
form’s TCP/IP Configuration is properly configured.
Figure 845: A weather report showing weather data for a location
Adding the To broadcast the weather data to ECB & ECY Series controllers, the Bcp-
Weather Export WeatherExport component needs to be added to the BcpBacnetNetwork
component to driver. Proceed as follows.
the BACnet
network 1. Click the Open Palette button in the Palette side bar to open the Open
Palette selection window. See Figure 838.
2. Select distechControls palette from the Open Palette selection window
and click OK. This will add the distechControls palette to your Palette
side bar.
1394 EC-gfxProgram
EC-Net Platform Support Pack Features for ECB & ECY Series Controllers
NOTE: The BcpLonNetwork driver is found within the Config > Drivers tree
of the station.
EC-gfxProgram 1395
2. Click the tiny black arrow on the folder icon (located on the right of
the Weather Report Path field) and select Component Chooser.
Figure 848: Selecting the Component Chooser
3. Navigate to the location where the weather provider is found: Services >
WeatherService > [weather report provider] and click OK.
Figure 849: Navigating the Weather Report Provider location
1396 EC-gfxProgram
EC-Net Platform Support Pack Features for ECB & ECY Series Controllers
4. Click Save.
Figure 850: Weather Report path - saving selected provider
Configuring the Once the BcpWeatherExport component has been added to the BcpBacnet-
Weather Export Network, it must be configured.
component (ECB
& ECY Series) Figure 851: Accepting the addition of the BcpWeatherExport component
Parameter Description
Weather Report This is the ord to the Weather Report. See Linking the
Path Weather Export component to the Weather Report
(ECB & ECY Series) to create this ord.
EC-gfxProgram 1397
Parameter Description
Send Heartbeat Shows how often the weather data will be sent to the
controllers.
Trigger Mode Sets the method that triggers a weather data update
being sent to the controllers.
Last Trigger Shows the last time a weather data update was sent to
the controllers.
Next Trigger Shows the next time a weather data update will be sent
to the controllers.
1398 EC-gfxProgram
Configuration Assistant
CHAPTER 14
Configuration Assistant
This chapter explains how to create a configuration user-interface on top of
your EC-gfxProgram code to select software operating modes and options.
This can be used for example, to make a programmable controller behave as
a configurable controller.
Topics
Introduction
Typical configuration assistant window
Creating a configuration variable
Creating a configuration assistant sheet
Configuration assistant ribbon
Creating the configuration assistant sheet layout
Setting a variable’s presentation
Adding a logo to the Configuration Assistant
Setting the Configuration Assistant’s properties
EC-gfxProgram 1399
Introduction
When you open the code for a controller that has its Configuration Assistant
enabled, the Configuration Assistant is shown as the controller’s interface.
The controller’s EC-gfxProgram code can then be accessed through the Con-
figuration Assistant. However, this code may be password protected to keep
unauthorized users from modifying the controller’s programming.
Type Description
These Configuration Variables can be put into any order and laid out as you
choose in the Configuration Assistant.
1400 EC-gfxProgram
Configuration Assistant
Item Description
EC-gfxProgram 1401
Configuration Assistant toolbar
The toolbar has the following options:
Parameter Description
Switch to EC- Opens the EC-gfxProgram code for this project. If the
gfxProgram project is password protected, you will need the
project’s password to access the code.
Import From File Allows you to import another project file. Once
imported, you must synchronize the project to send it to
the controller.
1402 EC-gfxProgram
Configuration Assistant
1. Create the code required to control a process. Code in a way that allows
an externally-controlled variable to trigger different operational modes by,
for example, enabling or disabling sections of code, setting the range of
allowable options, and so on.
2. Identify the variables in your code that you want to expose to a user in the
Configuration Assistant.
3. Create the corresponding configuration variables and associate them to
the variables in your code. See Creating a configuration variable and Cre-
ating live configuration variables.
4. Create the Configuration Assistant layout by organizing the configuration
variables into menus and tabs and set the order in which they are to be
shown. See Creating a configuration assistant sheet.
5. Test the Configuration Assistant. Make corrections as necessary. See the
Preview mode in Configuration assistant ribbon.
EC-gfxProgram 1403
Creating a configuration variable
About A Configuration Variable holds a value that when used in the Configuration
configuration Assistant, allows a user to view the variable’s current value and to set the vari-
variables able’s value to be used in the controller’s EC-gfxProgram code. A Configura-
tion Variable is associated to one or more configuration parameters used by
other resource block instances configured for this project in the Resources
Configuration.
1404 EC-gfxProgram
Configuration Assistant
2. Set the Configuration Variable’s name in Name and select the group into
which the Configuration Variable is to be located in Create in. If a new
group is needed to organize variables into logical or structural group, click
Create new folder. Click OK.
Figure 854: Add variable destination
Once the Configuration Variable has been created, it can be bound to other
Configuration Parameters.
EC-gfxProgram 1405
2. From the Variable Selector list, select the Configuration Variable you
previously created. Click OK.
Figure 855: Selecting a variable you previously created
Parameter Description
1406 EC-gfxProgram
Configuration Assistant
Parameter Description
Create the Configuration Variable and then associate it with one or more con-
figuration parameters in the Resources Configuration as follows:
5. From the Variable Selector list, select the Configuration Variable you
previously created. Click OK.
Figure 857: Selecting a variable you previously created
EC-gfxProgram 1407
Configuring a configuration variable
Configuration A Configuration Variable can use any one of the following data types.
variable data
types Configuration
Description See
Variable type
1408 EC-gfxProgram
Configuration Assistant
Parameter Description
EC-gfxProgram 1409
Configuring a This configuration variable type holds a sequence of characters, text or both.
sting variable
Figure 859: String variable configuration parameters
Parameter Description
Max length When Use max length is enabled, this sets the
maximum total number of characters the string is able
to accept.
Figure 860: Example: text box object name configuration parameter requires a string
configuration variable data type
1410 EC-gfxProgram
Configuration Assistant
Configuring a This configuration variable type holds one of two values, such as True or
boolean variable False, 1 or 0.
Parameter Description
Figure 862: Example: check box persist configuration parameter requires a boolean
configuration variable data type
EC-gfxProgram 1411
Configuring a This configuration variable type holds a number.
numeric variable
Figure 863: Numeric variable configuration parameters
Parameter Description
Minimum When Use range is enable, this sets the lower and
Maximum: upper numeric value range limits that this variable is
able to accept.
Use precision This limits the number of digits to be shown after the
Number of decimal place to better show the available significant
decimals digits.
1412 EC-gfxProgram
Configuration Assistant
Parameter Description
EC-gfxProgram 1413
Configuring an This configuration variable type holds a named value or element that is a
enum variable member of a list of elements.
Parameter Description
Allow custom When checked, this adds the ability to manually specify
values a numeric value for the variable instead of only allowing
selection from drop-down list. When this property is
selected, the variable is no longer restricted to the
numeric values defined as enumeration members but
can be either freely typed by the user or limited to a
specific range (see Use range below).
1414 EC-gfxProgram
Configuration Assistant
Parameter Description
Minimum When Use range is enabled, this sets the lower and
upper numeric value range limits that this variable is
Maximum
able to accept. This is only relevant when the Allow
custom values parameter is used.
Figure 866: Example: enumeration time base configuration parameter requires a enum
configuration variable data type
Binding status The color of the binding icon shows its status.
Icon Description
EC-gfxProgram 1415
More information about the binding’s status can be seen by hovering your
mouse over the binding icon.
Parameter Description
1416 EC-gfxProgram
Configuration Assistant
For example, as BACnet objects are exposed to the network, a Live Configu-
ration Variable bound to such an object will be updated with any value written
to the object through the network.
1. Right-click one or more resource blocks and select Create Live Configu-
ration Variable.
2. For each selected block, set the Live Configuration Variable’s name in
Name and select the group into which the Live Configuration Variable is
EC-gfxProgram 1417
to be located in Create in. If a new group is needed to organize variables
into logical or structural group, click Create new folder. Click OK.
Figure 870: Add variable destination
Parameter Description
1418 EC-gfxProgram
Configuration Assistant
Parameter Description
Create the Live Configuration Variable and then associate it with a block
instance in the Resources Configuration as follows.
Live A Live Configuration Variable can use any one of the following data types that
configuration is automatically selected according to match the data type used by the linked
variable data block instance.
types
Live
Configuration Description See
Variable type
EC-gfxProgram 1419
Common live All live variables have the same General configuration parameters.
configuration
variable Figure 872: Live common variable configuration parameters
parameters
Parameter Description
Display Name The name for this variable to use in the configuration
Assistant.
1420 EC-gfxProgram
Configuration Assistant
Configuring a This Live Configuration Variable type holds a sequence of characters, text or
live string both.
variable
Figure 873: Live string variable configuration parameters
Parameter Description
Object instance Select the object’s instance. The block resource must
have previously been configured.
Read only This live variable can only be read (cannot be modified
through the Configuration Assistant).
Max length When Use max length is enabled, this sets the
maximum total number of characters the string is able
to accept.
EC-gfxProgram 1421
Configuring a This Live Configuration Variable type holds one of two values such as True or
live boolean False, 1 or 0.
variable
Figure 874: Live boolean variable configuration parameter
Parameter Description
Object instance Select the object’s instance. The block resource must
have previously been configured.
Read only This live variable can only be read (cannot be modified
through the Configuration Assistant).
Write priority Set the BACnet priority to use to write to the BACnet
object. This parameter is only applicable to the
“Present value” property identifier. See Commandable
object priority array levels.
1422 EC-gfxProgram
Configuration Assistant
Parameter Description
Object instance Select the object’s instance. The block resource must
have previously been configured.
Read only This live variable can only be read (cannot be modified
through the Configuration Assistant).
Write priority Set the BACnet priority to use to write to the BACnet
object. This parameter is only applicable to the
“Present value” property identifier. See Commandable
Object Priority Array Levels.
EC-gfxProgram 1423
Parameter Description
Minimum When Use range is enable, this sets the lower and
upper numeric value range limits that this variable is
Maximum
able to accept.
Use precision This limits the number of digits to be shown after the
decimal place to better show the available significant
Number of
digits.
decimals
1424 EC-gfxProgram
Configuration Assistant
Configuring a This Live Configuration Variable type holds a named value or element that is a
live enum member of a list of elements.
variable
Figure 877: Live enum variable configuration parameters
Parameter Description
Object instance Select the object’s instance. The block resource must
have previously been configured.
Read only This live variable can only be read (cannot be modified
through the Configuration Assistant).
EC-gfxProgram 1425
Parameter Description
Write priority Set the BACnet priority to use to write to the BACnet
object. This parameter is only applicable to the
"Present value" property identifier. See Commandable
object priority array levels.
Minimum When Use range is enabled, this sets the lower and
upper numeric value range limits that this variable is
Maximum
able to accept.
1426 EC-gfxProgram
Configuration Assistant
Overview Create the Configuration Assistant layout by organizing the configuration vari-
ables into menus and tabs and set the order in which they are to be shown.
Proceed as follows:
Adding a In the Home ribbon, click Add under Project and select Configuration
configuration Assistant Sheet. See Home ribbon.
assistant sheet
to your project Figure 878: Adding a configuration assistant sheet
EC-gfxProgram 1427
Configuration assistant ribbon
When a Configuration Assistant Sheet is selected, the Configuration Assistant
Ribbon becomes available.
Parameter Description
1428 EC-gfxProgram
Configuration Assistant
Parameter Description
EC-gfxProgram 1429
Creating the configuration assistant sheet layout
Typical Once a Configuration Assistant Sheet has been added to the project, start
configuration adding menus, tabs, and groups to it.
assistant sheet
layout Figure 880: Typical Configuration Assistant Sheet layout
Item Description
1430 EC-gfxProgram
Configuration Assistant
Item Description
Parameter Description
Add Menu Item Add a new menu item below the currently selected
menu item.
Insert Menu Item Add a new menu item above the currently selected
menu item.
Remove This deletes the selected menu item. All tabs, groups,
and references to variables contained in the menu will
also be removed. Before the deletion takes place, you
will be prompted for confirmation.
Parameter Description
Add Tab Add a new tab nextto the currently selected tab.
Insert Tab Add a new tab before the currently selected tab.
EC-gfxProgram 1431
Parameter Description
Parameter Description
Add Group Add a new group below the currently selected group.
Insert Group Add a new group above the currently selected group.
Rename Group This allows you to rename the currently selected group.
2. In the Variable Selector, select one or more variables that was previously
created in the Resources Configuration that you want to add to the group.
There are the following ways to add variables to the group.
• Search for a variable by typing its name into the filter (Type filter
here) and click Add.
1432 EC-gfxProgram
Configuration Assistant
3. When you have added all the variables needed for the group, click OK.
Removing a Remove a variable element from a group by clicking to the right of the
variable from the variable.
Configuration
Assistant
EC-gfxProgram 1433
Setting a variable’s presentation
Available Variable attributes are set in the Properties pane. The following attributes can
variable be set for each variable shown in the Configuration Assistant.
attributes
Figure 881: Variable attributes
Parameter Description
EditionFore Sets the text box’s font color of the editable portion.
Color
1434 EC-gfxProgram
Configuration Assistant
Parameter Description
Enables and The Enabled and ReadOnly parameter options work together as follows.
ReadOnly
parameter Description
options
When Enabled Regardless of ReadOnly value the edition is not
is False: possible and its not possible to copy the text.
When Enabled the edition is not possible but its possible to copy the
is True and text.
ReadOnly is
True:
Editing an The Appearance parameters control the color presentation of a variable. Set
appearance the color as follows.
parameter
1. Click into the Appearance parameter. A drop-down arrow appears.
Figure 882: Opening the color pallet
EC-gfxProgram 1435
2. Click the drop-down arrow. A color pallet appears.
Figure 883: Select a color swatch from the color pallet
Tab Description
3. Select a color or right-click a color swatch in the last two rows of the color
pallet to set a custom color.
1436 EC-gfxProgram
Configuration Assistant
4. Select a color swatch or, optionally, in the Custom tab, right-click a color
swatch in the last two rows of the color pallet to set a custom color and
click Add Color.
Figure 884: Setting a custom color swatch
Editing a events When the value of the variable changes, the Events parameters are used to
parameter trigger a Javascript expression that can be used to write a value to another
configuration variable or it can write values to many other configuration vari-
ables.
Supported The JavaScript parsing engine is based on ECMA 262 (JavaScript Edition
Javascript 5.1). See the ECMA 262 official language specifications: http://www.ecma-
version international.org/ecma-262/5.1/
EC-gfxProgram 1437
Opening the You create the Javascript expression in the Expressions editor. Open the
expressions Expressions editor as follows.
editor
1. Click F(X).
Expression Use the expression editor to create Javascript code that dynamically-controls
editor overview a configuration variable’s presentation. Any one of the Configuration Vari-
able’s Appearance or Layout presentation parameters can be controlled by a
Javascript expression. This Javascript expression can evaluate the value of
one or more Configuration Variables at runtime to change the current vari-
able’s presentation parameter.
1438 EC-gfxProgram
Configuration Assistant
The expression editor has syntax highlighting and variable completion sug-
gestions.
1. Type an expression and when you arrive at a valid point to insert a vari-
able, press the down key (↓) to open your project’s current variable tree
structure.
2. Click the tree structure to open branches and select a variable.
EC-gfxProgram 1439
Javascript
Expression Description
Examples
NOTE: JavaScript expression are case sensitive. Therefore, true and false
values must be provided in lower case.
1440 EC-gfxProgram
Configuration Assistant
Parameter Description
NOTE: Large image files will increase the size of the project, which may com-
promise usability. Therefore, it is recommended to use smaller image
files.
EC-gfxProgram 1441
Setting the Configuration Assistant’s properties
You can set in the Configuration Assistant’s properties the following parame-
ters:
Parameter Description
1442 EC-gfxProgram
Configuration Assistant
Parameter Description
The Validate function works with an error list at the bottom of the layer which
appears after clicking Validate.
• Unknown variables
• Script errors
Reorder
The Reorder function allows you to reorder the layout of the Configuration
Assistant.
EC-gfxProgram 1443
Items can be dragged and dropped within the layout tree, including entire sec-
tions.
After reordering items, they will be displayed within the Configuration Assis-
tant Sheet according to the order selected.
1444 EC-gfxProgram
Configuration Assistant
From the icon menu above the first column, you can add a new scheme,
delete a current scheme, or rename a current scheme.
EC-gfxProgram 1445
Created schemes appear in the configuration assis-
tant synchronization
Created schemes will appear in the Configuration Assistant Synchronization
window, under Synchronization Options.
1446 EC-gfxProgram
Configuration Assistant
EC-gfxProgram 1447
1448 EC-gfxProgram
EC-gfxProgram vs Line-by-Line
CHAPTER 15
EC-gfxProgram vs Line-by-Line
This chapter provides a practical comparison between coding in EC-gfxPro-
gram and coding in traditional line-by-line code. A roof top unit will be used as
an example and will be coded in both methods.
Topics
Example description
Wiring diagram
Line-by-line code
EC-gfxProgram code
EC-gfxProgram 1449
Example description
The example that will be coded concerns a roof top unit. Below is a general
description of all parameters that need to be coded. This includes the equip-
ment involved and the sequence of operation when the system is unoccupied
and occupied.
1450 EC-gfxProgram
EC-gfxProgram vs Line-by-Line
Wiring diagram
EC-gfxProgram 1451
Line-by-line code
The following is the line-by-line code for the programming of the roof top unit
sequence of operation as outlined in the Example Description. The constants,
variables, inputs, outputs, and PID settings used are also listed after the code.
Schedule Status
REM 0 = Occupied
REM 1 = Unoccupied
REM 2 = By-pass
REM 3 = Standby
IF ( SCHEDULE1 = 0 )
SCHEDULE_ST = ON
ELSE
SCHEDULE_ST = OFF
ENDIF
1452 EC-gfxProgram
EC-gfxProgram vs Line-by-Line
EC-gfxProgram 1453
VAR_DAMPER = MIN_POS
VAR_COOL_STG = VAR_COOL
ENDIF
ENDIF
IF ( FAN = ON )
MOD_DAMPERS = VAR_DAMPER
COOL1 = SWITCH ( VAR_COOL_STG 50 0 )
COOL2 = SWITCH ( VAR_COOL_STG 100 50 )
IF ( OUT_TEMP < HEAT1_PERM )
HEAT1 = SWITCH ( VAR_HEAT 50 0 )
ELSE
HEAT1 = OFF
ENDIF
IF ( OUT_TEMP < HEAT2_PERM )
HEAT2 = SWITCH ( VAR_HEAT 100 50 )
ELSE
HEAT2 = OFF
ENDIF
ELSE
COOL1 = OFF
COOL2 = OFF
HEAT1 = OFF
HEAT2 = OFF
MOD_DAMPERS = 0
ENDIF
END
Variables
1454 EC-gfxProgram
EC-gfxProgram vs Line-by-Line
Constants
Inputs
EC-gfxProgram 1455
# Label Mode Value Units Description Commissioned
Output
PIs
1456 EC-gfxProgram
EC-gfxProgram vs Line-by-Line
EC-gfxProgram code
The following is the EC-gfxProgram code for the programming of the roof top
unit sequence of operation as outlined in the Example description. Certain
EC-gfxProgram 1457
sequences were coded differently than in the line-by-line code due to
advancements in EC-gfxProgram.
1458 EC-gfxProgram
EC-gfxProgram vs Line-by-Line
EC-gfxProgram 1459
1460 EC-gfxProgram
Air Physics Guide
CHAPTER 16
Air Physics Guide
This appendix provides a brief overview of Air Physics calculations and
explains the relation between air velocity, dynamic pressure, differential pres-
sure, Pitot factors, and various coefficients.
Topics
Air physics
EC-gfxProgram 1461
Air physics
(1)
Where C is a constant (4005 for US units, 1289.75 for metric units where air-
flow is in L/s and 4363.1 for metric units where airflow is in m3/hr), V is the air
velocity in ft/min (if C=4005) or m/hr (if C=1289.75) or m/s (if C=4363.1) and
pv is the dynamic pressure (or velocity pressure) in “ H2O (if C=4005) or Pa (if
C=1289.75 or C=4363.1).
(2)
Where Q is the airflow in ft3/min (if C=4005) or L/s (if C=1289.75) or m3/hr (if
C=4363.1) and A is the duct area in ft2 (if C=4005) or m2 (if C=1289.75 or
C=4363.1).
(3)
or
(4)
1462 EC-gfxProgram
Air Physics Guide
(5)
Some manufacturers give a flow coefficient (or K factor) instead of the Pitot
factor for their VAV boxes (with Pitot tubes included). In this case, the follow-
ing airflow equation can be used:
or
(6)
or
(7)
Equation (7) is useful when an instrument that reads the airflow using equa-
tion (5) is connected to a VAV box whose specifications only provide a flow
coefficient.
Some other manufacturers give a velocity coefficient for their VAV boxes (with
Pitot tubes included). In this case, the following airflow equation can be used:
or
(8)
EC-gfxProgram 1463
The following is a combination of equations (5) and (8):
or
(9)
Equation (9) is useful when an instrument that reads the airflow using equa-
tion (5) is connected to a VAV box whose specifications only provide a velocity
coefficient.
1464 EC-gfxProgram
Tuning a PID Loop
CHAPTER 17
Tuning a PID Loop
This chapter describes how to tune the PID loop in a systematic manner to
prevent the system from oscillating.
Topics
Tuning a PID loop
EC-gfxProgram 1465
Tuning a PID loop
1466 EC-gfxProgram
Tuning a PID Loop
Increase the proportional band by 50%, for example, and multiply the
proportional band by 1.5. Initiate a cold start (stop then restart the
system) and make sure that the system has minimal overshoot, mini-
mal offset, and is not oscillating as shown in Figure 896.
Figure 896: Proportional - near perfect tuning with no oscillations
EC-gfxProgram 1467
ii. f the Input is oscillating regularly about the setpoint, as observed
in Figure 898, divide the integral time by 2. Repeat this step if the
Input is still oscillating regularly about the setpoint after having
stabilized. Once no oscillations are observed, continue to step b.
Figure 898: Input oscillating about setpoint
NOTE: Since HVAC systems have a slow response time due to the nature of
the equipment, the derivative time is generally not used. It is thus rec-
ommended to set it to 0.
1468 EC-gfxProgram
Supported EnOcean Wireless Sensor Profiles
CHAPTER 18
Supported EnOcean Wireless Sensor
Profiles
This chapter describes the supported EnOcean Equipment Profiles (EEP).
Topics
Supported Wireless Receivers
Supported Wireless Sensor Profiles
EC-gfxProgram 1469
Supported Wireless Receivers
There are two generations of wireless receiver models that are supported: X1
and X2. Each generation is available in either of two radio frequencies as
shown in the table below.
1470 EC-gfxProgram
Supported EnOcean Wireless Sensor Profiles
The supported EnOcean Equipment Profiles (EEP) are shown in the table
below.
Device
Sensor Description EEP Controller Series
Category
ECL, ECB,
ECP
ECY
Series
Series
EC-gfxProgram 1471
Device
Sensor Description EEP Controller Series
Category
ECL, ECB,
ECP
ECY
Series
Series
1472 EC-gfxProgram
Supported EnOcean Wireless Sensor Profiles
Device
Sensor Description EEP Controller Series
Category
ECL, ECB,
ECP
ECY
Series
Series
Temperature
Temperature & Humidity Sensor (0°C to
& Humidity 07-04-01
+40°C, 0% to 100%)
Sensor
Room
Temperature Sensor; SetPoint, Fan-
Operating 07-10-01
Speed & Occupancy Control
Panel
EC-gfxProgram 1473
Device
Sensor Description EEP Controller Series
Category
ECL, ECB,
ECP
ECY
Series
Series
Occupancy
Occupancy Sensor 07-07-01
Sensor
1474 EC-gfxProgram
Supported EnOcean Wireless Sensor Profiles
Device
Sensor Description EEP Controller Series
Category
ECL, ECB,
ECP
ECY
Series
Series
Light,
Temperature Light, Temperature & Occupancy Sen-
07-08-01
& Occupancy sor 0 to 510 lx, 0 to 51°C
Sensor
EC-gfxProgram 1475
1476 EC-gfxProgram
Thermistor Resistance Tables
CHAPTER 19
Thermistor Resistance Tables
This chapter has tables of the resistance values for the standard supported
thermistors.
Topics
10kilohm Type II Thermistor
10kilohm Type III Thermistor
Platinum RTD Sensor: Pt1000 (1kilohm)
Nickel RTD Sensor: Ni1000 (1kilohm) @ 0ºC
Nickel RTD Sensor: Ni1000 (1kilohm) @ 21ºC
EC-gfxProgram 1477
10kilohm Type II Thermistor
Values shown in are within the supported range of controller operation for the
Type II sensor input.
°C °F Resistance
1478 EC-gfxProgram
Thermistor Resistance Tables
°C °F Resistance
EC-gfxProgram 1479
°C °F Resistance
1480 EC-gfxProgram
Thermistor Resistance Tables
°C °F Resistance
EC-gfxProgram 1481
°C °F Resistance
1482 EC-gfxProgram
Thermistor Resistance Tables
°C °F Resistance
EC-gfxProgram 1483
°C °F Resistance
1484 EC-gfxProgram
Thermistor Resistance Tables
Values shown in are within the supported range of controller operation for the
Type III sensor input.
°C °F Resistance
EC-gfxProgram 1485
°C °F Resistance
1486 EC-gfxProgram
Thermistor Resistance Tables
°C °F Resistance
EC-gfxProgram 1487
°C °F Resistance
1488 EC-gfxProgram
Thermistor Resistance Tables
°C °F Resistance
EC-gfxProgram 1489
°C °F Resistance
1490 EC-gfxProgram
Thermistor Resistance Tables
°C °F Resistance
EC-gfxProgram 1491
Platinum RTD Sensor: Pt1000 (1kilohm)
°C °F Resistance
1492 EC-gfxProgram
Thermistor Resistance Tables
°C °F Resistance
EC-gfxProgram 1493
°C °F Resistance
1494 EC-gfxProgram
Thermistor Resistance Tables
°C °F Resistance
EC-gfxProgram 1495
°C °F Resistance
1496 EC-gfxProgram
Thermistor Resistance Tables
°C °F Resistance
EC-gfxProgram 1497
°C °F Resistance
1498 EC-gfxProgram
Thermistor Resistance Tables
Values shown in are within the supported range of controller operation for the
Ni1000 RTD sensor input.
°C °F Resistance
EC-gfxProgram 1499
°C °F Resistance
1500 EC-gfxProgram
Thermistor Resistance Tables
°C °F Resistance
EC-gfxProgram 1501
°C °F Resistance
1502 EC-gfxProgram
Thermistor Resistance Tables
°C °F Resistance
EC-gfxProgram 1503
°C °F Resistance
1504 EC-gfxProgram
Thermistor Resistance Tables
°C °F Resistance
EC-gfxProgram 1505
Nickel RTD Sensor: Ni1000 (1kilohm) @ 21ºC
Values shown in are within the supported range of controller operation for the
Ni1000 RTD sensor input.
°C °F Resistance
-18 0 803
-12 10 830
-7 20 858
-1 30 885
4 40 914
10 50 942
16 60 971
21 70 1000
27 80 1030
32 90 1060
38 100 1090
43 110 1121
49 120 1152
54 130 1184
60 140 1216
66 150 1248
71 160 1281
77 170 1314
82 180 1348
88 190 1382
93 200 1417
99 210 1452
1506 EC-gfxProgram
Thermistor Resistance Tables
°C °F Resistance
EC-gfxProgram 1507
1508 EC-gfxProgram
EC-gfxProgram
EC-gfxProgram_UG_67_EN