Академический Документы
Профессиональный Документы
Культура Документы
Interface download has been designated a legacy feature and support is normally unavailable. Open the HCA Properties dialog and choose the legacy tab to enable support. This appendix describes the process of selecting programs and schedules, converting them, and downloading into the CM11, Lightolier Firewall, Magic Module, SmartHome HouseLinc and the SmartHome PowerLinc Controller. These topics are covered: What can be downloaded and why do it? The Download Wizard Downloading to the CM11 Downloading to the Lightolier Compose PLC Firewall Downloading to the Elk Magic Module Downloading to the SmartHome HouseLinc Downloading to the SmartHome PowerLinc Controller Final thoughts
Note: Downloading to the Insteon Enabled PowerLinc (model 2414U) is not supported in HCA.
Can you download and still have HCA running on your computer?
Appendix - Downloading
Yes, you can! Some care needs to be taken to make sure that both the downloaded schedules and programs and the HCA running on the computer dont conflict with one another. Techniques for avoiding this will be covered later in this appendix.
After reading the text in the dialog press Next to proceed. Step 2 is common to most interfaces and discusses programs that cant be downloaded into the interface.
Appendix - Downloading
Not all programs can be downloaded into the interface. They may use features that are not supported by the interface and cant be ignored. To see why a program cant be downloaded, select its name in the list and the reason why it is rejected is given in the text below. If you really want the program downloaded, you will need to modify it. When you have understood the information shown, press Next.
In this Wizard step any potential problems with a program are noted. These may be important and they may not the wizard cant tell. It is up to you to determine if you can accept the limits that are described. To see what the issues are select the name in the list and the reasons display below. To select a program for download move its name from the left to the right side box. When you have finished selecting programs, press Next.
Appendix - Downloading
In this step of the wizard, programs that are fully translatable are listed. To select programs for download move their name from the left to the right list. Also in this dialog you select if HCA creates instructions in the download target to handle group and device alternative triggers. Press Next when done.
In this step of the wizard schedules are selected. Depending upon the interface you may be limited in the number of schedules that can be selected. You can select up to but not exceeding that number of schedules. If you try and select too many schedules you will be unable to move them to the right hand list. Any translation issues about that schedule display below. Also, depending upon the interface you may be given an option about how often sunrise and sunset is computed. When selecting this option keep in mind that more precision usually means more memory in necessary to hold the downloaded program. In this example using the PowerLinc Controller you don't have that option. After selecting the schedules for download press Next. This step explains any translation issues that occur when all of your selected programs and schedules are looked at all together.
Appendix - Downloading
This dialog summarizes your selections and tells you the amount of memory in the interface that will be used by this download. When you are ready to begin the download process, press Begin Download.
This dialog displays a process bar so you can monitor the download. Once the download completes your selected schedules and programs are ready to go. The remaining sections of this Appendix discuss any specific issues when using the various interfaces.
Appendix - Downloading
determines the most precision that can be used and still fit all your schedule entries into the limited CM11 memory There are other issues that may be reported when you select a schedule for download.
Appendix - Downloading
From one to four schedules and any number of HCA programs can be translated and downloaded to the Magic Module. This makes it one of the most capable interfaces that HCA uses for download. In addition to the download wizard steps covered above, there are two important steps in the Magic Module download wizard. The second step of the wizard selects the Magic Module to download into:
Note that there are two places where a Magic Module can be specified. The first place, at the top of the dialog, is the Magic Module to download into. Remember that you can have as many Magic Modules as you need all connected to each other on the 485 bus and the computer connected to the 485 bus using a RS232 to 485 bus converter. You can select any Magic Module in your inventory to download into. The second place where you select a Magic Module is at the bottom of the dialog. What is happening here is explained in the text of the dialog but the bottom line is that if what you select to download controls any X10 devices, either the Magic Module you are download into or another on the 485 bus must have an X10 interface. The two checkboxes in the dialog are also very important. When checked they make sure that the program HCA builds for the download contains instructions that tell the Magic Module to broadcast on to the 485 bus when these events occur. Why is this important? Even if you have downloaded parts of your HCA design into the Magic Module, it can still accept requests from HCA running on your computer. However unless you check either or both of the checkboxes HCA will not be told when inputs change the second checkbox or when X10 commands are received the first checkbox. Also if you are downloading into one Magic Module that uses another Magic Module for X10 receptions and transmissions it is necessary for the program resident in the Magic Module with the X10 interface to broadcast on the bus when X10 receptions happen. Yes, this is complex but with complexity comes power and the Magic Module has that. Hint: As stated above, some program is always running in the Magic Module. HCA has some standard programs that give HCA access to all the features in the Magic Module it needs. These can be selected for download from the Magic Module Inventory on the Magic Module Properties page.
Appendix - Downloading
After selecting schedules and programs, HCA does an analysis of all your selections looking for things that cant be downloaded together. This can happen for many reasons and the analysis will tell you why. In this step HCA also checks that you are not attempting to download programs and schedules that use Magic Module hardware features that you dont have. How does it know what you have? Again, the selections you made in the Magic Module Inventory dialog tell whats what. Until you resolve any issues it finds you cant proceed to the download. Hint: It is possible to create schedules and programs that cause problems for the Magic Module. It could get so bad that they will refuse to communicate with HCA. There is a method for clearing the Magic Module memory if what you download causes problems. HCA tries hard to prevent this but even the gods are not omniscient. Consult the Magic Module documentation for information on how to clear the Magic Modules memory manually.
As part of the download to the HouseLinc the sunrise and sunset table is downloaded and the current time is set.
Appendix - Downloading
Even though the PowerLinc Controller can send extended code sequences on to the powerline (the LM14 lamp modules uses these to dim), they can't be sent by a downloaded program or schedule. Programs can use the flag elements "Make flag yes", "Make flag no" and the Test element when testing for the flag being Yes or No. You can have up to 14 yes / no flags. No other flag types (numbers, strings, etc) are supported.
As part of the download to the PowerLinc Controller the sunrise and sunset table is downloaded and the current time is set.
Final Thoughts
Now that the download process has been discussed, it is important to consider some issues if you intend to have HCA running and active on your computer as well as having programs and/or schedules in the interface memory. What you dont want is for both HCA and the interface to be sending X10 transmissions at the same time. This could be because each is monitoring a schedule and the time to execute a schedule entry has come up, or both the interface and HCA responding to an X10 command that triggers some program. To prevent this HCA and the interface should have a different current schedule. If you want the interface to handle schedules exclusively then you should have no schedule as the current schedule in HCA. To prevent both HCA and the interface responding to X10 signals it would be a good idea to suspend those programs in your HCA design that were downloaded to the interface. To do this, right click on the programs name or icon and select Suspend from the popup menu. In the Suspend dialog select the option that resumes the program only when you tell it to. This tells HCA that even if the trigger for this program is received, HCA should not start the program. And remember. None of these downloadable interfaces are nearly as capable as HCA running on your computer. What you can do with the download is much less than HCA can do. You should be prepared for this!
Appendix - Downloading
10