8.137. PRESETP -- Set Which Preset Will Be Activated At Power-
Up
This command sets or queries the power-up preset, which is executed each time the device powers up. The
power-up preset must be one of the factory presets (0-15) or one of the user presets (16-47).
This command is saved to global non-volatile memory and is not part of a preset. Its value is saved each
time it is changed. It will retain its value after power-down. Since this command writes to non-volatile
memory, there will be a delay before an acknowledgment is returned.
Example Description Status Message
B01PRESETP16
Set the power-up preset to be user
preset 16.
B01PRESETP16
B01PRESETP?
Query the current power-up preset.
B01PRESETPx , where x is between 0 and 47
depending on which preset is currently set to be
the power-on preset.
8.138. PRESETQ -- Execute a Preset Quietly
This command executes the preset corresponding to the specified number, which must be between 0 and 47.
The preset must either be a pre-defined factory preset (0 - 15) or a user preset (16 - 47) that has been
previously defined via the
PRESETW command. If the specified preset is empty, then an error condition of
ERROR#070 will be returned. If one or more of the commands in the preset generated errors, then an error
condition of ERROR#072 will be returned.
When the PRESETQ command executes, status messages for all of the commands in the preset will not be
generated. The PRESETQ command is provided so that a control system can execute a preset and not
generated heavy data traffic from the resulting status messages. Of course, this assumes that the control
system is not interested in any of the acknowledgements. The
PRESETX command can be used to execute
the preset without suppressing the status messages.
Example Description Status Message
B01PRESETQ18
Execute preset number 18 without generating any status messages.
B01PRESETQ18
8.139. PRESETW -- Save a Preset
This command writes the current settings of the device into the user preset with the specified number. Since
the factory presets (0 - 15) are read-only, an ERROR#071 will be generated if they are specified in the
PRESETW command.
Once a preset it saved, it can be recalled via the
PRESETX and PRESETQ commands. The preset can also be
set to be executed automatically at power-up via the
PRESETP command.
This command is saved to global non-volatile memory and is not part of a preset. Its value is saved each
time it is changed. It will retain its value after power-down. Since this command writes to non-volatile