beckhoff — 6.7.9.1 CanCopy

Event Configuration 6.7.8 EvtCfgXmlParser The EvtCfgTpsParser does work on the XML file format. Each Source and its events will be saved in an own file. All available source Ids are stored in your project file which links to each source description file. To have your event messages fetched from an XML description, you need to choose the TcXMLFormatter when firing events from the PLC. Do so by specifying 'TcEventFormatter.TcXmlFormatter' as progId in the TcEvent structure. When calling ActivateConfiguration, the parser will add your project info to the TcEventSourceLocation.xml file (Located in TwinCAT\Resource).

Any information previously stored in this file will remain unchanged- new entries made by the parser will be marked so. Only theese marked entries will be removed when you activate another configuration. 6.7.9 IEvtCfgEditor The IEvtCfgEditor Iterface provides access to the EventEditors properties. Table 10: Methods and Properties in Vtable Order Table 11: Enums 6.7.9.1 CanCopy Check whether the current selection can be copied. HRESULT CanCopy([out, retval] BOOL *pVal); Parameters pVal [out, retval] TRUE if a copy operation is possible, otherwise FALSE. TcEventLogger 61 Version:

1.1 IEvtCfgEditor Methods Description GetConfiguration [} 63] Get the EventConfiguration [} 26] SelectItem [} 64] Select one item in the TreeView GetSelectedItem [} 63] Get the object associated with the selected TreeView item ExpandSelection [} 63] Expand the selected item CollapseSelection [} 62] Collapse the selected item Copy [} 62] Copy the selected item Paste [} 64] Paste CanCopy [} 61] Get or set whether copy is possible CanPaste [} 62] Get or set whether paste is possible IEvtCfgEditorEvents _ Methods Description SelChanged The selected item changed. Name Description EVTCFGEDITOR ITEMTYPES [} 65] Determine which item is selected in the tree.