02-10-2016 02:06 AM - edited 02-10-2016 02:06 AM
I am communicating with a PLC using ethernet IP. Currently I am using poling within the time out event to read the PLC tags but would like to set up an event to respond to a change in a tag value automatically. Does anyone know how to do this?
Solved! Go to Solution.
02-10-2016 05:38 AM
Unfortunately, you have to keep polling the PLC since the library does not do that for you. What I recommend is to use another loop for the Ethernet/IP communications and send a User Event when a value changes to let your main loop know.
02-10-2016 05:42 AM
Thanks for the advice. I'll give a go.