
8.2.7. THEN Change Variable*
A statement containing this Action, will change the selected variable according to specified actions. The
user can choose between the following five actions:
•
Increment variable
•
Decrement variable
•
Clear variable
•
Set variable to a specific value
8.2.8. THEN Change Active SIM Card**
A statement containing this Action, will change to the selected SIM card or toggle the active SIM Card.
8.2.9. THEN Copy Variable*
A statement containing this Action, will copy a selected variable to another variable.
8.2.10. THEN Perform Math Operation*
A statement containing this Action, will allow the GSM Commander to perform some basic math operations
on the variables.
8.2.11. Save Device Status
A statement containing this Action, will save all current statuses to memory, including all variable values
& current status of outputs. If the
Recall Device Status
on startup
(See sec 6.2.4)
is enabled, it will
recall the latest saved status when the unit initiates a restart.
Please note:
If an output is temporarily activated by your setup, and the reset occurs during the the
time it happens to be active, the output will be re-activated on startup, but will remain active.
8.2.12. THEN Reset device
A statement containing this Action, will reset the GSM Commander.
Please note:
* Only available on the 0641 and 1281 models
** Only available on the 1281 model
9. MULTIPLE ACTIONS TO A SINGLE IF CONDITION
It is often required to have more than a single action to be executed for a single trigger condition.
For instance, if your home alarm is triggered, you may want to activate an output (that in turns
switches on a loud alarm or perhaps pulls the trigger on a rigged-up shotgun), and you also want to
receive a voice-call and an SMS as well.
The GSM Commander will always execute all statements that are eligible to trigger due to a certain
event, in other words, the first statement that is triggered, does not void or “eat up” the event.
So to take our example, we will have a set of statements like:
Statement 1:
IF input 1 becomes Active, THEN Place Voice Call to <your number>
Statement 2:
IF input 1 becomes Active, THEN Send XYZ via SMS to <your number>
Statement 3:
IF input 1 becomes Active, THEN Activate Output 1 for 10 minutes
If input 1 becomes active, all the above statements will trigger, and their associated actions will
take place (The action for the first statement will be executed first). Alternatively, “IF Statement X
Triggers” could have been used.
(See sec 8.1.19)
© Polygon Technologies. All rights reserved
Page 39