Object PmaCommMsg (Communication message)

See: PmaCommMsg - Deatiled object description
The object serves to the definition of the format and data of one communication message.
No other Pma objects can be created in this object.

The PmaCommMsg object can be created only in the PmaComm object (if the selected protocol supports the usage of the PmaCommMsg object). There can be even more PmaCommMsg objects in the PmaComm object.

This object adds variables into the calculation of the application size, which influences the basic runtime licence type/size (see: Price list of the PROMOTIC system ).

This object adopts properties and methods of the PmaObject object.
Properties and methods:
AutoRunEnabled Enable/disable the automated transmissions
AutoRunPeriod The period of automated transmissions
GetCount Returns the number of transmissions
GetReady Detects whether the PmaCommMsg object is ready to transfer the message
LastErr Error number of the last communication message transfer
LastTextErr Text error description of last communication message transfer
ReadVars Access to variables on the "Data-received" tab
Run Command for transferring the message (only for messages of the Master type)
WriteVars Access to variables on the "Data-sent" tab
onBeginOfTransfer Is triggered always before transmitting the Master message starts
onDataReceive Is triggered after the successful data reading
onEndOfTransfer Is triggered after the transfer of the whole message
Configuration tabs:
Object General information about the object
Content Content of the object in the XML form
Events Definition of object events algorithms
Parameters Definition of the communication message parameters
Data-sent List of variables for the write
Data-received List of variables for the read
Related objects:
PmVar(Variable) Object represents one data item of the object

Pm9.00.00: Object name changed: PmCommMsg -> PmaCommMsg
Pm8.00.07: New configurators AutoRun transfer enabled and Transfer period [ms]. For communicaton by this object, in common cases, is not necessary call the Run method in the timer.
Pm8.00.01: New "AutoRun transfer enabled" configurator and a new the onBeginOfTransfer event allows to simplify the launching of periodical Master messages.
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