Pacific Research Solutions RI-1 User Manual

Page 61

Advertising
background image

Pacific Research Solutions

RI-1 and PE-1 User Manual

Page 55

WILDCARD COMMANDS

Wildcard commands allow extra digits to be included with the command. These extra digits can then be passed to one or more
S-Commands within the macro called by that the wildcard command. Multiple groups of digits can be passed to multiple
S-Commands in the macro. The wildcard command’s digits will replace all "Bxx" in the macro with the digits from the user
command. Within the Bxx wildcard, the first “x” is an index and defines the first position of the data to use. The first character
in the wildcard data is character zero (0). The second “x” is the number of characters to use in the wildcard. Zero (0) will
cause the controller to use the remaining characters in the wild card. See the following example:

Define a wildcard command with “14” as the name of the command. This command will set the frequency of a 2-meter remote
base radio. When the user enters “14652” the controller will define 652 as the wildcard data. In the macro, include the
following S-Command (91 12 14 B00 #2). The “91 12” will set the receive frequency. The “14” defines the first two digits in
the frequency. The “B00” tells the controller to use all characters in the wild card. The “#2” sets the transmitter to simplex.
You could create a “*14” and “#14” command to set plus and minus offsets. The end effect is the same as programming
S-Command “91 12 14653 #2”.

In this example, define a wildcard command with “*5” as the name of the command. This command will send a key transmitter
time to a controller attached to the auxiliary buss. When the user enters “*5355” the controller will define 355 as the wildcard
data. In the macro, include the following S-Command (A B01 05 B10). The “A” will address a controller on the auxiliary
buss. The “B01” will get the first character (3) and add it to the command, defining the controller on the auxiliary buss that will
receive the S-Command. The “05” will set the TX on for x time. And the “B10” will tell the controller to use the remaining
digits (55) starting from digit 1, the second digit. The end result is the same as programming S-Command “A3 05 55”

EXITING PROGRAMMING MODE

Remember to execute an S-Command 69 0 to lock and discard your changes or 69 1 to lock and save your changes when you
are finished with the programming mode. The controller will also exit the S-Command mode after 5 minutes of no DTMF
activity. You may discover this by an unexpected automatic function complete. Remember in the programming mode only
S-Commands are functional. After exiting the programming mode, only user commands are functional.

Advertising
This manual is related to the following products: