I’m looking for some help with Nachi program I’m trying to write a piece of code.
For example, if the statement is false update var%30 to 0 if if statement is true update var%30 to 1. The IF statement works properly and variables are changing back and forth but the only problem is the if statement only gets updated for the next cycle not during the cycle.
SETM[04, 1] (Camera Trigger)
IF I4=0 Cam Fail
LETVI[V30%, 0]
ELSEIF I4=1 Cam Pass
LETVI[V30%, 1]
ENDIF