Also give the latest branch a try again, may have just been an easy fix?

On Tue, Jul 5, 2022 at 8:09 AM Ben Hutcheson <[email protected]> wrote:

> Hi Patrick,
>
> I have been doing some work on this lately and was wondering if you'd like
> to test out the changes on the eip_update branch?
>
> You should be able to use a connection string like
>
> "logix:tcp://192.168.1.12:44818?communicationPath=1,4"
>
> Instead, as well as not needing to include a % in front of the field
> address.
>
> I'd also be interested to see if you needed to make any changes to the
> code to get it work and what device you are using?
>
> Kind Regards
>
> Ben
>
>
>
> On Tue, Jul 5, 2022 at 6:14 AM Patrick Boisclair <[email protected]>
> wrote:
>
>> Hi all,
>>
>>
>>
>> I’m currently trying to WRITE a BOOL value to an Allen Bradley over
>> Ethernet/IP.
>>
>> Reading the values works just fine. Reading and WRITING DINT values works
>> as well.
>>
>>
>>
>> However, when writing a BOOL it hangs and then fails with:
>>
>> 2022-07-04 16:08:38.289 [nioEventLoopGroup-5-1] WARN
>> i.n.channel.DefaultChannelPipeline - An exceptionCaught() event was fired,
>> and it reached at the tail of the pipeline. It usually means the last
>> handler in the pipeline did not handle the exception.
>>
>> java.net.SocketException: Connection reset
>>
>>                 at
>> java.base/sun.nio.ch.SocketChannelImpl.throwConnectionReset(SocketChannelImpl.java:394)
>>
>>                 at
>> java.base/sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:426)
>>
>>                 at
>> io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:258)
>>
>>                 at
>> io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1132)
>>
>>                 at
>> io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:350)
>>
>>                 at
>> io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:151)
>>
>>                 at
>> io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:722)
>>
>>                 at
>> io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:658)
>>
>>                 at
>> io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:584)
>>
>>                 at
>> io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:496)
>>
>>                 at
>> io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986)
>>
>>                 at
>> io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
>>
>>                 at
>> io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
>>
>>                 at java.base/java.lang.Thread.run(Thread.java:833)
>>
>>
>>
>> In fact all those values (see image) works for reading (ALL WORK) and
>> writing (BOOL ONLY FAILS):
>>
>>
>>
>>
>>
>> My connection string is:   eip://x.x.x.x?backplane=1&slot=0
>>
>>
>>
>> For example: trying to WRITE to: %Rejet_Boite_OK:BOOL fails. Reading
>> works.
>>
>>
>>
>> Any input on this ?
>>
>>
>>
>> Ty all for your help really appreciated
>>
>>
>> Patrick Boisclair​
>> Analyste ‑ Programmeur senior
>> Senior Analyst Programmer
>> *noovelia.com* <https://www.noovelia.com/fr-ca/accueil>
>> [image: Facebook] <https://www.facebook.com/noovelia>
>> [image: LinkedIn] <https://www.linkedin.com/company/noovelia> [image:
>> Vimeo] <https://vimeo.com/noovelia>
>> [image: Noovelia.com] <https://www.noovelia.com/fr-ca/accueil>
>>
>

Reply via email to