2N M2M Solution 2N SmartCom - User Manual 1.9.0 User Manual

Page 124

Advertising
background image

124

2N TELEKOMUNIKACE a.s., www.2n.cz

®

Caution

The message can be used for the

and

actions only.

TCP

SMS

You can also insert the following keys into the message parameter to show the value
currently measured on the input circuits or the current logic value of the conditions in
the SMS.

Key

Description

$AIN1

Analogue input 1 value

$AIN2

Analogue input 2 value

$DIN1

Digital input 1 value

$DIN2

Digital input 2 value

$PUL1

Pulse input 1 value

$PUL2

Pulse input 2 value

$CNT1

Counter 1 value

$CNTx

Counter x value (1-5)

$CON1

Condition 1 result value 1

$CONx

Condition x result value (1-10)

Let us show you an example for illustration.
Suppose you want to enter a command into the terminal, which, when the limit value
80 on input 1 is exceeded, will send an SMS to number 123456789 including the

(the currently measured value).

ALARM value is:
The AT command looks as follows:

AT^SCUDF="ADD","AIN1>80:SMS p[123456789] m[ALARM value is:$AIN1]"

The following SMS will be sent to the set number:

ALARM value is:87

Caution

Should you enter an invalid or incomplete key, the key will not be
included in the SMS sent.

Tip

Enter a special key $$ to display the $ character in the SMS as the
single $ character introduces other keys.

Advertising