Promotic

onLimAction - event of the PmaNumberLim object

Description:
The event is triggered after the requirements on its triggering defined in the "Fire "onLimAction" event" configurator.
Parameters:
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) [for reading] 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) [for reading] Current value of the limit defined by this object
pEvent.New - (Double) [for reading] The value of the PmaNumber object after the last writing into this value.
pEvent.Old - (Double) [for reading] The value of the PmaNumber object before the last writing into this value
Example:
JavaScriptVBScriptSelect and copy to clipboard

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

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.