S - Save Configuration
SYNTAX
Sval
Save current configuration as configuration
val
, where
val =
value from
0
to
100
.
S?
Returns the last saved configuration
val
(not the currently loaded configuration).
DESCRIPTION
The Save Configuration (
S
) command is used to save a non-volatile copy of the present channel configuration for later
recall with the Recall Configuration (
O
) command. The argument
val
for this command may range from
0
to
100
,
allowing 101 different configurations to be saved in battery-backed-up RAM. Upon power up, the default configuration
is configuration
0
. The present state of all output bits is read before saving. When the configuration is restored using
the Recall Configuration command, the outputs are set to the same values they had at the time that the Save
Configuration command was executed. If it is desired that the outputs be set to a specific state as part of a
configuration, the Data Output (
D
) command should be used just prior to the Save Configuration (
S
) command to
insure that the data bits are set to the proper state upon retrieval of the configuration.
CAUTION
Because the Configuration (C) command is used, the following programming
example(s) will not work properly if the HVCX1 option is installed with a conflicting
hardware configuration. To be safe, remove the HVCX1 board and replace it with the
jumper board to run the example(s).
EXAMPLE
PRINT#1,"CLEAR08"
Line 1:
Reset the Digital488/80A.
PRINT#1,"OUTPUT08;C5X"
Line 2:
Configure all 5 ports as outputs.
PRINT#1,"OUTPUT08;F3X"
Line 3:
Select the ASCII decimal data format.
PRINT#1,"OUTPUT08;P4X"
Line 4:
Select Port 4.
PRINT#1,"OUTPUT08;S57X"
Line 5:
Save the present channel configuration as configuration 57.
Digital488/80A User’s Manual
967695
Digital488/80A Commands 67
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com