장비 auto mode가 아닐 때 power meter 위치에서 벗어나 laser on 할 시 laser off 후 interlock 발생.
| | |
| | | |
| | | if(equip_mode != En_Equipment_Mode.Auto) // Auto mode가 아닐 때 |
| | | { |
| | | if(units.Exists(x => x.UnitMode != equip_mode) == false) //장비 상태가 다른게 있는지 확인 |
| | | if(equip_mode == En_Equipment_Mode.Pause && units.Exists(x => x.UnitMode != equip_mode)) |
| | | { |
| | | if(process.ablation.Get_Is_Position_X_Power_Meter() && process.ablation.Get_Is_Position_Z_Power_Meter()) |
| | | // Pause wait 상태 일 때는 interlock 발생 X |
| | | } |
| | | else |
| | | { |
| | | 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)) |
| | | { |