This function requests the clock and base house code settings of the CP290. The command format is as follows:
}ID4
No data needs to be supplied with the command.
The Comm Engine will return the following: {XX }ID4 {Y 22:58 FRI
A
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 = 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.
Time, weekday and base house code is attached to the end of this command.
Example: Request CP290 time and base house code. Command:
rc = CLWritePipe( '}ID4' )
Reply:
{0 }ID4 {1 23:58 FRI A
CP290 time is 23:58 (11:58pm), the weekday is
set to Friday and the base house code is A.