User manual
Confidential, the whole present document is the sole property of Maestro Wireless Solution Ltd.
68
Example: Set Countdown Timer #1 to execute Command String #10 and start 600 seconds countdown
TM 1 ST 600 TM 1 SW 1 TM 1 TR 10
Example: Stop Countdown Timer #1
TM 1 SW 0
Example: Cancel Countdown Timer #1 to trigger Command String
TM 1 TR 0
Note
:
When the Countdown Timer expires (reach 0) it will stop automatically (SW 0).
If two or more Timers expire at the same timer, Timer with smaller id has higher priority, i.e. Command String related
to that Timer will be executed first.
These are not precision Timers, if the Modem is busy (e.g. with network communication). The execution time may
be delayed.
20.3.2 Reading Countdown Timer status
See Chapter 20 for details.
20.4 Input Port Service
Input Port Service can use the signal of Input port to control the execution of Command String. Please refer Chapter 13.1
for locating and connecting input port.
20.4.1 Input Port Service Command String Syntax and explanation
1
st
field
Service
type
2
nd
field
Service id
3
rd
field
Operatio
n type
4
th
field
Operation
argument
Explanation
IP
1
DR
0 to 1
Direction of I/P signal change to
trigger
TH
1 to 255
Duration of the I/P state to trigger,
unit in 0.1s
TR
(1 to 50)
0
Set Command String to be run, 0 to
cancel setting
Example: Configure Input Port #1 with detection “high to low” and threshold value 0.1s, and trigger Command String #5 if
signal condition match:
IP 1 DR 1 IP 1 TH 1 IP 1 TR 5
Example: cancel Input Port#1 to trigger Command String
IP 1 TR 0
20.4.2 Input Port operation mechanism
The Input Port will give out a high or low signal depending on the input connection to the port (see 13.1)
The Command String can check the change of Input port Signal (operation “DR”):
IP 1 DR 0 detect a low-to-high input voltage change
IP 1 DR 1 detect a high-to-low input voltage change