MTD2000 AT Command Guide R12
Confidential
DAVISCOMMS (S) PTE LTD
90 /105
This command allows user to set maximum 10 counters. When the current counter
value reaches the user defined counter value, the respective counter flag in the event
table will be set.
Note:
1. The current counter value starts with 0.
2. The current counter value will not decrement further once it reaches 0.
3. The current counter value will not increment further once it reaches the user defined
counter value.
4. The current counter value will not increment / decrement if the counter is disabled.
5. The current counter value is saved and will not be reset when the power of the device is
cycled.
6. Note that excessive use of counter (e.g. frequent increment / decrement counter value)
may result in overwritten data flash beyond the life cycle.
Syntax
Command
Response
AT$FC=<Index>,<Mode>[,<Counter>]
Note: Write setting.
OK
AT$FC=<Index>
Note: Query one setting and current counter value.
OK
$FC: <Index>,<Mode>,<Counter>,<Current>
AT$FC?
Note: Query all settings
(not accessible via SMS)
.
OK
$FC: 1,<…>
…
$FC: 10,<…>
Parameters
Index
Counter 1 to 10
Mode
0 – Disable
1 – Enable
2 – Reset to 0 count
3 – Increment one count
4 – Decrement one count
Default is 0 (Disable)
Note: Mode = 2, 3 or 4 are only valid with AT$FC=<Index>,<Mode>