Appendix A API Commands
ChartScan User’s Manual A-19
*S - Power-Up Settings
TYPE
System
EXECUTION
Immediate
SYNTAX
*Smode
Specify power-up configuration mode. Valid options for mode are: 0 - Power
up under last known configuration (default). 1 - Power up under factory
default configuration.
DESCRIPTION
With the Power-Up Settings (*S) command, specifying the mode to be 0 will cause the unit to load its las t known
configuration when it is powered on or when the Power-On Reset (*R) command is issued. The last known
configuration will be exactly the same as the configuration it had when it was last powered down or a *R
command issued. Specifying this mode will insure that the unit will always come up with the configuration which
has most recently been defined. Using this mode is convenient if it is undesirable to reconf igure the unit every
time it is powered up or a *R command is issued.
Specifying the mode to be 1 will cause the unit to load the factory default configuration when it is powered on or
when a *R command is issued. Using this mode is the same as power-cycling the unit then iss uing the *F
command. The factory defaults settings are defined in the Configuring Power-Up State sec tion of Appendix C.
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;Q?T?Y?X"
‘ Retrieve some current configuration settings
PRINT#1,"ENTER07"
‘ Get the settings
INPUT A$
‘ Screen shows Q1,7,7,7,0 T1,3,0,0 Y000100,
001000,000000
PRINT#1,"OUTPUT07;*S1X"
‘ Configure to power up with factory defaults
PRINT#1, “OUTPUT07;*RX”
‘ Reset the unit
SLEEP 5
‘ Wait for the unit to reset
PRINT#1,"OUTPUT07;Q?T?Y?X"
‘ Retrieve some current configuration settings
PRINT#1,"ENTER07"
‘ Get the settings
INPUT A$
‘ Screen shows Q1,0,0,0,0 T0,0,0,0 Y000000,
000000,000000