Omega Vehicle Security 1400 CD Player User Manual


 
API Commands Appendix A
A-18 ChartScan User’s Manual
*R
- Power-On Reset
TYPE
System
EXECUTION
Immediate
SYNTAX
*R
Power-On Reset. Equivalent to a hardware reset.
DESCRIPTION
The Power-On Reset (
*R
) command has the same effect on the unit as removing and re-applying power. All
data in data buffers and configuration are erased.
Note: Because the
*R
command performs a full power-on reset, 3 or 4 seconds are required before you can
communicate with the unit. A total of at least 5 seconds is required before normal operations can take
place.
The IEEE 488 bus commands Device Clear (DCL and SDC) do not have this effect. They clear only the
command input buffer, the output queue, and any pending commands.
Note: Issuing the Power-Up Default Settings (
*S1
) command and then power-cycling the unit, or issuing the
*R
command will cause any previously defined configuration to be irrevocably lost. The calibration factors for
the unit and its slaves, however, will remain intact.
EXAMPLE
PRINT#1,"OUTPUT07;*RX"
‘ Restore power-on settings to the unit
SLEEP 4
‘ Wait 4 seconds to restore communication
WHILE (S% and 4) = 0
PRINT #1, “SPOLL07"
INPUT#2,S%
‘ Keep checking the serial poll response of the unit until it is ready,
meaning that bit 4 is asserted
WEND