Calling a function issue

[quote=“JordanCClark”]I don’t see anything obviously out of place on first blush either.

One thing I do see is the possibility of PLC_AckCounter.value being greater than 180. consider changing it to:

elif PLC_Ack.value == 1 and PLC_AckCounter.value >= 180:

That will help ensure a reset, even if it accidentally goes above your reset point.[/quote]

Yes, I have changed it! Thank You!