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 | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/SHARP_CLAS_UI/500.Equipment/Equipment.cs b/SHARP_CLAS_UI/500.Equipment/Equipment.cs index 968945a..9014391 100644 --- a/SHARP_CLAS_UI/500.Equipment/Equipment.cs +++ b/SHARP_CLAS_UI/500.Equipment/Equipment.cs @@ -997,6 +997,21 @@ 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) { -- Gitblit v1.9.3