AutoRunEnabled - property of the PmaCommMsg object
Enable/disable the automated transmissions.
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
var oCommMsg = pMe.Pm("/Comm/mr");
oCommMsg.AutoRunEnabled = true; //false