How to avoid error on popup when setpoint values are out of my control?

Hi again!

Today, my first roadblock is I have a PLC where neither the programmer or operator has set their alarm setpoints to a reasonable value, for, say... most of the tags!

Worse, there are absolutely NO BOUNDS on the PanelView setpoint ranges, a huge oversight (or sheer laziness) IMHO. Everything is happily default:


Yikes...

ANYWAY, I tried setting the property of the setpoint input field in Ignition to disabled when the alarm setpoint is disabled, however, I keep getting the error:

Is there a script I can write, and where, to avoid this on my popup? I am using UDT, and if I can program something in there, maybe that is a better option.

Thanks!

Then you cannot enforce bounds in Ignition with the built-in features. You must check for out-of-bounds yourself, highlight in your UI where that is true, and prevent "save" or "write" from pushing the invalid value back to the PLC.

And yes, you won't be able to bidirectionally bind from entry field to tag.

I mark the numeric entry as disabled if the alarm itself is disabled, but that doesn't stop an error from being thrown anyway. May I prevent the value from being bound using an expression, rather than an indirect tag binding? Would that even stop the error?

It's a frustrating first project. I usually program the PLCs, and this would not happen under my watch.

What I did to avoid errors, was to paste the insane High and Low default bounds number on my four alarm setpoint numeric fields, under Max and Min Value..
(for those following this, the number is + or - 150,000,000,274,887,790,000,000,000,000,000,000,000.0)

I set each default Ignition Numeric Entry field type to Float and default value of 0.0

Now the error does not show.

HOWEVER, the programmer really must fix this, it's insanity...