apache / plc4x

PLC4X The Industrial IoT adapter
https://plc4x.apache.org/
Apache License 2.0
1.2k stars 389 forks source link

[Feature Request]: How to use plc4x build a cpp project #1363

Open YongningW opened 5 months ago

YongningW commented 5 months ago

What would you like to happen?

How to use plc4x build a cpp project? Is the plc4c ready for developers?

Programming Languages

Protocols

chrisdutz commented 5 months ago

Well I guess you could probably use PLC4C, but here we only have 3 drivers (PLC4X, Modbus and S7) and all drivers are very limited with respect to features. If using Go is an option, that is very much more advanced and supports a lot more drivers (However the S7 driver is the one that's currently disabled as it needs some refactoring)

YongningW commented 5 months ago

I wonder when to support Ethernet/IP protocol in PLC4C ?

chrisdutz commented 5 months ago

Well ... I would say: As soon as someone implements it or as soon as someone funds the work of someone else implementing it.

Even if it's possible to port drivers to C, it's still a language most PLC4X contributors rather stay away from.

I could imagine that a RUST implementation would gain more traction, but right now I would not like to give you an ETA on the EIP driver in C nor would I want to give you a guarantee that it will ever happen. (Unless you've got some time, funds or a combination of both)