Structs ¶ OPCAClientCredentials_UserPassword (Struct) OPCUAClientConnectionConfiguration (Struct) OPCUAClientCredentials (Union) OPCUAClientMonitoredItemConfiguration (Struct) OPCUAClientUserToken (Struct)
OPCAClientCredentials_UserPassword (STRUCT) ¶ TYPE OPCAClientCredentials_UserPassword : STRUCT InOut: Name Type Comment username OpcUa_String The username used to activate the session. password OpcUa_String The password corresponding to the username
OPCUAClientConnectionConfiguration (STRUCT) ¶ TYPE OPCUAClientConnectionConfiguration : STRUCT InOut: Name Type Comment sizeofStruct UDINT Size of the strucutre. endpoint OpcUa_EndpointDescription The endpoint to connect to. The endpoint should contain only user token policy that should be used to activate the session. sessionName OpcUa_String The sessions name. sessionTimeout UDINT The session timeout.
OPCUAClientCredentials (UNION) ¶ TYPE OPCUAClientCredentials : UNION InOut: Name Type Comment up OPCAClientCredentials_UserPassword Contains the User/Password credentials used for UserTokenType_UserName. cert RTS_IEC_HANDLE Contains the certificate Certificate used for UserTokenType_Certificate.
OPCUAClientMonitoredItemConfiguration (STRUCT) ¶ TYPE OPCUAClientMonitoredItemConfiguration : STRUCT InOut: Name Type Comment ItemToMonitor OpcUa_ReadValueId IN: The nodeID and Attribute ID of the item to monitore MonitoringMode OpcUa_MonitoringMode IN: The initial monitorng mode of the item. SamplingInterval OpcUa_Double IN: The sampling interval for sampling items. Will be revieced by the server. Filter OpcUa_ExtensionObject IN: The filter to be applied to the monitored item. QueueSize OpcUa_UInt32 IN: The initial queue size of the monitored item. Will be reviced by the server. DiscardOldest OpcUa_Boolean IN: Behavior on queue overflow: TRUE: The oldest sample will be removed. FALSE: the latest sample will be overwritten. callback IOPCUAClientMonitoredItemCallback IN: The callback interface for that monitored item. statusCode OpcUa_StatusCode OUT: The result of the operation for this item. hItem RTS_IEC_HANDLE OUT: The handle of the monitored item.
OPCUAClientUserToken (STRUCT) ¶ TYPE OPCUAClientUserToken : STRUCT InOut: Name Type Comment credtype OpcUa_UserTokenType Identifies the actually used token type. entry OPCUAClientCredentials Contains the user token.
Types ¶ OPCUAClientConnectionState (Enum) OPCUAClientMonitoredItemState (Enum) OPCUAClientSubscriptionState (Enum)
OPCUAClientConnectionState (ENUM) ¶ TYPE OPCUAClientConnectionState : InOut: Name Connecting VerifyServerCert CheckCredentials Connected Disconnecting Disconnected Failed
OPCUAClientMonitoredItemState (ENUM) ¶ TYPE OPCUAClientMonitoredItemState : Attributes: qualified_only InOut: Name Initial Initialized 0 Created Deleted
OPCUAClientSubscriptionState (ENUM) ¶ TYPE OPCUAClientSubscriptionState : Attributes: qualified_only InOut: Name Initial Init 0 Created PublishingActive PublishingDeactivated Timeout Deleted