User manual

Confidential, the whole present document is the sole property of Maestro Wireless Solution Ltd.
63
19 COMMAND STRING WRITING AND USING
19.1 Structure of Command String
A single Command String is a text string composed with four fields, for example:
19.1.1 Service type
This field has two capital characters indicates the type of Service to be chosen:
Field
entry
AL
CT
TM
IP (*)
SM
EM
AI(*)
SC
Service alarm Counter
Countdown
timer
input ports SMS
Email
Analogue
input
Socket
Comm
See
Chapter
20.1
20.2
20.3
20.4
20.5
20.6
20.7
20.8
19.1.2 Service Id
Each type of Service there has more than one unit; e.g. there are 5 counters available so the id range is 1 to 5.
19.1.3 Operation type and Operation argument
For each type of Service there are few kinds of operations; e.g. “TM 1 ST 100” means to set the value or countdown timer
#1 to 100 seconds. See further chapters for the explanation of each service.
19.2 Concatenating Command String
You can concatenate Command Strings update 128 bytes long totally (including space). They will be executed
sequentially. However, if one Command String is incorrect or invalid execution will be stopped and successive Command
Stings will not be executed.
For example:
First String “TM 1 ST 100” will be executed
Second String “TM 1 TR 99” will not be executed because “99” is out of range
Third String “TM 1 SW 1” is correct but will not be executed because execution is stopped on 2nd String
TM 1 ST 100
Service type
Service id Operation type
Operation argument
TM 1 ST 100 TM 1 TR 99 TM 1 SW 1