Hello All,
I would like to log data continuously at a 1 second interval when a trigger tag goes high. I researched the ONCHANGE command and it appears to work for any change to the tag. How can I set this to be a “1” and to log data every second while the tag is high?
Sample code thus far:
INIT Section
ONCHANGE “Pumps_Running_DC_Trigger”, “GOTO LogData”
LogData:
LOGGROUPIO “A”
Thanks!
Rich