Hallo,
I have a condition where i need to reset the value depending upon the program running / open condition.
Whenever there is no program selected or opened i want that value to reset the data which i am sending to the PLC.
Thanks.
Hallo,
I have a condition where i need to reset the value depending upon the program running / open condition.
Whenever there is no program selected or opened i want that value to reset the data which i am sending to the PLC.
Thanks.
check $PRO_STATE1 or $PROG_INFO[1]...
for example
IF $PRO_STATE1 ==#P_FREE THEN
; reset something
ENDIF