DSD_StandardSymbolicMonitoringInit2 (STRUCT) ¶ TYPE DSD_StandardSymbolicMonitoringInit2 EXTENDS DSD_StandardSymbolicMonitoringInit : STRUCT InOut: Name Type Comment Inherited from stPlcAddr STRING StandardMonitoringInit_Base credentials PlcCredentials StandardMonitoringInit_Base udiInitialCommBufferSize UDINT StandardMonitoringInit_Base pServiceBuffer POINTER TO BYTE StandardMonitoringInit_Base ServiceBufferSize UDINT StandardMonitoringInit_Base 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 StandardMonitoringInit_Base ServiceBufferAddSize UDINT StandardMonitoringInit_Base monitoringMode PlcSymbolicMonitoringType DSD_StandardSymbolicMonitoringInit bUseDynamicAddressResolution BOOL addrResolutionInfo DSD_DynamicAddressResolutionInfo
DSD_StandardSymbolicMonitoringInit3 (STRUCT) ¶ TYPE DSD_StandardSymbolicMonitoringInit3 EXTENDS DSD_StandardSymbolicMonitoringInit2 : STRUCT InOut: Name Type Initial Comment Inherited from stPlcAddr STRING StandardMonitoringInit_Base credentials PlcCredentials StandardMonitoringInit_Base udiInitialCommBufferSize UDINT StandardMonitoringInit_Base pServiceBuffer POINTER TO BYTE StandardMonitoringInit_Base ServiceBufferSize UDINT StandardMonitoringInit_Base 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 StandardMonitoringInit_Base ServiceBufferAddSize UDINT StandardMonitoringInit_Base monitoringMode PlcSymbolicMonitoringType DSD_StandardSymbolicMonitoringInit bUseDynamicAddressResolution BOOL DSD_StandardSymbolicMonitoringInit2 addrResolutionInfo DSD_DynamicAddressResolutionInfo DSD_StandardSymbolicMonitoringInit2 bWithDeviceLogin BOOL This flag is no longer evaluated as the device login is mandatory for plcs with runtime versions >= 3.5.2 and it does not hurt for older runtimes. Further code assumes that this flag is set. bAskForCredentials BOOL TRUE TRUE -> The dataserver has to care about credentials, FALSE -> the credentials in StandardMonitoringInit_Base are used
Standard Monitoring Data Server Driver Library Documentation ¶ Company System Title Standard Monitoring Data Server Driver Version 3.5.8.0 Categories Intern|DataServer Author 3S-Smart Software Solutions GmbH Placeholder StandardMonitoringDataServer Description 1 ¶ This library implements a driver for dataserver connections to standard PLCs. Contents: ¶ DSD_DynamicAddressResolutionInfo (Struct) DSD_StandardMonitoring (FunctionBlock) GetInterface (Method) Initialize (Method) abstrAssignMonitoringProvider (Method) abstrExecuteMonitoringReply (Method) abstrInitFlags (Property) abstrSendReadRequest (Method) abstrSendWriteRequest (Method) abstrWishedMonitoringFinishedState (Property) DSD_StandardMonitoringInit (Struct) DSD_StandardMonitoringInit2 (Struct) DSD_StandardMonitoringInit3 (Struct) DSD_StandardMonitoringInit4 (Struct) DSD_StandardSymbolicMonitoring (FunctionBlock) GetInterface (Method) GetReadItems2 (Method) GetWriteItems2 (Method) Initialize (Method) abstrAfterConnectionInit (Method) abstrAssignMonitoringProvider (Method) abstrExecuteMonitoringReply (Method) abstrInitFlags (Property) abstrSendReadRequest (Method) abstrSendWriteRequest (Method) abstrWishedMonitoringFinishedState (Property) DSD_StandardSymbolicMonitoringInit (Struct) DSD_StandardSymbolicMonitoringInit2 (Struct) DSD_StandardSymbolicMonitoringInit3 (Struct) DSD_StandardSymbolicMonitoringInit4 (Struct) Logging AddLogMessage (Function) ComponentConstants (GVL) LoggingHelper (FunctionBlock) Private Utilities UtilAddressResolving (Function) UtilAssignCommAddress (Function) UtilByteToHexString (Function) Projektinformationen GetBooleanProperty (Function) GetCompany (Function) GetNumberProperty (Function) GetTextProperty (Function) GetTextProperty2 (Function) GetTitle (Function) GetVersion (Function) GetVersionProperty (Function) RequestData (Struct) ReturnValues (GVL) StandardMonitoringInit_Base (Struct) StandardMonitoring_Base (FunctionBlock) 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) Indices and tables ¶ 1 Based on DSD_StandardMonitoring.library, last modified 01.01.1601, 00:53:00. LibDoc 4.4.0.0-b.27 The content file DSD_StandardMonitoring.clean.json was generated with CODESYS V3.5 SP10 Patch 2 on 17.05.2017, 17:32:17.
DSD_StandardMonitoring (FB) ¶ FUNCTION_BLOCK DSD_StandardMonitoring EXTENDS StandardMonitoring_Base IMPLEMENTS IDataSourceDriver5, Dataserver_Interfaces.IDataItemProvider, IGeneric, Dataserver_Interfaces.IDataItemProviderSupportsPartialLists Properties: abstrInitFlags abstrWishedMonitoringFinishedState CredentialsNeeded , inherited from StandardMonitoring_Base LastError , inherited from StandardMonitoring_Base LastServiceSentItemsCount , inherited from StandardMonitoring_Base NextServiceItemStartOffset , inherited from StandardMonitoring_Base ReadListId , inherited from StandardMonitoring_Base State , inherited from StandardMonitoring_Base WriteListId , inherited from StandardMonitoring_Base prvNextTransactionId , inherited from StandardMonitoring_Base Methods: GetInterface Initialize abstrAssignMonitoringProvider abstrExecuteMonitoringReply abstrSendReadRequest abstrSendWriteRequest AssignCredentials , inherited from StandardMonitoring_Base Connecting , inherited from StandardMonitoring_Base GetReadItems , inherited from StandardMonitoring_Base GetRequestResult , inherited from StandardMonitoring_Base GetSetting , inherited from StandardMonitoring_Base GetWriteItems , inherited from StandardMonitoring_Base IsSwappingNeeded , inherited from StandardMonitoring_Base ProcessDataServerReply , inherited from StandardMonitoring_Base ProcessDataServerRequest , inherited from StandardMonitoring_Base ReadRequest , inherited from StandardMonitoring_Base ReadRequest2 , inherited from StandardMonitoring_Base Reset , inherited from StandardMonitoring_Base ShutdownFinished , inherited from StandardMonitoring_Base ShuttingDown , inherited from StandardMonitoring_Base StartConnect , inherited from StandardMonitoring_Base StartShutdown , inherited from StandardMonitoring_Base UpdateRequest , inherited from StandardMonitoring_Base WriteRequest , inherited from StandardMonitoring_Base WriteRequest2 , inherited from StandardMonitoring_Base abstrAfterConnectionInit , inherited from StandardMonitoring_Base intSetMappedLastError , inherited from StandardMonitoring_Base prvCheckedUpdateState , inherited from StandardMonitoring_Base prvConnecting , inherited from StandardMonitoring_Base prvDeriveConnectedState , inherited from StandardMonitoring_Base prvFindFreeConection , inherited from StandardMonitoring_Base prvFindTransaction , inherited from StandardMonitoring_Base prvInitConnection , inherited from StandardMonitoring_Base prvSetMappedLastError , inherited from StandardMonitoring_Base prvShuttingDown , inherited from StandardMonitoring_Base prvTryCreateChannel , inherited from StandardMonitoring_Base Structure: GetInterface (Method) Initialize (Method) abstrAssignMonitoringProvider (Method) abstrExecuteMonitoringReply (Method) abstrInitFlags (Property) abstrSendReadRequest (Method) abstrSendWriteRequest (Method) abstrWishedMonitoringFinishedState (Property)
DSD_DynamicAddressResolutionInfo (STRUCT) ¶ TYPE DSD_DynamicAddressResolutionInfo : STRUCT InOut: Name Type Comment udiSearchedDeviceId UDINT udiSearchedDeviceType UDINT udiSearchedDeviceVersion UDINT wsDeviceNodeName WSTRING fixed size string (but 80 chars should be enough! stParentRelations STRING udiSearchFlags UDINT in fact of type: CmpNameServiceClientIec.NSClientSearchNodeFlags; not used because the library is optional using a placeholder
DSD_StandardMonitoring.GetInterface (METH) ¶ METHOD GetInterface : POINTER TO BYTE InOut: Scope Name Type Return GetInterface POINTER TO BYTE Input dwItfId DWORD
DSD_StandardMonitoring.Initialize (METH) ¶ METHOD Initialize : UDINT InOut: Scope Name Type Return Initialize UDINT Input stDataSource STRING pInitInfo POINTER TO DriverInitInfo pInitData POINTER TO BYTE
DSD_StandardMonitoring.abstrAssignMonitoringProvider (METH) ¶ METHOD abstrAssignMonitoringProvider : UDINT InOut: Scope Name Type Return abstrAssignMonitoringProvider UDINT Input pConn POINTER TO PlcAppConnection
DSD_StandardMonitoring.abstrExecuteMonitoringReply (METH) ¶ METHOD abstrExecuteMonitoringReply : UDINT InOut: Scope Name Type Return abstrExecuteMonitoringReply UDINT Input pConn POINTER TO PlcAppConnection
DSD_StandardMonitoring.abstrInitFlags (PROP) ¶ PROPERTY abstrInitFlags : UDINT