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)
SysInt23 Library Documentation ¶ Company System Title SysInt23 Version 3.5.13.0 Categories System|SysLibs23 Author 3S - Smart Software Solutions GmbH Description 1 ¶ Compatibility library for CoDeSys 2.3 projects, to get access to interrupts. Contents: ¶ Data types HardwareIRQs_PC (Enum) POUs SysInstallIntHandler (Function) SysRemoveIntHandler (Function) extern30 BusSpecific (Union) GVL (GVL) IsaInterrupt (Struct) PciInterrupt (Struct) SYS_INT_DESCRIPTION (Struct) SysIntClose (Function) SysIntDisable (Function) SysIntEnable (Function) SysIntOpen (Function) SysIntRegister (Function) SysIntUnregister (Function) Indices and tables ¶ 1 Based on SysInt23.library, last modified 03.07.2018, 10:34:55. LibDoc 4.4.0.0-b.27 The content file SysInt23.clean.json was generated with CODESYS V3.5 SP13 on 03.07.2018, 10:34:55.
HardwareIRQs_PC (ENUM) ¶ TYPE HardwareIRQs_PC : InOut: Name Initial Comment HW_IRQ0 8 Timer HW_IRQ1 9 Keyboard HW_IRQ2 10 Secondary interrupt controller HW_IRQ3 11 Serial interface 2 HW_IRQ4 12 Serial interface 1 HW_IRQ5 13 Hard Disk HW_IRQ6 14 Floppy HW_IRQ7 15 Printer HW_IRQ8 112 Realtime Clock HW_IRQ9 113 – HW_IRQ10 114 – HW_IRQ11 115 – HW_IRQ12 116 – HW_IRQ13 117 – HW_IRQ14 118 – HW_IRQ15 119 –