SysSharedMemoryWriteByte (FUN) ¶ FUNCTION SysSharedMemoryWriteByte : __UXINT This function can be used to write a defined number of bytes in “byte-wise” manner to a Shared Memory area, starting at a certain offset address. RETURN: Number of bytes written to the shared memory InOut: Scope Name Type Comment Return SysSharedMemoryWriteByte __UXINT Input hShm RTS_IEC_HANDLE Handle to the shared memory ulOffset __UXINT Offset in the shared memory pbyData POINTER TO BYTE Pointer to buffer with write data ulSize __UXINT Number of bytes to write pResult POINTER TO RTS_IEC_RESULT Pointer to runtime system error code (see CmpErrors.library)
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 20.04.2021, 16:08:07 companyName string 3S-Smart Software Solutions GmbH libraryFile SysShm Implementation.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile SysShm Implementation.clean.json version version 2.0.0.0 ProjectInformation IsEndUserLibrary bool False Released True LastModificationDateTime date 20.04.2021, 16:08:07 LibraryCategories library-category-list System|SysLibs Author string CODESYS Development GmbH Company System CompiledLibraryCompatibilityVersion CODESYS V3.5 SP15 Patch 3 DefaultNamespace Description See: Description DocFormat reStructuredText Placeholder SysShm Implementation Project SysShm Implementation Title SysShm Implementation Version version 3.5.17.0
POUs ¶ SysGetProjectId (Function) SysGetProjectInfo (Function) SysGetProjectInfoPrepare (Function) SysGetProjectRetainSize (Function)
SysGetProjectInfo (FUN) ¶ FUNCTION SysGetProjectInfo : BOOL To use this Lib, the flag “automatically generate POUs for Property Access” must be activated and the function must be called, before the project info could be read out. dtDate is not supported InOut: Scope Name Type Return SysGetProjectInfo BOOL Input ProjectInfo POINTER TO PROJECT_INFO
SysGetProjectInfoPrepare (FUN) ¶ FUNCTION SysGetProjectInfoPrepare : BOOL This function must be called at least one time, before the function SysGetProjectInfo could be called. InOut: Scope Name Type Return SysGetProjectInfoPrepare BOOL Input pGetBooleanProperty DWORD pGetTextProperty DWORD pGetNumberProperty DWORD pGetVersionProperty DWORD
SysGetProjectRetainSize (FUN) ¶ FUNCTION SysGetProjectRetainSize : DWORD This function retrieves the retain area size of the first application. Only one application is supported InOut: Scope Name Type Return SysGetProjectRetainSize DWORD
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 03.07.2018, 10:35:11 companyName string 3S-Smart Software Solutions GmbH libraryFile SysProjectInfo23.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP13 contentFile SysProjectInfo23.clean.json version version 2.0.0.0 ProjectInformation Released bool True Support32BitOnly True released False LastModificationDateTime date 03.07.2018, 10:35:11 LibraryCategories library-category-list System|SysLibs23 Author string 3S - Smart Software Solutions GmbH Company System Description See: Description Project SysProjectInfo23 Title SysProjectInfo23 Version string 3.1.2.1 Version version 3.5.13.0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. CmpApp ¶ Library Identification ¶ Placeholder: CmpApp Default Resolution: CmpApp, * (System) Namespace: CmpApp Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CmpApp CmpErrors2 Interfaces ¶ Library Identification ¶ Name: CmpErrors2 Interfaces Version: newest Company: System Namespace: CmpErrors Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CmpErrors2 Interfaces, * (System)
SysReadWriteLock Library Documentation ¶ Company System Title SysReadWriteLock Version 3.5.17.0 Categories System|SysLibs Author 3S - Smart Software Solutions GmbH Placeholder SysReadWriteLock Description 1 ¶ Library provides access to a synchronization object for multiple readers and a single writer on a shared resource. Contents: ¶ SysRWLCreate (Function) SysRWLDelete (Function) SysRWLReadLock (Function) SysRWLReadLockTry (Function) SysRWLReadUnlock (Function) SysRWLWriteLock (Function) SysRWLWriteLockTry (Function) SysRWLWriteUnlock (Function) Indices and tables ¶ 1 Based on SysReadWriteLock.library, last modified 20.04.2021, 16:06:53. LibDoc 4.4.0.0-b.27 The content file SysReadWriteLock.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 20.04.2021, 16:06:53.
SysRWLDelete (FUN) ¶ FUNCTION SysRWLDelete : RTS_IEC_RESULT This function can be used to delete a ReadWrite locking object (synchronization object) RETURN: Returns the runtime system error code (see CmpErrors.library) InOut: Scope Name Type Comment Return SysRWLDelete RTS_IEC_RESULT Input hRWLock RTS_IEC_HANDLE Handle to the ReadWrite lock object created by SysRWLCreate