onLimAction - event of the PmaNumberLim object

The event is triggered after the requirements on its calling defined in the "Fire "onLimAction" event" configurator.
pMe(Object) Reference to the PmaNumberLim object where the event rises.
pEvent(Object) Reference to object describing detailed information about the specific event.
pEvent.State - (Boolean) Takes the following values:
true - If new value (pEvent.New) of the PmaNumber object didn't exceed the defined limit (pEvent.Limit).
false - Otherwise
pEvent.Limit - (Double) Current value of the limit defined by this object
pEvent.New - (Double) The value of the PmaNumber object after the last writing into this value.
pEvent.Old - (Double) The value of the PmaNumber object before the last writing into this value
JavaScriptVBScriptSelect and copy to clipboard

if (! pEvent.State)
Pm.Debug("Limit=" + pEvent.Limit + ", NewValue=" + pEvent.New);
PROMOTIC 9.0.17 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice