Promotic

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:
AutoSendEnabledEnable/disable automatic sending when writing to the item
CountThe number of variables in the object
GetCount()Returns the number of transfers
GetSpecParam()Returns some values in the "Special Parameters" configurator
GetVarExtensions()Array of all data extensions registered into this object
Item()Access to variables of the PmVar type of this object
ItemEx()Access to variables of the PmVar type of this object
LastErrError number of the last of the transmission komunikační of the message
LastTextErrText error description of last message transfer
Refresh()Reading all values of the data group
SetSpecParam()Sets some values in the "Special Parameters" configurator
UpdateEnabledEnable/disable the automatic data update
UpdateRateThe minimum update rate in milliseconds
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
MethodsAccess to designer's methods of this object
NameObject name (without the path)
ParentReturns 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
RootReturns reference to the root application object PmaRoot
Events of this object:
onDataReceiveIs triggered after the data receipt from the communication
onDataSendIs triggered after sending the data to communication
Events inherited from the PmaObject object:
onStartIs triggered for each object in runtime only once at the beginning
onStopIs triggered for each Pma object in runtime only once at the stop of the application
Configuration tabs:
ObjectGeneral information about the object
EventsDefinition of object events algorithms
ParametersDefinition of the communication data group parameters
DataCommunication group data definition
Related objects:
PmVar(Variable) Object represents one data item of the object
ExtCommData 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.02.09: Fixed bug: Sometimes the import/export to CSV file did not work correctly.
Pm8.02.01: GetSpecParam and SetSpecParam new methods. These methods allow to read/modify the preset PLC address in some communication drivers ("SlaveAddr").
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.
Pm8.01.00:
- New "Priority data refresh" configurator.
- In the "Value recalculation" configurator, there is a new constant (d) for easier whole number transformation.
Pm8.00.00: Created
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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