SysIntDisableAll (FUN) ¶ FUNCTION SysIntDisableAll : RTS_IEC_RESULT <description>Function to disable all interrupts. By use of this functions all interrupts are deactivated (masked). A call of SysIntDisableAll has to be succeeded by a call to SysIntEnableAll!</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Comment Return SysIntDisableAll RTS_IEC_RESULT Input pulParam POINTER TO __UXINT <param name=”pulParam” type=”IN”>Parameter for the target to return the actual masled interrupts to use after in SysIntEnableAll().</param>
SysIntEnable (FUN) ¶ FUNCTION SysIntEnable : RTS_IEC_RESULT <description>Function to enable an interrupt. By use of this function the interrupt specified by its handle is activated.</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Comment Return SysIntEnable RTS_IEC_RESULT Input hInt RTS_IEC_HANDLE <param name=”hInt” type=”IN”>Handle to interrupt returned by SysIntOpen.</param>
SysIntEnableAll (FUN) ¶ FUNCTION SysIntEnableAll : RTS_IEC_RESULT A call to this function will be done after a call of function SysIntDisableAll and will restore the situation preceding the execution of SysIntDisableAll. That means, all interrupts, having been activated before the call to SysIntDisableAll are activated again. <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Comment Return SysIntEnableAll RTS_IEC_RESULT Input pulParam POINTER TO __UXINT <param name=”pulParam” type=”IN”>Parameter for the target with the masked interrupts that must are deactivated by the previous call to SysIntDisableAll().</param>
SysIntLevel (FUN) ¶ FUNCTION SysIntLevel : RTS_IEC_RESULT <description> This function checks if the processor is actually executing an ISR. This information is necessary, as some functions of an operating system must not be called within the interrupt level. </description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library): <ul> <li>ERR_OK: We are still in an interrupt handler</li> <li>ERR_FAILED: not in interrupt context</li> </ul> </p></result> InOut: Scope Name Type Return SysIntLevel RTS_IEC_RESULT
SysIntOpenByName (FUN) ¶ FUNCTION SysIntOpenByName : RTS_IEC_HANDLE <description>Open a valid interrupt specified by name</description> <result><p>RESULT: Handle to the interrupt or RTS_INVALID_HANDLE if failed.</p></result> InOut: Scope Name Type Comment Return SysIntOpenByName RTS_IEC_HANDLE Input pszIntName STRING <param name=”pszIntName” type=”IN”>Interrupt name defined in the settings component</param> Result POINTER TO RTS_IEC_RESULT <param name=”pResult” type=”OUT”>Pointer to runtime system error code (see CmpErrors.library)</param>
SysIntOpen (FUN) ¶ FUNCTION SysIntOpen : RTS_IEC_HANDLE <description>Open a valid interrupt</description> <result><p>RESULT: Handle to the interrupt or RTS_INVALID_HANDLE if failed.</p></result> InOut: Scope Name Type Comment Return SysIntOpen RTS_IEC_HANDLE Input ulInterrupt UDINT <param name=”ulInterrupt” type=”IN”>Interrupt number</param> pIntDescription POINTER TO SYS_INT_DESCRIPTION <param name=”pIntDescription” type=”IN”>Pointer to optional interrupt description</param> pResult POINTER TO RTS_IEC_RESULT <param name=”pResult” type=”OUT”>Pointer to runtime system error code (see CmpErrors.library)</param>
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces.
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 03.07.2018, 10:34:55 companyName string 3S-Smart Software Solutions GmbH libraryFile SysInt23.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP13 contentFile SysInt23.clean.json version version 2.0.0.0 ProjectInformation Released bool True Support32BitOnly True LastModificationDateTime date 03.07.2018, 10:34:55 LibraryCategories library-category-list System|SysLibs23 Author string 3S - Smart Software Solutions GmbH Company System Description See: Description Project SysInt23 Title SysInt23 Version version 3.5.13.0
SysMem Library Documentation ¶ Company System Title SysMem Version 3.5.17.0 Categories System|SysLibs Namespace SysMem Author 3S - Smart Software Solutions GmbH Placeholder SysMem Description 1 ¶ This library provides access to the dynamic memory management of the runtim system. Contents: ¶ SysMemAllocData (Function) SysMemCmp (Function) SysMemCpy (Function) SysMemForceSwap (Function) SysMemFreeData (Function) SysMemGetCurrentHeapSize (Function) SysMemIsValidPointer (Function) SysMemMove (Function) SysMemReallocData (Function) SysMemSet (Function) SysMemSwap (Function) Indices and tables ¶ 1 Based on SysMem.library, last modified 20.04.2021, 16:04:25. LibDoc 4.4.0.0-b.27 The content file SysMem.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 20.04.2021, 16:04:25.
SysMemAllocData (FUN) ¶ FUNCTION SysMemAllocData : POINTER TO BYTE Allocates data memory of the specified size RETURN: Pointer to the memory block. 0 if no memory is not available InOut: Scope Name Type Comment Return SysMemAllocData POINTER TO BYTE Input szComponent STRING Can be the library- or POU-name from IEC udiSize __XWORD Requested size of the memory block pResult POINTER TO RTS_IEC_RESULT Pointer to runtime system error code (see CmpErrors_Itfs.library)