21번 레시피라면 기존처럼 동작하도록 수정

This commit is contained in:
최이근 2026-07-21 21:16:47 +09:00
parent d770494ff0
commit e941e64918

View File

@ -626,11 +626,17 @@ namespace ILSOS_KS.Sequences
} }
else else
{ {
Log.W("RCC Pattern is not found. NG Process"); recipeRequestId = (short)_PLC.ReadDWord((int)eWordOutput.PC_RECIPE_NO, isInput: false).data;
_PLC.WriteBit((int)eBitOutput.PC_LBAD_RESULT_NG, true); if (recipeRequestId == 21) {
pre_welding = true; Log.I(string.Format($"TEST!! Welding : ExecuteList_{_WeldingScannerListNo}"));
context.Wait(1000); }
return SEQ_CHECK_PAGENO; else {
Log.W("RCC Pattern is not found. NG Process");
_PLC.WriteBit((int)eBitOutput.PC_LBAD_RESULT_NG, true);
pre_welding = true;
context.Wait(1000);
return SEQ_CHECK_PAGENO;
}
} }