Zum Hauptinhalt springen

Schedule Update Logic

When an RP1 calibration event is completed, two checks are made:

1.System Wide Variable ISRP1_IMPLEMENT is checked to see if the text value is "1"

2.Gage's field/attribute stored in System Wide Variable ISRP1_UPDATE is checked to see if it has text value "1"

If both values are "1", then RP1 analysis is performed as follows:

1.The text values in the following System Wide Variables are loaded: ISRP1_WEIGHT1, ISRP1_WEIGHT2, ISRP1_WEIGHT3, ISRP1_MTEA, ISRP1_MTEB, ISRP1_MTEC, ISRP1_MTED, ISRP1_MTEE, ISRP1_TYPE.

2.If System Wide Variable ISRP1_USEALLCALS has text value "1", then a list of all event types marked as Cal events (the checkbox in step 3 of Workflow Configuration) is built, otherwise the list only contains the event type currently being run.

3.The number of calibration test points for the current event is checked. If there are calibration test points, the Max, Min, or Average Tolerance level is calculated and noted as SUM1. If there are no calibration test points, SUM1 is set to the value in event attribute OOT LEVEL.

4.The number of calibration test points for the previous event on the list of event types is checked. If there are calibration test points, the Max, Min, or Average Tolerance level is calculated and noted as SUM2. If there are no calibration test points, SUM2 is set to the value in event attribute OOT LEVEL from previous event. If there is no previous event, or it has no calibration test points or OOT LEVEL event attribute, SUM2 is set to the same value as SUM1.

5.The number of calibration test points for the next previous event on the list of event types is checked. If there are calibration test points, the Max, Min, or Average Tolerance level is calculated and noted as SUM3. If there are no calibration test points, SUM3 is set to the value in event attribute OOT LEVEL from next previous event. If there is no next previous event, or it has no calibration test points or OOT LEVEL event attribute, SUM3 is set to the same value as SUM2.

6.For each SUMx variable, a corresponding MULTx is set as follows: if SUMx <= 1, then MULTx = ISRP1_MTEA; if SUMx <= 2, then MULTx = ISRP1_MTEB; if SUMx <= 3, then MULTx = ISRP1_MTEC; if SUMx <= 4, then MULTx = ISRP1_MTED; otherwise MULTx = ISRP1_MTEE.

7.The current calibration schedule is converted to the corresponding number of days (365 days per year, 30 days per month, 7 days per week).

8.The new schedule is calculated as Current_days x (ISRP1_WEIGHT1 x MULT1 + ISRP1_WEIGHT2 x MULT2 + ISRP1_WEIGHT3 x MULT3)

9.The maximum and minimum intervals are loaded from their locations specified in ISRP1_MAXINT, ISRP1_MAXFREQ, ISRP1_MININT, ISRP1_MINFREQ and converted to days.

10.If the new schedule is less than the minimum, it is increased to the minimum. If the new schedule is more than the maximum, it is reduced to the maximum.

11.If the new schedule is different from the old, the schedule is updated and an RP1 ADJUSTMENT event is logged with the old and new schedule details. |