did you send binary 2 or ascii 2? if its asciiThe problem is the IF THEN statement "IF PS_State = 2 Then" will not process it.
IF PS_State = "2" Then" .... or IF PS_State = 50 Then" .... or IF PS_State = $32 Then" ....
did you send binary 2 or ascii 2? if its asciiThe problem is the IF THEN statement "IF PS_State = 2 Then" will not process it.
IF PS_State = "2" Then" .... or IF PS_State = 50 Then" .... or IF PS_State = $32 Then" ....
Warning I'm not a teacher
It was an ASCII 2.
I tried $32 and that worked. Thank you.
Last edited by BrianS; - 2nd June 2021 at 15:20.
Bookmarks