From e941e649185aa81db18731349ab6ba540c578a8f Mon Sep 17 00:00:00 2001 From: choieigun Date: Tue, 21 Jul 2026 21:16:47 +0900 Subject: [PATCH] =?UTF-8?q?21=EB=B2=88=20=EB=A0=88=EC=8B=9C=ED=94=BC?= =?UTF-8?q?=EB=9D=BC=EB=A9=B4=20=EA=B8=B0=EC=A1=B4=EC=B2=98=EB=9F=BC=20?= =?UTF-8?q?=EB=8F=99=EC=9E=91=ED=95=98=EB=8F=84=EB=A1=9D=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Machines/ILSOS_KS/Sequences/SeqAutoRunKS.cs | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/Machines/ILSOS_KS/Sequences/SeqAutoRunKS.cs b/Machines/ILSOS_KS/Sequences/SeqAutoRunKS.cs index 6a1d102..43057ed 100644 --- a/Machines/ILSOS_KS/Sequences/SeqAutoRunKS.cs +++ b/Machines/ILSOS_KS/Sequences/SeqAutoRunKS.cs @@ -626,11 +626,17 @@ namespace ILSOS_KS.Sequences } 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; + recipeRequestId = (short)_PLC.ReadDWord((int)eWordOutput.PC_RECIPE_NO, isInput: false).data; + if (recipeRequestId == 21) { + Log.I(string.Format($"TEST!! Welding : ExecuteList_{_WeldingScannerListNo}")); + } + 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; + } }