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
T01PRESETQ18
Execute preset number 18 without generating any status
messages.
T01PRESETQ18
8.98.
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 memory, there will be a delay before an acknowledgment is returned.
Example
Description
Status Message
T01PRESETW18
Save the current device settings as preset 18.
T01PRESETW18
8.99.
PRESETX
-- Execute a Preset
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
PRESETX
command executes, status messages for all of the commands in the preset will be
generated (unless
acknowledgement mode
is turned off). The status messages can be suppressed by
using the
PRESETQ
command, which is exactly the same as the
PRESETX
command except that status
messages are suppressed.
Example
Description
Status Message