File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 20.04.2021, 15:57:27 companyName string 3S-Smart Software Solutions GmbH libraryFile CmpTls_Itfs.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile CmpTls_Itfs.clean.json version version 2.0.0.0 ProjectInformation IsInterfaceLibrary bool True Released True SourceLibrary False LastModificationDateTime date 20.04.2021, 15:57:27 LibraryCategories library-category-list System|SysLibs Author string CODESYS Development GmbH Company System CompiledLibraryCompatibilityVersion CODESYS V3.5 SP15 DefaultNamespace Description See: Description DocFormat reStructuredText Project CmpTls_Itfs Title CmpTls Interfaces Version version 3.5.17.0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. SysTypes2 Interfaces ¶ Library Identification ¶ Name: SysTypes2 Interfaces Version: newest Company: System Namespace: SysTypes Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysTypes2 Interfaces, * (System)
CmpTraceMgr Library Documentation ¶ Company System Title CmpTraceMgr Version 3.5.17.0 Categories System|SysLibs Author 3S - Smart Software Solutions GmbH Placeholder CmpTraceMgr Description 1 ¶ This library provides access to the runtime system component CmpTraceMgr. The trace manager handles trace packets, that are defined from: the Trace editor in CoDeSys, a runtime system component, or an IEC program. A trace packet is the container for trace variables, which are called records. A trace packet is is always identified by its name, which must be unique. A trace record contains the trace of a single variable, including the buffer used to store the time-stamped samples. This is a typical sequence of function calls a client of CmpTraceMgr will use: TraceMgrPacketCreate TraceMgrRecordAdd TraceMgrPacketComplete TraceMgrPacketStart TraceMgrPacketStop TraceMgrPacketRestart / TraceMgrPacketStart / TraceMgrPacketDelete Contents: ¶ ComponentId (GVL) EventParameter EVTPARAM_CmpTraceMgr_Packet (Struct) EVTPARAM_CmpTraceMgr_Record (Struct) EventIDs (GVL) GlobalConstants (GVL) Structs AddressArea (Struct) Monitoring2ByteCode (Struct) Monitoring2ByteCodeUnion (Union) MonitoringService (Struct) PropertyLocation (Struct) SymVarAccess (Struct) SystemParameter (Struct) TraceAddress (Union) TracePacketConfiguration (Struct) TraceRecordConfiguration (Struct) TraceRecordEntry (Struct) TraceState (Struct) TraceTrigger (Struct) TraceVarInfo (Union) TraceVariable (Struct) TraceVariableAddress (Struct) TriggerState (Struct) TriggerValue (Union) TypeClass3 (Alias) TRACE_PACKET_FLAGS (GVL) TRACE_PACKET_STATE (GVL) TRACE_RECORD_GRAPH_TYPES (GVL) TRACE_TRIGGER_EDGE (GVL) TRACE_TRIGGER_FLAGS (GVL) TRACE_TRIGGER_STATE (GVL) TRACE_VAR_ADDRESS_FLAGS (GVL) TraceMgrGetConfigFromFile (Function) TraceMgrGetConfigFromFileRelease (Function) TraceMgrPacketCheckTrigger (Function) TraceMgrPacketClose (Function) TraceMgrPacketComplete (Function) TraceMgrPacketCreate (Function) TraceMgrPacketDelete (Function) TraceMgrPacketDisable (Function) TraceMgrPacketDisableTrigger (Function) TraceMgrPacketEnable (Function) TraceMgrPacketEnableTrigger (Function) TraceMgrPacketGetAbsoluteStartTime (Function) TraceMgrPacketGetChangeTimestamp (Function) TraceMgrPacketGetConfig (Function) TraceMgrPacketGetFirst (Function) TraceMgrPacketGetNext (Function) TraceMgrPacketGetStartTime (Function) TraceMgrPacketGetState (Function) TraceMgrPacketOpen (Function) TraceMgrPacketReadBegin (Function) TraceMgrPacketReadEnd (Function) TraceMgrPacketReadFirst (Function) TraceMgrPacketReadFirst2 (Function) TraceMgrPacketReadNext (Function) TraceMgrPacketReadNext2 (Function) TraceMgrPacketResetTrigger (Function) TraceMgrPacketRestart (Function) TraceMgrPacketRestore (Function) TraceMgrPacketStart (Function) TraceMgrPacketStop (Function) TraceMgrPacketStore (Function) TraceMgrRecordAdd (Function) TraceMgrRecordGetConfig (Function) TraceMgrRecordGetFirst (Function) TraceMgrRecordGetNext (Function) TraceMgrRecordRemove (Function) TraceMgrRecordUpdate (Function) TraceMgrRecordUpdate2 (Function) TraceMgrRecordUpdate3 (Function) TraceMgrRecordUpdate4 (Function) TraceMgrRecordUpdate5 (Function) Indices and tables ¶ 1 Based on CmpTraceMgr.library, last modified 20.04.2021, 15:57:46. LibDoc 4.4.0.0-b.27 The content file CmpTraceMgr.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 20.04.2021, 15:57:46.
EventParameter ¶ EVTPARAM_CmpTraceMgr_Packet (Struct) EVTPARAM_CmpTraceMgr_Record (Struct) EventIDs (GVL)
ComponentId (GVL) ¶ InOut: Scope Name Type Initial Constant CMPID_CmpTraceMgr UDINT 16#70
EVTPARAM_CmpTraceMgr_Packet (STRUCT) ¶ TYPE EVTPARAM_CmpTraceMgr_Packet : STRUCT Parameter type for trace manager packet events InOut: Name Type Comment hPacket RTS_IEC_HANDLE Handle to a trace packet
EVTPARAM_CmpTraceMgr_Record (STRUCT) ¶ TYPE EVTPARAM_CmpTraceMgr_Record : STRUCT Parameter type for trace manager record events InOut: Name Type Comment hPacket RTS_IEC_HANDLE Handle to a trace packet hRecord RTS_IEC_HANDLE Handle to a trace record pstTimestamp POINTER TO SYSTIME The address of the timestamp of the variable values
EventIDs (GVL) ¶ Event Ids for the events of CmpTraceMgr. All packet events have the parameter type EVTPARAM_CmpTraceMgr_Packet . All record events have the parameter type EVTPARAM_CmpTraceMgr_Record . InOut: Scope Name Type Initial Comment Constant EVTPARAMID_CmpTraceMgr_Packet UDINT 16#1 EVTVERSION_CmpTraceMgr_Packet UDINT 16#1 EVTPARAMID_CmpTraceMgr_Record UDINT 16#2 EVTVERSION_CmpTraceMgr_Record UDINT 16#1 EVT_TRACEMGR_PACKET_CREATE DWORD 16#10001 Sent after a packet is created (packet event) EVT_TRACEMGR_PACKET_DELETE DWORD 16#10002 Sent before a packet is deleted (packet event) EVT_TRACEMGR_ADD_RECORD DWORD 16#10003 Sent after a record has been added (record event) EVT_TRACEMGR_REMOVE_RECORD DWORD 16#10004 Sent before a record is removed (record event) EVT_TRACEMGR_PACKET_COMPLETE DWORD 16#10005 Sent when the packet is complete (all records have been added) (packet event) EVT_TRACEMGR_PACKET_STATE_CHANGED DWORD 16#10006 Sent after the packet state changed (packet event) EVT_TRACEMGR_UPDATE_RECORD DWORD 16#10007 Sent for each record when new samples are to be recorded. This is event is cyclically sent out of the trace task. (record event) EVT_TRACEMGR_PACKET_TRIGGER DWORD 16#10008 Sent when the trigger fires (packet event) EVT_TRACEMGR_PACKET_SAMPLE DWORD 16#10009 Sent just before the trace buffers are read by the trace editor to inform all trace handlers to provide all data
GlobalConstants (GVL) ¶ InOut: Scope Name Type Initial Constant TRACE_MAX_NAME_LEN INT 32 TRACE_MONITORING2_STATIC_BYTECODE_SIZE_CHARS INT 15
Structs ¶ AddressArea (Struct) Monitoring2ByteCode (Struct) Monitoring2ByteCodeUnion (Union) MonitoringService (Struct) PropertyLocation (Struct) SymVarAccess (Struct) SystemParameter (Struct) TraceAddress (Union) TracePacketConfiguration (Struct) TraceRecordConfiguration (Struct) TraceRecordEntry (Struct) TraceState (Struct) TraceTrigger (Struct) TraceVarInfo (Union) TraceVariable (Struct) TraceVariableAddress (Struct) TriggerState (Struct) TriggerValue (Union) TypeClass3 (Alias)