WriteBool (FUN) ¶ FUNCTION WriteBool : DINT The WiteBool method writes one bit from data to the given offset. @param deviceId The device to write the bit to. @param bitOffset The bit offset to write the bit at. @param value Pointer from where the bit will be written from. @return Returns 0 on success, -1 otherwise. InOut: Scope Name Type Return WriteBool DINT Input deviceId DINT taskId UDINT bitOffset UDINT value BOOL
WriteBytes (FUN) ¶ FUNCTION WriteBytes : DINT Writes size bytes from at the supplied offset to the process images of the device. @param deviceId Id of the device @param offset Offset where the data will be written at. @param size Size of the data to write. @param data The data to write. @return Returns 0 on success, -1 otherwise InOut: Scope Name Type Return WriteBytes DINT Input deviceId DINT taskId UDINT offset UDINT size UDINT data POINTER TO BYTE
tEventHandler (ALIAS) ¶ TYPE tEventHandler : udint typedef void ( tEventHandler)(tEventSource source, tEventId id, tEventArgs arg, void userData);
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 25.10.2023, 14:04:37 companyName string 3S-Smart Software Solutions GmbH libraryFile CmpKBus.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile CmpKBus.clean.json version version 2.0.0.0 ProjectInformation IsEndUserLibrary bool False Released True LastModificationDateTime date 25.10.2023, 14:04:35 LibraryCategories library-category-list System|SysLibs Author string CODESYS Development GmbH Company CODESYS CompiledLibraryCompatibilityVersion CODESYS V3.5 SP16 DefaultNamespace KBUS Description See: Description DocFormat reStructuredText LanguageModelAttribute qualified-access-only Placeholder CmpKBus Project CmpKBus Title CmpKBus Version version 4.10.0.0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. CAA Types Extern ¶ Library Identification ¶ Placeholder: CAA Types Default Resolution: CAA Types Extern, * (CAA Technical Workgroup) Namespace: CAA Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: CAA Types
CmpKNX Library Documentation ¶ Company 3S - Smart Software Solutions GmbH Title CmpKNX Version 3.5.17.0 Categories System|SysLibs Namespace CmpKNXLibrary Author 3S - Smart Software Solutions GmbH Placeholder CmpKNX Description 1 ¶ IEC library for runtime component Indices and tables ¶ 1 Based on CmpKNX.library, last modified 20.04.2021, 15:43:19. LibDoc 4.4.0.0-b.27 The content file CmpKNX.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 20.04.2021, 15:43:19.
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 20.04.2021, 15:43:19 companyName string 3S-Smart Software Solutions GmbH libraryFile CmpKNX.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile CmpKNX.clean.json version version 2.0.0.0 ProjectInformation IsEndUserLibrary bool False Released True LastModificationDateTime date 20.04.2021, 15:43:19 LibraryCategories library-category-list System|SysLibs Author string 3S - Smart Software Solutions GmbH Company 3S - Smart Software Solutions GmbH CompiledLibraryCompatibilityVersion CODESYS V3.5 SP15 DefaultNamespace CmpKNXLibrary Description See: Description LanguageModelAttribute qualified-access-only Placeholder CmpKNX Project CmpKNX Title CmpKNX Version version 3.5.17.0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. IoDrvKnxStack Interfaces ¶ Library Identification ¶ Name: IoDrvKnxStack Interfaces Version: newest Company: 3S - Smart Software Solutions GmbH Namespace: IoDrvKnxStackItfs Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: IoDrvKnxStack Interfaces, * (3S - Smart Software Solutions GmbH)
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.
TraceMgrPacketCreate (FUN) ¶ FUNCTION TraceMgrPacketCreate : RTS_IEC_HANDLE Creates a new trace packet. The returned handle must be deleted with TraceMgrPacketDelete when the packet is no longer needed. InOut: Scope Name Type Comment Return TraceMgrPacketCreate RTS_IEC_HANDLE Returns the runtime system error code (see CmpErrors.library): ERR_PARAMETER if pConfiguration.pszName is 0 ERR_DUPLICATE if a packet with the given name already exists ERR_NOMEMORY if the available memory is not sufficient to create the packet Inout pConfiguration TracePacketConfiguration The trace packet configuration (in) pResult RTS_IEC_RESULT The result code (out)