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
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|
|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|
|PmVar||(Variable) Object represents one data item of the object|
: Object name changed: PmCommMsg
: Fixed bug
: and PmaCommGroup
: these objects were sometimes terminated incorrectly when application stopped.