ty you very much again for your great support Christofer !
I'll for sure keep you informed and the main plain is to use it with Kotlin. We're ready to start working on the project, so I'll be on that for the next couple weeks or even month from now I'll keep in touch I do really appreciate the support and the fantastic works you guys doing ! Patrick Boisclair Analyste - Programmeur senior / Senior Analyst Programmer [cid:[email protected]]<https://www.noovelia.com> 462, rue des Forges, Trois-Rivières (Québec) G9A 2H5 CANADA noovelia.com<https://www.noovelia.com> [cid:[email protected]] "Veuillez noter ma nouvelle adresse courriel. / Please note my new email address." ________________________________ De : Christofer Dutz <[email protected]> Envoyé : 5 décembre 2020 12:33 À : [email protected] Objet : AW: ADS Driver: org.apache.plc4x.java.api.exceptions.PlcRuntimeException: java.util.concurrent.TimeoutException HI Patrick, Please keep the discussion on our list. Right now the ADS diver requires you to provide connection Url parameters. Unfortunately I see that our documentation for ADS needs some updating. Sorry for that. ads:tcp://10.10.11.77/5.62.206.200.1.1:851?sourceAmsNetId=x.x.x.x.x.x&sourceAmsPort=yyyyy&targetAmsPort=x.x.x.x.x.x&targetAmsNetId=yyyyy With AMS you need to setup routes on your PLC, so I hope you know how to do that … I think we did explain this on our website on the VPN documentation: PLC4X – (apache.org)<https://plc4x.apache.org/developers/infrastructure/vpn.html> in the Beckhoff part. Hope that helps. Chris Von: Patrick Boisclair <[email protected]> Gesendet: Samstag, 5. Dezember 2020 15:24 An: Christofer Dutz <[email protected]> Betreff: RE: ADS Driver: org.apache.plc4x.java.api.exceptions.PlcRuntimeException: java.util.concurrent.TimeoutException Ty very much ! I'm now able to use the 0..8.0-SNAPSHOT :) I now have a: java.lang.IllegalArgumentException: Missing required fields: [sourceAmsNetId, sourceAmsPort, targetAmsPort, targetAmsNetId] Which I guess the connection : PlcConnection connection = driver.getConnection("ads:tcp://10.10.11.77/5.62.206.200.1.1:851"); This is probably not the way to do now. I'll check how to do it now. Thank you very much for your help, really appreciated !
