Hey, sorry for the bombardment with questions lately and thanks for all the help so far! :-)
1) Is there a way to automatically reconnect on connection loss? Right now i only get a channel closed exception and everything hangs... What is the preferred approach for this scenario? Would a pooled PLCConnection help here? 2) Can some objects be reused, e.g. the ReadRequest in a recurring read operation? 3) Which objects are safe to use in multiple threads? Scenario here: I will have two groups of fields on one PLC that i want to collect with different sampling rates. 4) Is there a best practice value for max fields per read request? Should large requests be split into multiple smaller, serial requests? All questions in the context of the S7 driver. Mit freundlichen Grüßen Kind regards Sebastian Wiendl DSE / Digital Solutions Software Engineer Phone: +49 9605 919 - 9341 E-Mail: [email protected] Internet: www.bhs-world.com Shop: www.icorr.shop BHS Corrugated Maschinen- und Anlagenbau GmbH Paul-Engel-Straße 1 92729 WEIHERHAMMER GERMANY Management: Christian Engel, Lars Engel Registered at Amtsgericht Weiden, HR B 1320
