| | |
| | | _Parent._equip.cim_client.Send_Alarm("E12345678", false, Occurred_Alarm); |
| | | } |
| | | |
| | | if(AlarmList.Exists(x=> x.Heavy == true)) |
| | | _Parent._equip.Set_Equipment_Status_Code(En_Equipment_Status_Code.T3); |
| | | if (Alarm_Manager.Instance.Alarm_Status == En_Alarm_Status.HEAVY) |
| | | _Parent._equip.Set_Equipment_Status_Code(En_Equipment_Status_Code.W4); |
| | | } |
| | | } |
| | | |
| | |
| | | |
| | | private void btn_Buzzer_Stop_Click(object sender, EventArgs e) |
| | | { |
| | | if (_Parent._equip.cim_mode == En_Cim_Mode.Online) |
| | | { |
| | | if (AlarmList.Exists(x => x.Heavy == true)) |
| | | { |
| | | _Parent._equip.Set_Equipment_Status_Code(En_Equipment_Status_Code.T3); |
| | | } |
| | | } |
| | | |
| | | _Parent._equip.Board_Control.IO_manager.Set_Output(OutputData.Buzzer_1_Relay, false); |
| | | } |
| | | |
| | |
| | | { |
| | | sm.Set_Bit(sa, false); |
| | | } |
| | | |
| | | |
| | | Occured_List.Clear(); |
| | | Alarm_Status = En_Alarm_Status.NONE; |
| | | } |
| | |
| | | { |
| | | Alarm_Manager.Instance.Occurred(En_Alarm_List.AL_0120_LD_TRAT_IN_LIFT_Z_POWER_OFF); |
| | | } |
| | | else if (IsLiftInSensor1 || IsLiftInSensor2) |
| | | { |
| | | Interlock_Manager.Add_Interlock_Msg("Loader Lift In", "Home can't run, Lift in sensor detected."); |
| | | } |
| | | else if (IsLiftLimitSensor1 || IsLiftLimitSensor2) |
| | | { |
| | | Interlock_Manager.Add_Interlock_Msg("Loader Lift In", "Home can't run, Lift limit sensor detected."); |
| | | } |
| | | else if (Clamper.ClampSol) |
| | | { |
| | | Interlock_Manager.Add_Interlock_Msg("Loader Lift In", "Home can't run, Clamp is clamped "); |
| | | } |
| | | else |
| | | { |
| | | _homeStep = LiftHomeSteps.S1100_CONVEYOR_HOME_CHECK; |
| | |
| | | { |
| | | Alarm_Manager.Instance.Occurred(En_Alarm_List.AL_0130_LD_TRAT_OUT_LIFT_Z_POWER_OFF); |
| | | } |
| | | else if (IsLiftInSensor1 || IsLiftInSensor2) |
| | | { |
| | | Interlock_Manager.Add_Interlock_Msg("Loader Lift empty", "Home can't run, Lift in sensor detected."); |
| | | } |
| | | else if (IsLiftLimitSensor1 || IsLiftLimitSensor2) |
| | | { |
| | | Interlock_Manager.Add_Interlock_Msg("Loader Lift empty", "Home can't run, Lift limit sensor detected."); |
| | | } |
| | | else if (Clamper.ClampSol) |
| | | { |
| | | Interlock_Manager.Add_Interlock_Msg("Loader Lift empty", "Home can't run, Clamp is clamped "); |
| | | } |
| | | else |
| | | { |
| | | _homeStep = LiftHomeSteps.S1100_CONVEYOR_HOME_CHECK; |
| | |
| | | { |
| | | Alarm_Manager.Instance.Occurred(En_Alarm_List.AL_0470_ULD_TRAY_EMPTY_LIFT_Z_POWER_OFF); |
| | | } |
| | | else if (IsLiftInSensor1 || IsLiftInSensor2) |
| | | { |
| | | Interlock_Manager.Add_Interlock_Msg("Unloader Lift Empty", "Home can't run, Lift in sensor detected."); |
| | | } |
| | | else if (IsLiftLimitSensor1 || IsLiftLimitSensor2) |
| | | { |
| | | Interlock_Manager.Add_Interlock_Msg("Unloader Lift Empty", "Home can't run, Lift limit sensor detected."); |
| | | } |
| | | else if (Clamper.ClampSol) |
| | | { |
| | | Interlock_Manager.Add_Interlock_Msg("Unloader Lift Empty", "Home can't run, Clamp is clamped "); |
| | | } |
| | | else |
| | | { |
| | | _homeStep = LiftHomeSteps.S1100_CONVEYOR_HOME_CHECK; |
| | |
| | | { |
| | | Alarm_Manager.Instance.Occurred(En_Alarm_List.AL_0460_ULD_TRAY_NG_LIFT_Z_POWER_OFF); |
| | | } |
| | | else if (IsLiftInSensor1 || IsLiftInSensor2) |
| | | { |
| | | Interlock_Manager.Add_Interlock_Msg("Unloader Lift Ng", "Home can't run, Lift in sensor detected."); |
| | | } |
| | | else if (IsLiftLimitSensor1 || IsLiftLimitSensor2) |
| | | { |
| | | Interlock_Manager.Add_Interlock_Msg("Unloader Lift Ng", "Home can't run, Lift limit sensor detected."); |
| | | } |
| | | else if (Clamper.ClampSol) |
| | | { |
| | | Interlock_Manager.Add_Interlock_Msg("Unloader Lift Ng", "Home can't run, Clamp is clamped "); |
| | | } |
| | | else |
| | | { |
| | | _homeStep = LiftHomeSteps.S1100_CONVEYOR_HOME_CHECK; |
| | |
| | | { |
| | | Alarm_Manager.Instance.Occurred(En_Alarm_List.AL_0450_ULD_TRAY_OK_LIFT_Z_POWER_OFF); |
| | | } |
| | | else if(IsLiftInSensor1 || IsLiftInSensor2) |
| | | { |
| | | Interlock_Manager.Add_Interlock_Msg("Unloader Lift Ok", "Home can't run, Lift in sensor detected."); |
| | | } |
| | | else if(IsLiftLimitSensor1 || IsLiftLimitSensor2) |
| | | { |
| | | Interlock_Manager.Add_Interlock_Msg("Unloader Lift Ok", "Home can't run, Lift limit sensor detected."); |
| | | } |
| | | else if(Clamper.ClampSol) |
| | | { |
| | | Interlock_Manager.Add_Interlock_Msg("Unloader Lift Ok", "Home can't run, Clamp is clamped "); |
| | | } |
| | | else |
| | | { |
| | | _homeStep = LiftHomeSteps.S1100_CONVEYOR_HOME_CHECK; |
| | |
| | | private User_Info _user; |
| | | private SequenceTimer _modeChangeTime = new SequenceTimer(); |
| | | |
| | | private string _programVersion = "001.001.002"; |
| | | private string _programVersion = "001.001.005"; |
| | | #endregion |
| | | |
| | | #region Construct |
| | |
| | | { |
| | | Set_Load_Tray_Buzzer(false); |
| | | Board_Control.IO_manager.Set_Output(OutputData.Buzzer_1_Relay, false); |
| | | |
| | | if(cim_mode == En_Cim_Mode.Online) |
| | | { |
| | | if (Alarm_Manager.Instance.Alarm_Status == En_Alarm_Status.HEAVY) |
| | | { |
| | | Set_Equipment_Status_Code(En_Equipment_Status_Code.T3); |
| | | Set_Equipment_Status_Code(En_Equipment_Status_Code.W4); |
| | | } |
| | | } |
| | | |
| | | Alarm_Manager.Instance.Alarm_Clear(); |
| | | } |
| | | } |
| | |
| | | { |
| | | Set_Unload_Tray_Buzzer(false); |
| | | Board_Control.IO_manager.Set_Output(OutputData.Buzzer_1_Relay, false); |
| | | |
| | | if (cim_mode == En_Cim_Mode.Online) |
| | | { |
| | | if (Alarm_Manager.Instance.Alarm_Status == En_Alarm_Status.HEAVY) |
| | | { |
| | | Set_Equipment_Status_Code(En_Equipment_Status_Code.T3); |
| | | Set_Equipment_Status_Code(En_Equipment_Status_Code.W4); |
| | | } |
| | | } |
| | | |
| | | Alarm_Manager.Instance.Alarm_Clear(); |
| | | unloader.LiftNg.Shuttle.Forward(); |
| | | } |