Preventive maintenance

Preventive maintenance

Postby prenna » Tue Apr 14, 2015 10:56 am

I try to simulate both preventive and failure.
In efficiency of the activity I introduce two Break down types: Break Down type 1 and break Down type 2.
Then, the global variable Breakdown_Type allows to detect the type of break down occurs.

If the break down type 2 is the preventive maintenance, I need to reset the break down type 1 when the preventive maintenance is performed.

I try to write this code "on end repair"

If breakDown_Type="Break type "
Deschedule event this point the VL editor does not allow to introduce in some way the reset of Break Type 1.

Can You help me?

Return to “SIMUL8 Cafe”