fix: Page 에코 수렴 확인 전 PLC 업데이트 주기 대기 추가
CheckPageNoComp 에코 수렴 루프에서 PC_PAGE_NO 를 쓴 직후 되읽어 비교하면 PLC 데이터 업데이트 주기가 반영되기 전 값을 읽어 수렴 판정이 흔들릴 수 있다. WriteWord 이후 되읽기 전에 200ms 대기를 넣는다. 대상: SeqAutoRunPTOP.cs CheckPageNoComp() "4. 되읽어 수렴 확인" 직전
This commit is contained in:
parent
e0e5416975
commit
594c6ba24a
@ -795,6 +795,7 @@ namespace ILSOS_PrismaticRD_PTOP.Sequences
|
||||
}
|
||||
|
||||
// ── 4. 되읽어 수렴 확인 ──
|
||||
Thread.Sleep(200);
|
||||
short echoed = _PLC.ReadOutWord(eWordOutput.PC_PAGE_NO).data;
|
||||
short current = _PLC.ReadWord(eWordInput.PLC_PAGE_NO).data;
|
||||
if (echoed == p && current == p)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user