AutoRunEnabled - property of the PmaCommMsg object

Enable/disable the automated transmissions.
Boolean AutoRunEnabled
Property access for read and write. The preset value of this property is defined in the "AutoRun transfer enabled" configurator of this object.
If the automated transmissions are enabled, then the Run method will be called automatically with the period defined in the "Transfer period [ms]" configurator (set in the AutoRunPeriod property).

This property is functional only if the message is of the Master type (i.e. if the "Message type" configurator is set to "Master").
See also:
JavaScriptVBScriptSelect and copy to clipboard

var oCommMsg = pMe.Pm("/Comm/mr");
oCommMsg.AutoRunEnabled = true;   // false

Pm8.00.01: Created
PROMOTIC 9.0.23 SCADA system documentation MICROSYS, spol. s r.o.

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