UMX-TPS-TX100 series – User's Manual 119
DIFFERENCE:
package v1.5.0b4.
This property shows how many times the Condition has been triggered but does not contain the number of
real detections. The counter is reset at boot.
Command and Response
ç <loc>.ExternalConditionTriggerCount
æ <loc>.ExternalConditionTriggerCount=<num_value>
Example
ç
æ
Testing an Action
This tool is for launching the Action without detecting or triggering the Condition.
Command and Response
ç <loc>:ActionTest(1)
æ <loc>:ActionTest
Example
ç
æ
Variable-Management
DIFFERENCE:
package v1.5.0b4.
Manager. The maximum length of a variable can be 15 characters and they are stored in a non-volatile
memory, thus, the value is kept in case of a reboot. The type of the variable (text or string) is determined
automatically based on the value. If an operation cannot be performed (e.g. adding number value to a string-
type variable), error will be the response. #variables
Value Assignment
Command and Response
ç <loc><value>
æ <loc><value>
Parameters
Parameter Parameter description
<loc> The location of the variable
1-30
<value> The value of the variable
Custom
Example
ç
æ
Addition and Subtraction (Add Method)
The value of a numeric variable can be increased by adding a positive value or it can be decreased by adding
Command and Response
ç <loc>:add(<operand>;<min>;<max>)
æ <loc>:add
Parameters
Parameter Parameter description
<loc> The location of the variable
1-30
<operand> The value that is added to the variable
Integer
Negative value is also accepted
<min> The lowest allowed value (optional)
Integer
Negative value is also accepted
<max> The highest allowed value (optional)
Integer
Negative value is also accepted
If the value of the variable is higher or equals with <max>, the new value will be <max>
<min> setting: if the value of the variable is lower or equals with <min>, the new value will be <min>.