This function performs a diagnostic internal to the CP290 and takes 12 seconds to complete. During diagnostics, the CP290 will be unavailable but the Comm Engine will queue any other functions. Diagnostics will destroy all timer data programmed in the interface. The command format is as follows:
}ID7
No data needs to be supplied with the command.
The Comm Engine will return the following data: {XX }ID7 {diagstatus
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.
diagstatus = PASSED if the diagnostics passed.
FAILED if the diagnostics failed.
ERROR if the CP290 did not respond.
Example: Perform CP290 diagnostics. Command:
rc = CLWritePipe( '}ID7' )
Reply (after 12 seconds):
{0 }ID7 {PASSED