Promotic

Object PmaOpcDaClientGroup (OPC client data)

Description:
See: PmaOpcDaClientGroup - Deatiled object description

The object serves to the definition of the data group that will be shared between the OPC server and OPC client.

No other Pma objects can be created in this object.
The PmaOpcDaClientGroup object can be created only in the PmaOpcDaClient object. There can be even more PmaOpcDaClientGroup objects in the PmaOpcDaClient 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:
ActiveGroupFlag whether the data group is active
CountThe number of variables in the object
DeadbandThe dead band in percentage
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
Read()Reading the defined data block in the group from the OPC server
Refresh()Reading all values of the data group from the OPC server
UpdateEnable/disable the automatic data update
UpdateRateThe minimum update rate in milliseconds
Write()Writing the defined data block in the group to the OPC server
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 OPC server
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 data group parameters of the OPC client
DataData definition of the OPC group
Related objects:
PmVar(Variable) Object represents one data item of the object
ExtOpcDaData extension for connection to the OPC DA communication.

History:
Pm9.00.00: Object name changed: PmOpcDaClientData -> PmaOpcDaClientGroup
Pm8.03.00: The ""onDataReceive" event" configurator can be set to "A = call the event 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.00.00:
- Definition of the data group that will be shared between OPC server and OPC client to add multiple OPC variables simultaneously into the "Data" tab. Procedure: in the button select "Import from the OPC server" and then in the "Viewing the OPC server address space" window select multiple items.
- better security for assigning values when configuring the object both for read and write (i.e. if the "Refresh from server at server change" and "Auto send to server when writing to item" configurator).
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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