|
EXAMPLE 1 |
||
|
This configuration illustrates how to trigger multiple simultaneous actions from a single digital input event. When a physical contact (such as a panic button or a door sensor) connected to Digital Input 1 closes and stays stable for the configured validation time, the device instantly transmits an alert SMS to a supervisor and activates a 12V siren or indicator light connected to Output 4. |
||
|
|
|
I1 DIGITAL INPUT 1 |
|
|
$I12=1 INPUT 1 STATUS = 1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
AT+SMS=+391234,"Door open alarm" |
|
|
|
out4=1,20 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
trigger event is the change of state of digital input 1. The first condition to check is that the digital input 1 is in the logical state 1, it means closed. The first action contains the command that sends an SMS message to the number +391 with the text "Door open alarm". The second action contains the command that activates output 4 for 20 seconds. |
||
|
EXAMPLE 2 |
||
|
This example demonstrates how to use the asymmetric filtering logic to monitor a facility door connected to Digital Input 1. We want to ignore normal traffic but send an SMS alert if the door is left propped open for longer than 60 seconds. However, if someone closes the door, we want the system to detect that closure immediately. To make the system status clear on the web monitoring platform, we also dynamically change the input's display name (I11) to reflect its real-time state. |
||
|
|
|
I1 DIGITAL INPUT 1 |
|
|
$I12=0 INPUT 1 STATUS = 0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
AT+SMS=+391234,"Door open" |
|
|
|
I14=0 |
|
|
|
I11=Door.OPEN |
|
|
|
|
|
|
|
|
|
|
trigger event is the change of state of digital input 1. The first condition to check is that the digital input 1 is in the logical state 0, it means the door is open for 60 seconds (set with parameter I14). The first action contains the command that sends an EMAIL to the address mark@home.com with the text "Door open" as Subject. he second action contains the command that sets the activation time of input 1 to 0 to immediately detect the next action which will be the closing of the door. The third action contains the command that sets Door.OPEN as the name for digital input 1. No spaces are allowed so we use a period as a separator. |
||
|
|
|
I1 DIGITAL INPUT 1 |
|
|
$I12=1 INPUT 1 STATUS = 1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
I14=60 |
|
|
|
I11=Door.CLOSED |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
trigger event is the change of state of digital input 1. The first condition to check is that the digital input 1 is in the logical state 1, it means door closed. The first action contains the command that sets the activation time of input 1 to 60 seconds to detect the door that remains open for a long time. The second action contains the command that sets Door.CLOSED as the name for digital input 1. No spaces are allowed so we use a period as a separator. |
||
|
EXAMPLE 3 |
||
|
This configuration demonstrates how to automate maintenance intervals for a production machine by monitoring its active runtime. The machine's operational status (running/idle) is tracked via a dry contact connected to Digital Input 1 (e.g., connected to a motor contactor or auxiliary power relay). The device automatically logs the total runtime in minutes using the running counter parameter (I13). To evaluate this counter without generating constant, unnecessary alerts, the system utilizes a scheduled hourly system event. One year of continuous 24/7 machinery operation equals roughly 525,600 minutes. If the machine runs for a total cumulative duration of 500,000 minutes (accounting for operational overhead and scheduling buffers), the system automatically transmits a preventive service notice via SMS and resets the runtime counter for the next yearly maintenance cycle. |
||
|
|
|
SCH**00 SCHEDULED AT **:00 |
|
|
$I33>525600 INPUT 3 RUNNING COUNTER > 525600 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
AT+SMS=+391234,"Maintenance required" |
|
|
|
out2=1 |
|
|
|
horn=on,10 |
|
|
|
I33=0 |
|
|
|
|
|
|
At minute 00 of any hour (**00) the trigger event occurs. The first condition to check is that the accumulated time with input 3 closed is greater than 525600 minutes (12 months). The first action contains the command that sends an SMS message to the number +391234 with the text "Maintenance required". The second action contains the command that activates output 2. The third action contains the command that activates for 10 seconds the output to which has been assigned the name horn. The fourth action contains the command that resets the counter that contains the accumulated time for input 3. |
||
