DbMultiSetAlarm - method of the AtouchX object

Sets alarm monitoring to multiple variables.
The method sets the monitoring of alarms (external entries) of the variable group according to the specified Station value. The monitoring is set for all variables that have an owner identical to the specified Station value. If Station is set to -1 (minus one), then all variables are tracked. From the calling of the DbResetAlarm method, each write to the monitored variable will trigger the DbAlarm event until cancellation by the DbResetAlarm method or the termination of the object.
The Param value also serves as an identifier when cancelling an alarm, while the 0 value is used to cancel all alarms.
Integer DbMultiSetAlarm(Long Station, Long Param)
Station(Long) Number of the station whose variables are used to set the alarm.
Param(Long) The value that is passed unchanged to the alarm event.
Return value:
JavaScriptVBScriptSelect and copy to clipboard

var oATC = pMe.Pm("/AtouchApp").Acx;
var nStation = 2;
var nParam = 40;
var nInfo = oATC.DbMultiSetAlarm(nStation, nParam);
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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