SIL2OEMStackIsValid (FUN) ¶ FUNCTION SIL2OEMStackIsValid : RTS_IEC_RESULT Function to check if Stack is Valid Returns ERR_OK if the stack is valid and ERR_FAILED if an error occured or was detected! InOut: Scope Name Type Return SIL2OEMStackIsValid RTS_IEC_RESULT
WRAP_FB_INIT_STRUCT (STRUCT) ¶ TYPE WRAP_FB_INIT_STRUCT : STRUCT InOut: Name Type _INSTANCEPOINTER POINTER TO BYTE bInitRetains BOOL bInCopyCode BOOL
WRAP_INITIALIZE_STRUCT (STRUCT) ¶ TYPE WRAP_INITIALIZE_STRUCT : STRUCT InOut: Name Type _INSTANCEPOINTER POINTER TO BYTE wModuleType UINT dwInstance UDINT pConnector POINTER TO IoConfigConnector
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 20.04.2021, 15:55:56 companyName string 3S-Smart Software Solutions GmbH libraryFile CmpSIL2.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile CmpSIL2.clean.json version version 2.0.0.0 ProjectInformation Released bool True SIL2 True LastModificationDateTime date 20.04.2021, 15:55:56 LibraryCategories library-category-list System|SysLibs Author string 3S - Smart Software Solutions GmbH Company System CompiledLibraryCompatibilityVersion CODESYS V3.5 SP15 Description See: Description Placeholder CmpSIL2 Project CmpSIL2 Title CmpSIL2 Version version 3.5.17.0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. IoStandard ¶ Library Identification ¶ Placeholder: IoStandard Default Resolution: IoStandard, * (System) Namespace: IoStandard Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: IoStandard 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)
CmpSettings Library Documentation ¶ Company System Title CmpSettings Version 3.5.17.0 Categories System|SysLibs Author 3S - Smart Software Solutions GmbH Placeholder CmpSettings Description 1 ¶ Library to access all configuration settings. Contents: ¶ SettgBeginUpdate (Function) SettgCacheOptions (GVL) SettgEndUpdate (Function) SettgGetIntValue (Function) SettgGetStringValue (Function) SettgGetWStringValue (Function) SettgRemoveKey (Function) SettgSetIntValue (Function) SettgSetStringValue (Function) SettgSetWStringValue (Function) Indices and tables ¶ 1 Based on CmpSettings.library, last modified 20.04.2021, 15:55:36. LibDoc 4.4.0.0-b.27 The content file CmpSettings.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 20.04.2021, 15:55:36.
SettgCacheOptions (GVL) ¶ Options of the parameter bCached InOut: Scope Name Type Initial Comment Constant CMPSETTINGS_CACHED DINT 0 Value is read from cache (default) CMPSETTINGS_NOT_CACHED DINT 1 Value is read from file and cache is updated for all values
SettgBeginUpdate (FUN) ¶ FUNCTION SettgBeginUpdate : RTS_IEC_RESULT Function to block writing settings to database file until SettgEndUpdate is called! But the settings cache is updated. NOTE: - Funcion can be called nested, so only at the last call of SettgEndUpdate , the database is written! - Always call SettgBeginUpdate() and SettgEndUpdate() symmetric!!! InOut: Scope Name Type Comment Return SettgBeginUpdate RTS_IEC_RESULT Runtime system error code (see CmpErrors.library).
SettgEndUpdate (FUN) ¶ FUNCTION SettgEndUpdate : RTS_IEC_RESULT Function to initiate writing settings to database file, if settings are modified after SettgBeginUpdate was called. NOTE: - Funcion can be called nested, so only at the last call of SettgEndUpdate , the database is written! - Always call SettgBeginUpdate and SettgEndUpdate symmetric!!! InOut: Scope Name Type Comment Return SettgEndUpdate RTS_IEC_RESULT Runtime system error code (see CmpErrors.library).
SettgGetIntValue (FUN) ¶ FUNCTION SettgGetIntValue : RTS_IEC_RESULT Get an integer value from settings InOut: Scope Name Type Comment Return SettgGetIntValue RTS_IEC_RESULT Runtime system error code (see CmpErrors.library). Input pszComponent REFERENCE TO STRING Name of component pszKey REFERENCE TO STRING Name of key piValue POINTER TO DINT Pointer to value for result iDefault DINT Default value to set, if key not found bCached DINT Flag, if value should be read cached or direct from file (CMPSETTINGS_CACHED, CMPSETTINGS_NOT_CACHED)