EXAMPLE 1

This example demonstrates how to set up an automated report during a standard work week (Monday through Friday). Every hour, the device evaluates whether it is a working day. If the condition is met, it dispatches a detailed status SMS containing both the average and peak (highest) scaled values recorded over the last analog measurement period on Analog Input 4.


SCH**00 SCHEDULED AT **:00

$D16(12345 WEEKDAY ( 12345





AT#CON

AT#SMS=+44123456,"$A41: $A42 ($A44)$A46"




trigger event occurs every hour at minute 00 (**00) .

The first condition checked is that the current day is included among those indicated 12345, i.e. from Monday to Friday.

The first action contains the command that forces the upload of all changed parameters to cloud.

The second action contains the command that sends an SMS to +44123456 with the text:
TAG $A41 that is the name assigned to analog input 4
TAG $A42 that is the average value measured by analogue input 4
TAG $A44 that is the maximum value measured by analog input 4
TAG $A46 that is the unit of measurement of analogue input 4
The text will look something like this:
Current: 12 (15)A

EXAMPLE 2

This configuration illustrates how to leverage the device's internal automation rules and local storage matrix to build an autonomous data logging routine. By binding a rule directly to the native analog hardware clock, the system periodically appends statistical logs to a dedicated internal CSV/text data file without requiring an active network connection.

We assume Analog Input 3 has its measuring period set to 1 hour (A35 = 60). At the conclusion of each 60-minute integration window, the device extracts the newly processed, scaled average measurement value and appends a chronological record into a local file.


A3 ANALOG INPUT 3






AT#AFILE=S:LOGS/$A31.txt,T,"$D15: $A32 $A36"





trigger event is the end of the analog input 3 measurement period.

The first action contains the command that appends to the Current.txt file ($A31 that is the name assigned to analog input 3) in the LOGS folder of the S: (SD card) a line containing:
TAG $ D14 which is the current day
TAG $ D15 which is the current time
TAG $ A32 that is the average value measured by analogue input 3
TAG $ A36 that is the unit of measurement of analog input 3
The contents of the file will be something like this:
182050: 6.2 A/h
192050: 5.8 A/h
202050: 6.2 A/h