Promotic
WikipediaLinkedInYoutubeTwitterFacebook

AutoRunEnabled - property of the PmaCommMsg object

Description:
Enable/disable the automated transmissions.
Syntax:
Boolean AutoRunEnabled
Note:
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 Master type (i.e. if the "Message type" configurator is set to "Master").
Example:
JavaScriptVBScriptSelect and copy to clipboard

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

History:
Pm8.00.01: Created
PROMOTIC 9.0.15 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