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.
org.apache.plc4x.java.api.exceptions.PlcConnectionException: Error creating
channel.
at
org.apache.plc4x.java.spi.connection.NettyChannelFactory.createChannel(NettyChannelFactory.java:115)
at
org.apache.plc4x.java.spi.connection.DefaultNettyPlcConnection.connect(DefaultNettyPlcConnection.java:89)
at
org.apache.plc4x.java.PlcDriverManager.getConnection(PlcDriverManager.java:74)
at
org.apache.plc4x.java.examples.helloplc4x.HelloPlc4x.main(HelloPlc4x.java:45)
Caused by: java.lang.IllegalStateException: incompatible event loop type:
io.netty.channel.nio.NioEventLoop
at
io.netty.channel.AbstractChannel$AbstractUnsafe.register(AbstractChannel.java:462)
at
io.netty.channel.SingleThreadEventLoop.register(SingleThreadEventLoop.java:87)
at
io.netty.channel.SingleThreadEventLoop.register(SingleThreadEventLoop.java:81)
at
io.netty.channel.MultithreadEventLoopGroup.register(MultithreadEventLoopGroup.java:86)
at
io.netty.bootstrap.AbstractBootstrap.initAndRegister(AbstractBootstrap.java:322)
at io.netty.bootstrap.Bootstrap.doResolveAndConnect(Bootstrap.java:159)
at io.netty.bootstrap.Bootstrap.connect(Bootstrap.java:143)
at
org.apache.plc4x.java.spi.connection.NettyChannelFactory.createChannel(NettyChannelFactory.java:99)
... 3 more
Any ideas on where this comes from? In Studio5000 the PLC is on the slot 4 and
I am connected to a swtich on IP: 163.243.183.250 and here's the plc4x uri:
"ab-eth://163.243.183.250/".
BR,
Etienne