|
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: |
||
|
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: |
||
