StandardMonitoring_Base.AssignCredentials (METH) ¶ METHOD AssignCredentials : UDINT InOut: Scope Name Type Return AssignCredentials UDINT Input stUsername STRING stPassword STRING
DSD_StandardSymbolicMonitoring.abstrSendWriteRequest (METH) ¶ METHOD abstrSendWriteRequest : UDINT InOut: Scope Name Type Return abstrSendWriteRequest UDINT Input pConn POINTER TO PlcAppConnection
DSD_StandardSymbolicMonitoring.abstrWishedMonitoringFinishedState (PROP) ¶ PROPERTY abstrWishedMonitoringFinishedState : PlcConnectionState
DSD_StandardSymbolicMonitoringInit (STRUCT) ¶ TYPE DSD_StandardSymbolicMonitoringInit EXTENDS StandardMonitoringInit_Base : 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_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
DSD_StandardSymbolicMonitoringInit4 (STRUCT) ¶ TYPE DSD_StandardSymbolicMonitoringInit4 EXTENDS DSD_StandardSymbolicMonitoringInit3 : 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. DSD_StandardSymbolicMonitoringInit3 bAskForCredentials BOOL TRUE TRUE -> The dataserver has to care about credentials, FALSE -> the credentials in StandardMonitoringInit_Base are used DSD_StandardSymbolicMonitoringInit3 bUpdateInStopMode BOOL
Logging ¶ AddLogMessage (Function) ComponentConstants (GVL) LoggingHelper (FunctionBlock) FB_Exit (Method) FB_Init (Method)
AddLogMessage (FUN) ¶ FUNCTION AddLogMessage : UDINT InOut: Scope Name Type Return AddLogMessage UDINT Input udiSeverity UDINT stText STRING(256)
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)