RequestData (STRUCT) ¶ TYPE RequestData : STRUCT InOut: Name Type Comment dwTransactionId DWORD xIgnoreResult BOOL Indicates, whether the result of the request has to be evaluated (FALSE) or can be ignored (TRUE). This flag is necessary, because method UpdateRequest is called both from the monitoring and the request to write variables bFinished BOOL bAdditionalChannel BOOL eReplyState PlcConnectionState The required state the reply must have after the request has been sent. This will be used to determine later whether the reply is available.
ReturnValues (GVL) ¶ InOut: Scope Name Type Initial Constant ERR_OK UDINT 16#0 ERR_FAILED UDINT 16#1 ERR_PARAMETER UDINT 16#2 ERR_NOTINITIALIZED UDINT 16#3 ERR_NOBUFFER UDINT 16#6 ERR_PENDING UDINT 16#A ERR_NOTIMPLEMENTED UDINT 16#C ERR_INVALIDID UDINT 16#D
StandardMonitoringInit_Base (STRUCT) ¶ TYPE StandardMonitoringInit_Base : STRUCT InOut: Name Type Comment stPlcAddr STRING credentials PlcCredentials udiInitialCommBufferSize UDINT pServiceBuffer POINTER TO BYTE ServiceBufferSize UDINT pServiceBufferAdd POINTER TO BYTE If no memory is configured here, then we will only use one channel to connect to the plc otherwise we will try to open two channels, one for reading and one for writing ServiceBufferAddSize UDINT
StandardMonitoring_Base (FB) ¶ FUNCTION_BLOCK StandardMonitoring_Base Properties: CredentialsNeeded LastError LastServiceSentItemsCount NextServiceItemStartOffset ReadListId State WriteListId abstrInitFlags abstrWishedMonitoringFinishedState prvNextTransactionId Methods: AssignCredentials Connecting GetReadItems GetRequestResult GetSetting GetWriteItems IsSwappingNeeded ProcessDataServerReply ProcessDataServerRequest ReadRequest ReadRequest2 Reset ShutdownFinished ShuttingDown StartConnect StartShutdown UpdateRequest WriteRequest WriteRequest2 abstrAfterConnectionInit abstrAssignMonitoringProvider abstrExecuteMonitoringReply abstrSendReadRequest abstrSendWriteRequest intSetMappedLastError prvCheckedUpdateState prvConnecting prvDeriveConnectedState prvFindFreeConection prvFindTransaction prvInitConnection prvSetMappedLastError prvShuttingDown prvTryCreateChannel Structure: AssignCredentials (Method) Connecting (Method) CredentialsNeeded (Property) GetReadItems (Method) GetRequestResult (Method) GetSetting (Method) GetWriteItems (Method) IsSwappingNeeded (Method) LastError (Property) LastServiceSentItemsCount (Property) NextServiceItemStartOffset (Property) ProcessDataServerReply (Method) ProcessDataServerRequest (Method) ReadListId (Property) ReadRequest (Method) ReadRequest2 (Method) Reset (Method) ShutdownFinished (Method) ShuttingDown (Method) StartConnect (Method) StartShutdown (Method) State (Property) UpdateRequest (Method) WriteListId (Property) WriteRequest (Method) WriteRequest2 (Method) abstrAfterConnectionInit (Method) abstrAssignMonitoringProvider (Method) abstrExecuteMonitoringReply (Method) abstrInitFlags (Property) abstrSendReadRequest (Method) abstrSendWriteRequest (Method) abstrWishedMonitoringFinishedState (Property) intSetMappedLastError (Method) prvCheckedUpdateState (Method) prvConnecting (Method) prvDeriveConnectedState (Method) prvFindFreeConection (Method) prvFindTransaction (Method) prvInitConnection (Method) prvNextTransactionId (Property) prvSetMappedLastError (Method) prvShuttingDown (Method) prvTryCreateChannel (Method)
StandardMonitoring_Base.AssignCredentials (METH) ¶ METHOD AssignCredentials : UDINT InOut: Scope Name Type Return AssignCredentials UDINT Input stUsername STRING stPassword STRING
StandardMonitoring_Base.Connecting (METH) ¶ METHOD Connecting : UDINT InOut: Scope Name Type Return Connecting UDINT
StandardMonitoring_Base.CredentialsNeeded (PROP) ¶ PROPERTY CredentialsNeeded : BOOL
StandardMonitoring_Base.GetReadItems (METH) ¶ METHOD GetReadItems : UDINT InOut: Scope Name Type Return GetReadItems UDINT Output pItems POINTER TO ARRAY [0..100] OF Dataserver_Interfaces.IDataItem iItemCount DINT
StandardMonitoring_Base.GetRequestResult (METH) ¶ METHOD GetRequestResult : DataSourceTransactionResult InOut: Scope Name Type Return GetRequestResult DataSourceTransactionResult Input dwTransactionId DWORD
StandardMonitoring_Base.GetSetting (METH) ¶ METHOD GetSetting : DWORD InOut: Scope Name Type Return GetSetting DWORD Input dwSettingTag DWORD Output bUseDefault BOOL