Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Object PmaCommMsg (Communication message)

Description:
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 license type/size (see: Price list of the PROMOTIC system ).

This object adopts properties and methods of object PmaObject.
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" page
Run Command for transferring the message (only for messages of the Master type)
WriteVars Access to variables on the "Data-sent" page
Events:
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 windows:
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

History:
Pm9.00.00: Object name changed: PmCommMsg -> PmaCommMsg
PROMOTIC 9.0.3 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