Roald87 / roald87.github.io

Mostly cooking and coding in TwinCAT.
https://cookncode.com
MIT License
4 stars 2 forks source link

twincat/2021/01/20/twincat-eventlogger-hmi-part #37

Open utterances-bot opened 2 years ago

utterances-bot commented 2 years ago

TwinCAT EventLogger: HMI part

In an earlier article I introduced the PLC part of the TwinCAT EventLogger and showed some useful features. In this article, I go into the details on how to visualize the events using TwinCAT’s web-based HMI (TE2000).

https://cookncode.com/twincat/2021/01/20/twincat-eventlogger-hmi-part.html

Shivaraj-Managond commented 1 year ago

Hi, Greetings,

Thanks you for sharing knowledge. Can we do filter in event logger by severity? Severity level should be greater than the warning displayed first (Error/Critical events). Example : Raise alarm(Error/Critical) and followed by Warning. In Event logger it should show first Alram(Error/Critical) and warning .

Roald87 commented 1 year ago

Hi @Shivaraj-Managond . Thanks!

You can filter events by their severity with the buttons on top of the EventViewer:

image

luban080 commented 8 months ago

Hi,

Do You know how to get jsonAttribute value? I know, I can get it by params::jsonAttribute but how can I get my defined attributes? I tried params::jsonAttribute:: but it doesn't work. I can't find solution in beckhoff docu.

Did anyone have any idea?

Roald87 commented 8 months ago

@luban080 maybe with a dot instead of ::?

luban080 commented 8 months ago

I found this. You must create function in JS for parsing by required key and return attribute value. So in custom column name I left "params::jsonAttribute" In "Format" for this custom column is needed to call this function.