Before you can use Machine Outputs in a Trigger, you have to first set up a machine.
Machine Outputs are useful to know, and can also be utilized to build logic in apps. There are many use cases for this, including:
- Send Machine Down Notifications
- Set a Downtime Reason
- Increment a Part Counter
- Route to Steps
Creating a Trigger for Machine Outputs
In the Context Pane of an app, select ADD on the Machines & Devices Trigger option.
A Machine Output trigger can be based on any of the Machines defined Attributes. It can also be based on the State change of the Machine.
In the trigger editor, any logic can be added based on the Machines Outputs. Below will outline example use cases.
Example 1 - Send Machine Down Notifications
If a Machine goes into a downtime state, specified by the Machine Trigger page, you likely want to know about it.
To set this up, you can select the output of a specific Machine, or an output of the Machine that is at the same Station as the app. In this trigger, select the output option for State Change.
From here, you will need to select the Machine Status that is best suited for a notification. In this case, the state Stopped will be used to send the notification. This will be a conditional statement to only send the notification on a stopped state, rather than all state changes. To do this, create an If condition that says the following:
IF Machine Output - State Change - = - Static Value - Enum - Stopped
THEN Send SMS - to - USER - Message - your message
Now, the application will send a message to the administrator anytime the machine enters this state, along with where the problematic machine is.
Example 2- Route App
Routing applications based on machine triggers allows an app to automatically progress without other intervention. Perhaps a Machine must reach a certain spindle speed, or achieve a certain value in order to progress the work. In this case, the Machine Output trigger can check this and automatically progress when met.
To do this, select the attribute to check as the output.
Then, set up the appropriate condition. In this case, the app should only progress when the ramp function achieves a value of 75, then routes the app automatically to the next step. The trigger will look something like this:
IF Machine Output - ramp1 - > - Static Value - Number - 75
THEN Go to Step - Next
This functionality can be built around any Machine Attribute, and route to targeted steps as well. For example, if Spindle Speed is 0, you might route to a "Maintenance" or "Lunch Break" step.