Jeffer
Recently I have a project to study soft-plc, OpenPLC maybe is a nice choice. Following the documentation,I finally install OpenPLC on my PC with win10。But now I face the situation that OpenPLC support the serial communication such as Modbus, RS485. How to support EtherCAT to meet the require of using OpenPLC as EtherCAT master?

Looking forward your support
Reply 0 0
thiagoralves
OpenPLC does not have any support for EtherCAT. If you want to add support, you will have to write the code for that.
Reply 0 0
mbunds
Apologies for popping-in everywhere Dr. Alves, but I plan on looking at OPC to close the gap for unsupported protocols.

Wouldn't OPC serve as a work-around for performing protocol conversion for OpenPLC Runtime instances?

I've done some superficial information gathering for open-source OPC servers and clients, and although their driver libraries are a bit anemic, they appear to have promise...
Reply 0 0
thiagoralves
There are some discussions here on the forum about OPC. The original OPC is dead, but the addition of OPC-UA to OpenPLC would be very welcomed. There was one attempt in the past, but the guy wrote an OPC-UA client, instead of an OPC-UA Server, so that was discarded.
Reply 0 0
mbunds

Results are a bit far out at the moment, but I have dusted-off an old seat of KepServer OPC DA (from the days before "pay-us-forever"), only for early testing, which could help close the driver-compatibility gap.

Integrating an OPC server/client as a package for the OpenPLC Editor seems a bit daunting, but I have some research to do regarding open-source versions providing OPC UA/DA functionality before even thinking about this.

But I have the feeling that sourcing hardware drivers will be a challenge, some having poor-performance, others likely having unavoidable license fees. I have an open-source Siemens driver for example, called "NoDave" (there's a history behind this, but you probably know already), which works "OK", but obviously does not perform as well as the native Siemens "ProDave" drivers.

Reply 0 0
r2k-in-the-vortex
Jeffer wrote:
How to support EtherCAT


Like so:
https://openplc.discussion.community/post/integrate-igh-ethercat-master-11660511?highlight=ethercat&trail=30

Do be aware the code is kind of raw and nobody but me has tried it yet. I highly encourage anyone to do so and give feedback, but please don't expect an easy ride.
Reply 0 0
Reply