beckhoff — 5.2.2.1 ITcEventLogAdsProxy

Connectivity &mQI); if ( SUCCEEDED(hr) ) { m_spTcEventLog = mQI.pItf; mQI.pItf->Release(); } } Connect the TcEventViewer with the TcEventLoggerCE 1. TcEventViewer version 2.9.0.73 is required (Shipped with TwinCAT build 2.10.1317 or higher) 2. For connecting a WindowsCE device pass "ADS:// " to the ITcEventView::AddConnection() [ } 77] method Using the TcEventBar with the TcEventLoggerCE 1. TcEventViwer version 2.9.0.73 is required (Shipped with TwinCAT build 2.10.1317 or higher) 2. In the Connect field type "ADS:// " 5.2.2 Interfaces Supported Interfaces : 5.2.2.1 ITcEventLogAdsProxy The ITcEventLogAdsProxy interface provides the basic functionality for connecting to a Eventlogger.

TcEventLogger 19 Version: 1.1 Interface Description ITcEventLogAdsProxy [} 19] This is the main Interface of the TcEventLogAdsProxy. Use this interface to connect an instance of the TcEventLogger. After the proxy has successfully connected continue using the standard TcEventLogger interfaces ITcEventLog [} 129] This it the main Interface of the TcEventLogger for COM Clients like HMI. It offers functions to control active and logged alarms and to add and remove alarms. ITcEventLogC [} 137] This is the basic interface of ITcEventLogC3 and ITcEventLogC2. ITcEventLogC2 [} 139] This interface derives from ITcEventLogC and is the basic interface for ITcEventLogC3.

ITcEventLogC3 [} 141] This is a application-specific interface of the TcEventLoggers for COM Clients that use application-specific interfaces like HMI. is interface derives from ITcEventLogC2. ITcEventLogEvents [} 144] Callback functions for callbacks from the TcEventlogger to COM-Clients. Clients can use this to get informations when an event occurs or is cancelled. ITcEventLog Meth- ods and Proper- ties Description Connect Connect to a remote TcEventLoggerCE by passing the target AmsNetId or Computer Name as a string. Pass NULL or 'localhost' to connect to a local instance of the TcEventLogger. NOTE:

precondition for a successful connection to a remote instance is that an ADS route has been configured. Disconnect Disconnect from the TcEvenLoggerCE. This method is called internally upon destruction of the object. Connected Gets whether the proxy is currently connected to an Instance of the TcEventloggerCE.