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.