This function controls the modules through the CP290 interface. Note: The base house code set in the CP290 does not limit the control of modules set to that particular house code. You can send out a C4 ON to turn module C4 on even though the base house code is set to A. The command format is as follows:

}ID1 data

data must be of the following format: HouseDeviceCode X10Command DimPercent The HouseDeviceCode is any valid X-10 address like A1 or B16. X10Command can be ON, OFF or DIM. The DimPercent is an integer between 0 and 100. Do not include a percent character. DimPercent is ignored if the module does not support dimming. Each of the three variables are separated by a space from each other.

The Comm Engine will return the following data: {XX }ID1 {Y

Where:

XX = 0 if there was no error.
XX = 1 unsupported or illegal command.
XX = 5 command can't be executed because engine is offline.
XX = 8 invalid data (house, device, function code or level).
XX = 11 if the CP290 is not responding.

Y = 0 if the status of the CP290 indicates no data.
Y = 1 if the status of the CP290 indicates that it has been programmed.

Example: Turn on appliance module A1. Command:
rc = CLWritePipe( '}ID1 A1 ON 0' )

Reply:
{0 }ID1 {1