apache-plc4x

Can Netty automatically handle queueing of requests?

断了今生、忘了曾经 提交于 2021-02-08 07:28:31
问题 In the Apache PLC4X project (https://plc4x.apache.org) we are implementing drivers for industrial PLCs using Netty. Here usually a variety of protocols are layered. Some times one layer requires us to split up one message into multiple messages of the underlying layer. Now we are facing one big problem: One protocol negotiates a maximum number of unconfirmed messages per connection. So we can't send more messages to that than this maximum or the receiver will simply send an error response.

Plc4x addressing system

蓝咒 提交于 2020-01-25 08:22:09
问题 I am discovering the Plc4x java implementation which seems to be of great interest in our field. But the youth of the project and the documentation makes us hesitate. I have been able to implement the basic hello world for reading out of our PLCs, but I was unable to write. I could not find how the addresses are handled and what the maskwrite , andMask and orMask fields mean. Please can somebody explain to me the following example and detail how the addresses should be used? @Test void