TOpcUaClient
Constructorconstructor TOpcUaClient.Create(AClientConfig:SpxClientConfig);
Connect
function TOpcUaClient.Connect():SpxBoolean; overload;
Connect with securitymode
function TOpcUaClient.Connect(ASecurityMode: SpxMessageSecurityMode;ASecurityPolicyUri: SpxString):SpxBoolean; overload;
Disconnect
function TOpcUaClient.Disconnect():SpxBoolean;
Client is connected
property TOpcUaClient.IsConnect:SpxBoolean read GetIsConnect; Last error codeproperty TOpcUaClient.LastErrorCode: SpxStatusCode read GetLastErrorCode; Get string error codefunction TOpcUaClient.GetErrorInfoCode(AStatusCode: SpxStatusCode): SpxString; Get error messagefunction TOpcUaClient.GetErrorInfoMessage(AStatusCode: SpxStatusCode): SpxString; Find servers
function TOpcUaClient.FindServers(outAservers: SpxApplicationDescriptionArray):SpxBoolean;
Get endpoints
function TOpcUaClient.GetEndpoints(outAendpoints: SpxEndpointDescriptionArray):SpxBoolean;
Initialize session
function TOpcUaClient.InitSession():SpxBoolean;
Read value
function TOpcUaClient.ReadValue(AMaxAge:SpxDouble; ATimestampsToReturn:SpxTimestampsToReturn; AReadValueIdList:SpxReadValueIdArray; out Avalues: SpxDataValueArray):SpxBoolean;
Read history
function TOpcUaClient.ReadHistory(AIsReadModified:SpxBoolean; AStartTime,AEndTime: SpxDateTime; AnumValuesPerNode: SpxUInt32;AReturnBounds: SpxBoolean; AtimestampsToReturn: SpxTimestampsToReturn;AReleaseContinuationPoints: SpxBoolean; ANodesToRead:SpxHistoryReadValueIdArray; out AhistoryValues: SpxHistoryReadResultArray):SpxBoolean;
Write value
function TOpcUaClient.WriteValue(AWriteValueList: SpxWriteValueArray;outAResults: SpxStatusCodeArray):SpxBoolean;
Call method
function TOpcUaClient.CallMethod(AMethodsToCall: SpxCallMethodRequestArray;out AResults: SpxCallMethodResultArray): SpxBoolean;
Browse
function TOpcUaClient.Browse(AMaxReferencesPerNode:SpxUInt32; ABrowseDescriptions:SpxBrowseDescriptionArray; outABrowseResultList: SpxBrowseResultArray): SpxBoolean;
Browse next
function TOpcUaClient.BrowseNext(AReleaseContinuationPoints: SpxBoolean;AContinuationPoints: SpxByteArrayArray; outABrowseResultList: SpxBrowseResultArray): SpxBoolean;
Create subscription
function TOpcUaClient.CreateSubscription(APublishingEnabled: SpxBoolean;ASubscription: SpxSubscription; outASubcriptionId: SpxUInt32; out AsubscriptionResult: SpxSubscriptionResult):SpxBoolean;
Modify subscription
function TOpcUaClient.ModifySubscriptiont(ASubcriptionId: SpxUInt32;ASubscription: SpxSubscription; outASubscriptionResult: SpxSubscriptionResult): SpxBoolean;
Delete subscriptions
function TOpcUaClient.DeleteSubscriptions(ASubcriptionIds: SpxUInt32Array;out AResults: SpxStatusCodeArray): SpxBoolean;
Delete all subscriptions
function TOpcUaClient.DeleteAllSubscriptions:SpxBoolean;
Create monitored items
function TOpcUaClient.CreateMonitoredItems(ASubcriptionId: SpxUInt32;AMonitoredItems: SpxMonitoredItemArray; outAMonitoredItemResult: SpxMonitoredItemResultArray) :SpxBoolean; overload;
function TOpcUaClient.CreateMonitoredItems(ASubcriptionId: SpxUInt32;ATimestampsToReturn: SpxTimestampsToReturn; AMonitoredItems:SpxMonitoredItemArray; outAMonitoredItemResult: SpxMonitoredItemResultArray):SpxBoolean; overload;
function TOpcUaClient.CreateMonitoredItems(ASubcriptionId: SpxUInt32;ATimestampsToReturn: SpxTimestampsToReturn; AFilter:SpxDataChangeFilter; AmonitoredItems: SpxMonitoredItemArray;out AMonitoredItemResult: SpxMonitoredItemResultArray):SpxBoolean; overload;
function TOpcUaClient.CreateMonitoredItems(ASubcriptionId: SpxUInt32;ATimestampsToReturn: SpxTimestampsToReturn; AFilter:SpxAggregateFilter; AMonitoredItems: SpxMonitoredItemArray;out AmonitoredItemResult: SpxMonitoredItemResultArray):SpxBoolean; overload;
function TOpcUaClient.CreateMonitoredItems(ASubcriptionId: SpxUInt32;ATimestampsToReturn: SpxTimestampsToReturn; AFilter:SpxFilterParams; AMonitoredItems: SpxMonitoredItemArray;out AMonitoredItemResult: SpxMonitoredItemResultArray): SpxBoolean; overload;
Modify monitored items
function TOpcUaClient.ModifyMonitoredItems(ASubcriptionId: SpxUInt32;AMonitoredItems: SpxModifyMonitoredItemArray; outAMonitoredItemResult: SpxModifyMonitoredItemResultArray):SpxBoolean; overload;
function TOpcUaClient.ModifyMonitoredItems(ASubcriptionId: SpxUInt32;ATimestampsToReturn: SpxTimestampsToReturn; AMonitoredItems:SpxModifyMonitoredItemArray; outAMonitoredItemResult: SpxModifyMonitoredItemResultArray):SpxBoolean; overload;
function TOpcUaClient.ModifyMonitoredItems(ASubcriptionId: SpxUInt32;ATimestampsToReturn: SpxTimestampsToReturn; AFilter:SpxDataChangeFilter; AMonitoredItems: SpxModifyMonitoredItemArray;out AMonitoredItemResult: SpxModifyMonitoredItemResultArray):SpxBoolean; overload;
function TOpcUaClient.ModifyMonitoredItems(ASubcriptionId: SpxUInt32;ATimestampsToReturn: SpxTimestampsToReturn; AFilter:SpxAggregateFilter; AMonitoredItems: SpxModifyMonitoredItemArray;out AmonitoredItemResult: SpxModifyMonitoredItemResultArray):SpxBoolean; overload;
function TOpcUaClient.ModifyMonitoredItems(ASubcriptionId: SpxUInt32;ATimestampsToReturn: SpxTimestampsToReturn; AFilter:SpxFilterParams; AMonitoredItems: SpxModifyMonitoredItemArray;out AmonitoredItemResult: SpxModifyMonitoredItemResultArray):SpxBoolean; overload;
Set monitoring mode
function TOpcUaClient.SetMonitoringMode(ASubcriptionId:SpxUInt32; AMonitoringMode:SpxMonitoringMode; AMonitoredItemIds: SpxUInt32Array;out AResults: SpxStatusCodeArray): SpxBoolean;
Delete monitored items
function TOpcUaClient.DeleteMonitoredItems(ASubcriptionId: SpxUInt32;AMonitoredItemIds: SpxUInt32Array; outAResults: SpxStatusCodeArray): SpxBoolean; |
Email: support@simplexopcua.com