private ¶ prvAnalyzeHeaderObsolete (Method)
PlcServiceResponse.prvAnalyzeHeaderObsolete (METH) ¶ METHOD prvAnalyzeHeaderObsolete : UDINT Implements the old and obsolete way of analyzing the header tag; call only if not supported by the BinTagUtil InOut: Scope Name Type Comment Return prvAnalyzeHeaderObsolete UDINT Input pduData CHCProtocolDataUnit pReaderBuffer POINTER TO BYTE the buffer where the servicereader will be located, may be null. In case of null, dynamic memory will be allocated to create the servicereader! udiReaderBufferSize UDINT the size of the buffer pointed to by pReaderBuffer targetByteOrder PlcServiceByteOrder The byteorder of the data that shall be read uiHeaderTag UINT the header tag used in the communication
PlcVarListMonitoring (FB) ¶ FUNCTION_BLOCK PlcVarListMonitoring Properties: WantsShutdownNotification prvState Methods: Initialize OnExecuteMonitoringReply OnMonitoringRequestSent OnShuttingDown SendMonitoringRequest prvBuildMonitorCurrentVarList prvBuildRegisterVarList prvBuildUnregisterVarList prvIsItemInvalid prvOnCurrentVarListMonitoring prvOnRegisteringVarList prvOnUnregisteringVarList prvParseAndExecuteMonitoringReply prvParseRegisterVarListReply prvParseUnregisterVarListReply prvStartMonitoringCurrentVarList prvStartRegisteringVarList prvStartUnregisterVarList Structure: Building-Services prvBuildMonitorCurrentVarList (Method) prvBuildRegisterVarList (Method) prvBuildUnregisterVarList (Method) Initialize (Method) OnExecuteMonitoringReply (Method) OnMonitoringRequestSent (Method) OnShuttingDown (Method) Parsing-Resonses prvParseAndExecuteMonitoringReply (Method) prvParseRegisterVarListReply (Method) prvParseUnregisterVarListReply (Method) Send-Requests prvStartMonitoringCurrentVarList (Method) prvStartRegisteringVarList (Method) prvStartUnregisterVarList (Method) SendMonitoringRequest (Method) States prvOnCurrentVarListMonitoring (Method) prvOnRegisteringVarList (Method) prvOnUnregisteringVarList (Method) Utility-Functions prvIsItemInvalid (Method) WantsShutdownNotification (Property) prvState (Property)
PlcVarListMonitoring.OnExecuteMonitoringReply (METH) ¶ METHOD OnExecuteMonitoringReply : UDINT InOut: Scope Name Type Return OnExecuteMonitoringReply UDINT Input pduReply CHCProtocolDataUnit monProv IDataItemProvider2
PlcVarListMonitoring.OnMonitoringRequestSent (METH) ¶ METHOD OnMonitoringRequestSent : UDINT This method will be called while waiting for the answer of a previously sent monitoringrequest (SendMonitoringRequest). The method will return ERR_OK when the monitoring answer is available, ERR_PENDING while it is waiting for the answer and an error in the other cases. InOut: Scope Name Type Return OnMonitoringRequestSent UDINT Input channel IPlcServiceChannel Output pduReply CHCProtocolDataUnit
PlcVarListMonitoring.OnShuttingDown (METH) ¶ METHOD OnShuttingDown : UDINT This method will be called when the monitoring has to shutdown. The return value can be ERR_PENDING while some work is done. Afterwards it can return ERR_OK or an error when there was a problem. InOut: Scope Name Type Return OnShuttingDown UDINT Input channel IPlcServiceChannel
Parsing Resonses ¶ prvParseAndExecuteMonitoringReply (Method) prvParseRegisterVarListReply (Method) prvParseUnregisterVarListReply (Method)
PlcVarListMonitoring.prvParseAndExecuteMonitoringReply (METH) ¶ METHOD prvParseAndExecuteMonitoringReply : UDINT InOut: Scope Name Type Return prvParseAndExecuteMonitoringReply UDINT Input pdu CHCProtocolDataUnit pItems POINTER TO ARRAY [0..10] OF IDataItem2 iItemCount DINT
PlcVarListMonitoring.prvStartUnregisterVarList (METH) ¶ METHOD prvStartUnregisterVarList : UDINT InOut: Scope Name Type Return prvStartUnregisterVarList UDINT Input channel IPlcServiceChannel
PlcVarListMonitoring.SendMonitoringRequest (METH) ¶ METHOD SendMonitoringRequest : UDINT This method will be called when the user of this monitoring wants to send a new monitoring request. The code will write the content of the service to the given variable <service>. It will return ERR_OK if the request can be issued and an error if there is a problem. InOut: Scope Name Type Return SendMonitoringRequest UDINT Input channel IPlcServiceChannel pItems POINTER TO ARRAY [0..10] OF IDataItem2 iItemCount DINT iListId UDINT