ads-client icon indicating copy to clipboard operation
ads-client copied to clipboard

Get events/alarms/messages from TcEventLogger

Open chrissyheb opened this issue 1 year ago • 3 comments

Hi everyone, I'm implementing a JavaScript visualization for a TwinCAT PLC, where I am using the Eventlogger to create/send alarm messages. Beckhoff provides only a C# library for interaction with TcEventlogger. Is the reception of event logger messages possible with ads-client? If not, is there another possibility to receive the event messages/alarms with JavaScript? Thanks Chrissy

chrissyheb avatar Nov 13 '23 14:11 chrissyheb

Hi

I have created a code for twincat logger (NOT event logger). https://gist.github.com/jisotalo/80b01d590666dc19b228c732353820a1

It should be possible to create one for TcEventLogger as well. Perhaps somebody could create that, unfortunately I don't have spare time to work on it without a cost at the moment.

If you are located in Europe, I am also able to invoice, if you would like to have a paid solution for this. You can send me email if you are interested.

Of course I would be very happy if someone creates an open source version for everyone to use!

jisotalo avatar Nov 14 '23 07:11 jisotalo

Hi, thank you for the hint. I will take a look and try to implement a solution. I will post it here if I get it working.

chrissyheb avatar Nov 15 '23 07:11 chrissyheb

👍 Check also this post: https://jisotalo.fi/subscribing-to-twincat-logger-in-nodejs/

jisotalo avatar Nov 15 '23 08:11 jisotalo