Why so many alarms at the same time?

Hi, I create a UDT like this.

sometimes, many alarms occur at same time. But the device didn't have alarms.

Probably cause you're evaluating a low value, I assume you mean high value.

Sorry, I don't understand.

Right now your alarms will alarm when the bit turns off. If you want it to only alarm when the bit turns on (more likely), then you need to change the condition to high instead of low.

1 Like

getBit({[.]Alarm_Int},3) = 1 ?

What you should really be doing is setting the alarms on the Alarm_Int tag (or rename the Alarm_Int tag to just Alarms), then set the mode to "Bit State" and put in the bit you want to use for that alarm.

Thanks, I will try.