Programming the RF Switch 25
Chapter 2
Example: Saving
and Recalling
Module States
The command saves the current state of all relays on the Cascade
RF Switch module and thus all the signal path connections. You can use
to save up to ten module states and then use the command to
return to a specific sa ved state.
The commands have the form and where has a
range of 0 to 9. Error -222, “Data out of range” results if a value other than
0 through 9 is used for .
This example program first creates several PATH configurations and saves
that module state as state number 1. Next, the program creates additional
paths (while the previous paths remain closed) and saves that state as
state 2. Then, the program resets the module and recalls module state
number 1.