Object PmaOpcDaClientGroup (OPC client data)
This object inherits properties, methods and events of the
PmaObject object.
Properties and methods of this object:
ActiveGroup | Flag whether the data group is active |
Count | The number of variables in the object |
Deadband | The 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 |
Update | Enable/disable the automatic data update |
UpdateRate | The 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 |
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 receiving the data from the OPC server |
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 data group parameters of the OPC client |
Data | Data definition of the OPC group |
Related objects:
PmVar | (Variable) Object represents one data item of the object |
ExtOpcDa | Data 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 = trigger 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.