Managing Asset Data to Automate Condition Monitoring
|
Axeda uses Expression Rules as a way to evaluate Axeda Platform events, data, and conditions, and run actions based on the results of the evaluation. In this step, you will learn how the Alarm was created in the Get Started sample application and see the relationship between assets, rules, and actions. |
In this section, we will be working on the Axeda Platform itself.
Step-1: Launch the Platform (Please Register to enable the Platform Access link)
Step-2: Accessing Expression Rules
- Navigate to the Configuration tab

- Select View > Expression Rules

- Expand the rule named AlarmIfValueHigh by clicking on the arrow next to the name. Doing so allows you to inspect the properties of the rule.
Note: These rules were created for you as part of the registration process.
Step-3: Exploring Alarms
In the previous section, you used the simulator to send a value of 101 for DataItem Value1. When you did that, the resulting data item message caused the Axeda Platform to run the AlarmifValueHigh rule. The “If” condition of the rule evaluated to TRUE because the DataItem value was greater than 100 which caused the “Then” action to run, thereby creating the alarm with a severity of 1000.
Because Expression Rules can also be stacked, we can trigger another rule based on the results of the AlarmifValueHigh rule. Look at the second rule NotifyOnAlarm. You will see that it is not enabled. We're going to enable this alarm, trigger it, and then send a notification. To do this:
- Click the Rule name NotifyOnAlarm to edit the rule

- Select Enabled

- Locate the Then statement
The Then statement is a script that places an automated call. The second part includes the telephone number that you provided as part of the registration process. Make sure that there is a phone nearby and if not, change the number to one that is.. No special format for the phone number is required.
- Click Save to save the Expression Rule
Now return to the Simulator and resend a value of 101 for DataItem Value1. In a few moments your phone should ring! Wait a few seconds after answering to hear the generated message from the platform alert.

Again, Congratulations! You have just seen how data from your asset can trigger rules and how a rule can perform an action.
Learn more about this application and the power of the Platform...


