Object PmaCommGroup (Communication data)
Description:
See:
PmaCommGroup - Deatiled object description
The object serves to define the data group, that will be read/written via the corresponding communication.
No other
Pma objects can be created in this object.
The
PmaCommGroup object can be created only in the
PmaComm object (if the selected protocol supports the usage of the
PmaCommGroup object). There can be more
PmaCommGroup 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:
Licences for PROMOTIC runtime environment).
This object inherits properties, methods and events of the
PmaObject object.
Properties and methods of this object:
Properties and methods inherited from the PmaObject object:
AddEvent() | Registers a function into the specified event |
GetInfo() | Returns the Info object with the specified name |
GetOwnedByIndex() | Returns the subobject defined by its index |
GetOwnedByName() | Returns reference to the subobject defined by its name |
GetOwnedByType() | Array of references to the subobjects |
GetOwnedNum() | Returns number of subobjects in the object |
GetPar() | Reading the value of the Pma object parameter (or its parents) |
GetPathName() | Object name with the path to this object |
GetPermission() | Returns permission of corresponding operation from object |
Methods | Access to designer's methods of this object |
Name | Object name (without the path) |
Parent | Returns reference to the parent Pma object |
Pm() | Returns reference to the Pma object or to its implementation subobject |
RemoveEvent() | Unregisters the function in the specified event |
Root | Returns reference to the root application object PmaRoot |
Events of this object:
onDataReceive | Is triggered after the data receipt from the communication |
onDataSend | Is triggered after sending the data to communication |
Events inherited from the PmaObject object:
onStart | Is triggered for each object in runtime only once at the beginning |
onStop | Is triggered for each Pma object in runtime only once at the stop of the application |
Configuration tabs:
Object | General information about the object |
Events | Definition of object events algorithms |
Parameters | Definition of the communication data group parameters |
Data | Communication group data definition |
Related objects:
PmVar | (Variable) Object represents one data item of the object |
ExtComm | Data extension for connection to the PmaCommGroup object |
History:
Pm9.00.00: Object name changed:
PmCommData ->
PmaCommGroup
Pm8.03.28:
Fixed bug: Calling the
Refresh method caused interruption of periodical communication of this object.
Pm8.03.00:
The ""onDataReceive" event" configurator can be set to "
A = call for all registered variables (in this object and also in other PmaData objects)".
This way it is possible to check any change of any variable in the
onDataReceive event.
Pm8.01.01:
Fixed bug: In the "
Value recalculation" configurator the
d constant when converted from older projects was set to
0 (instead of
1) - bug since
Pm8.1.0 version.