SIL2OEMGetCallerContext (FUN) ¶ FUNCTION SIL2OEMGetCallerContext : UDINT Function to get the current Caller Context. Returns RTS_SIL2_CALLERCTX_SAFE or RTS_SIL2_CALLERCTX_UNSAFE depending on Caller context Returns RTS_SIL2_CALLERCTX_ERROR if error occured or if in unknown state. InOut: Scope Name Type Return SIL2OEMGetCallerContext UDINT
SIL2OEMGetMemoryState (FUN) ¶ FUNCTION SIL2OEMGetMemoryState : RTS_SIL2_ADDRESSSTATE Function to get the MemoryState (safe/unsafe) for a specific Memoryrange. The Addressrange where pAddress points to with the length of ulLength is checked and the corresponding RTS_SIL2_ADDRESSSTATE is returned: RTS_SIL2_ADDRESS_SAFE or RTS_SIL2_ADDRESS_UNSAFE. InOut: Scope Name Type Return SIL2OEMGetMemoryState RTS_SIL2_ADDRESSSTATE Input pAddress POINTER TO BYTE udiLength UDINT
SIL2OEMGetOperationMode (FUN) ¶ FUNCTION SIL2OEMGetOperationMode : RTS_SIL2_OPMODE Function to get the Operationmode of the Runtime Returns RTS_SIL2_OPMODE_DEBUG or RTS_SIL2_OPMODE_SAFE depending on Operationmode, Returns RTS_SIL2_OPMODE_ERROR if error occured or if in unknown state InOut: Scope Name Type Return SIL2OEMGetOperationMode RTS_SIL2_OPMODE
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)
CmpSchedule Library Documentation ¶ Company System Title CmpSchedule Version 3.5.17.0 Categories System|SysLibs Author 3S - Smart Software Solutions GmbH Placeholder CmpSchedule Description 1 ¶ Library to get access to the runtime system scheduler. This can be used to access all IEC tasks and the exported scheduler functions. Contents: ¶ SchedGetCurrentTask (Function) SchedGetNumOfTasks (Function) SchedGetProcessorLoad (Function) SchedGetTaskEventByHandle (Function) SchedGetTaskHandleByIndex (Function) SchedGetTaskHandleByName (Function) SchedGetTaskInterval (Function) SchedPostExternalEvent (Function) SchedRegisterExternalEvent (Function) SchedSetTaskInterval (Function) SchedUnregisterExternalEvent (Function) SchedWaitBusy (Function) SchedWaitSleep (Function) Indices and tables ¶ 1 Based on CmpSchedule.library, last modified 20.04.2021, 15:55:19. LibDoc 4.4.0.0-b.27 The content file CmpSchedule.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 20.04.2021, 15:55:19.
SchedGetNumOfTasks (FUN) ¶ FUNCTION SchedGetNumOfTasks : DINT <description> Is called to get the number of all registerd IEC tasks in the scheduler. </description> <param name=”pApp” type=”IN”>If an application is specified, only the tasks of this application is returned. If NULL, number of all tasks is returned. </param> <param name=”pResult” type=”OUT”>ERR_OK or Error code</param> <result>Number of tasks</result> InOut: Scope Name Type Return SchedGetNumOfTasks DINT Input pApp POINTER TO APPLICATION pResult POINTER TO RTS_IEC_RESULT