home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
High Voltage Shareware
/
high1.zip
/
high1
/
DIR4
/
X10DC150.ZIP
/
X10DC.DOC
< prev
next >
Wrap
Text File
|
1993-12-22
|
46KB
|
978 lines
────────────────────────────────────────────────────────────────────
X10DC X10 Direct Control
────────────────────────────────────────────────────────────────────
Version 1.50
December 1993
Copyright 1993 ∙ D.Huras ∙ All Rights Reserved
───────────────────────────────────────────────X10DC.DOC v1.50──────
CONTENTS
────────────────────────────────────────────────────────────────────
1. DESCRIPTION 11. KEYBOARD USAGE
2. WARRANTY 12. MENU BAR
3. FEATURE OVERVIEW 13. UNDOCUMENTED CP290 COMMANDS
4. REQUIREMENTS 14. CP290 SELF TEST
5. INSTALLATION INSTRUCTIONS 15. SIGNAL TEST GENERATOR
6. COMMAND LINE ARGUMENTS 16. CLOCK SYNCHRONIZATION
7. COMMUNICATION PORTS 17. BASE HOUSECODE
8. OPERATING MODES 18. PROBLEM RESOLUTION
9. DEBUG MODE 19. REGISTRATION INFORMATION
10. PROGRAM OVERVIEW 20. OTHER HOME AUTOMATION SOFTWARE
1. DESCRIPTION
────────────────────────────────────────────────────────────────────
X10DC is a program which sends immediate commands to the X10 CP290
(*1) Computer Interface. The CP290 transmits these commands over the
power line to control X10 devices. X10DC does not currently modify
the EVENT DATA stored in the CP290 Interface (*2). X10DC is a DOS
program that uses a simple point & click user interface. (A Mouse
though not required is highly recommended). X10DC is designed to be
robust software that is processor speed independent. This program is
shareware and you are invited to evaluate it for 30 days. If you
continue to use the program after the 30 day evaluation period you are
asked to register it. The author retains all rights to the program.
(*1) The CP290 Computer Interface is a device manufactured by X-10
that can be connected to a micro-computer serial port. The CP290
also plugs into an electrical outlet and it is through this
connection that the CP290 imposes X-10 commands onto the powerline.
X-10 commands use the power line as a carrier; other X-10 devices
connected to the power line will respond to these commands (ie.
switch ON/OFF lights, appliances).
2. WARRANTY
────────────────────────────────────────────────────────────────────
X10DC is supplied as is. The author disclaims all warranties,
expressed or implied, including, without limitation, the warranties
of merchantability and of fitness for any purpose. The author
assumes no liability for damages, direct or consequential, which may
result from the use of X10DC.
3. FEATURE OVERVIEW
────────────────────────────────────────────────────────────────────
∙ User-Friendly point & click DOS character-based Interface
∙ All program functions can be controlled using a mouse; no keyboard
intervention is required.
∙ Supports Standard CommPorts 1 thru 4 and a User Defined CommPort
which can support any IRQ between 1 & 15 (inclusive) and any
Base I/O Address.
∙ SUPPORTS * 5 * UNDOCUMENTED CP290 Commands
∙ The Program supports 3 operating modes; each mode uses a different
combination of on-screen controls. Mode 1 is suggested for users
not using a mouse.
∙ When running in Mode 3, the program reads in an X10.DAT file
[this file format is used by the X10 Program supplied with
the CP290 Interface] and presents a list box of device
descriptions/locations which can be targetted for commands.
(The Unregistered version will only send commands to the 1st
8 Devices found; SEE REGISTRATION BENEFITS)
∙ Commands can be sent to all 256 X10 device addresses.
∙ Commands can be targetted for any number of units within an X10
House Code (effectively supporting for ALL ON and ALL OFF).
∙ Supports 16 discrete dimming levels.
∙ Acknowledgements sent from the CP290 (after receiving commands from
the program) are monitored and checksums are verifed.
∙ A scrollable Command History is available for browsing while the
program is running.
∙ A software-based Signal Test Generator is available to assist in
identifying and isolating X10 transmission/reception problems.
∙ A Debug Mode is available which reports all data sent from the
CP290 as well as timing information.
∙ A CP290 Self Test with event preservation is supported.
(*2) NOTE, the self test overwrites the EVENT/ICON DATA. X10DC
will preserve the EVENT/ICON DATA by downloading it from the
CP290, saving it in memory, running the Self Test, and
finally uploading the saved EVENT/ICON DATA back to the CP290.
∙ Clock Synchronization function for the CP290 and the PC
∙ Change Base HouseCode stored in the CP290 function with
or without Event & Icon Data Preservation.
∙ Detects and exploits EGA/VGA 43/50 line mode
∙ A comprehensive on-line Help sub-system that can be disabled
at the user's option to decrease program load time.
∙ The program WILL load without a CP290 Interface attached, however
all attempts at serial communications will result in errors; the
program will attempt to trap all such errors.
4. REQUIREMENTS
────────────────────────────────────────────────────────────────────
∙ An IBM-Compatible PC with at least 1 serial port.
∙ An X10 CP290 Computer Interface attached to a serial port.
∙ A Microsoft-Compatible Mouse is highly recommended
∙ A Colour adapter/display is recommended although the program
should run with a monochrome display/adapter. If you
experience problems with the default colors, then try the /BW
command line argument which will set everything to Black &
White.
The program requires approximately 415K available conventional memory
to run. The Command History will consume up to an additional 32K
of memory however this translates to approximately 1000 commands; its
unlikely that this many commands will be sent during one invokation of
the program. However, if Debug Mode is on, the Command History will
quickly fill up since all CP290 responses are reported in the
Command History list box.
6. INSTALLATION INSTRUCTIONS
────────────────────────────────────────────────────────────────────
There are no special installation instructions; simply copy the
program to a sub-directory of your choice and run it. The program
will look for 3 files in the directory it is run from. However,
the program will run with or without the following 3 files:
1) X10.DAT
If you want to use Mode 3 then you may want to copy an
X10.DAT file to the sub-directory where you have installed
X10DC.EXE. Alternatively, you can load an X10.DAT file from
any sub-directory by using the 'Load X10 File' menu option.
An X10.DAT file is a file format used by the X10 program
supplied by X10 with the CP290 interface. The unit
addresses, locations and descriptions are read from this
file and presented in a list box by X10DC. X10DC DOES NOT
MODIFY THE X10.DAT FILE. A sample X10.DAT is provided
with X10DC.
2) X10DC.HLP
X10DC retrieves the on-line help text from this file. If the
file is not found then X10DC will display a message during
startup and then continue. The help feature will be
unavailable in this case. If you decide that you no longer
need the help sub-system, then you should run the program
with the /NH command line argument; this will suppress the
'Help not found' message and decrease program load time.
3) X10DC.INI
The registered version of the program will look for a
X10DC.INI file in the current directory. The X10DC.INI file
is a text file containing all program parameters; there is no
need to create this file yourself since the program will
generate one whenever you select the 'Save Options' menu item.
A sample X10DC.INI file (generated by X10DC.EXE) is shown
below:
;
;X10DC.INI File Created: 08-06-1993 01:40:00
;
;All Lines prefixed with ; are ignored
; Program Options
; ---------------
; CommPort=1,2,3 OR 4 DEFAULT=1
; Mode=1,2 OR 3 DEFAULT=1
; Debug=ON/OFF DEFAULT=OFF
; X10File=[d:]\FILENAME.EXT DEFAULT=X10.DAT
; LoadHelp=YES/NO DEFAULT=YES
; Sounds=ON/OFF DEFAULT=ON
; PreserveICONData=YES/NO DEFAULT=NO
;
Mode=1
X10File=X10.DAT
;
; User Defined CommPort
; ---------------------
; IRQ and Base_IO_Address apply to User Defined CommPort ONLY
;
; IRQ=1-15 DEFAULT=4; IF Base_IO_Address is set
; --
; Base_IO_Address=nnnn(n) DEFAULT=1016; IF IRQ is set
; --
IRQ=5
Base_IO_Address=1016
;
; Colour Values
; -------------
; 0=Black 4=Red 8=Gray 12=Bright Red
; 1=Blue 5=Magenta 9=Bright Blue 13=Pink
; 2=Green 6=Brown 10=Bright Green 14=Yellow
; 3=Cyan 7=White 11=Bright Cyan 15=Bright White
;
BackColor=7
ForeColor=0
HiLiteKey=14
DisabledItem=8
MenuBackColor=1
MenuForeColor=7
MenuSelectedBackColor=0
MenuSelectedForeColor=7
LabelBackColor=9
LabelForeColor=7
Hilite1ForeColor=4
Hilite2ForeColor=1
Hilite3ForeColor=14
HelpTitleBackColor=5
HelpTitleForeColor=15
StatusTitleBackColor=4
StatusTitleForeColor=15
WarningTitleBackColor=12
WarningTitleForeColor=15
;
; Other Screen Settings
; ----------------------
; ThreeD=ON/OFF* DEFAULT=ON
; Shadow=ON/OFF* DEFAULT=ON
; Graphics=ON/OFF DEFAULT=ON
; * OFF Recommended for Monochrome Displays
;
ThreeD=ON
Shadow=ON
Graphics=ON
;
; End of X10DC.INI (13:59:37)
This X10DC.FILE was created using the 'Save Options' menu item.
NOTE:the DEBUGFORECOLOR directive was replaced with HILITE1FORECOLOR
effective with Version 1.50. However, X10DC will still
recognize DEBUGFORECOLOR and map it to HILITE1FORECOLOR.
When the INI file is rewritten, the old directive will be
replaced.
6. COMMAND LINE ARGUMENTS
────────────────────────────────────────────────────────────────────
DEFAULTS: If the program is run without any command line arguments
it will default to COMMPORT 1,OPERATING MODE 1,DEBUG OFF,
F:X10.DAT.
The following command line arguments can be entered in any order:
/Annnn(n) ∙ Base I/O Address applicable to User Defined CommPort
(Must be specified as a decimal number)
If /I agrument is present, but /A is not; then Base
I/O Address will default to 1016 (3F8 Hex).
/BW ∙ Use Monochrome colours (Black & White)
/Cn ∙ COMMPORT where n = 1,2,3 & 4
ALWAYS overrides User Defined CommPort during Program Startup
/D ∙ TURNS ON DEBUG MODE
When DEBUG MODE is ON, the CP290 responses & checksums are
displayed in the Command History List Box.
/F:[d]\filename ∙ X10.DAT FILE SPECIFICATION for MODE 3
where [d] = drivespec eg. /F:C:\X10\X10.DAT
/In ∙ IRQ applicable to User Defined CommPort where n = 1 - 15
If /A argument is present, but /I is not; then IRQ
will default to 4.
/Mn ∙ MODE where n = 1,2 or 3
MODE 1 Provides a List Box of Unit Codes; only 1 Unit Code
can be selected. However, this mode will be easier to
use if you don't have a mouse since you'd have to TAB
through all the unit code check boxes used in MODE 2.
MODE 2 Provides a Check Box for each Unit Code plus ALL and
NONE buttons to quickly Check/Uncheck all check boxes.
In this mode, multiple Unit Codes can be targetted for
the X10 Command.
MODE 3 Provides a List Box of Devices which are read from
an X10.DAT file; X10DC will look for "X10.DAT" in the
current directory UNLESS the /F: command line argument
is supplied. If X10.DAT cannot be found, the program
will switch to Mode 1. Select 'Load X10 File' under
the File menu to load an X10.DAT file from another
sub-directory. (Once the file is loaded, its location
can be saved [REGISTERED VERSION ONLY] by selecting
'Save Options' under the Options menu.
/NH ∙ Do Not Load HELP Sub-System
/NH- ∙ Load HELP Sub-System (Override INI directive)
/NS ∙ No Sounds during Signal Test
/NS- ∙ Sounds during Signal Test (Override INI directive)
/P ∙ Toggles ON 'Preserve ICON Data'
Normally, X10DC will only preserve the Event Memory stored
in the CP290. This is because the DOS-based CP290 software
only utilizes the Cp290 Event Memory and does not utilize the
CP290 Icon memory area. However, X10EC does store information
in the Icon memory, and X10DC has been upgraded to preserve
the Icon memory area for compatibility reasons.
NOTE: ONLY THE 1st 8 DEVICES CAN BE TARGETTED FOR
COMMANDS WITH THE UNREGISTERED VERSION.
1) Most Command Line directives (with the exception
exception of /A,/I & /NH) can be modified once the
program loads by selecting the appropriate menu items
under the Options Menu. Registered Users can save all
these settings to the X10DC.INI file by using the 'Save
Options' menu item.
2) COMMAND LINE OPTIONS OVERRIDE ALL X10DC.INI SETTINGS
7. COMMUNICATION PORTS
────────────────────────────────────────────────────────────────────
X10DC supports "pseudo standard" CommPorts 1 thru 4 using the
following settings:
┌──────────┬──────┬──────────────────┐
│ │ │ Base I/O Address │
│ CommPort │ IRQ ├─────────┬────────┤
│ │ │ Decimal │ HEX. │
├──────────┼──────┼─────────┼────────┤
│ 1 │ 4 │ 1016 │ 3F8 │
├──────────┼──────┼─────────┼────────┤
│ 2 │ 3 │ 760 │ 2F8 │
├──────────┼──────┼─────────┼────────┤
│ 3 │ 4 │ 1000 │ 3E8 │
├──────────┼──────┼─────────┼────────┤
│ 4 │ 3 │ 744 │ 2E8 │
└──────────┴──────┴─────────┴────────┘
If one of these CommPort settings matches your hardware configuration
simply use the /C command line argument with the appropriate
CommPort. The CommPort= X10DC.INI directive can also be used. Note
that if X10DC is run without the /I (IRQ) or /A (Base I/O Address)
Command Line arguments then the 'User Defined CommPort' is
"undefined" and not selectable from the menu bar.
If your hardware configuration differs from the table above, then
you can define your own CommPort by using the /I and /A command
line arguments (or IRQ= & Base_IO_Address= X10DC.INI file directives).
IRQ can be set to any value between 1 and 15 (inclusive). Base I/O
Address can be set to any value greater than zero. CAUTION: your
hardware may "lock up" if incorrect settings are used. You should
supply both arguments (/A & /I), however, if you only supply one of
the arguments then the defaults applicable to CommPort 1 will apply
to the other argument. (eg. if only the /I5 argument is supplied,
then the /A argument defaults to 1016). If either the /I or /A
argument is supplied, then the 'User Defined Commport' under the
'Options' menu becomes enabled.
NOTES: 1) The /C command line argument AND the CommPort= X10DC.INI
directive ALWAYS override the the User Defined CommPort
when the program first loads. However, the 'User Defined
CommPort' will remain enabled under the 'Options' menu.
To start the program with the User Defined CommPort active,
ensure that there is no /C command line argument AND no
CommPort= X10DC.INI directive.
THE BASE I/O ADDRESS MUST BE SPECIFIED IN DECIMAL NOTATION.
IBM PS/2 CommPort Parameters are shown below:
┌──────────┬──────┬──────────────────┐
│ PS/2 │ │ Base I/O Address │
│ CommPort │ IRQ ├─────────┬────────┤
│ │ │ Decimal │ HEX. │
├──────────┼──────┼─────────┼────────┤
│ 1 │ 4 │ 1016 │ 3F8 │
│ 2 │ 3 │ 760 │ 2F8 │
│ 3 │ 3 │ 12832 │ 3220 │
│ 4 │ 3 │ 12840 │ 3228 │
│ 5 │ 3 │ 16928 │ 4220 │
│ 6 │ 3 │ 16936 │ 4228 │
│ 7 │ 3 │ 21024 │ 5220 │
│ 8 │ 3 │ 21032 │ 5228 │
└──────────┴──────┴─────────┴────────┘
A User Defined CommPort must be used for
PS/2 CommPorts 3-8.
8. OPERATING MODES
────────────────────────────────────────────────────────────────────
Operating Mode can be set using the 'Options' menu, the MODE command
button (cycles through the modes), or the /M command line argument.
────────────────────────────────────────────────────────────────────
MODE 1 Unit
Code NOTE: Mode can be toggled
In this mode only ┌─────┐ at runtime by clicking
one Unit Code can be │ 1 the MODE button.
selected from the │ 2 █ (Keyboard users press
Unit Code List Box. │ 3 ░ ALT-m).
│ 4 ░
│ 5 ░ Can also be set from
│ 6 the Options Menu.
└─────┘
RECOMMENDED IF YOU DON'T HAVE A MOUSE.
────────────────────────────────────────────────────────────────────
MODE 2 Unit Code(s)
┌────────────────────────────┐
In this mode multiple │[X] 1 [ ] 5 [ ] 9 [ ] 13│
Unit Codes can be │[ ] 2 [ ] 6 [ ] 10 [ ] 14│
checked; in addition │[ ] 3 [ ] 7 [ ] 11 [ ] 15│
the ALL button can be │[ ] 4 [ ] 8 [ ] 12 [ ] 16│
clicked to check all │┌───────────┐ ┌───────────┐│
the Unit Codes. The ││ ALL │ │ NONE ││
NONE button unchecks │└───────────┘ └───────────┘│
all the unit codes. └────────────────────────────┘
────────────────────────────────────────────────────────────────────
MODE 3 ** Example 1 **
Unit Location Description
An X10.DAT ┌────────────────────────────────────────────────────┐
is read and │ A 1│DINING ROOM │TABLE LAMP
a List Box │ A 2│FAMILY ROOM │TV █
replaces the │ A 3│GARAGE │CEILING LIGHT ░
House/Unit │ A 4│GUEST ROOM │DE-HUMIDIFIER ░
Controls used │ G 7│HALL │CEILING LIGHT
in Modes 1 & 2. └────────────────────────────────────────────────────┘
Also note that {11 Device(s) Found} Brightness «█░░░░░░░» 1≈00.0%
the Brightness
List Box has been replaced by a Horizontal Slider Control. (above)
────────────────────────────────────────────────────────────────────
9. DEBUG MODE
┌────────────────────────────────────────────────────────────────────┐
│ Using COMMPORT: 2 X10 ∙ X-10 Direct Control CP290 Day: Tuesday │
│Base House Code: P Version 1.50 CP290 Time: 11:51 AM│
│Mode: 1 Debug ON (c)1993 ∙ D.Huras PC Time: 11:52 AM│
└──────────────┼─────────────────────────────────────────────────────┘
└────┐
──┴─────
When enabled, the DEBUG ON message appears in the screen Header and all
responses from the CP290 are displayed in the Command History List Box,
as well as Checksums and Timing Information.
Debug Mode can be toggled ON/OFF from the Options Menu.
NOTE: Debug Mode increases program overhead; memory requirements will
be greater and program performance will be somewhat degraded. It is
recommended that you only toggle Debug Mode ON when necessary.
10. PROGRAM OVERVIEW
────────────────────────────────────────────────────────────────────
When X10DC initially loads, it requests the base house code and time
stored in the CP290 via serial I/O using the selected COMMPORT.
This information will be reported in the Screen Header if found.
Note: the CP290 Time and PC Time reported in the Screen are static
and are only updated when the Base House Code is changed, a
Self-Test is run or the Time is set. You can use the 'Refresh' menu
item under the 'Clock' menu to force an update to the on-screen Time
displays. The House Code List Box defaults to the Base House Code
if the CP290 is found. Once the program is loaded the SEND command
button is disabled until you have selected all required
information. In some cases you need only to select a House Code and
an Action (eg. All Units Off). If the selected action is DIM, then
a Brightness Level must be be selected before the SEND button
becomes enabled.
The program supports 3 operating modes; use whatever mode suits
your requirements. Mode 3, which reads in Device Descriptions
from an X10.DAT file, is likely the most user-friendly since you
do not have to remember specific House/Unit code addresses. X10EC
a companion program to X10DC can read, write, and create X10.DAT
files.
The Command History list box is scrollable and will store up to 1000
commands after which it becomes a circular FIFO buffer. If you
suspect problems with your CP290, then you may want to toggle
Debug Mode ON; in this case the Command History list box will
contain additional information including responses from the CP290.
You may also want to perform a CP290 Self-Test to ensure that
the CP290 Memory is not being corrupted.
Finally, if you are experiencing X-10 transmission problems in your
application; you may want to take advantage of the Signal Test
Generator features provided by X10DC. This subject is covered in
detail in a later section of this document.
11. KEYBOARD USAGE
────────────────────────────────────────────────────────────────────
Use the TAB/Shift-TAB keys to move among the various controls.(*3)
The Up/Down arrows can be used to move up and down List Boxes, and
the Spacebar and Enter key can be used to select the current List
Box item, check/uncheck a check box, or invoke a command button.
The ESCAPE key will exit the current function or the program if no
other windows are visible. All of the Command Buttons and controls
have quick access keys:
House Code ∙ Alt-o [Mode 1 & 2]
Unit Code(s) ∙ Alt-u [Mode 1 & 2]
Device List ∙ Alt-u [Mode 3]
ALL ∙ Alt-l [Mode 2]
NONE ∙ Alt-n [Mode 2]
Action ∙ Alt-a
Brightness ∙ Alt-b [when enabled]
MODE ∙ Alt-m (*3)
SEND ∙ Alt-s
EXIT ∙ Alt-x
HELP ∙ Alt-h
Command History ∙ Alt-c
(*3) The MODE Command Button is NOT in the TAB STOP sequence;
Keyboard users must use ALT+character to access this
button. (This eliminates extraneous TAB keystrokes)
12. MENU BAR
────────────────────────────────────────────────────────────────────
Press & release the ALT key to activate the Menu Bar. Menu items
can be selected by pressing the highlighted key (when applicable),
or by positioning the highlight bar using the up/down arrow keys and
pressing ENTER. Some screen button functions are replicated within
the menus (eg. Exit, Help). However, there are some functions which
are only available from within menus. CommPort, Operating Mode,
Debug, & Sounds can all be set from the Options Menu; the current
state of each of these parameters is indicated on the menu itself
with a '∙' character to the left of the menu item.
The following short-cut keys can also be used at any time to
select menu items:
*FILE* Menu
Load X10 File ∙ Ctrl-L
Exit ∙ Ctrl-X (Same as Exit Button, Alt-X)
*CLOCK* Menu
Set PC Clock ∙ Ctrl-T (Enter Time)
Set CP290 Clock ∙ Ctrl-K (Synchronize w/PC) - Registered Version
Refresh Clocks ∙ Ctrl-R
Set Base HouseCode ∙ Ctrl-B (Preserve Events) - Registered Version
*TEST* Menu
CP290 Self Test ∙ Ctrl-E
Signal Test Generator ∙ Ctrl-G
*OPTIONS* Menu
CommPort 1 ∙ Ctrl-F1
CommPort 2 ∙ Ctrl-F2
CommPort 3 ∙ Ctrl-F2
CommPort 4 ∙ Ctrl-F2
User Defined CommPort ∙ Ctrl-F5 (when applicable)
Mode 1 ∙ Shift-F1
Mode 2 ∙ Shift-F2
Mode 3 ∙ Shift-F3
Sounds Toggle ∙ Ctrl-N
Debug Mode Toggle ∙ Ctrl-D
Preserve ICON Data ∙ Ctrl-I
Screen Colours ∙ Ctrl-C
Save Options ∙ Ctrl-S [Not Available in Unregistered Version]
*HELP* Menu
Help ∙ F1 (Same as Help Button, Alt-H)
About ∙ Ctrl-A
13. UNDOCUMENTED CP290 COMMANDS
────────────────────────────────────────────────────────────────────
X10EC supports the following undocumented CP290 commands:
Fade OFF ■ DIMS Light(s) to 0 then turns Unit(s) OFF
(Can target multiple units for this command)
X-Light ON ■ Exclusive Light ON - Issues an ALL LIGHTS OFF
then Brightens selected Unit(s)
(Can target multiple units for this command)
All Lights ON ■ All Lights on selected House Code set ON
All Lights OFF ■ All Lights on selected House Code set OFF
All Units OFF ■ All Units on selected House Code set OFF
14. CP290 SELF TEST
────────────────────────────────────────────────────────────────────
The CP290 can perform a Self-Test to determine if there are any
detectable problems within the device. The Self-Test will return
either a pass or fail status when it is run. X10DC will report the
results of the test in the CP290 Status window. Whenever a
Self-Test is run the memory contents of the CP290 are overwritten.
X10DC can preserve the CP290 Event and Icon Data by downloading it
from the CP290 prior to the Self-Test and uploading it back to the
CP290 after the Test. (X10DC also allows a Self-Test to be invoked
without event preservation, but this leaves the device in a state
which may cause problems with other programs that communicate with
the CP290. It is recommended that the Self-Test always be invoked
with Event Preservation regardless of whether or not there is any
stored Event Data.)
15. SIGNAL TEST GENERATOR
────────────────────────────────────────────────────────────────────
The Signal Test Generator is a powerful feature that enables the
user to track down and isolate X-10 transmission/reception problems
and faulty modules. This feature will send X-10 ON/OFF commands
repeatedly until the test is ended by the user. (Similar to the
Leviton 6385 device). The address to be targetted for commands can
be a fixed House Code and Unit Code; alternatively, either the House
Code or Unit Code (or both) can be varied. This allows you to send
commands repeatedly to:
∙ A 'Fixed' House Code & 'Fixed' Unit Code (eg. A1)
∙ A 'Fixed' House Code & 'Variable' Unit Code (eg. A1 - A16)
∙ A 'Variable' House Code & 'Variable' Unit Code (ie. A1 - P16;
All 256 addresses would be tested in this case)
∙ A 'Variable' House Code & 'Fixed' Unit Code (eg. A1 - P1)
When the Signal Test Generator is selected, a window is
displayed that allows you to set the House Code & Unit Code to
either 'Fixed' or 'Variable' mode; if 'Fixed' is selected then
a List Box is enabled so that the fixed code can be selected.
The Delay between commands can be set from 0 to 60 seconds;
this delay applies to the pause between each pair of ON/OFF
commands. Once all required settings have been made the OK
button becomes enabled. When the OK button is clicked the
test will begin; the test can be terminated by pressing [Esc].
Note, if the Delay is set to 0, then the [Esc] key may have to
be hit several times to stop the Signal Test. X10DC will emit
a brief beep before each ON command is sent, and another lower
pitched beep before each OFF command is sent. These beeps can
be disabled by toggling the Sounds item on the 'Options'
Menu.
'Fixed' Mode Testing
────────────────────
Generally speaking, you would want to use the 'Fixed' option
to test the range of X-10 signal reception by starting the
Signal Test using address P1 for example (the "only" address
that the Leviton 6385 will test) and then walking around to a
variety of outlet locations within your home and plugging in a
module set to P1 to see if the ON & OFF commands are being
received at all locations. The program attempts to let you
know when the commands are sent by beeping although you may
not be able to hear the beep from all outlet locations.
'Variable' Mode Testing
───────────────────────
The 'Variable'(*4) option can be used when you suspect that an
X-10 module has trouble receiving commands targetted for
specific House and/or Unit Codes. In this case, instead of
walking around to locations, you would adjust the House and/or
Unit Code dials on the module as the Signal Test cycles
through each combination. You may want to toggle the Sounds
off in this case.
────
(*4) Not available in UNREGISTERED Version
16. CLOCK SYNCHRONIZATION
────────────────────────────────────────────────────────────────────
Clocks tend to run either fast or slow and therefore should be
synchronized periodically. X10DC allows you to set the time in both
the PC and CP290 manually by specifying hh:mm and also allows you to
synchronize the PC and CP290 by using one of the clocks to set the
other. When the PC clock is used to synchronize the CP290 clock,
X10DC will wait until the seconds are at zero since the resolution
of the CP290 clock is limited to minutes. (This wait can be
cancelled by pressing the [Esc] key). When the CP290 is used to
synchronize the PC, the hours and minutes from the CP290 are used
immediately to set the PC Clock; since the CP290 cannot provide
'seconds', it is recommended that a CP290->PC Clock Sync be followed
by a PC->CP290 Clock Sync. This will ensure that both Clocks are
synchronized.
17. BASE HOUSECODE
────────────────────────────────────────────────────────────────────
The Base HouseCode stored in the CP290 is only applicable to the
rocker keys on the top of the CP290. These keys are labelled 1 to 8
and correspond to whatever House Code is stored as the Base
HouseCode in the CP290. The CP290 re-initializes itself whenever
the Base HouseCode is changed; as a result, all of the CP290 Event
Data is erased. X10DC gives you the option of either Preserving or
Erasing the Event and Icon Data whenever the Base HouseCode is
changed. If the user elects to preserve the Event Data, it is
downloaded from the CP290 before the Base HouseCode is changed and
then uploaded back to the CP290 after the Base HouseCode has been
changed.
18. PROBLEM RESOLUTION
────────────────────────────────────────────────────────────────────
Generally, if your CP290 works with the X-10 supplied software then
you should have no problems running X10DC. The program will load if
you run it without any arguments (thereby defaulting to COMMPORT 1)
and your CP290 is actually attached to COMMPORT 2. If this is the
case X10DC will report an error when it attempts to retrieve the
Time and Base HouseCode. You can toggle to the correct COMMPORT
once the program is running by using the Options menu. In future
you should include the Command Line argument /C2 if your CP290 is
connected to COMMPORT 2. The Save Options menu option will save all
settings to the X10DC.INI which obviates the need for command line
arguments.
If you run X10DC with a modem attached to the COMMPORT, you may get
unpredictable results since the modem will echo everything back to
X10DC.
If you are sure that the X10DC is using the correct COMMPORT and
problems persist, try using Debug mode and then scroll through the
Command History List Box; see if the calculated checksums match;
look at the TIMER and MaxTimer Values. If the MaxTimer Value exceeds
the TIMER value then the program is timing out while waiting for
X-10 responses. PLEASE REPORT ANY TIMING PROBLEMS TO ME; adjustments
can be made to the program to improve its compatibility if this
turns out to be a problem. As a last resort, run the CP290 Self
Test, but only do so if you have backed up your EVENT DATA using a
program you are sure works within your operating environment.
(X10DC will preserve the CP290 Event Data but if you are
experiencing problems with X10DC then this function may fail).
In some cases X10DC may report that a command failed, or a checksum
did not match, but in fact the command was accepted by the CP290 and
transmitted on the powerline. This could happen if spurious
responses are received from the CP290, ie. if you were to press the
rocker buttons on the CP290 just after sending a command. If this
happens, exit the program and re-invoke it to resynchronize,
alternatively, if you have 2 serial ports you could try toggling the
CommPort. (ie. if your CP290 is on CommPort 1 then switch to
CommPort 2, then switch back to CommPort 1).
The open architecture of the PC compatible operating environment and
the near infinite combinations of hardware and software complicate
the compatibility of applications software. While every effort has
been made to ensure that X10DC is compatible with all
hardware/software combinations, there may be operating environments
in which X10DC will not run properly.
Problems can be reported to:
David Huras
37 Ruddell Crescent
Georgetown, Ont. L7G 5N4
CANADA
FAX: 905-873-6429
CIS: 72767,472
Internet: david.huras@canrem.com
19. REGISTRATION INFORMATION
────────────────────────────────────────────────────────────────────
X10DC is currently supplied as fully functioning software without
built-in delays or obtrusive "nag" screens prompting you to
register. The ABOUT screen contains registration information in
case this documentation file gets misplaced. A significant amount
of time and effort went into this program; please register the
program if you intend to use it beyond the 30 day evaluation period.
Registered Users will be shipped a printed manual and a 3½" diskette
(if you would prefer a 5¼" diskette please advise) containing the
Registered Version of the program which includes the following
features:
∙ Full support for the Signal Test Generator which allows you to
cycle through all House & Unit Codes and send an ON/OFF command
to each address.
∙ Full support for operating mode 3 which reads in an X10.DAT file
and builds a "list box" of device names which can be targetted
for X10 commands. (Unregistered Version will only send commands
to the first 8 Devices).
∙ Support for an INI file which provides complete program
customization capabilities including Screen Colours.
∙ BONUS PROGRAM: Registered Users will also receive a bonus
program; X10DAT reads an X10.DAT file and prepares a report
listing all installed devices and scheduled events including
"frozen" events and multiple unit events. See X10DAT.RPT for
a report sample.
Charge the registration fee to your Visa, Master Card, American
Express by ordering X10DC (Item #10924) from Public (software)
Library, call 800-242-4PsL (713-524-6394 overseas) or FAX your
order to 713-524-6398. These numbers are for ordering only.
ALL OTHER INQUIRIES (eg. technical support, volume discounts
site licensing) should be directed to the author: see PROBLEM
RESOLUTION section.
-=OR=-
Register by sending $20 (cheque/money order) to:
David Huras
37 Ruddell Crescent
Georgetown, Ont. L7G 5N4
CANADA
Alternatively, you may wish to register using CompuServe Shareware
Registration; you can register X10DC, X10EC or BOTH using CompuServe
Shareware Registration. The Registration Fee will be charged to
your CompuServe billing account and the latest version of the
software will be shipped within one business day. GO SWREG while on
CompuServe to use Shareware Registration.
Program Title Program Name Program ID# Charge
═══════════════════ ════════════ ═══════════ ═══════
X-10 Direct Control X10DC 620 $20.00
X-10 Event Control X10EC 1774 $25.00
X-10 Control Bundle X10CB 1775 $40.00
(X10DC + X10EC)
Shareware Registration (SWREG) will prompt you through the
registration process; you can register programs by referring to them
by program name or ID #. SWREG will display a description of the
program and prompt you to confirm the registration order; you have
the opportunity to abandon the registration process at any time.
╔══════════════════════════════════════════════════════════════╗
║REGISTERED USERS of prior versions of X10DC can upgrade to the║
║current version at ANY TIME by simply sending a diskette ║
║containing their registered version of the software and $2 ║
║for postage to the address above. ║
╚══════════════════════════════════════════════════════════════╝
20. OTHER HOME AUTOMATION SOFTWARE by David Huras
────────────────────────────────────────────────────────────────────
Program Description Status
------- ------------------------------------------ --------------
X10DC X10 Direct Control - CP290 Point & Click Version 1.50
Initial Release: February '93 December '93
X10EC X10 Event Control - CP290 Point & Click Version 1.00
Interface Program to manage Event Data. December '93
Includes Sunrise/Sunset Time Offsets.
Initial Release: December '93
IRDC/ INFRA-RED Direct Control/Command Line Ctrl Version 1.01
IRDQ A program which sends instructions to a October '93
ONE FOR ALL (6 or 12) remote control. The
remote then emits I/R signals.
IRDCW INFRA-RED Direct Control for WINDOWS Version 1.00
Development
────────────────────────────────────────────────────────────────────
Please register this software if you use it regularly; by registering
you reinforce my commitment to ongoing development.
────────────────────────────────────────────────────────────────────
21. RELEASE HISTORY ∙ X10DC Shareware/Registered Version
────────────────────────────────────────────────────────────────────
Date Version Changes
------ ---------- ----------------------------------------------
DEC'93 1.50 ■Added support for 5 UNDOCUMENTED CP290 Cmds
■Added support for ICON Data Preservation
■Optimized screen layout for all 3 Modes
■Added support for EGA/VGA 43/50 Line Mode
■Added graphic 'percentage complete' gauges
■Countdown Timer added to Status Window while
waiting for CP290 responses.
NOV'93 1.42 ■Corrected problem reporting Base House Code
when CP290 returns bad data.
AUG'93 1.41 ■Public (software) Library registration method
added to documentation.
■X10DAT Bonus Program added as registration
benefit.
■X10DC.INI File Comment re: X10File argument
corrected in documentation.
AUG'93 1.40 ■Corrected 'Load X10 File' problem when X10.DAT
located in Root Directory.
■Corrected problem whereby X10DC.INI was not
processed when X10DC was started from a Root
Directory (impacted Registered Version only).
AUG'93 1.40 ß ■COMMPORT 3 & 4 Support Added.
■User Defined CommPort support Added.
■Minor changes to default colours (LABELS).
JUL'93 1.32 ■Corrected problem with DEBUG MODE colour setting
not 'sticking'; setting from INI is workaround.
(Not released).
JUL'93 1.31 ■Fixed mouse cursor reset problem if Signal Test
is run without a CP290 device. (Not released).
JUL'93 1.30 ■ENABLED SEND Command under MODE 3 in Unregistered
version for 1st 8 Devices in X10.DAT File
■ENABLED ALL Clock Sychronization options in
Unregistered version
■ENABLED Change Base HouseCode with Event
Preservation in Unregistered version
■ENABLED Screen Colours dialogue in Unregistered
version
■Test menu item added to Menu Bar;
∙ CP290 Self Test disassociated with Debug Mode
and Self Test button removed from Screen
Header; Self-Test feature now a sub-menu
item under Test.
∙ Signal Test Generator feature added; send
ON/OFF commands repeatedly to a fixed/variable
House Code/Unit Code address. Unregistered
version supports the fixed option only.
■Help Sub-system added; contains additional
X10 background information as well as extracts
from the documentation file.
■/NH command line argument added to optionally
not load the help system for faster program
load times.
■/NS command line argument added to disable
sounds generated during the Signal Test.
■Sounds Toggle added as a sub-menu item under
Options.
■INI Overwrite warning now uses the WARNING
screen title colour(*5)
■'Save Options' displays a message box whenever
INI options are saved(*5)
■The access key for the 'Exit' option under the
'File' menu changed from 'E' to 'x'.
■[Esc] key will now back out any screen
colour changes while in the Screen Colours
dialogue
■[Esc] key will now skip the wait while
SYNC'ing the CP290 clock based on the PC
Clock
MAR'93 1.20 ■Merged Shareware & Registered Versions;
Registered Version features are disabled in
the Unregistered version, specifically:
∙ Complete Mode 3 Support (X10.DAT File)
∙ Complete Screen Color Customization
Dialogue
∙ INI File Support to save/modify
Program settings/colors
∙ Preserve/Restore Event Data when
Base House Code changed
∙ PC » CP290 Clock Synchronization
∙ CP290 » PC Clock Synchronization
■ENABLED Self Test EVENT Preservation
in Unregistered version
■ENABLED MODE 3 Switch & X10.DAT File Load
in Unregistered version (SEND-Disabled)
■ENABLED some Clock Functions, & Base House
Code Setting in Unregistered Version
■CP290 Self Test changed to reset interface
upon completion (The self test overwrites
the Event Data and this data may cause
problems with some programs)
■Added /BW command line argument to startup
with monochrome color settings
■Added 'Refresh' menu item to refresh on-screen
Clock Displays
■Error handling improved
■Retry logic added for all CP290 communications
with automatic wait time adjustment (if program
times out waiting for a response, it will
increase the wait time if the command is retryed)
■Command History caption now indicates which
entry is highlighted (ie. entry x of n)
MAR'93 1.10 ■MENU BAR Added - CommPort,Mode, & Debug can
now be changed using the Options Menu
■Mode Indicator added to Screen Header
■Minor Screen Colour modifications
FEB'93 1.00 ■Mode Switch Command Button Added (Alt-M)
■Debug Command Button TAB Stop disabled-keyboard
users must use ALT-T
■CIS Software Registration # added to ABOUT
FEB'93 1.00 ß.02 ■Operating Mode 2 Added (FIRST PUBLIC RELEASE)
■Operating Mode 3 Added to Registered Version
■Clock/Base House Code manipulation added to
Registered Version
JAN'93 1.00 ß.01 ■Debug Mode Added
JAN'93 1.00 ß.00 ■Initial Beta (not publicly released)
──────
(*5) Applicable to REGISTERED VERSION Only.