Working with templates
A template saves the settings of a command or sequence for reuse. You can use predefined values or include parameters to enter before each send.
Creating a command template
1. Open Commands on the Online tab

2. Click
to open the editor

3. Select devices of the required type
4. Add a command and enter its parameters
5. If needed, add more commands and configure rules and conditions
6. Click Save as template
7. Enter a template name

8. Click OK

The template will appear in the list for the selected device type.

Variable parameters
If a parameter value needs to be entered before sending, enclose its placeholder in % signs in the template text.
For example, for sms_via_gprs, enter the following in cmd:
test command %Param1:14:n% %Param2:14:s%

The last letter defines the value type:
-
n — number
-
s — string
In this example, Param1 is a numeric parameter and Param2 is a string parameter. Before sending a command from the template, enter the required values. The system will insert them into the command text.
This example illustrates parameter formatting. Replace test command with a command supported by your device. If the command contains only fixed text, % signs are not needed.
Applying a template
1. Open the command editor
2. Select devices of the type the template was created for
3. In Templates, select the template

4. Click the rocket icon
next to Templates to load it
5. Enter any variable parameter values
6. Check the settings
7. Click Send

Deleting a template
1. Open the command editor
2. Select devices of the required type
3. Find the template in the Templates list
4. Click the delete icon
next to it


