Re: Allen Bradley - ETH

2020-03-06 Thread Robinet, Etienne
I have a colleague who created an intern library for communicating with the AB PLCs. From what I understood, here is how it proceeds: 1) Register Session (TCP:44818) 2)CIP Encapsulation with Rack and Slot Number this then proceeds so sent Read/Write requests using CIP services codes, the tags are

Re: Allen Bradley - ETH

2020-03-06 Thread Robinet, Etienne
Well from what I've seen, PLC4x is calling right the session register but can't handle the positive response (using AB-ETH) Using 0.6 EIP protocol, the Session is properly opened, but impossible to rightly access data as there is no way to mention which slot the plc is and the tag (from what I unde

AW: Allen Bradley - ETH

2020-03-06 Thread Volker Emmert
Hi Etienne, your connection string is missing a station number I think, it should look like this: ab-eth://{ip-address}/{station}. It is a relict from the DF1 protocol, I don't know if there exists a default value. Can you show the field request as well? Problem is I'm not quite up to speed wi

Re: Allen Bradley - ETH

2020-03-06 Thread Otto Fowler
I’ve used that to test session, list identities and get all attributes calls from my code to cpppo. If you look at the documentation and the samples you can get cpppo talking to cpppo and then see how the plc4x stuff compares doing the same tasks maybe On March 6, 2020 at 10:49:27, Robinet, Et

Re: Allen Bradley - ETH

2020-03-06 Thread Robinet, Etienne
What could I test with this library exactly? I managed to establish a Session registration at ENIP level, but seems like the app can not decode the answer (which has Success code 0 as expected). Here is where it's stuck: https://i.imgur.com/ZDrSVTA.png The packetSize= -1 because the packageSizeEs

Re: Allen Bradley - ETH

2020-03-06 Thread Otto Fowler
I would recommend using https://github.com/pjkundert/cpppo to test this stuff to some extent. Using the docker container works well too. On March 6, 2020 at 09:04:11, Christofer Dutz (christofer.d...@c-ware.de) wrote: Hi Robert, unfortunately I wasn't able to test the ported driver before as

Re: Allen Bradley - ETH

2020-03-06 Thread Christofer Dutz
Hi Robert, unfortunately I wasn't able to test the ported driver before as I don't have access to an Allen Bradley device. I do however recall that I brought up that the protocol looked familiar to the EtherNet/IP protocol, however seems to have differences. So you should treat wireshark decodin

Re: Allen Bradley - ETH

2020-03-06 Thread Robinet, Etienne
Hi, After some tweaking I managed to create a right "Register Session" message ( https://i.imgur.com/OR9RDdd.png), but I got an error response from the PLC ( https://i.imgur.com/2Zm1op3.png). Do you know what the Request should be? Etienne Le ven. 6 mars 2020 à 10:47, Julian Feinauer a écrit :

[jira] [Created] (PLC4X-186) AB-ETH Driver

2020-03-06 Thread Etienne Robinet (Jira)
Etienne Robinet created PLC4X-186: - Summary: AB-ETH Driver Key: PLC4X-186 URL: https://issues.apache.org/jira/browse/PLC4X-186 Project: Apache PLC4X Issue Type: Improvement Componen

Re: Allen Bradley - ETH

2020-03-06 Thread Julian Feinauer
Hi, you already help with your bug reports and the feedback you give! Julian Am 06.03.20, 10:45 schrieb "Robinet, Etienne" <43...@etu.he2b.be>: Hi Julian, thanks for the fast response. I would be really glad if I could help a bit on that, as far as I can. Etienne

Re: Allen Bradley - ETH

2020-03-06 Thread Lukas Ott
In the meanwhile you could do a Wireshark dump and open a Jira Ticket so that they can get more insights. (There you can attach log files so it gives us more insights) https://issues.apache.org/jira/projects/PLC4X/ Am Fr., 6. März 2020 um 10:43 Uhr schrieb Julian Feinauer < j.feina...@pragmaticmin

Re: Allen Bradley - ETH

2020-03-06 Thread Robinet, Etienne
Hi Julian, thanks for the fast response. I would be really glad if I could help a bit on that, as far as I can. Etienne Le ven. 6 mars 2020 à 10:43, Julian Feinauer a écrit : > Hi Etienne, > > sorry that you have that much issues. Perhaps @Volker Emmert can comment > on that as he implemented t

Re: Allen Bradley - ETH

2020-03-06 Thread Julian Feinauer
Hi Etienne, sorry that you have that much issues. Perhaps @Volker Emmert can comment on that as he implemented the driver together with @Christofer Dutz. Julian Am 06.03.20, 10:37 schrieb "Etienne Robinet" <43...@etu.he2b.be>: Really sorry for double-post, but I managed to establish a con

Re: Allen Bradley - ETH

2020-03-06 Thread Etienne Robinet
Really sorry for double-post, but I managed to establish a connection by changing the port from to 44818 (https://literature.rockwellautomation.com/idc/groups/literature/documents/qr/comm-qr001_-en-e.pdf) I also change the url to : ab-eth:tcp://163.243.183.250 And this is where the applicat

Allen Bradley - ETH

2020-03-06 Thread Etienne Robinet
Hi all, I wanted to ask how far we are on the AB-ETH driver? I have a LOGIXS5580 Series PLC to test, and when I try to run the HelloWorld example I get following error: 10:24:44.771 [nioEventLoopGroup-2-1] INFO o.a.p.j.s.c.NettyChannelFactory - Unable to connect, shutting down worker thread. or