Polycom RS-232 Waterskis User Manual


 
any PRESET command
any MACRO command
any logic input or output command
If an attempt to assign an invalid command to a macro is made (via
MACROA), then the error
condition ERROR#074 will be generated.
An error will be generated if the specified command is not a valid command. However, an error will
not be generated if the specified command is valid, but its data is invalid. For example:
S01MACROA25,LAYDOWNTHEBOOGIE
Would return an error because it does not contain a valid command. However:
S01MACROA62,MUTEOMYMOTHERINLAW
Would not return an error because it contains a
MUTEO command. An error would be returned when
the macro is executed with a
MACROX or MACROQ command and it tries to execute the MUTEO
command with strange data.
The proper sequence for creating a macro (macro number 112 in this example) is as follows.
S01MACROS112
S01MACROA112,MUTEI*0
S01MACROA112,GAINI*0
S01MACROA112,MUTEO*0
S01MACROW112
This defines macro number 112 to unmute all inputs, set all input gains to 0 dB, and unmute all
outputs. It is acceptable if another command is sent in between these commands (such as S01NC*? )
as long as it isn't another non-volatile memory command which could interfere with the storage of the
macro.
8.93. MACROK -- Delete One or All Macros
This command kills (deletes) the specified macro. If the wildcard character (*) is used the specify the
macro number, then all macros are deleted. Deleting all macros via MACROK* is more efficient than
deleting them all individually since it requires less writes to non-volatile memory.
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
S01MACROK25
Delete all the commands associated with macro number 25.
S01MACROK25