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)
AddressArea (STRUCT) ¶ TYPE AddressArea : STRUCT Description of an IEC address InOut: Name Type Comment ulOffset UDINT Offset in an area of the memory segment in an IEC-application usArea WORD Area number of the memory segment in an IEC-application
Monitoring2ByteCode (STRUCT) ¶ TYPE Monitoring2ByteCode : STRUCT InOut: Name Type byteCode Monitoring2ByteCodeUnion ulSizeInBytes DWORD
Monitoring2ByteCodeUnion (UNION) ¶ TYPE Monitoring2ByteCodeUnion : UNION InOut: Name Type Comment pbyByteCode POINTER TO BYTE aByteCode ARRAY [0..TRACE_MONITORING2_STATIC_BYTECODE_SIZE_CHARS] OF BYTE see: TRACE_MONITORING2_STATIC_BYTECODE_SIZE_CHARS
MonitoringService (STRUCT) ¶ TYPE MonitoringService : STRUCT InOut: Name Type pbyService POINTER TO BYTE ulSize DWORD
TraceVariable (STRUCT) ¶ TYPE TraceVariable : STRUCT Definition of a single trace variable InOut: Name Type Comment pszName POINTER TO STRING Name of the variable tvaAddress TraceVariableAddress Address definition of the variable tcClass TypeClass3 Type class of the variable. See enum IBase.TypeClass for the possible values. ulSize UDINT Size in bytes of a sample value
TraceVariableAddress (STRUCT) ¶ TYPE TraceVariableAddress : STRUCT Address description of a single trace variable InOut: Name Type Comment ulAddressFlags UDINT Address flags. See TRACE_VAR_ADDRESS_FLAGS taAddress TraceAddress Trace address definition
TriggerState (STRUCT) ¶ TYPE TriggerState : STRUCT The state of the trigger InOut: Name Type Comment ulState UDINT The state. See TRACE_TRIGGER_STATE dtTriggerDate UDINT The date of the trigger event (in UTC) tTriggerReached SYSTIME The time of the trigger event