Resetting Alarms
Resetting components of the MM
If there are no Components of the Machine then we can clear the Machine Alarms and let the SUPER^.Clearing() handle the rest. But if the Machine Module has one or more components then the process of clearing the alarms must be handled in a slightly different manner. This will prevent an existing alarm condition that is still TRUE from being cleared and raised multiple times.
In the Machine.Clearing() method the following code can be used:
Note
This code is a modified version of what is used in the FB_PackML_BaseModule.Clearing()
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 |
|