I found that each time DO1 on LED display panel Flexy201 always on after restarting the device. Is it normal and what triggered it to ON?
I need to use this DO1 as a output to lit the Indicator light when WAN is Connected.
I had also write the script and put in in autorun as below but unfortunately it doesn’t work as i want which when only WAN is connected then this DO1 will ON.
I also had created Tag name: Network_OK for DO1 address.
ONWAN “goto WAN_Action”
WAN_Action:
i% = GETSYS PRG, “EVTINFO”
IF i% = 1 THEN
Network_OK = 1 //internet connected
ELSE
Network_OK = 0 //no internet
ENDIF
END
Could someone advise?