SysMemFreeData (FUN) ¶ FUNCTION SysMemFreeData : RTS_IEC_RESULT Release data memory RETURN: Returns the runtime system error code (see CmpErrors_Itfs.library) InOut: Scope Name Type Comment Return SysMemFreeData RTS_IEC_RESULT Input szComponent STRING Name of the component. Can be the library- or POU-name from IEC. pMemory POINTER TO BYTE Pointer to memory to be released
SysMemGetCurrentHeapSize (FUN) ¶ FUNCTION SysMemGetCurrentHeapSize : __XWORD Routine to get total size of the currently allocated heap memory RETURN: Size of the memory in bytes that is currently allocated from the heap InOut: Scope Name Type Comment Return SysMemGetCurrentHeapSize __XWORD Input pResult POINTER TO RTS_IEC_RESULT Pointer to runtime system error code (see CmpErrors_Itfs.library)
SysMemIsValidPointer (FUN) ¶ FUNCTION SysMemIsValidPointer : RTS_IEC_RESULT Check if a pointer points to a valid address RETURN: Returns the runtime system error code (see CmpErrors_Itfs.library): ERR_OK: Memory is valid ERR_FAILED: Memory is invalid. Cannot be accessed with the requested access mode bWrite InOut: Scope Name Type Comment Return SysMemIsValidPointer RTS_IEC_RESULT Input ptr POINTER TO BYTE Pointer to the memory to be checked udiSize __XWORD Size of the memory to be checked bWrite BOOL TRUE=Check, if memory can be written, FALSE=Check only for read access
SysMemMove (FUN) ¶ FUNCTION SysMemMove : POINTER TO BYTE Copy the content from source (pSrc) to destination buffer (pDest). This routine works for overlapping buffers too in opposite to SysMemCpy! RETURN: Pointer to the destination buffer, where the move was done InOut: Scope Name Type Comment Return SysMemMove POINTER TO BYTE Input pDest POINTER TO BYTE Pointer to memory address to be moved to (target) pSrc POINTER TO BYTE Pointer to memory address to be moved from (source) udiCount __XWORD Number of bytes to be moveed
SysMemReallocData (FUN) ¶ FUNCTION SysMemReallocData : POINTER TO BYTE Reallocate data memory with the specified size. By use of this function the size of a memory block can be modified (reallocation). Therefor a pointer on the memory block to be reallocated is passed to the function. The content of the memory block will not be modified. If the requested memory size cannot made available at the same place (address) , the function will allocate new memory space, RETURN: Pointer to the memory block. 0 if no memory is not available InOut: Scope Name Type Comment Return SysMemReallocData POINTER TO BYTE Input szComponent STRING Name of the component. Can be the library- or POU-name from IEC. pMemory POINTER TO BYTE Pointer to memory to resize udiSize __XWORD Requested size of the memory pResult POINTER TO RTS_IEC_RESULT Pointer to runtime system error code (see CmpErrors_Itfs.library)
SysMemSet (FUN) ¶ FUNCTION SysMemSet : POINTER TO BYTE By use of this function a memory space is initialized with a specified value RETURN: Pointer to the memory block which was initialized. 0 if the operation failed InOut: Scope Name Type Comment Return SysMemSet POINTER TO BYTE Input pDest POINTER TO BYTE Pointer to memory block to initialize udiValue UDINT Value with which the memory is to be initialized udiCount __XWORD Number of bytes to be initialized in the memory block
SysIntRegister (FUN) ¶ FUNCTION SysIntRegister : RTS_IEC_RESULT <description>Function to register an interrupt handler. By use of this function an interrupt handler (Interrupt Service Routine, ISR) for the interrupt specified by its handle gets registered. During registration, the start address of the function to be executed in case of the associated interrupt request is filled into the vector table on the target.</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Comment Return SysIntRegister RTS_IEC_RESULT Input hInt RTS_IEC_HANDLE <param name=”hInt” type=”IN”>Handle to interrupt returned by SysIntOpen.</param> pCallback POINTER TO BYTE <param name=”pCallback” type=”IN”>Interrupt handler. Callback layout:<br /> FUNCTION IntHandler : RTS_IEC_RESULT<br /> VAR_INPUT<br /> ulAdditionalInfo : UDINT;<br /> END_VAR </param> ulAdditionalInfo __UXINT <param name=”ulAdditionalInfo” type=”IN”>Info value that is transmitted to the interrupt handler</param>
SysIntUnregister (FUN) ¶ FUNCTION SysIntUnregister : RTS_IEC_RESULT <description>Function to unregister an interrupt handler</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result> InOut: Scope Name Type Comment Return SysIntUnregister RTS_IEC_RESULT Input hInt RTS_IEC_HANDLE <param name=”hInt” type=”IN”>Handle to interrupt returned by SysIntOpen.</param> pCallback POINTER TO BYTE <param name=”pCallback” type=”IN”>Interrupt handler</param>
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 20.04.2021, 16:04:17 companyName string 3S-Smart Software Solutions GmbH libraryFile SysInt.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile SysInt.clean.json version version 2.0.0.0 ProjectInformation Released bool True LastModificationDateTime date 20.04.2021, 16:04:17 LibraryCategories library-category-list System|SysLibs Author string 3S - Smart Software Solutions GmbH Company System CompiledLibraryCompatibilityVersion CODESYS V3.5 SP16 Description See: Description Placeholder SysInt Project SysInt Title SysInt Version version 3.5.17.0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. 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)