Promotic

AutoSendEnabled - property of the PmaCommGroup object

Description:
Enable/disable automatic sending when writing to the item.
Syntax:
Boolean AutoSendEnabled
Note:
Property access for read and write. The default value of this property is defined in the "Auto send when writing to item" configurator of this object.
 
If the value of the property is true, then if the variable is written into then the value of this variable is transmitted to communication immediatelly (at writing into data defined on the "Data" tab and also at writing into the PmaData object data containing ExtComm).

- For some communication types this functionality is disabled (e.g. for the PmIEC8705 communication driver, where the data is sent after requested from the other side).
- If you write into more items of this object at a time, then the transmission is invoked for each item separatelly!
- Communication messages for sending data are set to high priority automatically - i.e. these messages skip over all lower priority messages in the communication queue.
See also:
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oCommGroup = pMe.Pm("/Comm/Group1");
oCommGroup.AutoSendEnabled = true;

History:
Pm8.03.17: Created
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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