Hello,
The component was written log time ago, then donated to Apache Camel. Sadly docs didn't follow.

Overall, what you need to look at is `tags` parameter. By reading it, and knowing plc4x I presume its something like that:

plc4x:modbus-tcp://127.0.0.1:502/?tag.first=discrete-input:100&tag.second=discrete-input:1001&period=1000

This should produce a Map{first=.,second=.} as a payload.

Be aware, that mixing various tags may actually cause multiple requests, and may behave differently between devices/drivers.

Best,
Łukasz Dywicki

On 10/7/25 12:43, Claus Ibsen wrote:
Hi

I am afraid we only have a bit in the docs and source code, you can take a
look at.
However plc4j has plenty of docs, and its usually a matter of setting up
the driver and its custom configuration. And potentially some tags and
whatnot.

Christoph the creator of plc4j has service offerings around this project
and he would be able to help much more.
And if you are serious on using this, then it may be worth to have a
commercial engagement with Christophs company.



On Mon, Oct 6, 2025 at 5:20 PM Mark Webb <[email protected]> wrote:

I’ve been looking for some examples of how to use the Camel PLC4x component
with a modbus-tcp driver and can’t find anything other than some
documentation.  Has anyone gotten this to work in Camel and have some
examples I can look at?




Reply via email to