From 58fb7ef7cdec2cc22602d743368817960b9d7063 Mon Sep 17 00:00:00 2001 From: 천호석 <hosuk1418@naver.com> Date: 금, 02 12월 2022 17:37:51 +0900 Subject: [PATCH] 장비 auto mode가 아닐 때 power meter 위치에서 벗어나 laser on 할 시 laser off 후 interlock 발생. --- SHARP_CLAS_UI/500.Equipment/Equipment.cs | 23 ++++++++++++++++++++++- 1 files changed, 22 insertions(+), 1 deletions(-) diff --git a/SHARP_CLAS_UI/500.Equipment/Equipment.cs b/SHARP_CLAS_UI/500.Equipment/Equipment.cs index 5cf1253..9014391 100644 --- a/SHARP_CLAS_UI/500.Equipment/Equipment.cs +++ b/SHARP_CLAS_UI/500.Equipment/Equipment.cs @@ -564,7 +564,7 @@ private User_Info _user; private SequenceTimer _modeChangeTime = new SequenceTimer(); - private string _programVersion = "001.002.000"; + private string _programVersion = "001.002.001"; #endregion #region Construct @@ -996,6 +996,21 @@ LD_Stop = true; panel_count_info.CleaningCount = 0; Panel_Count_Info_Manager.Instance.Save_Panel_Count_Info(panel_count_info); + } + + if(equip_mode != En_Equipment_Mode.Auto) // Auto mode媛� �븘�땺 �븣 + { + if(units.Exists(x => x.UnitMode != equip_mode) == false) //�옣鍮� �긽�깭媛� �떎瑜멸쾶 �엳�뒗吏� �솗�씤 + { + if(process.ablation.Get_Is_Position_X_Power_Meter() && process.ablation.Get_Is_Position_Z_Power_Meter()) + { + if (sm.Get_Bit(Input_Memory_Address.Laser_Active)) + { + scanner.Set_Laser_Off(); + Interlock_Manager.Add_Interlock_Msg("Laser can't on.", "Please move power meter position."); + } + } + } } } catch(Exception e) @@ -1462,6 +1477,12 @@ return false; } + if(Door_Opened) + { + Interlock_Manager.Add_Interlock_Msg("Can't Change auto mode.", "Please door close."); + return false; + } + if(!Is_Home_Complete) { Interlock_Manager.Add_Interlock_Msg("Can't Change auto mode.", "Please Set Home."); -- Gitblit v1.9.3