I have read alot about this, one piece of information that seems to be missing is how do you have the plc initialize the communication to the pc. Such as we want to log to a sql server, but the logging is random.
These are the two ways that i know of but would like to know if there is any better.
1. Timer on pc in vb.net app checking plc for a bit that indicates a log entry needs to be made.
2. IO card in PC interfaces to IO on plc, but you still need a timer to check that IO since there is no real event for IO cards.
Any suggestions?