From 5471442aaee7ee0f8e6f4cac472fc4cb15f6f26c Mon Sep 17 00:00:00 2001 From: 천호석 <hosuk1418@naver.com> Date: 월, 27 6월 2022 10:28:45 +0900 Subject: [PATCH] Lift in sensor, limit sensor, calmp 상태 일 때 home 안되도록 인터락 추가. --- SHARP_CLAS_UI/500.Equipment/700.Unit/000.Loader/LoaderLiftIn.cs | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/SHARP_CLAS_UI/500.Equipment/700.Unit/000.Loader/LoaderLiftIn.cs b/SHARP_CLAS_UI/500.Equipment/700.Unit/000.Loader/LoaderLiftIn.cs index fe3085d..b038b69 100644 --- a/SHARP_CLAS_UI/500.Equipment/700.Unit/000.Loader/LoaderLiftIn.cs +++ b/SHARP_CLAS_UI/500.Equipment/700.Unit/000.Loader/LoaderLiftIn.cs @@ -399,6 +399,18 @@ { 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; -- Gitblit v1.9.3