Taking a look at it within onConnectOpenConnectionManager within the EipProtocolLogic class, there are a couple of 4002 values (These should definitely be constants), but changing these to 504 should result in a smaller message siye being used.
Let us know if this works and if you need some help adjusting the logic to have this configurable or used as a fallback. On Fri, Jan 6, 2023 at 10:29 AM Christofer Dutz <christofer.d...@c-ware.de> wrote: > Hi Jukka, > > and I should mention, that EIP support is probably the least tested driver > regarding features. > This is due to a lack of hardware for testing. This might change in the > (near) future, but right now > all I had, when developing the driver, was a simple 2 channel digital IO > component. > > However if you want, I’d be happy to help you improve the driver. > > Chris > > > > From: Ben Hutcheson <ben.hut...@gmail.com> > Date: Thursday, 5. January 2023 at 18:08 > To: dev@plc4x.apache.org <dev@plc4x.apache.org> > Subject: Re: schneider plc & eip > Hi Jukka, > > Your best bet is probably to take a look at adding support for smaller > message sizes. The ‘large’ part of the large forward open refers to the > message size (I think for large connections it is around 1500?) a normal > forward open is around 500? Bytes or so. > > Ben > > On Thu, 5 Jan 2023 at 5:42 pm, Jukka Sirviö <jukka.sir...@mipro.fi> wrote: > > > Hello, > > I'm using eip_update branch, > > the plc does provide ethernet/ip, but I'm not able to set up the > > connection correctly. > > > > plc indicates that it does have support for ConnectionManager, but when > > sending Open Connection Manager EIP Package, the tcpdump indicates that > > large forward open is not supported. Any ideas what are my alternatives > > here? Some of the supported attributes (cip object model) for the plc > are 1 > > (Identity), 2 (MessageRouter), 4 (Assembly), 6 (Connection manager), 244 > > (Port), 245 (TCP/IP), 246 (Eth Link).. total of 21 attributes. > > > > 145 46.246813 originator → target CIP CM 146 Connection Manager - Large > > Forward Open (Message Router) > > 146 46.249130 target → originator CIP CM 98 Service not supported: > > Connection Manager - Large Forward Open > > > > > > thanks for help: > > -Jukka > > > > ________________________________ > > > > Tämä sähköpostiviesti (liitteineen) saattaa sisältää luottamuksellista > > tietoa, joka on tarkoitettu > > vain vastaanottajalleen. Jos et ole oikea vastaanottaja, ilmoita viestin > > lähettäjälle tapahtuneesta > > virheestä ja tuhoa viesti välittömästi. Viestin luvaton julkaiseminen, > > kopioiminen, jakelu tai muu > > käyttö tai toimenpiteisiin ryhtyminen sen perusteella on ehdottomasti > > kielletty. > > > > This message (including any attachments) may contain confidential > > information intended for > > the person or entity to which it is addressed. If you are not the > intended > > recipient, notify the > > sender and delete this message immediately. Notice that disclosing, > > copying, distributing or any > > other use of the message and its information, or taking any action based > > on it, is strictly prohibited. > > > > ________________________________ > > >