C-BUS VERSION 2.3.0 TRAINING MANUAL Prepared by CLIPSAL INTEGRATED SYSTEMS ACN 089 444 931 For Technical enquiries please ring 1300 722 247 PREFACE SCOPE The aim of this document (from now on to be referred to as the Training Manual) is to provide basic training in the fundamentals of C-Bus systems. Fundamentals will include the concepts of programming C-Bus units as well as operation of the C-Bus components. As components of a basic C-bus system comprises of C-Bus input and output units, the training manual will cover the types of units and how to program them. Also covered will be the concept of addressing and how addressing affects the operation of C-Bus systems. It will be seen the procedural fundamentals of programming C-bus units has been kept deliberately consistent and user friendly whether programming input units or output units. BOUNDARIES/CONSTRAINTS As C-Bus is a constantly evolving system offering continually improved solutions to building management requirements, it is impossible to fully cover the ever increasing range of C-Bus products. For this reason, even though up to date at the time of writing, the end user of C-Bus products are strongly advised to keep up to date with the latest range of CIS’s C-Bus products. Information on latest releases of products is available through multi mediums including the Internet. Even though C-Bus application software is relatively easy to run and navigate, this manual does not cover the operation and use of computers. It is assumed the user wishing to program C-Bus networks has sufficient computer skills to appropriately operate and use the software. C-Bus Training Manual V2.3.0 C-BUS TRAINING MANUAL TABLE OF CONTENTS 1. INTRODUCTION ................................................................................................... 1 2. C-BUS-COMMUNICATIONS............................................................................... 12 3. SYSTEM SUPPORT MODULES ........................................................................ 17 4. SOFTWARE INSTALLATION ............................................................................. 26 5. THE CONCEPT OF ADDRESSING .................................................................... 31 6. GETTING STARTED........................................................................................... 41 7. DIMMER AND RELAY UNITS............................................................................. 56 8. KEY SWITCH INPUT UNITS .............................................................................. 86 9. LIGHT LEVEL SENSOR ................................................................................... 108 10. PIR OCCUPANCY SENSORS .......................................................................... 112 11. PROJECT MANAGER ...................................................................................... 117 12. NETWORK BRIDGES ....................................................................................... 122 C-Bus Training Manual V2.3.0 C-BUS VERSION 2.3.0 – TRAINING MANUAL 1. PAGE 1 INTRODUCTION C-Bus or Clipsal Bus is an intelligent wiring system that can realise energy savings in many residential, commercial and industrial installations. C-Bus changes the way buildings are wired, using a combination of category 5 (also simply known as cat 5) cable for communications between units, and mains cable for switching loads. Loads may be many types of power consuming devices ie. Lights, fans even GPO’s. C-Bus allows great flexibility in electrical installations with a number of ensuing benefits that include: Energy savings. Complicated switching patterns easily realised. Increased life of luminaries if dimmer units are used. Changes in many functions easily made without need to re-wire. The ability to interface and communicate with other electrical automation systems. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 1.1 PAGE 2 HOW C-BUS WORKS Units on the C-Bus each have their own built-in microcontroller allowing them to operate independently with “distributed intelligence”. The units use non-volatile memory to store their program in the event of power failure (EEPROM). C-Bus uses category 5 data cable for connecting the units. The cable provides the means of communication between units, as well as supplying the small amount of power required by each unit to operate. C-Bus operates at 36 VDC and is a two wire system. All units (both input and output) have two C-Bus connections that comprise of a +ve and –ve. The connections may be of a two screw terminal type that are typically found on input units, or a RJ45 type connector typically found on output units. Even though the RJ45 connectors have 8 pins in total, 4 of these pins will always have the C-Bus +ve and –ve connected to them (connected in parallel). The other pins have reserved uses for them that will be explained by the trainer. C-Bus consists of modules commonly called C-Bus units, which can be connected together to form a network. Up to 100 C-Bus units are permitted on any one network, and up to 255 networks may be connected together in any one C-Bus installation. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 1.2 PAGE 3 C-BUS WIRING SCHEME C-Bus is an intelligent wiring system and all units are inter-connected together by the C-Bus cable. C-Bus consists of two electrical parts, the extra low voltage side consisting of the Input Units, and the low voltage side consisting of the Output Units. Output units and input units have a C-Bus data cable that allow the communications between them. FIGURE 1.1 NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 1.3 PAGE 4 C-BUS CABLING REQUIREMENTS C-Bus uses a pink unshielded twisted pair (UTP), category 5 data cable. Clipsal manufacture a cable for C-Bus use exclusively, cat. no. 5005C305B. The cable has the pink outer sheath to distinguish it from data services in an installation. Various rules should be adhered to in the use and installation of C-Bus cable. Units are connected together in “daisy chain” or “star” connection or a combination of both. When talking of star and daisy chain connections, it should be noted that the physical nature of the connection (topology) is in fact being referenced to. FIGURE 1.2 NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 5 FIGURE 1.3 It can be seen that in both star and daisy chain configurations the C-Bus connections are still +ve to +ve and –ve to –ve. In other words a parallel connection is maintained but in the case of the star connected example (fig 1.3) the ‘star point’ is located on the top unit. In this case all the cables run out from this unit to other units located at various locations. There is a recommended maximum number of cables that may be placed in one CBus terminal. Various rules may be found in the ‘Introduction to C-Bus Training Manual’. This manual should be read and fully understood before further and more difficult tasks are undertaken. “Closed loops” are not recommended and should not be used. NOTES PAGE 6 C-BUS VERSION 2.3.0 – TRAINING MANUAL The following conductor pairs (connected in parallel) are used in the C-Bus connection: Orange + Blue C-Bus + Orange/White + Blue/White C-Bus – CORRECT Correct wiring with the twist C-Bus being maintained between the two positive conductors - Terminal and their respective negative conductors. + INCORRECT + - C-Bus Terminal Incorrect wiring. This will cause the C-Bus network to be more susceptible to electrical interference (if wiring is consistent). FIGURE 1.4 A maximum of 1000 metres of cable in any single C-Bus network. The 1000 metres of cable includes all connecting cables between output units (patch leads), branch off connections and the like. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 1.4 PAGE 7 WIRING THE NETWORK The mains side of the C-Bus is wired in accordance with AS3000 or any standard that apply in the region. C-Bus cable is run and connected with the same (or possibly even more stringent) rules that govern data cabling. If these rules are adhered to, a trouble free and easily maintained network will result. Maintain segregation between C-Bus cable and mains cable for parallel runs, this is at least 150mm segregation between the cables. When C-Bus must cross a mains cable, ensure crossover occurs at right angles with adequate segregation (ie. at least 60mm). Avoid running C-Bus cable near sources of electro-magnetic interference such as fluorescent lighting and motors. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 1.5 PAGE 8 SHORT CIRCUIT CONDITIONS The following describes the C-Bus system and the components during a short circuit condition: C-Bus Power Supplies employ current limiting and are protected from short circuit conditions indefinitely. A short circuit on C-Bus does not trip mains circuit breakers. All C-Bus communications will cease during a short circuit condition. Programmed information is not lost during a short circuit condition. C-Bus restores itself following the release of a short circuit condition to its original state, or as programmed via the installation software. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 1.6 PAGE 9 OVERVOLTAGES AND TRANSIENTS The C-Bus modules consist of electronic components that can be damaged from overvoltages and transient conditions. C-Bus employs some transient protection, but the level of protection is not enough to protect against large overvoltages from switching operations or lightning strikes. It is recommended that: Overvoltage protection, such as the Clipsal 970LCA and/or 970 are used in the mains switchboard. Overvoltage protection is used on the C-Bus data cable if the cable is routed between buildings or C-Bus is used in an outdoor application. 1.7 MEGGER TESTING Megger testing (insulation testing) of an electrical installation with C-Bus should only be performed on the mains component of the installation, or in accordance to wiring standards. The megger testing of the low voltage mains wiring should be performed before final connection to output units There is no requirement to megger test the C-Bus cables. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 1.8 PAGE 10 POWER FAILURE Each unit on C-Bus incorporates a microcontroller and non-volatile memory, operating independently from any central control. All programmed parameters are stored in non-volatile memory, allowing them to retain their settings in the event of power failure. In this way, when power is restored, the entire network will resume operating as it was before the mains supply power loss. Units can also be programmed to operate in a predetermined manner after mains re-instatement. 1.9 OPERATION ON ISOLATED POWER SUPPLIES Isolated supplies such as local generator sites may have inadequate output frequency stability to allow C-Bus dimmer units to function correctly. The dimming ability of the C-Bus Dimmer units can be affected if the mains supply frequency is out of the specified range. The use of isolated supplies does not affect the operation of any other C-Bus devices. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 1.10 PAGE 11 OPERATION ON INVERTER SUPPLIES All C-Bus units which are mains powered are designed to operate from sinusoidal voltage waveforms. Any inverter which produces a square-wave voltage output may cause damage to, or degrade the performance of the C-Bus devices connected to it. The use of Uninterruptible Power Supplies (UPS) can be used if the output voltage and frequency are within acceptable limits for the operation of C-Bus units that require mains power. NOTES PAGE 12 C-BUS VERSION 2.3.0 – TRAINING MANUAL 2. C-BUS-COMMUNICATIONS The following description demonstrates the actions of a KEY SWITCH INPUT UNIT to control one channel of a dimmer unit. 2.1 THE KEY IS PRESSED When you press the key, the KEY SWITCH INPUT UNIT measures how long the key is pressed. The length of time the key is pressed may determine what command the KEY SWITCH INPUT UNIT will issue. FIGURE 2.1 2.2 KEY SWITCH INPUT UNIT SENDS A MESSAGE The Key switch will then issue an appropriate command, the message is synchronised to the System Clock to ensure data is not lost in the transmission. FIGURE 2.2 NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 2.3 PAGE 13 MESSAGE IS BROADCAST ONTO C-BUS The message is broadcast on the C-Bus for all units to read. Only those units programmed with the correct addresses will respond. FIGURE 2.3 NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 2.4 PAGE 14 DIMMER CHANNELS RESPOND Once the Dimmer Units have received and interpreted the message, they switch the loads affected to their new level. FIGURE 2.4 NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 2.5 PAGE 15 STATUS REPORT For the purpose of the following, units that initiate the MMI status report will be called input units. Input units may include KEY SWITCH INPUT UNITs, light level units or PIR units. Fundamentally, all units that send a C-Bus command due to a mechanical or physical action placed upon that unit will be called an input unit. Units that supply details of compliance checks will be called output units. Output units include dimmer units and relay units. See technical manual for full details regarding C-Bus units. In traditional hard-wired electrical installations, bulky cables and their associated connections were used to control electrical devices. Electrical currents at relatively large voltages flowed to control electrical devices (i.e. a light switch connected to a light bulb). In a C-Bus system, these bulky cables from switches (input units) are replaced by lighter, cat 5 cable, that allows communication pulses to flow through it with userdefined codes and commands. Consequently, a link between devices exists as a short burst of communications in the C-bus cable that forms an integral part of a CBus system/network. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 16 In order to ensure that the overall reliability of the system is not less than that of an older, traditional wiring system, a Status Report communications burst is sent between all units (input and output) on a regular basis. The Status Report gathers information from all output units and sends this to all input units so that if any state disagreement exists, the input units can adjust. In response to a state disagreement within a Status Report, input units may reassign their internal state, or may transmit a Command to ensure that all output units are set to the same state as the input unit. A Status Report is initiated on a regular basis to ensure the functional link stays intact. The time is defaulted to 3 seconds but may be changed by the user. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 3. PAGE 17 SYSTEM SUPPORT MODULES C-Bus System Support modules are those units which are required on all networks for correct operation, and serve a number of functions. There are three types of System Support Units, a single network does not require a Network Bridge but that module is required in multiple network installations. System Support available on C-Bus are: The C-Bus Power Supply The PC Interface The Network Bridge Each unit with the exception of the Power Supplies requires programming using the installation software along with a PCI or CNI (also may be known as interface adapters). NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 3.1 PAGE 18 C-BUS POWER SUPPLY The C-Bus Power Supply is described by: The C-Bus Power Supply is the only unit that does not contain a microcontroller and does not require programming. The primary function of the Power Supply is to convert the mains input (240 Vac) into the 36 VDC required by the C-Bus units for operation. Each Power Supply supplies the C-Bus 36 VDC @ 320 mA, while each CBus Unit requires 18 mA for correct operation. Each “on board” Power Supply in DIN series C-Bus units (Relay and Dimmer) supplies 200mA @ 36V. Each “on board” Power Supply in PRO Series C-Bus units (Relay and Dimmer) supplies 60mA @ 36V. Each DIN series stand alone Power Supply supplies 350mA @ 36V. The mains potential side of C-Bus has an isolation rating of 3kV to the C-Bus control side. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 19 Rules that govern the operation of Power Supplies: Power Supplies may be added to the C-Bus as required (not to exceed a total of 2 Amps however). Power Supplies can operate from any mains voltage phase while connected to the same C-Bus network (mains side of different C-Bus power supplies connected to different phases). When more than one Power Supply is connected to the C-Bus network, the Power Supplies share the load equally. A stand-alone Din-Rail Power Supply is required for every 17 C-Bus units. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 3.2 PAGE 20 AC OUTPUT IMPEDANCE C-Bus messages are voltage pulses which are superimposed upon the DC Power Supply voltage. This requires a high AC impedance to be present at C-Bus communication frequencies. The Power Supply has a special output stage providing this impedance. General purpose off-the-shelf Power Supplies are therefore not suitable for C-Bus installations. Figure 3.1 NOTES PAGE 21 C-BUS VERSION 2.3.0 – TRAINING MANUAL 3.3 OUTPUT VOLTAGE REGULATION The C-Bus units are designed to operate from the C-Bus Power Supply with a nominal output voltage of 36 VDC. As more C-Bus units are added the output voltage starts to decrease. The C-Bus units are designed to operate to a voltage as low as 15 VDC. When the voltage becomes less than 15 VDC, more C-Bus Power Supplies must be added to the Network. Output Voltage 36 V DC 32 V DC 17 Number of C-Bus Units Figure 3.2 NOTES PAGE 22 C-BUS VERSION 2.3.0 – TRAINING MANUAL 3.4 C-BUS PC INTERFACE The C-Bus PC Interface is designed to provide an isolated communications path between a personal computer/modem and the C-Bus network. It’s prime function is to act a ‘language translator’ that converts RS 232 protocol to C-Bus protocol. Personal Computer RS232 PC Interface C-Bus C-Bus Network FIGURE 3.3 The C-Bus PC Interface facilitates: Programming of the C-Bus units. Issuing commands to the C-Bus units. C-Bus network monitoring/logging. Can generate a system (synchronisation) clock for synchronised data transmissions. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 23 Can provide a network burden required by each C-Bus network for correct operation. Even though required for programming the PCI may be removed from a CBus system/network after programming is completed. This assumes that another C-Bus unit (generally an output unit) will take the role of providing a network burden and system clock. The installer of C-Bus systems should also be aware that a CIS product called a CNI (Computer Network Interface) is also available. The purpose of this device is to allow the programming and general communications link between a PC and C-Bus network over a physical Ethernet layer. There are separate issues regarding this device and will not be fully covered in this manual. See your instructor or look for further details on Clipsal Integrated Systems Pty Ltd web site. Web Site is: http://www.clipsal.com/cis/. NOTES PAGE 24 C-BUS VERSION 2.3.0 – TRAINING MANUAL 3.5 SYSTEM CLOCK The System Clock ensures that data transmissions are controlled. Syncronised. Data transmission occurs a short period following the falling edge of the last pulse. When two commands are executed simultaneously, they are put into a queue and issued onto the C-Bus network in a controlled fashion. The clock waveform generated by the PC Interface unit consists of a bipolar 2.5V rectangular pulse of duration 296uS. Rise and fall times for the clock waveform, as well as for all the other communications on the C-Bus, are controlled to reduce the generation of unwanted electromagnetic interference. a) Pulse repetition rate 2.000ms b) Pulse shape 148us 148us 2.5V dv dt <1.4V/us -2.5V Figure 3.4 NOTES PAGE 25 C-BUS VERSION 2.3.0 – TRAINING MANUAL 3.6 NETWORK BURDEN The network burden provides a load to the network and at least one network burden is required on every network for correct operation. The burden is software selectable on output units. The network burden is simply a 1000R (ohm) resistor in series with a 10uF/50V electrolytic capacitor, (observe polarity). This is useful if the user wishes to disable software selectable burdens and have a ‘hardware’ burden connected onto the bus. Rules with network burdens: One and only one network burden is required on each C-Bus network. C-Bus DIN and Pro Series units have a software selectable network burden. The software burden can also be enabled by using Learn Mode. Below is a schematic of how a network burden is constructed. 10uF 50V 1kΩ 0.3W + C-Bus - C-Bus FIGURE 3.5 NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 4. PAGE 26 SOFTWARE INSTALLATION The current version of C-Bus Software is free for download on the Clipsal Integrated Systems website: http://www.clipsal.com/cis/. 4.1 PC SYSTEM REQUIREMENTS The minimum requirements for a computer to run the C-Bus software is:IBM Compatible Computer Operating System: Microsoft Windows 95 or higher Microprocessor: Pentium 100 RAM: 16MB 8MB Hard Disk Space High resolution colour monitor Java Enabled Internet Browser : MS Internet Explorer V4.1 or higher. Pointing Device (i.e. Mouse) CD-ROM Further the installation software requires 8MB hard drive disk space for installation. NOTES PAGE 27 C-BUS VERSION 2.3.0 – TRAINING MANUAL 4.2 BROWSER When the C-Bus installation software is launched, the Browser view is the result. From the Browser screen the user has access to the following pull down menus. File Database Transfer Help 4.3 Edit Network Window Exit FILE MENU The File menu allows the installer to access the following commands: Communications Setup Allows the user to select the Baud Rate and Communications port. Project Manager Allows the user to define a new project or edit addresses of an existing project. Decimal Addressing Selects decimal addressing for Unit Addresses. Hexadecimal Addressing Selects hexadecimal addressing for Unit Addresses. Print Allows the user to select printer options. Print Preview Allows the user to preview the print selection. Exit Exits C-Bus program. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 4.4 PAGE 28 EDIT MENU The Edit menu allows the installer to access the following commands: 4.5 Add New Unit Allows the user to add a new unit when in database mode. Copy Unit Allows the user to duplicate a unit in the database. Delete Unit Allows the user to delete a unit. Change Unit Address Allows the user to change the Unit Address from the available addresses. Refresh Updates database or network listings to reflect changes made. Abort Operation Cancels current operation. DATABASE MENU The Database menu lists all the available databases stored on the personal computer. The databases are stored in unique directories and may be saved individually on disk, and uploaded onto other machines. This is achieved by exporting the project into a .CB2 format file (compressed C-Bus file). In the same way other databases may be imported to the target machine. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 4.6 PAGE 29 NETWORK MENU The Database menu allows the installer to access the following commands. Set Project Allows the installer to select the Project name from those available in the project manager list and then store the project name to a C-bus network. Partial Details Lists partial details of the network and databases Omits the addressing information. Note the speed of the scan is greatly enhanced when this option is selected. Full Details All details in the network and database scan are listed. Local Network Select the Local Network (the one attached to the PC) to scan. Remote networks are then displayed below if a multiple network system. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 4.7 PAGE 30 TRANSFER MENU The Transfer menu allows the installer to access the following commands. Network > Database Transfers the contents of the open network to a database, and saves the database to the hard drive of the machine. Database > Network Down loads the contents of the database to the network connected to the PC. Units over written with the same Unit Address. There are cautions to be taken when using this feature. The instructor will explain. NOTES PAGE 31 C-BUS VERSION 2.3.0 – TRAINING MANUAL 5. THE CONCEPT OF ADDRESSING A conventional electrical installation comprises of many switching type devices and corresponding load or switched devices (ie. lights). This type of installation requires many cables for interconnecting the various devices. Consider the following examples for an objective and cabling requirements to achieve that objective. Objective 1: One single light switch to control a light. Requirement: One active supply wire and one switched active wire. Light N Active (240V) Switched Active Figure 5.1 NOTES PAGE 32 C-BUS VERSION 2.3.0 – TRAINING MANUAL Objective 2: Two single light switches to control one light load. Requirement: One active supply, a pair of strappers and a switched active wire. Strappers Switched Active 2 Active (240V) Light N Switch 2 Switch 1 Figure 5.2 As can be seen, the number of control cables increase as the number of switches to control still only one load increase. Objective 3: Individually control from one location three (3) lights and one (1) exhaust fan using a four- (4) gang switch. Requirement: One active supply wire and four switched active wires. The requirements of objective 3 demonstrate the necessity of multiple cables to achieve a relatively simple electrical operation. Each of these cables must be fixed in accordance with local authority standards. Loads required to be dimmed or speed controlled and/or timed must have additional electrical components added to achieve these aims. Master on/off switching by conventional means require cumbersome switches/relays able to handle large switching voltages/currents. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 5.1 PAGE 33 EQUATING C-BUS INSTALLATIONS WITH CONVENTIONAL WIRING The concept of Group Addressing in a C-BUS system is no harder than the labelling placed on individual, but bunched, switch wires to facilitate correct connections to multiple load devices (i.e. light fixtures). 240 volt switches, dimmers and timers are replaced by C-BUS units. A single C-BUS cable will replace many switching and control wires. Simply put, an association (in the form of addresses) is being made between each switch on the C-Bus Key Switch Input Unit, PE and PIR units and CBUS channels on relay and/or dimmer units. Instead of a current flowing when a switch is turned on (traditional wiring) and a light turning on, a stream of data instructions flow down the 2 wire C-Bus cable to achieve the same function. As C-Bus is a two-wire system, and all units are connected to those same two wires, any instruction flowing in the wire is available to all units. Instructions are then interpreted by all the units. Addresses are noted, the unit then decides if the instruction was directed toward it. Hence the labels or associations mentioned earlier are required in the form of addresses/group descriptions. NOTES PAGE 34 C-BUS VERSION 2.3.0 – TRAINING MANUAL 5.2 ADDRESSING CONVENTIONS There are five types of C-BUS addressing. These are: Unit addressing Group addressing Area addressing Application addressing Network addressing From smallest to largest (but not in respect to importance) it can be pictorially represented in the following fashion. UNIT GROUP AREA APPLICATION SMALLEST BUILDING BLOCK NETWORK LARGEST BUILDING BLOCK Again, smallest to largest is by no means referring to importance. Without units there would be no networks. No networks would indicate there are no units. What is indicated by this pictorial view simply tries to show that the units, with their own unique addresses, are the base building block on which all subsequent addresses are constructed. Networks with their own unique addresses are final constructs encompassing the whole structure. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 35 Addressing for C-Bus is generally allowed in two formats (with some exceptions that will be noted where applicable). These are: Numeric Alphanumeric Numeric form is probably the most conventional method of addressing. As microbased equipment works on numbers (ultimately in the form of 1’s and 0’s) to achieve an objective, this form of addressing is the most machine friendly. For simplifying the binary format of machine code we can represent this code in a hexadecimal format. Binary = 1111 1111 Hexadecimal = FF Luckily the ability to assign and link a numeric address in an alphanumeric form is available. This is human friendly, as a descriptive word to associate a particular switch on a key unit to a particular channel on an output unit makes things easier. For example switch one of a four key unit to control one of four lights in the bathroom can be called bathroom-light1 instead of, say, 0A (Hex). Ultimately any words used for group descriptions will be ‘stripped’ of by the application software and the ‘raw’ hex group address only will be loaded into the relevant C-Bus units. The group descriptions will be stored on the PC in a database for linking by the application software on upload procedures that may occur at later dates. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 5.3 PAGE 36 UNIT ADDRESSING The unit is the basis on which all networks are constructed. The unit must be addressed with it’s own unique and individual number. This number may be in Hexadecimal or Decimal format. The number range is between 0 to 255 (decimal) or 00 to FF (hex). Remember, however, this does not mean that 256 units can be placed on a network. Constraints limit the number to 100! Unit addressing is allowed in only one format. Numeric form (either Decimal or Hexadecimal). Once the C-BUS unit has been given an address number it has been given an identity on the network. Why give units individuality? One reason is so the software can read, or scan, the network units in a numerically ascending order (shortcut key F2). NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 5.4 PAGE 37 GROUP ADDRESSING One channel of a input unit (ie one key of a four KEY SWITCH INPUT UNIT) needs to know which particular channel of an output unit (ie one relay output of a four relay (channel) relay unit) to turn on. This is where group addressing is applied. Group addressing can be divided into two forms. Numeric form Alphanumeric descriptive form Valid group addresses are boardroom lights, kitchen fan etc. 20 alphanumeric characters, including white spaces are allowed. 255 unique group addresses are allowed. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 5.5 PAGE 38 AREA ADDRESSING Next is area addressing. This is where the group addresses are assigned to the area address of a particular unit. The function of this is that all the group addresses on that particular unit will be toggled. This form of addressing also allows the flexibility of: Numeric form Alphanumeric descriptive form In this case an area can be described in a form more in line with how humans would visualise the area. Ie. An area may be “Warehouse”, “Factory”, “Master Off” etc. 255 unique area addresses are allowed. 20 alphanumeric characters, including white spaces are allowed. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 5.6 PAGE 39 APPLICATION ADDRESSING There are two default application addresses given by the C-BUS software. These are: Heating Lighting This form of addressing allows a network to be divided into “different applications” so any units in one application can be controlled without affecting units within another application. More types of alphanumeric descriptive terms are possible other than heating and lighting, and are allowed in this form (alphanumeric) for reasons as given previously. 255 unique application addresses are allowed. 20 alphanumeric characters, including white spaces are allowed. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 5.7 PAGE 40 NETWORK ADDRESSING Networks can again be described in forms as described previously. This form of addressing also allows the flexibility of: Numeric form Alphanumeric descriptive form In this case a network can be described in a form more in line with how humans would visualise the applications. Networks may be called “Floor 1”, “Floor 2” etc. Up to 255 networks are allowed in any one C-Bus installation. 20 alphanumeric characters, including white spaces are allowed. Exercises. 1. What are the five types of addressing associated with C-Bus networks? 2. List some constraints associated with exercise 1 (ie name length etc). 3. In what format is the addressing allowed? NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 6. PAGE 41 GETTING STARTED There are several ways in the “development cycle” of a C-Bus network. On a new installation a recommended method is: 1. Work out the total component count. 2. Ensure the power supply requirements are met. 3. Note network burden requirements (especially if a bridge is used). 4. C-Bus Calculator should be used in steps 2 and 3. 5. Start up C-Bus application software and go to project manager. 6. Create a new project. 7. Ensure Topology Manager is correctly drawn. 8. Use Database Manager to add or delete network components as required. 9. Program the functions required of the units (if known). 10. Using a PC interface and power supply as a pre-load “jig”. 11. Connect the PC to the PC Interface via the serial lead. 12. Set the Project Name to this “jig” (don’t forget setting the project stores the project name in the first unit on the network i.e. the PC Interface if it unit addressed at 00. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 42 13. Still in the Database Manager, use Install new unit facility to load details to each new unit, as and when each new unit is connected to this “jig.” 14. Mark each unit with relevant details (i.e. unit address on a label). 15. Install units on site. 16. Test, Commission and sign off site. As proficiency increases different methods may be applied with various degrees of success. As with all installations, documentation and backups should be made and maintained. As stated previously the C-Bus Calculator should be used to ensure the soundness of the proposed network. Note: Reference should be made to information available in the Introduction to CBus Training Manual. The C-Bus installation Book that accompanies the software as part of the 5000S/2 package and relevant technical data sheets for the various CBus products. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 6.1 PAGE 43 CONNECTING A NETWORK Any C-Bus Network must have a minimum of a C-Bus Power Supplies, as well as a PC Interface (for programming purpose), unless using Learn Mode. The following could be used as a “bench programming jig”. This represents the basic Network. Figure 6.1 NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 6.2 PAGE 44 HARDWARE OPERATION With the PC Interface connected to the Power Supply, the following should be noted when the covers are removed from the units. WARNING: MAINS POTENTIAL IS PRESENT ON THE POWER SUPPLY UNIT, EXCERISE EXTREME CARE. PC Interface Two light indicators, one is permanently lit, the other flashing (if network reading or writing) at approximately 1 second interval. This is the unit/comms indicator. The C-Bus indicator is permanently lit if power and unit status is OK. Power Supply Two LED indicators, permanently lit under normal operating conditions. One indicator relates to the short circuit protection on the unit and is extinguished on short circuit condition, and lit when the short is removed and the power supply restored. This is the C-Bus indicator. Unit LED indicates unit state. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 6.3 PAGE 45 STARTING A PROJECT Each C-Bus installation is referred to as a Project, to set up a Project. With the mouse, left click on File in the browser. Select (again with the mouse) Project Manager from the drop down box. In the Project Manager, select file and then New Project. The window below should appear. Type in the project name field Network1; ensure Single Network Project radio button is selected. This project name will be stored on the first unit of a network, unless the project is synchronised. In this case the project name will be stored in every C-Bus unit. Figure 6.2 NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 6.4 PAGE 46 DATA-BASE MANAGER Note, in the following with reference to mouse actions, when “click” or “select” is stated a left button push is required unless otherwise stated. The database manager allows the development cycle of a project by the “building up” of all the required components in a network. Once a project has been created it is time to add all the components that will be required for that project (Example). Go to Database and select it with your mouse. A dropdown selection of all projects will appear. The project Example will be visible. Run your cursor down the list until Example is highlighted. When this is done another variable will “pop” out to one side namely ‘Local Network’ [default name]. This indicates there is only one network concerned with this project (remember the radio button selected ‘Single Network’. Now move the mouse cursor over to this network name and select. IMPORTANT NOTE: - The name ‘Local Network’ is indeed a network address description. This identifier can be user changed in project manager under the topology heading. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 6.5 PAGE 47 ADDING UNITS The following window will appear. Figure 6.3 The addition of units (according to components required from pre-plan stage) can be added using the green + symbol. The first component generally added is the PC interface (PCI). The unit address is generally the first available (000). This indicates the PCI is always required, and also makes it the master clock-generating source. When the green + is selected a drop-down list is made available. Select the C-Bus PC interface. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 48 A list of available addresses is given. If this was the first unit selected address 00 should be visible. Select this address (00). Once done the PCI Graphical User Interface (GUI) will appear. The red – symbol will delete selected units. Address numbers may be manipulated (changed) by the unit address icon on the toolbar. The pop up box below will appear after the PC Interface is selected. Note that the address 000 is indeed available as no other units with that address have been selected. FIGURE 6.4 NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 6.6 PAGE 49 PROGRAMMING THE PC INTERFACE The PC Interface template has four fields associated with it, the “greyed” out fields cannot be edited from the Graphical User Interface (GUI) screen. The Project Name can be edited in the GUI window. The Part may be edited with a user-defined description for the unit, such as NEWUNIT. The Part field is limited to 8 characters. Figure 6.5 The GUI above shows that the project name is “EXAMPLE.” Any program changes made and saved to the database will be saves to the database named EXAMPLE. After relevant details are added into the PC Interface GUI, the OK button is pushed to save. The GUI will then ask whether you wish to save to the database, to the network or both. Select where you want it saved and push OK again. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 6.7 PAGE 50 UNIT ADDRESSES The Unit Address for a C-Bus unit can be changed in the database window (when working in database). When a Unit Address has being assigned it is no longer available to any other unit. The Unit Address may be changed by either: Using the short-cut key F6 Selecting the Change Address icon from the menu bar When the Change Unit Address selection is made, a list box with available addresses appears. The addressing may be in either hexadecimal or decimal depending on the user selection. Figure 6.6 NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 6.8 PAGE 51 PROGRAMMING UNITS FROM DATABASE Up until now it has been shown how to: Create a new project Go into database using this project name Add and delete units Change unit addresses The next step is to actually program each unit from the database. When in database the window has several options. In the top left corner of the database window there is a field that has “show template” with a down arrow. Click your mouse on the down arrow. A dropdown menu now appears. Two more options are available, these being:Download to Network Install new unit Select Install new unit. The drop down box disappears and Show Template is replaced by Install New Unit. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 52 Using a suitable programming jig (ie a power supply and PCI) connect a unit that will be used in the new installation. If a one key unit is one of the said units connect this to the jig. On the database listing double click on the corresponding one key unit. The unit address and other details will be downloaded from the database to the unit connected to the jig. Disconnect the unit from the jig and label the unit with address number. Note:- Full programming details can be performed in database and downloaded into the relevant units using this method. In this case all parameter details would be programmed in the unit (via database) prior to it going to site. These details would include group addresses along with unit addresses. To program in this way has certain requirements. For example to perform a full database to network ‘download’ the database unit addresses and unit type have to match. If a one key unit on a connected and powered C-Bus network has a unit address of 03, and in the database the unit address of 03 is associated to a four key then a failure will occur on the download. This is due to the software reporting that information of a one key unit cannot be loaded into a four key unit. The next section (section 7) gives guidance to full unit programming. It should also be noted that “On Line” programming is also possible. This is where a network has been connected together and scanned in displaying all units on that network. GUI’s can be called up and programme changes made on each unit. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 6.9 PAGE 53 NETWORK MANAGER Note: Before “scanning in” or reading a network (or working live on the network) the project must be set. The reason for this is because the CBus software links the project name that is stored in the first unit of a C-Bus network (may be all if project name is synchronised) to a database of the same name on the PC that the PCI is connected to. If this is not done and the PC doesn’t have a database with the stored unit name the details shown in various group fields will be numbers only. There will be no alphanumeric (or character) address descriptions for the PC to cross reference. The Network Manager displays a list detailing the physical units attached to the CBus Network, with the exception of the Power Supplies. A network may be initially “scanned in” using two methods. In the browser click on Network, the drop down box displays “Local Network”, click on this. Use the short-cut key F2. The user may select between Partial Details (no addressing information shown) or Full Details (complete addressing information shown). This is selected in the browser under Network. The advantage of the Partial Details selection, selected under the Network Menu in the Browser, is that it leads to a faster Network scan. When a network is scanned in via F2 (Local Network) the details shown are very much like the details whilst working in database. Many of the functions of how the data is manipulated are also similar to working in database. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 6.10 PAGE 54 COMMUNICATIONS SETUP The C-Bus Installation Software has been designed to automatically detect the Communications Port the C-Bus PC Interface is attached to. If an error message; PC Interface not detected, then the COM Port needs to be assigned manually. The Communications program runs in the background and cannot be shut down. Select available COM Port from pull down selection, or select Refresh. FIGURE 6.7 NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 55 Exercises 1. Create different projects of your name choice, using Project manager. 2. Delete these projects 3. Try to work out other functions within Project manager (ie import etc). 4. In the database window add several new units. Change unit addresses. 5. Practice adding and deleting different units. 6. Programme units using a suitable programming “jig” with unit addresses. 7. Change unit addresses 8. Detect the project name in a network by scanning it in. 9. Make sure there is no project with the name on your PC from Ex. 8 (if there is delete it) and rescan the network and see what values are in various group fields Advanced Exercises 1. Change the default “Local” network name to “first network” (hint: once project name is created, you must go into Topology Manager). 2. Find other features of topology manager. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 7. PAGE 56 DIMMER AND RELAY UNITS The following section can be applied to both working in Database or Live on network. The principle is the same. Remember as stated previously a fully built database looks very much the same as a scanned in network. Individual units in the database widow or scanned in network window can be called up by double clicking on the unit to be examined or modified. The following method of programming units is valid in both cases. Either number (preferably reflecting the HEX group address) or alphanumeric (character) group descriptions can be used. If character descriptive types are used, the database of the project must be kept on the PC. To ensure that the group descriptions will always be available for the user, backup disks should be kept. This is a standard safety precaution as the possibility of disk crashes and PC hardware failure should always be of a prime concern. The availability of the same PC having programmed the network originally may not always be available. In this case the backup disk can be loaded onto the new PC. When the network is scanned, the software will link the project name stored in the C-Bus unit to the database (of the same project name) stored on the PC. This is true for programming all C-Bus units. Further details are available in section 13. The C-Bus software templates or Graphical User Interfaces (GUIs) are similar for both Relay and Dimmer modules, with slight differences. Once you master programming one type of unit either in database or ‘live on network’, then the other will follow. The specifications for each unit, in terms of rating and capabilities need to be addressed when viewing the specification sheets for each device. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 57 For the purpose of the following it does not matter if the GUI’s are displayed by selecting the particular unit in database or whilst working live on network. It should be noted however, after programming the various fields of the GUI the programmer must save the parameters to either Database or Network or both. This is achieved by after parameter entries/modifications the OK button is selected under the actions column (right hand side of the GUI). Once selected two more options are allowed. The action column changes to save column. These are: Database Network If database is crossed (selected) changes or programmed parameters are only saved to database. If network is crossed changes or programmed parameters are only saved to network (database is not updated). If both database and network crossed (selected) then programmed parameters are saved to network and database is updated. Of course if working only in database and there is no network connected via the PCI then selecting save to network will end with an error message being displayed saying that no PCI detected. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 7.1 PAGE 58 DIMMERS The C-Bus Dimmer is designed for the control of incandescent and low voltage lighting, ceiling sweep and exhaust fans. The Dimmers employ Leading Edge Phase Control technology and are not suitable for electronic transformers, unless specifically stated by the electronic transformer manufacturer that the unit is compatible with Leading Edge Dimmers. Different loads may be controlled simultaneously from the same dimmer on different output terminals. This means that transformers and incandescent loads can be connected together on one output channel. Output terminals cannot be paralleled to increase the output to a particular load, observe maximum ratings for Dimmers. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 7.2 PAGE 59 ADDING A DIMMER TO THE NETWORK The following will assume to be working live on network. Ensure that the PC is connected correctly. Scan in the network as previously described i.e. short-cut key F2 or in the browser under network – local network. Also make sure there is an eight-channel DIN dimmer connected on the C-Bus network. If communications are not possible go back to communications set-up in section 6 to rectify the problem. FIGURE 7.0 Note in figure 7.0 the ‘new unit’ is at the end of the ‘scanned in’ list as it has the highest unit address (255 or FF Hex). As the address 255 has special meaning to the C-Bus application software it should be reserved for the purposes of the application software. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 60 It is suggested to change the unit address at this point. Follow these steps to do so. Place the mouse pointer over the relevant row with the eight channel dimmer that the address is to be changed, right click once. FIGURE 7.1 This row now becomes highlighted (figure 7.1). On the tools bar click on the change address speed button (figure 7.2). NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 61 FIGURE 7.2 Figure 7.3 now shows the window available to the user once the unit address change button is pressed. The software gives the user the next available unit address. It should be noted that used unit addresses are removed from the selection list as used by other units. Select a suitable address and press ‘OK’. FIGURE 7.3 NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 62 FIGURE 7.4 Figure 7.4 shows the network with the changed unit address. At this stage the unit is still at the end of the scanned network list. Either a network refresh (F5) or scan (F2) will placed this unit nearer the start of the list as the units are scanned (or read in) by ascending numeric order. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 63 Place the mouse pointer in the relevant row (containing the unit with address 01) and double left click. The figure below (7.5) should result. FIGURE 7.5 Figure 7.5 shows a new 8 channel DIN dimmer that has been connected to a C-Bus network with its unit address changed to 01. Note the default parameters. The project name has been added automatically (added by the software). All other parameters are default. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 64 All channels have the group descriptions of ‘unused’ attached to them, as does the area description. The unit defaults to ‘lighting’ application, this can be changed at a later date if so required. Part name is default to NEWUNIT. Part name may be changed to a name (8 characters) that possibly reflects to where the unit is placed physically within the installation (site). FIGURE 7.6 NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 65 Figure 7.6 indicates the first step in programming an output dimmer unit. Channel 1 is selected as control of the physical output of channel 1 is required (i.e. a light is connected to the terminal of the output unit). The mouse pointer is placed over the group field of channel 1 and then the mouse is RIGHT clicked. The window appears offering the option of creating a new group description. The option of changing description is not offered at this stage as no group description has previously been entered. The create new group is selected. FIGURE 7.7 Figure 7.7 shows the window that appears next. Note that the description window has a ‘number’ in hexadecimal. This is where the decision would be made regarding the addressing ‘format’ to be used in the project. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 66 The ‘number’ shown is actually a description that at onset reflects the true group address that will be loaded into the C-Bus unit. It would be preferable that this ‘number’ description be left unchanged as the software is actually showing the user the next available address. In the case of fig 7.2 the value 10 may be changed to say 4A, but the true group address of 10 will still be attached to the new description of 4A. The training tutor should be able to practically demonstrate this using project manager. Also refer to section 13.1 to see a visual representation of this description. FIGURE 7.8 NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 67 Figure 7.8 shows how the previous group description 10 (which in this case also originally represented the true group address of 10) has been overwritten with group description of ‘test light 1’. The group address 10 is still in the background and can be viewed in project manager. Click on OK and the group description ‘test light 1’has now been placed in the group field box for channel 1. See Fig 7.9. FIGURE 7.9 NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 68 Any group address/description must be kept consistent throughout the entire network. Figure 7.10 shows the option of now saving the changes to either database or network. This is achieved by clicking on the ‘OK’ button in the GUI. Click on the Data Base check box to save all modifications to Data Base. Click on the Network check box to save modifications to the C-Bus network. Click on both to save modifications to BOTH network and Data Base. Click on ‘OK’ again for process to complete. FIGURE 7.10 NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 7.3 PAGE 69 LOGIC FUNCTIONS Up to this point we have been working on the first screen of the dimmer GUI. It should be noted that there are a total of 7 tabs on the bottom of the GUI window. Click on the ‘Logic’ tab and the screen as shown by fig 7.11 should now be visible. FIGURE 7.11 NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 70 It should be seen that there are a total of 4 separate groups reserved for use if more complex logical switching is required, and these are available on the second tab. The assignments of groups for these four are done in the same manner by selecting from the drop down list, or creating new group descriptions as done on the first screen. The logic function is revealed below and is selectable when a check box is selected. The correct use of this function requires an understanding of logic. Combinational logic applied to one channel is not possible. If, for example, AND logic is chosen for channel 4 control then all logic groups added in the other three rows will be of the same logic function. Always place the first set of group addresses/descriptions in the ‘channel setup’ tab screen. Use the ‘logic’ tab screen for further additions of groups, for the purpose of logic operation. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 7.4 PAGE 71 TURN ON FUNCTIONS FIGURE 7.12 Figure 7.12 is showing the screen that allows minimum and maximum levels that the output channel can be set to. Each slider starting from the left represents a physical channel starting from 1. For this operation left click on the Set Minimum Levels radio button. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 72 The mouse pointer is placed on the bottom, second from the left slider thumb bar, left mouse button pressed and held, then the bar pulled up to 20%. Finally left click on the Set Maximum Levels radio button. The mouse pointer is placed on the top, second from the left slider thumb bar, left mouse button pressed and held, then the bar pulled down to 80%. This now has set channel 2 output to operate from between 20% and 80%. The channel will never dim above or below these levels. This is not to say that they can never be turned on or off. If a key is configured to a toggle dimmer (see section 10) the channel can be dimmed up or down and toggled to 0% (off) or 100% (on). The Synchronise Sliders check box is simply used for the purpose, if checked, to allow one slider to be grabbed and all sliders will follow to the same level. A purpose for this function may be to ensure that a minimum voltage is always applied to a ceiling sweep fan (to prevent motor burn out). NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 7.5 PAGE 73 RECOVERY FUNCTIONS FIGURE 7.13 This tab allows setting the state for each of the available groups to return to when power is restored after a failure. The group state or level for each of the available channels is shown at the top and the levels for the 4 logic groups at the bottom. A State box is provided below the slider for each group. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 74 Moving the mouse pointer over this box for each group reveals a hint which says ''Click for no change'. Each time you click in this state box, it will change from "N/C" ,meaning 'No Change' (Auto Level Store at time of power loss), "SET" meaning set the level you want (between 1% and 99%) , "OFF", meaning 0%, "ON" meaning 100%, and back to "N/C" again. When the state box shows "N/C", that group level is automatically saved when power is lost. This is the level store mode and the level for this group cannot be changed by the user. The level can only be set by using the slider or clicking in the value box and selecting from the list when the state box shows "SET". 'N/C' (No Change - Auto Level Storing) The group will return to whatever level it was at before the power failure. In this sate, the unit automatically saves the level of the group at the moment power is lost, and will return to the same level when power is restored. In this state, this level cannot be changed by the user. 'SET' (Level can be set by the user) The group will return to the level set by the user. In this state, access is allowed to the slider and value box enabling the level to be set as desired. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 75 'OFF' (Level is set to 0%) The group is set to Off (0%) and will return to this level when power is restored. In this state, access is not allowed to the slider and value box and hence the level cannot be changed. 'ON' (Level is set to 100%) The group is set to On (100%) and will return to this level when power is restored. In this state, access is not allowed to the slider and value box and hence the level cannot be changed. Move the mouse pointer over the text 'Groups recover as follows.....' at the top, to find out how to change these levels using the keyboard. Move the mouse pointer over the text in blue 'Groups 13 to 16 are used for logic' at the bottom, to find out how to change these levels using the keyboard. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 7.6 PAGE 76 DELAY FUNCTIONS There are 2 sets of delays provided for in this tab. The first is the Power Up Delay for each channel which is selectable, from 5 seconds to 33 minutes 30 seconds from the list that appears when you click in the box. This delay is only applicable after a loss of power and should not be confused with the Turn On Delay or the Restart Delay. If a value over 60 seconds is selected, the hint panel will show this in minutes and seconds when the mouse is moved over the box.( 70 seconds will show as 1 minutes 10 seconds). NOTE: - These delays are only available for units with Non-latching relays, and are not accessible when Latching relays are used. The next set of check boxes headed by the text 'Power is reapplied to.....' is for selection of channels to apply the Restart Delay shown below them to. If you require a channel to have a delay between the time it is turned On and the time power is applied to the terminal, then select that check box for that channel and then select the length of the delay required (from 0 seconds to 42 minutes 30 seconds). There is only one delay period selectable and this is applied to all selected channels. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 77 Moving the mouse pointer over the heading text for each section shows the ranges available. The power up delays can be set from the keyboard by using the Alt key along with the F1 to F? Function keys with the number relevant to the channel number. The single restart delay below can be changed by using the Ctrl key along with the F1 key, and the check boxes can be tabbed to, with the space bar doing the selection/de-selection FIGURE 7.14 NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 7.7 PAGE 78 GLOBAL FUNCTIONS FIGURE 7.15 The Global tab has a collection of sundry parameters in the form of check boxes allowing the enabling or disabling, individually, of each parameter. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 79 These parameters are as follows: Check sum This option enables or disables the check sum alert and is enabled by default. Local Toggle This option enables or disables the override buttons on the unit and is enabled by default. C-Bus Clock This option enables or disables the clock within the unit and is enabled by default. C-Bus Priority This option enables or disables the priority of C-Bus commands over the local toggle functions and is enabled by default. Burden This option enables or disables the application of a burden by the unit and is enabled by default, but is only available and applicable to a unit with the address of '01'. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 7.8 PAGE 80 STATUS FUNCTIONS FIGURE 7.16 Figure 7.16 gives valuable feedback to the user. Global Status is self-explanatory. Voltage of C-Bus and the unit’s Serial Number can also be displayed. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 7.9 PAGE 81 RELAYS DIN relays are programmed in a similar fashion to the DIN dimmers. There are some differences that will be outlined below. The obvious difference is that the relay unit has up to 12 channels as opposed to the dimmer unit that has up to 8 channels. Current carrying capabilities of the relay are generally higher than that of the dimmer (neglecting the PRO series range of dimmers however). FIGURE 7.17 NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 82 Figure 7.17 shows that the GUI for the relay is indeed very similar to the dimmer. It is seen there is provision for programming 12 channels. Selecting or creating group addresses or descriptions to place in the group fields is exactly the same as the dimmer. FIGURE 7.18 Figure 7.18 shows that the only difference between the relay and the dimmer is that the relay can only set the Set On Threshold (similar to ‘minimum turn on’ on the dimmer). NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 83 FIGURE 7.19 Power up delays are used for the restriction of large current inrushes. If the case of fig 7.19 every second channel may have the check box ticked. If and area command is issued to this particular relay unit every second channel would turn on a set time after the primary set of channels. To stagger start channels, the turn on tab would be selected and the turn on levels would be staggered. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 84 Exercise 1. Change part name (hint: remember about greyed areas in the GUI’s). 2. Change Unit Address (hint: you must go back to browser and then network or database look for ways there!). 3. Create some group descriptions to put in the relay and dimmer unit fields. 4. Go to the network project manager and check. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 7.10 PAGE 85 MOUSE OPERATIONS The group fields in the Dimmer GUI may be changed using the PC mouse. Left Click Displays all the existing defined Addresses Right Click Allows the user to define new Addresses or modify existing addresses. Exercise Define 4 new Group Addresses on the Dimmer, these should relate to terminals 1 through 4 on the Dimmer. Name these Group Addresses Light 1, Light 2, Light 3 and Light 4. The relation is achieved by the ticks visible under the channel numbers shown below. Once this is done suggest what the benefits of the ability to alter the tick positions are. FIGURE 7.20 NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 8. PAGE 86 KEY SWITCH INPUT UNITS C-Bus Key Switch Input Units are available in a wide range of configurations and patterns. There are three basic templates in the C-Bus software for programming of the C-bus, these being the 1, 2 and 4 gang patterns. Again if one is mastered then others will follow. The C-Bus Key switches are available in the following patterns: 2000 series ( 1, 2 and 4 gang) C2000 series ( 1, 2 and 4 gang) A style metal plate ( 1, 2 and 4 gang) B style metal plate (Up to 132 hang plate) C style metal plate ( 1, 2 and 4 gang) NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 8.1 PAGE 87 4 GANG KEY SWITCH INPUT UNITS Again as stated with the dimmer, relay and analogue units, programming new or altering existing parameters can be achieved in both database and working live on network. Observe the same conditions as with the previous units but now ensure a four key unit is available and connected on the network. Scan in the network (F2). A screen similar to the one below (fig 8.0) should appear. Locate the row that contains the 4 gang key unit and double left click on this row. FIGURE 8.0 NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 88 The programming GUI (fig 8.1) will appear. The C-Bus Key Switch Input Units can be programmed to achieve a number of functions including; toggle, timers, dimmers, preset dimmers and any custom key. FIGURE 8.1 NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 8.2 PAGE 89 KEY FUNCTIONS By looking at fig 8.1, it can be seen that the programming window represents a graphical representation of a 4 key switch unit. As per standard C-Bus programming GUI layout, global parameters and information are visible on the top section of the programming GUI. These being: Project Part Name (if applicable) Unit Address Network Application Area Address (if applicable) Again as per standard C-Bus programming GUI layout, options tabs are located on the bottom of the GUI. By default the programming window that appears after double clicking on a unit in the network scan screen will always show the window that will appear by clicking on the left most tab. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 90 Different key function choices are selected by left clicking on one of the four switches that are visible in the graphical representation of the four key switch unit. The widow shown (fig 8.2) below will appear. ON OFF ON/OFF DIMMER ON/UP OFF/Down TIMER UNUSED PRESET CUSTOM Turns load on Turns load off Toggle switch Up/Down dimmer Up dimmer Down dimmer Timer function (max delay 18hrs, 12mins, 15secs) No function Preset dimmer level User custom configuration Figure 8.2 The fields in the Key switch GUI may be changed using the PC mouse. Left Click Displays all the available Key functions Right Click Allows the user to define new Addresses or modify existing Addresses. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 8.3 PAGE 91 POWER FAIL The Power Fail option is used to set the level of the Outputs following the loss and subsequent restoration of C-Bus power supply. The Power Fail option is used in conjunction with the Level Recall command set in the Output Units, if the Level Recall is disabled, then the state set on the Input Units will not be issued to the Network. Figure 8.3 NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 92 Restore to Previous Levels The Outputs are set to the previous level following power up, and following a period of approximately 15 seconds (5 MMI* periods) AND and ONLY IF, Level Recall is set on the Output Units. Restore to Preset Levels The user can set the Power Up Level to any value between 0 and 100% (for dimmers and analogue output units) or 0% or 100% for relay units. The Outputs are set to the preset level following power up, and following a period of approximately 15 seconds (5 MMI* periods) AND and ONLY IF, Level Recall is set on the Output Units. It is recommended that the default case of Restate to Previous State is selected. ** If the C-Bus does not correct the states in 5 MMI periods then a number of retries will occur until the correction is made, this may be significantly longer than 5 MMI periods. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 8.4 PAGE 93 GLOBAL The Global Parameters for Input units are revealed under the Global Parameters TAB. The GUI for the Key switches is illustrated below. FIGURE 8.4 NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 8.5 PAGE 94 LED INDICATOR OPTIONS Figure 8.5 First Radio Button Sets the brightness of the LED on the KEY SWITCH INPUT UNIT, select from 2 - 100% brightness. Second Radio Button Brightness of the key unit switch’s LED’s follows the Group Addresses level. Where to use this facility: Dim the LED indicators in bedrooms etc. Gives the user an idea of the level of the output channel, if the key switch is remotely located from the light that is controlled by the output channel But, in practice, this facility is seldom used. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 8.6 PAGE 95 SUNDRY PARAMETERS FIGURE 8.6 DeBounce The time required for the switch to settle mechanically. LongPress The time delay before a short press becomes a long press, used for the dimmer function, to differentiate Toggle from Dimmer functions. Ramp 1 Ramp time, applies to functions UPKEY, DNKEY & DNCYCLE Ramp 2 Ramp time, applies to functions RAMPOFF & RAMPRCL1 Check Sum Default enabled, used for internal testing of the CBus network. An error checking function. Error indicated by LED flashing on key units. SR Interval Period between successive MMI requests. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 8.7 PAGE 96 ADVANCED FIGURE 8.7 The information available on this screen is a text-based solution to the Graphics available on the Choices menu. It allows the user to manipulate the data for a more advanced custom control of a CBus. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 8.8 PAGE 97 KEY FUNCTIONS The duration of Press and Release determines how the Key behaves. The parameters which determine the duration are set in the Global TAB, ie. Long Press time. Figure 8.8 The press times shown below show the factory default times. Fig 8.6 shows the required window that is displayed when the Global tab is selected in order to change various times. Short Press < 400mSec + DEBOUNCE TIME Short Release <400mSec following release of Key Long Press >400mSec + DEBOUNCE TIME Long Release >400mSec following release of Key NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 98 Alternatively, think of the Long Press and Long Release as incorporating Short Press and Short Release respectively. (DEBOUNCE TIME = 48mSec). Long Press Max (448mSec, SHORT PRESS + 48mSec) Long Release > Max (448mSec, SHORT RELEASE + 48mSec) It’s easy to get confused by the mention of adding de-bounce times to press times, but it is considered to be technically correct to mention it. De-bounce is a critical aspect to all micro-controller based systems, to ensure reliable operation of the CBus system it has been added as a user changeable parameter in C-bus key units, auxiliary input units, bus couplers and PIR units. The user should not have to worry about changing this parameter in the C-Bus1, 2 and 4 key units as the switches are standard and quality assured in each key unit. However with auxiliary input units and bus couplers where users may wish to add other manufacturers switches the mechanical characteristics may vary widely. Mechanical switch contacts when activated (i.e. the switch operated) generally will bounce (open and close) several times before settling. Micro-controllers can detect these multiple open and close actions of a switch. The micro-controller (if de-bounce is not available) may issue multiple on/off commands in relation to the multiple open and closes of the switch. Therefore de-bounce is a feature that allows a microcontroller to detect a switch closure, go off to do other functions, come back after de-bounce time (the switch should have settled to it’s new true state by this time) and check to see if the switch is still closed. If it is a valid switch closure, the microcontroller will then issue a relevant command out to the bus. NOTES PAGE 99 C-BUS VERSION 2.3.0 – TRAINING MANUAL Vo De-Bounce Long Press Short Press Short Release 48mS 400mS Long Release Time FIGURE 8.9 In an attempt to simplify the concept of short press, long press and de-bounce times consider the drawings above. The first shows a simple push button that switches a voltage to turn on a light. The voltage at the light is called Vo. The second drawing shows a graph of Vo (voltage at light) versus time (how long the switch may be pressed). NOTES PAGE 100 C-BUS VERSION 2.3.0 – TRAINING MANUAL If the switch is not pressed Vo=0. As soon as the switch is pressed, Vo will rise to some voltage greater than 0. The C-Bus switch will detect this closure. The first thing it will do nothing about the closure for 48mS (default time). After 48mS, if the switch is still closed, the C-Bus unit will acknowledge that a short press has occurred. If the switch is released before 400mS the C-Bus unit will acknowledge a short release has occurred. If the switch is kept pressed (not released before 400mS) the C-Bus unit will acknowledge a long press has occurred but not a short release (after all the switch has not been released). Any time after this when the switch is released the C-Bus unit will acknowledge a long release. As can be seen, four distinct actions are being monitored by the C-Bus unit, all on one switch press only. By Right Clicking with the mouse on the Key Fields, a drop down table of available functions is displayed. These are the functions the Key can execute. ONKEY OFFKEY TOGGLE IDLE UPKEY DNKEY DNCYCLE ENDRAMP RAMPOFF RAMPRCL1 RECALL1 RECALL2 RETRIG MEMTOG2 START STORE1 NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 101 The definitions of the various functions are detailed in the Installation Software manuals. It is possible to use the blocks to form customised Key functions not available from to Options menu on the first GUI screen. Exercises Program the 1 Key switch to realise the following functions: 1. ON/OFF switch 2. Light stays ON as long as the Key is held down. 3. Light turns OFF when the Key is held down. 4. Light pulses ON, when the Key is held down. 5. Refer to Installation manual for Key command options. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 8.9 PAGE 102 BLOCK ASSIGNMENTS FIGURE 8.10 The Block Assignments allows the user to set the following parameters from the advanced screen: Key Assignments The user has the facility to assign up to 4 Group Addresses to each key press. Timer Duration A maximum time of 18 hours, 12 minutes and 15 seconds is permitted. Expiry Command The expiry command is executed on the expiry of the timer if selected. Preset Store Levels Preset levels relating to various key functions, store 1 and store 2 are preset levels stored on the memory of the key unit. Status Indicators Allows the user to program the state of the indicator, Always On, Always Off, Timer Mode or On/Off mode. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 103 Exercises 1. Configure the One Key switch, as a timer controlling Group Addresses, Light 1 and Light 2 to achieve the following: Light 1, time delay 5 secs, expiry command Offkey Light 2, time delay 10 secs, expiry command Idle 2. Configure the One Key switch, as a timer controlling Group Addresses, Light 1 and Light 2 to achieve the following; Light 1, time delay 5 secs, expiry command Rampoff Light 2, time delay 10 secs, expiry command Recall1 3. Configure indicator LED’s for different status indication NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 8.10 PAGE 104 SCENE CONTROLLERS A Scene Controller allows several groups to be switched on or off, or ramped to certain levels over a specified period. There are five C-Bus units which can trigger scenes:5034NS Scene Controller. 5035NIRSL Scene Master. Any NEO or Reflection Key Unit. SC500CT Touch Screen (Scenes programmed via C-Touch Software). Although there are four different scene devices that are programmed differently to achieve the same outcome, the principle for programming scenes is the same. The 4 Key Scene Controller has a limitation of 18 Bytes per scene. There are 2 fundamental options that can be selected for a scene and they are ON/OFF and RAMP. ON/OFF = 2 bytes RAMP = 3 Bytes By calculating how many group addresses are being switched or ramped, a programmer can determine how many loads can be used in a scene. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 105 A Scene Master Controller has a limitation of 9 group addresses, which may be included in a scene. The difference between the Scene Controller and the Scene Master is that the all 9 group addresses may be ramped. This exceeds the 18 Bytes limit of the 4 Key Scene Controller as the Scene Master has a maximum of 27 Bytes. A NEO or Reflection Unit can have the scene programmed from the GUI. There is a limitation of 8 scenes per unit, as well as another limitation of 40 used group addresses for the entire unit. Also there is a maximum of 10 Group Addresses per scene. A Touch Screen has a maximum of 100 scenes, with a possible 100 group addresses being ramped. NOTE: - The concept of programming a scene is the same for all Scene capable units. The GUI’s however vary with each individual product. Exercise 1. List how many bytes are in each scene in a 4 Key Scene Controller and state whether the scene is possible to implement. 3 On commands and 2 Ramp to 67% over 12 seconds. 1 On, 3 Off 4 Ramp to 80% over 4 seconds. 3 Ramp to 100% over 12 seconds and 3 Ramp to 0% instantaneously. 2 On, 2 Off and 2 Ramp to 87% over 12 seconds. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 8.11 PAGE 106 C-BUS AUXILIRY UNITS AND BUS COUPLERS C-Bus Couplers and Auxiliary Input units have the same function. They both provide the user with four independent input channels to facilitate remote access to the CBus via voltage free switches. Alternatively, the output state of Reed and Micro Switches can also be read. Each of the four individual inputs are individually programmed the same way as a KEY Input Unit. Figure 8.11 Note: - The GUI for programming a Bus Coupler of and Auxiliary Unit is almost identical to a Key Unit. NOTES PAGE 107 C-BUS VERSION 2.3.0 – TRAINING MANUAL 8.12 MULTIWAY SWITCHING Multi-way switching can be achieved by adding additional key switches to the basic network. Add the 2 KEY SWITCH INPUT UNIT and conduct the following exercises. Exercises Set-up 2 way switching by assigning the same Group Address to the 4 and 2 KEY SWITCH INPUT UNITs, ie. use Light 1. Set-up multi-way switching multi-way functions by assigning different functions to the Key switches, various combinations to test are: 4 Key switch – Function 2 Key switch - Function Toggle Toggle Toggle Timer Toggle Dimmer Dimmer Dimmer Timer Timer On Off Up Dimmer Down Dimmer NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 9. PAGE 108 LIGHT LEVEL SENSOR The Light Level Sensor is a device used to measure ambient light and send a command or control signal to the C-Bus. The Light Level Sensor is designed to operate in the range of 40 to 1,600 Lux. The sensor is capable of controlling the brightness of an output from 0 - 100%, or bank switching at a threshold. The sensor can be enabled or disabled from a Group Address. The user can set the Target Light Level and Margin from the template GUI. FIGURE 9.1 NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 9.1 PAGE 109 LIGHTING CONTROL SYSTEM The Light Level Sensor can control lighting by Level control or On/Off control. Level A Group Address in this field operating in conjunction with a Dimmer or Analogue Output module is used to regulate light output continuously, as a function of ambient light to constant lighting, within the set margins. On/Off A Group Address in this field operating in conjunction with a Relay Output module is used to switch light circuits at the Target Level subject to the Margin. Enable A Group Address in this field enables the operation of the Sensor to regulate, the Enable does not turn Off the load unless also programmed in the Output Unit being controlled. The Sensor is enabled when the Group Address in On. Target Level The Target Level set in the Sensor, with units of Lux. The range set is approximately 40 - 1600 Lux. Margin The total variation, (dead-band) about the Target Level, to prevent hunting or oscillating of the lighting control system. If level control is used set margin to zero. If On/Off control used set margin to prevent above stated oscillation. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 9.2 PAGE 110 FIELD CALIBRATION There are two methods towards calibrating the Light level Sensor, each is explained below. Method 1 Set the Target Light Level to the value required, ie. 400 +/50 Lux (Set Target = 400 and Margin = 100). Allow the lighting level to settle in the room, and measure the light level at the surface using a light meter. (This will be different to that measured on the Sensor due to the relative proximity of the units). Adjust the Target higher or lower until the required value is attained. To set the Target, Right Click on the Set Target button. Method 2 Set the Target Light Level to the maximum value of 1600 Lux, set the Margin to the value required. Turn the lights Off then On, and allow the lights to gradually ramp up to the final value. Using a light meter, measure the level at table surface, when the required value is reached, Right Click SHIFT and Right Click on the mouse on the Set Target box. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 9.3 PAGE 111 SENSOR POSITIONING The Light Level Sensor can be used to give an indication of the Light Level on the surface of the detector, by clicking on the Lux box on the template. The Light Level Sensor has a field of view of 180 degrees and must be positioned correctly for the device to operate. Some simple rules regarding positioning include: Position the sensor away from natural light and other direct light sources. Position the sensor on the ceiling looking down towards the working surface or on a side wall looking into the working environment. Do not obscure or hide the sensor with furniture etc… If indirect lighting sources are used, (some types of hi-bays) ensure that indirect light does not directly radiated the surface. Try to position the sensor at the same horizontal level as the light source. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 10. PAGE 112 PIR OCCUPANCY SENSORS There are two types of PIR Occupancy Sensors are available for C-Bus, an indoor model and outdoor model. Each are characterised by: Passive Infra-red movement detectors Threshold adjustment on the unit. Time delay software adjustment from 0 - 18 hours. Incorporate a sunset switch facility. Incorporate a security pulse facility. Mechanical and optically equivalent to the standard mains operated PIR detectors. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 10.1 PAGE 113 MOVEMENT DETECTION The user sets the light threshold on the unit via a potentiometer, which determines at which light level the detector will turn on. The time delay is set in the installation software. The Group description, Time and Expiry Command are entered on the first TAB. FIGURE 10.0 NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 10.2 PAGE 114 SUNSET AND SECURITY FEATURES The PIR sensors feature a Sunset Switch feature, the sensor can be programmed to turn lights on at sunset for a period up to 18 hours, or turn off at sunrise. The unit also has a security feature that sends a short pulse intended to drive a buzzer or light to indicate movement at any time independent of the light threshold. FIGURE 10.1 NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 10.3 PAGE 115 ADVANCED OPTIONS The advanced option allows the user to set the PIR Occupancy Sensor the same way as a KEY SWITCH INPUT UNIT, the GUI also features an option to reset the Light, dark, Sunset and security fields in one operation by clicking on the field header. The field headers are the 4 grey boxes above the key press command boxes called Light, Dark, Sunset and Security. FIGURE 10.2 NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 10.4 PAGE 116 RECOVERY OPTION The PIR Occupancy Sensors may not operate if the Key Functions are customised in this option. To overcome this problem, the template employs a quick recovery option. By simply moving the mouse pointer over the Key fields and Double Right Clicking ON the HEADER, all four Key Press fields are restored to the default values. No other changes are made. FIGURE 10.3 NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 11. PAGE 117 PROJECT MANAGER The Project Manager is used to manage the projects on the PC’s hard drive. Each project is characterised by a unique file. The project manager also is the place where the reference between the stored Group Address and the Tag descriptions are displayed. It is possible to edit and delete project variables. FIGURE 11.0 Figure 11.0 shows how group addresses and group descriptions are shown in project manager. The group descriptions are stored in a tag database on the PC. Descriptions are NOT stored in the C-Bus units. Only group address (numbers) are stored in the C-Bus units. The only text stored in a C-Bus unit may be the PROJECT NAME and PART NAME. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 118 11.1 ADDRESS EDITING Tags (20 character strings) are used to describe the Group, Area and Application Addresses are stored on the PC, the 2 digit hexadecimal address is stored on the device itself. When a PC running the C-Bus application software is connected to a C-Bus network via a PCI and a network is uploaded or scanned the first thing the software does is look for a project name stored in the C-Bus unit. Remember the only text stored in a C-Bus unit is project name and part name. Once a project name is found the software then tries to find a corresponding database within the C-Bus directory of the same name. If one is found the software then links each group address to a corresponding group description, as shown in fig 11.0. If no database is found then the software will allocate a group description that looks the same as the group address. Remember the group address is a 2 digit HEX number. The group description is a 2 character word that looks like a number. Figure 11.1 demonstrates this effect, showing also in this case, that group address 00 description has been replaced with the words Light 1. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 119 If projects are up loaded to the PC using the Network Up-load facility and the Tag database linked to the project name is absent, the tags can be recreated/entered via the Project Manager screen. It is a requirement that the edit facility in project manager is used for this. FIGURE 11.1 Figure 11.1 shows what an uploaded project may look like when tag database is lost and editing has begun on group address 00. In this case group description 00 has been replaced with group description Light 1. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 11.2 PAGE 120 IMPORT AND EXPORT DATA FILES It is possible to Export a data file (project) to a backup file on the C Drive or to disk Drive A for instance. The project is stored as a separate file and may be used on other machines if desired. The backed up project should have an extension of CB2, i.e. “project1.cb2”. In the same way files from other machines may be added or imported to the Project Manager, along with all the descriptive tag names. FIGURE 11.2 NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 11.3 PAGE 121 FILE TRANSFERS Found in the Browser is a function to transfer from the Network to the Database and from the Database to the Network. These functions are used to transfer information between an actual installation and the PC. If a network is up loaded it is possible to Add, Edit and Delete units to the database. The Database Manager allows the user to access the available modules on C-Bus. FIGURE 11.3 Remember the Tag information is stored in the project file and is not actually down loaded into the unit. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 12. PAGE 122 NETWORK BRIDGES The Bridge unit is a network support device serving a number of functions. The Network Bridge consists of two identical halves, each needing to be individually programmed with their own operating parameters. The Network Bridge serves the following functions: Provides a system clock for data transmission synchronisation. Provides optically isolation between adjacent networks. Allows messages to pass between networks. Provides a path for remote programming of units across networks The Network Bridge should be used under the following conditions: When the number of C-Bus units exceeds 100 units. When the total cable length in the installation exceeds 1000 metres. When there is a requirement to provide separation between networks, such as in the case of a multi storey building where a Network Bridge is used between floors to provide segregation. A Network Bridge providing electrical isolation does not permit power transmission through the device. Therefore separate power Supplies are required on both sides of the Bridge. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 12.1 PAGE 123 NETWORK TOPOLOGY The network topology is the connection scheme between networks. C-Bus allows up to 7 networks in depth (i.e. 6 bridges), but to minimise transmission delays, network depth should be minimised. This is illustrated in the topologies below. These topologies have been copied from Topology Manager in the C-Bus application software. It should be noted that the circles represent the C-Bus networks, the BLUE lines represent the BRIDGES and the GREEN line represents the PCI. The circles have colour representation of green indicating the “local network”, and the yellow indicating the “far network/s”. FIGURE 12.0 Figure 12.0 illustrates a 4 networks deep (3 bridges) system. A message is sent from Network 251 (FB) to Local Network (FE) must pass through 3 bridges. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 124 FIGURE 12.1 Figure 12.1 illustrates 4 networks (3 bridges) with minimised depth. No message passes through more than one bridge to get to the Local Network (FE) from a remote network (Network 253, Network 252 or Network 251). NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 125 Figure 12.0 shows a DAISY CHAIN configured network. Figure 12.1 shows a STAR configured network. It should be noted that a COMBINATION of star and daisy chain can be implemented. Below shows one possible combination. FIGURE 12.2 As you can see Network 253, Network 252 and Network 251 are STAR connected to the Local Network (254). In addition to this Network 250 is DAISY CHAINED with Network 253. In this case a message from Network 250 to Local Network MUST pass through Network 253, crossing of 2 bridges in fact, required. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 12.2 PAGE 126 MULTI-NETWORK PROJECT A multi-network project MAY be defined at the onset via the Project Manager. Topology defined at the onset reserves the Unit Addresses for the Network Bridges. FIGURE 12.3 To establish the correct paths the addressing of the networks is done from the users relative position, and the topology is defined from the connection point of the PC. The network to which the PC is connected to is referred to as the Local Network. FIGURE 12.4 The green colour of the circle in figure 12.4 indicates the Local Network and connection point of the PC. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 12.3 PAGE 127 NETWORK ADDRESSING Up to 255 Networks can be defined on C-Bus and each has a unique Network Address. When the topology is defined at the onset of the project the addresses are automatically defined and reserved for use by the Network Bridges. The Network Bridge requires to be addressed, as follows: The Unit Address of the near side of the bridge is the same as the Network Address of the far side connection. FIGURE 12.5 For example consider fig 12.5. Network 253 is considered the FAR NETWORK (relative to local network) and Local Network (254) is called this as it is local relative to the PC. The blue line, indicating a bridge unit, could be programmed in the following way. The local network (254) would be “scanned in” using the application software on a PC. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 128 All units on the local network would be shown in the relevant window, including one half of the bridge unit. The shown bridge unit would be given the appropriate address by using “change unit address” option in the application software. The address would correspond with the ADJACENT or FAR NETWORK ADDRESS (as set up in the TOPOLOGY manager). This tells the bridge, on the near or local side, it is connected to that particular network on the far side. Once this is done the FAR NETWORK can be “scanned in” and the bridge on the far side (relevant to the local network) will be visible in the relevant window within the CBus application software. This side of the bridge will then be programmed with the LOCAL NETWORK ADDRESS. This tells the bridge on the FAR SIDE it is connected to the LOCAL NETWORK. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 129 The addressing of the Network Bridge permits remote access to networks from the local network using the one PC Interface. FIGURE 12.6 NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 130 Once the Network Addresses have been set on both sides of the Network Bridge it is possible to scan the far Side Network from the local network. From the local network it is possible to: Make changes to units on the near and far side networks Toggle output states in the near and far side networks Using the Windows option in the browser it is possible to view all networks simultaneously if required. The Network can be scanned by selecting the Network option form the browser and selecting the required network from the available list of Networks. 12.4 NETWORK BURDEN AND SYSTEM CLOCK The Network Bridge can also serve as a system clock, as can the PC Interface. If a PC Interface and Network Bridge are detected on the same Network then one of the units will automatically shutdown its system clock NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL 12.5 PAGE 131 CONNECT APPLICATION The connect function allows the user to send commands from one network to another network. In this way it is possible to switch a load in a remote network form the local network. Fig 12.6 shows the options of “connect applications” and “Destination Network for Messages”. The remote network must be connected to the local network by a bridge unit, the connect function only applies across adjacent networks. The “Destination Network for Messages” option allows for message routing from one network to another remote network. FIGURE12.7 NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 132 The connect application can be configured to achieve various functions: One way control Bi-directional control Control by Application type The Connect Application field must be enabled and the target network selected from the available list of networks. Figure 12.6 shows the relevant options for connect application and destination network for messages. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 133 EXERCISE From the plan shown the following components are to be installed in the following house. 1. Porch – 1 light (1 relay channel) on/off controlled by switch and PIR unit using 1 key of the 4 key units. 2. Veranda – 2 lights (1 relay channel) on/off controlled by same PIR unit as Porch 1 key of the 4 key units. 3. Living/Dining – 2 lights (2 dimmer channels) using memory dimmer and minimum level of 20% using 2 keys of the 4 Key unit. 4. Foyer – 2 lights (1 dimmer channel) using toggle dimmer and minimum level of 30% using 1 key unit. 5. Using the Scene controller set up 1 key to bring Master Bedroom, Parents Lounge up to 50% level (i.e. use dimmer channels) and Balcony, Ensuite and Robe on (i.e. use relay channels). 6. Using the Scene controller set up 1 key to bring Master Bedroom, Parents Lounge up to 100% level (i.e. use dimmer channels) and Ensuite and Robe off. 7. Using the Scene controller set up 1 key to bring Master Bedroom, Parents Lounge up to 20% level (i.e. use dimmer channels) and Balcony, Ensuite on. 8. Using the Scene controller set up 1 key to bring Master Bedroom, Parents Lounge up to off level (i.e. use dimmer channels) and Balcony, Ensuite and Robe off (i.e. use relay channels). In other words all off. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 134 9. Using 1 key of the 4 key Infrared key unit control a light level in the Kitchen area. 10. Using 1 key of the 4 key Infrared key unit control a light level in the Breakfast area. 11. Using 1 key of the 4 key Infrared key unit control light on/off in the Leisure area. 12. Using 1 key of the 4 key Infrared key unit control light on/off in the Courtyard Veranda. 13. Use light level sensor unit to control courtyard area on/off only. 14. Use 1 key of the 2 key units to disable the light level sensor. 15. Use 1 key of the 2 key units to disable the PIR and override the outside veranda and the porch to on (ie use logic). ADVANCED EXERCISE 1. Work out the requirements to do a basic electrical control of the house from the plans supplied. 2. Then do a complete component count and costing using both DIN and STANDARD range C-Bus units for complete control of the house shown in the provided plans. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 135 APPENDIX A ADVANCED FUNCTIONS OUTPUT UNITS The advanced functions give the user the opportunity to realise more complicated functions with the C-Bus. Generally this involves manipulating other screens in the Graphical User Interfaces, also abbreviated to the word “GUI’s”. In many instances the default parameters are selected in the factory and do not require field changes to have a fully functional and working C-Bus network when connected. Section 9 covers standard range of C-Bus output units. It is worthwhile to take some time to peruse the “older” style of C-Bus units as there are older systems still in existence and an understanding The following features/functions are also covered in section 15 (DIN Units). Advanced Options for the Output Units allows the user to realise the following: Logic assignments (AND or OR) Power Up Delays Power Up Default States Sundry Parameters Power on threshold levels Power failure modes Global parameters NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 136 APPENDIX B LOGIC ASSIGNMENT Simple logic can be set with the C-Bus output units, which can roughly be equated to Logic AND and Logic OR. The logic function operates differently for analogue units (dimmers and analogue outputs) compared with digital units (relays). A logic assignment is formed by checking two or more boxes, on each channel of the device. NOTES PAGE 137 C-BUS VERSION 2.3.0 – TRAINING MANUAL Exercises 1. Assign the Group Address Master 1 to the one gang KEY SWITCH INPUT UNIT. 2. Assign the Group Addresses Light 1 and Light 2 to the four gang key switch, program both switches as toggle functions. Switch Status Output Status Master 1 Light 1 Light 2 ON ON ON ON OFF OFF OFF OFF OFF ON OFF ON OFF ON OFF ON OFF OFF ON ON OFF OFF ON ON NOTES Light1 Light 2 PAGE 138 C-BUS VERSION 2.3.0 – TRAINING MANUAL Exercises Assign the Group Address Master 1 to the one gang KEY SWITCH INPUT UNIT. Assign the Group Addresses Light 1 and Light 2 to the four gang key switch, program both switches as dimmer functions. Switch Status Output Status Master 1 Light 1 Light 2 50% 50% 50% 50% 50% 50% 50% 50% 25% 70% 10% 70% 25% 70% 10% 70% 10% 10% 70% 90% 10% 10% 70% 90% Light1 Light 2 The logic assignments illustrated for the Dimmer apply just as well to Relay modules, expect the Min/Max terms are replaced with And and Or, there are no levels set for the Relay modules. The Logic for the Relays is equivalent to wiring in series (AND) or wiring in parallel (OR). Whereas for Dimmers it looks at the levels of the channels and either allows you to ramp from a minimum level up to 100% or ramp down from a maximum level to 0%. NOTES PAGE 139 C-BUS VERSION 2.3.0 – TRAINING MANUAL This concept is illustrated by the diagrams below: 01 Terminal 1 02 LOGIC AND FUNCTIONS 02 04 05 Terminal 2 03 05 06 Terminal 3 LOGIC OR FUNCTIONS 01 02 Terminal 4 03 NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 140 APPENDIX C TURN ON The Turn On parameters is the minimum level that Output must reach before it is turned On. This has a number of uses, in particular; Set the minimum speed for ceiling sweep fans to ensure fan always spins, a dimmer module is used here. Set a minimum level for a relay to switch On, control signal may come from a key switch or light level sensor, for instance. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 141 APPENDIX D POWER FAIL The Power failure regime is characterised by several steps as follows: State of the Output Units state during the loss of C-Bus power. State of C-Bus Output Units following restoration of the C-Bus power supply. State of the C-Bus Output Units upon reissue of status by the Input Units. Each of these should be considered in turn and the optimum settings determined for the longevity of the C-Bus equipment. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 142 APPENDIX E STATE DURING LOSS OF C-BUS When C-Bus power is lost (and assuming mains power is still available to the Output Units), the state of the Outputs is determined by the jumpers on the Output Units. Jumpers located on the PCB assemblies (dimmers, relays and analogue units) are set by the user so that on loss of C-Bus power (including short circuit on C-Bus), all the outputs are either forced to the ON or OFF state. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 143 APPENDIX F OUTPUT STATE ON RESTORATION OF C-BUS The default setting of Output Units is on restoration of the C-Bus power supply the outputs follow the level set on the slider, by first selecting “ Restore to Preset level Shown Below “ option. This is RECOMMENDED. “ Restore to Previous Level “, restores the outputs to the state they were in before power failure. This is NOT RECOMMENDED as the value is stored in the device and wears the memory locations, typically limited to 200,000 write operations. NOTES PAGE 144 C-BUS VERSION 2.3.0 – TRAINING MANUAL APPENDIX G INPUT UNITS REISSUE THEIR LEVELS If the check box for this option is enabled, then Input Units reissue their status in a period of 5 MMI periods, if the Input Units do not exceed the first time frame they well continue to reissue their status until the Output Units match. This may take several iterations and may be as short as 15 seconds but as long as several minutes. Example: Dimmer Set at 60% Prior Power Loss Output State Input Units Reissue their Status (5MMI) 60% Restore to Level Shown Below (Set to 100% on Slider) Prior Loss of C-Bus C-Bus Power Lose (Jumpers set to OFF position on Dimmer module) NOTES Duration C-BUS VERSION 2.3.0 – TRAINING MANUAL PAGE 145 APPENDIX H RESTORE LEVELS The Power Restore Levels, can be programmed to achieve one of two functions described below: Restore to previous level On power up of the C-Bus Power Supply the output channels restore to their previous level prior to the loss of the C-Bus power supply. Restore to preset level shown below On power up of the C-Bus Power Supply all channels restore to the level set by the slider, relay units choose from On or Off, dimmer and analogue output units, choose any level between 0 and 100%. Input units reissue their levels when power is restored Following the restoration of the output channels as depicted in the two options above, and within 5 MMI cycles, the outputs change state to follow the state of the input units, when this box is checked. If the box is not checked, the outputs stay in the current state, and input units are corrected, that is they are made to follow the state of the outputs. Power Up Delay The delay from power restoration (up to 1024 mSec), between each channel switching to the state determined by the first two radio buttons. NOTES C-BUS VERSION 2.3.0 – TRAINING MANUAL Notes NOTES PAGE 146