Promotic

Object PmaOpcDaClient (OPC client)

Description:
The object connects the PROMOTIC application (as OPC client) to the OPC server.

In the PmaOpcDaClient object it is possible to create the PmaOpcDaClientGroup object where required data are defined. There can be more PmaOpcDaClientGroup objects in the PmaOpcDaClient object.
This object can be created in objects: PmaRoot, PmaFolder, PmaPrototype. Multiple objects of this type can be created in such objects.
The usage of the PmaOpcDaClient object requires purchase of the "PmOPC" licence. When developing the application in the freeware mode PmFree, or with development environment and while testing it in runtime, this component is always functional.

The PmaOpcDaClient object can be connected to the OPC server. For the OPC standard description see Communication by OPC DA interface.
The OPC server can be on the same or on another computer as the PROMOTIC application. If it is on another computer (see the "Run on computer" configurator), then it is necessary to set the DCOM network service correctly. See: Configuration of the DCOM interface for OPC-DA server.
This object inherits properties, methods and events of the PmaObject object.
Properties and methods inherited from the PmaObject object:
AddEventRegisters a function into selected event
GetInfoReturns the Info object with the specified name
GetOwnedByIndexReturns the subobject defined by its index
GetOwnedByNameReturns reference to the subobject defined by its name
GetOwnedByTypeArray of references to the subobjects
GetOwnedNumReturns number of subobjects in the object
GetParReading the value of the Pma object parameter (or its parents)
GetPathNameObject name with the path to this object
GetPermissionReturns 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
PmReturns reference to the Pma object or to its implementation subobject
RemoveEventUn-registers the function in the specified event
RootReturns reference to the root application object PmaRoot
Events inherited from the PmaObject object:
onStartIs triggered for each object in the runtime only once at the beginning
onStopIs triggered for each Pma object in the runtime mode only once at the stop of the application
Configuration tabs:
ObjectGeneral information about the object
EventsDefinition of object events algorithms
OPCDefinition of OPC client parameters
Related objects:
PmaOpcDaClientGroup(OPC client data) Definition of the data group that will be shared between OPC server and OPC client

History:
Pm9.00.00: Object name changed: PmOpcClient -> PmaOpcDaClient
PROMOTIC 9.0.21 SCADA system documentation - MICROSYS, spol. s r.o.

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