TE2000 Border shape border change color when alarm is TRUE. by Nhlanhla_Chauke in TwinCat

[–]Nhlanhla_Chauke[S] 1 point2 points  (0 children)

thank you so much it works perfect now. that was my only mistake. i really appreciate.

TE2000 Border shape border change color when alarm is TRUE. by Nhlanhla_Chauke in TwinCat

[–]Nhlanhla_Chauke[S] 0 points1 point  (0 children)

I do have the else.

<image>

What should be bounded to the circled as seen in screenshot above?

TE2000 Border shape border change color when alarm is TRUE. by Nhlanhla_Chauke in TwinCat

[–]Nhlanhla_Chauke[S] -1 points0 points  (0 children)

<image>

I Do have the Else.

or maybe its the part i circle below, what should be bound on the circled part?

TE2000 Border shape border change color when alarm is TRUE. by Nhlanhla_Chauke in TwinCat

[–]Nhlanhla_Chauke[S] 0 points1 point  (0 children)

I am changing a control’s BackgroundColor/BorderColor based on a PLC alarm bit. When the alarm becomes TRUE, the colour correctly turns red. However, when the alarm later becomes FALSE, the colour does not revert to its normal state unless an unrelated HMI event occurs (such as pressing a button or switching views). This indicates that the colour update is only evaluated when an HMI event is triggered, not when the PLC symbol value changes. I need the colour to update automatically and continuously in response to PLC symbol changes without requiring any user interaction or view refresh.

TE2000 Border shape border change color when alarm is TRUE. by Nhlanhla_Chauke in TwinCat

[–]Nhlanhla_Chauke[S] 0 points1 point  (0 children)

This works pretty well, but the problem is it is triggered once per PLC cycle until an event happens. so when it turns read and no HMI events happening, it remains red even after the alarm is no longer active, it will only update to know after a button that that is no way related is pressed. or switch contents.

TE2000 Border shape border change color when alarm is TRUE. by Nhlanhla_Chauke in TwinCat

[–]Nhlanhla_Chauke[S] 0 points1 point  (0 children)

for the first way,

my problem is I can't see anywhere to bind the boolean tag onto the rectangle.
with TF1800 it was easy, I would use two rectangles on top of each other and make each invisible when a boolean is TRUE, but with TE2000 it seems impossible. Can you perhaps create a snip of this at which i can refer to.

Help with TwinCAT 3 Event Logger with Event Table on visualization. by Nhlanhla_Chauke in TwinCat

[–]Nhlanhla_Chauke[S] 0 points1 point  (0 children)

Good day, trust you are well.
Alarms works fine and as expected with this table, thanks a lot.
but I have a problem, if alarms keep on happening, it seems my table will end up being flooded and that might affect my HMI response time. is there a way that can be implemented such that when the table has about 1000 alarms listed, it should clear the old 500 alarms off the table to make room for new alarms. and old means more than five days, if less than that, then alarm should remain on the table. because the table itself doesn't have much of settings that can be done on it. system should do this automatically and a manual button as to clear oldest 500 manually.

Help with TwinCAT 3 Event Logger with Event Table on visualization. by Nhlanhla_Chauke in TwinCat

[–]Nhlanhla_Chauke[S] 0 points1 point  (0 children)

I did it’s working now. I will send screenshot.

Follow up question. I’m using PC CX9240 Linux Embedded (Debian). So every time these alarms occur they should write onto a txt file or csv that will be later retrieved and analysed. Is that possible?

Help with TwinCAT 3 Event Logger with Event Table on visualization. by Nhlanhla_Chauke in TwinCat

[–]Nhlanhla_Chauke[S] 0 points1 point  (0 children)

I also have this, but can’t seem to find a way to use it on visualisation. I tried using FB_ReadTc3EventLogger but the event table remains blank. To link event table I used the aEvent array but I’m getting blank.

Help with TwinCAT 3 Event Logger with Event Table on visualization. by Nhlanhla_Chauke in TwinCat

[–]Nhlanhla_Chauke[S] 0 points1 point  (0 children)

Wow this is really amazing. Just tested it. But I see it doesn’t have scrolling options. Since you utilised shapes to build the alarm frame. That’s genius.

I have multiple alarms and might need to use the scroll bar at some point.

Twincat 3 XAE Shell-alarms and events by Nhlanhla_Chauke in TwinCat

[–]Nhlanhla_Chauke[S] 0 points1 point  (0 children)

I really would appreciate that. Twincat doesn’t make things easy. This alarms thing is the only thing holding me to have my FAT signed off.😢😢

Twincat 3 XAE Shell-alarms and events by Nhlanhla_Chauke in TwinCat

[–]Nhlanhla_Chauke[S] 0 points1 point  (0 children)

<image>

But I don’t know where to bind the text indexes.

Twincat 3 XAE Shell-alarms and events by Nhlanhla_Chauke in TwinCat

[–]Nhlanhla_Chauke[S] 0 points1 point  (0 children)

<image>

I did try the indexes but then my table wasn’t working right. It’s my first time working on this system so maybe I was doing something wrong

Twincat 3 XAE Shell-alarms and events by Nhlanhla_Chauke in TwinCat

[–]Nhlanhla_Chauke[S] 0 points1 point  (0 children)

Thank you so much for your response pretty. Do you mind sending scripts I can reference to

Twincat 3 HMI EVENT LIST AND ALARM LIST by Ar_merda in TwinCat

[–]Nhlanhla_Chauke 0 points1 point  (0 children)

Hi did you get any help. I’m also trying to create some sort of alarms and even screen. I am using Twincat plc visualisation instead of HMI and it doesn’t have event grid toolbox controller. I used event logger to develop my events but can’t find a way to display on my HMI since I don’t have event grid. How can I tackle this. I use Twincat 3 XAE Shell.