[Etherlab-users] Home Automation / Beyond EtherCAT Master in C

Gavin Lambert gavin.lambert at tomra.com
Wed Sep 18 11:12:00 CEST 2024


If you’re interested in SII browsing, you may want to look at https://synapticon.github.io/siitool/

Gavin Lambert

Software Engineer



[cid:TOMRA_CMYK_final_size_times_two_cd761a01-1d1f-446e-9316-8012271820b6.png]
 [cid:TF-FB-icon_b77c57e4-4990-4f9d-b3a2-8e6ab45df7f2.jpg] <https://www.facebook.com/TOMRA.Food/>  [cid:TF-LinkedIn-icon_d54c4829-dcb9-450c-9187-34b26e85ebaa.jpg] <https://www.linkedin.com/company/tomra-food/>  [cid:icons-social-media-twitter_small_2_4bae5ad2-4add-4314-a352-5b317f784956.jpg] <https://twitter.com/TOMRAFood>  [cid:TF-Youtube-icon_8b2c830c-70d9-48da-a4db-db9191d346ba.jpg] <https://www.youtube.com/playlist?list=PLDD3B1A7BAE919EC6>  [cid:TOMRAinstagram_45b30c55-490a-4f32-8fd3-998c152e3494.jpg] <https://www.instagram.com/tomrafood/>
 Compac Sorting Equipment Ltd | 4 Henderson Place | PO Box 13 516 | Onehunga 1061 | New Zealand

 Phone: +64 96 34 00 88 | https://www.compacsort.com
The information contained in this communication and any attachment is confidential and may be legally privileged. It should only be read by the person(s) to whom it is addressed. If you have received this communication in error, please notify the sender and delete the communication.
From: Etherlab-users <etherlab-users-bounces at etherlab.org> On Behalf Of Karl Zeilhofer
Sent: Wednesday, September 18, 2024 3:35 AM
To: etherlab-users <etherlab-users at etherlab.org>
Subject: Re: [Etherlab-users] Home Automation / Beyond EtherCAT Master in C



Dear Mr. Hagemeister,

thanks for your insights!
How does it come, that I never stumbled over that architecture graphic?
That's why I think a Wiki would be great - actually there is one as Gavin reported: https://gitlab.com/groups/etherlab.org/-/wikis/home
How could we contribute to this Wiki?

I'm rather familiar with Qt, but not with QML.

Nowadays - especially in the consumer market - things should be controllable via mobile devices. That's why a Web UI would be required for us.
BTW: Yesterday I wrote a simple text UI for Linux shells to browse ESI (XML) files: https://codeberg.org/Zellhoff/ethercat-esi-browser

Kind regards,
Karl Zeilhofer
On 9/17/24 17:03, Dr.-Ing. Wilhelm Hagemeister wrote:
Hallo Karl,

you guessed right. The other components on etherlab.org are mainly for gui integration and connection to non realtime services.
You are looking for pdserv (on the server side) and pdcom (on the client side) for the (network) communication to/from the realtime task(s), managing all the data buffering and locking stuff between realtime and non realtime parts of your control application, opening (multiple) sockets... Look at the example in pdserv.

QtPdCom1, QtPdWidgets2 and PdQmlWidgets are your friends if you want to write gui applications who connect to realtime tasks (via network).

Testmanager(-ng) is a gui for visualizing control process data.

DLS is a service (and gui) for long term data storage.

We do not have a bus state monitor yet (apart from the ethercat commands); but it would be a cool tool but non of us had time to realize it up until now.


[cid:image001.png at 01DB0A0F.64010FE0]
Best regards,
Wilhelm Hagemeister

Ingenieurgemeinschaft IgH Gesellschaft für Ingenieurleistungen mbH
Nordsternstraße 66
D-45329 Essen
igh.de<https://igh.de> | EtherLab<https://etherlab.org> | LinkedIn<https://de.linkedin.com/company/igh-gmbh>
Amtsgericht Essen | HRB 11500 | USt-Id.-Nr.: DE 174 626 722
Geschäftsführung: Frederik Becker, M.Sc. und Dr.-Ing. Siegfried Rotthäuser
Am 17.09.24 um 02:26 schrieb Karl Zeilhofer:

Hi,

I did some minor projects with the IGH EtherCAT master. I wrote some C programs, which use the ethercat library to access slave data.

I'm wondering, how to go on from there.

How should a HMI connection be implemented? Are Unix sockets the way to go?

Are there projects, to visualize the complete busstate in a non-realtime fashion via a web-UI?
Or are there home automation efforts already done with EtherCAT/Beckhoff, but without the clumsy TwinCAT system?

I'd like to implement something like this:

[cid:image002.png at 01DB0A0F.64010FE0]

How do the side projects of IGH Etherlab help here?
https://docs.etherlab.org/

Kind Regards,
Karl

--

Karl Zeilhofer
Design Mechatronischer Systeme

eMail: karl at zeilhofer.co.at<mailto:karl at zeilhofer.co.at> (GPG-Verschlüsselung<http://www.zeilhofer.co.at/official/doku.php?id=gpg-key>)
Tel: +43 660 6591574

________________________________

Mechatronik Karl Zeilhofer
Steinbach 13, 4562 Steinbach am Ziehberg, AUSTRIA
zeilhofer.co.at<http://zeilhofer.co.at>



--

Karl Zeilhofer
Design Mechatronischer Systeme

eMail: karl at zeilhofer.co.at<mailto:karl at zeilhofer.co.at> (GPG-Verschlüsselung<http://www.zeilhofer.co.at/official/doku.php?id=gpg-key>)
Tel: +43 660 6591574

________________________________

Mechatronik Karl Zeilhofer
Steinbach 13, 4562 Steinbach am Ziehberg, AUSTRIA
zeilhofer.co.at<http://zeilhofer.co.at>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20240918/e31eec75/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 165455 bytes
Desc: image001.png
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20240918/e31eec75/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 57044 bytes
Desc: image002.png
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20240918/e31eec75/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TOMRA_CMYK_final_size_times_two_cd761a01-1d1f-446e-9316-8012271820b6.png
Type: image/png
Size: 6455 bytes
Desc: TOMRA_CMYK_final_size_times_two_cd761a01-1d1f-446e-9316-8012271820b6.png
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20240918/e31eec75/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TF-FB-icon_b77c57e4-4990-4f9d-b3a2-8e6ab45df7f2.jpg
Type: image/jpeg
Size: 10123 bytes
Desc: TF-FB-icon_b77c57e4-4990-4f9d-b3a2-8e6ab45df7f2.jpg
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20240918/e31eec75/attachment-0005.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TF-LinkedIn-icon_d54c4829-dcb9-450c-9187-34b26e85ebaa.jpg
Type: image/jpeg
Size: 10214 bytes
Desc: TF-LinkedIn-icon_d54c4829-dcb9-450c-9187-34b26e85ebaa.jpg
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20240918/e31eec75/attachment-0006.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: icons-social-media-twitter_small_2_4bae5ad2-4add-4314-a352-5b317f784956.jpg
Type: image/jpeg
Size: 2256 bytes
Desc: icons-social-media-twitter_small_2_4bae5ad2-4add-4314-a352-5b317f784956.jpg
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20240918/e31eec75/attachment-0007.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TF-Youtube-icon_8b2c830c-70d9-48da-a4db-db9191d346ba.jpg
Type: image/jpeg
Size: 10218 bytes
Desc: TF-Youtube-icon_8b2c830c-70d9-48da-a4db-db9191d346ba.jpg
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20240918/e31eec75/attachment-0008.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TOMRAinstagram_45b30c55-490a-4f32-8fd3-998c152e3494.jpg
Type: image/jpeg
Size: 10303 bytes
Desc: TOMRAinstagram_45b30c55-490a-4f32-8fd3-998c152e3494.jpg
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20240918/e31eec75/attachment-0009.jpg>


More information about the Etherlab-users mailing list