1st field
Service
type
2nd field
Service
id
3rd field
Operation
type
4th field
Operation argument
Explanation
SC (1 to 10)
TO (1-10) Id of host address (see Section 9.2)
BD (0-3)
Id of message body (see Section 9.3)
0: no body
(additional content)
Send out the message with above setting
plus additional content
SN
%CTn
%IP
%TMn
%AI
%IMEI
%DATE
%TIME
Additional message and "%" to indicate
"variable" options in message content
TR
(1 to 50)
0
Set Command String to be run,
0 to cancel setting
Example: Setting up SC set #1 with elements: host #1, content #2.
SC␣1␣TO␣1␣SC␣1␣BD␣1
Example: Sending socket communication message SC set#1 with additional content "HELLO_WORLD".
SC␣1␣SN␣HELLO_WORLD
Example: Setting up SC set #2 with message "0", and send out immediately.
SC␣2␣BD␣0␣SC␣2␣SN␣0
Example: Send a message SC #1 "Counter#2_value_is_20" (report counter # value).
SC␣1␣SN␣Counter#2_value_is_%CT2
Using "variable" options within additional email content
In the SC message additional content field you can use "%" and Service type to insert the current value of Service
into the additional content:
Variable
%CTn %TMn %IP %OP %AI %IMEI %DATE %TIME
Description
Current
value of
counter id#n
Current
value of
timer id#n
Current I/O
ports’ inputs
summing
value
Current I/O
ports’
outputs
summing
value
Current AI
ports values
Unit IMEI +CCLK date +CCLK time
Range of ‘n’
1 to 5 1 to 10 0 to 3 0 to 3
1 (only on
M1002G)
15 char
YY/MM/DD
format
HH:MM:SS
format
Invalid Service name or Id will be ignored.
For Inputs %IP and Outputs %OP refer to the table below:
Input 1 Input 2 %IP value Output 1 Output 2 %OP value
Low Low 3 Drain Drain 3
High Low 2 Open Drain 2
Low High 1 Drain Open 1
High High 0 Open Open 0
Note:
Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd.
support@maestro-wireless.com
103