The rules engine in Azumuta was designed to ensure that what the operator sees on the screen is as specific as possible. For example, it can be ensured that the operator is shown a specific set of instruction steps based on responses that the operator gives to product checks throughout the production process.
So these rules typically define if-then statements that the system uses to determine the appropriate operator screen action based on the data it receives on the shop floor (this could be data coming from operators or from certain hardware tools). In this section, you will read how rules can increase the efficiency and productivity of your shop floor.
How to Add a Rule: #
- Navigate to the work instruction step where you would like to add a rule to, and click on “Open”.
- Click on the “Rules” tab
- Click on the yellow plus button. (you can add one or multiple rules).
Rule Engine Components #
- The “if” block (rule configuration) -> This will define the rule on which the following action will be based. The rule configuration itself will be dependent on the type of check that was chosen in the “check” tab.
- The “action” block (action configuration) -> This will define the action that will be taken when the rule is triggered.
- By clicking on the yellow plus button, you can create a new rule within the same instruction step.
Rule Configuration #
The first part of the rule configuration (“if” block) is always the same and gives 4 options:
- Any condition is met -> when one of the rules is triggered, one will proceed to the configured action
- All conditions are met -> only when all rules are triggered will the configured action be performed.
- Always -> one will always proceed to the configured action (no rules are viewed).
- Formula evaluates to true (advanced) -> this is handled in advanced.
Tip: You can "loop" a work instruction by setting an "always" line on the last instruction that jumps to the first step each time
Example of a Rule in Action: OK/NOK Check #
We will use a simple OK/NOK check to demonstrate how rules actually work in Azumuta.
Let’s say that we want to make the rule: if the answer to the question in work instruction step 1.2 is “yes”, then the operator screen should automatically move to instruction step 1.3.
Here’s how to do it:
- Activate the OK/NOK Check.
- Go to the “Rules” tab.
- Set up the “if” and “action” blocks.
- Click on “Save”.
Tip: Some other checks have a different path in applying a rule. However, they all follow the same logic as the explanations above.