SysRWLWriteUnlock (FUN) ¶ FUNCTION SysRWLWriteUnlock : RTS_IEC_RESULT This function leaves a write lock, entered by SysRWLReadLock (synchronization object). RETURN: Returns the runtime system error code (see CmpErrors.library) InOut: Scope Name Type Comment Return SysRWLWriteUnlock RTS_IEC_RESULT Input hRWLock RTS_IEC_HANDLE Handle to the ReadWrite lock object created by SysRWLCreate
SysSem Implementation Library Documentation ¶ Company System Title SysSem Implementation Version 3.5.17.0 Categories System|SysLibs Author CODESYS Development GmbH Placeholder SysSem Implementation Description 1 ¶ Library provides access to operating system semaphores on the runtime system for data synchronization. ATTENTION: Be aware, that a hangup could occur, if your task will be suspended because of a watchdog error in your protected code! Contents: ¶ SysSemCreate (Function) SysSemDelete (Function) SysSemEnter (Function) SysSemLeave (Function) SysSemTry (Function) Indices and tables ¶ 1 Based on SysSem Implementation.library, last modified 20.04.2021, 16:07:18. LibDoc 4.4.0.0-b.27 The content file SysSem Implementation.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 20.04.2021, 16:07:18.
SysSemCreate (FUN) ¶ FUNCTION SysSemCreate : RTS_IEC_HANDLE This function can be used to create a semaphore (synchronization object). InOut: Scope Name Type Comment Return SysSemCreate RTS_IEC_HANDLE Handle to the semaphore or RTS_INVALID_HANDLE if failed. Input pResult POINTER TO RTS_IEC_RESULT Pointer to runtime system error code (see CmpErrors.library)
SysSemDelete (FUN) ¶ FUNCTION SysSemDelete : RTS_IEC_RESULT This function deletes the semaphore which is identified by its handle. InOut: Scope Name Type Comment Return SysSemDelete RTS_IEC_RESULT Return the runtime system error code (see CmpErrors.library) Input hSem RTS_IEC_HANDLE Handle of the semaphore
SysSemEnter (FUN) ¶ FUNCTION SysSemEnter : RTS_IEC_RESULT This function must be called before a task accesses data which also are used by other tasks. Thus the data will be bocked for other tasks, which also use SysSemEnter until by function SysSemLeave the semaphore will be set free again. The semaphore is identified by its handle. InOut: Scope Name Type Comment Return SysSemEnter RTS_IEC_RESULT Returns the runtime system error code (see CmpErrors.library) Input hSem RTS_IEC_HANDLE Handle of the semaphore
SysSemLeave (FUN) ¶ FUNCTION SysSemLeave : RTS_IEC_RESULT This function must be called after an access on data which are also used by other tasks. This is necessary to release the semaphore, which has been blocked before the access by function SysSemEnter. The semaphore is identified by its handle. InOut: Scope Name Type Comment Return SysSemLeave RTS_IEC_RESULT Returns the runtime system error code (see CmpErrors.library) Input hSem RTS_IEC_HANDLE Handle of the semaphore
SysSemTry (FUN) ¶ FUNCTION SysSemTry : RTS_IEC_RESULT Try to enter the semaphore. If semaphore is available, the function entered the semaphore and returned ERR_OK. If semaphore is not available, ERR_FAILED is returned. The semaphore is identified by its handle. Note Function is not blocking instead of SysSemEnter! Function returns immediate with an entered lock (ERR_OK) or without having the lock (ERR_FAILED)! InOut: Scope Name Type Comment Return SysSemTry RTS_IEC_RESULT Returns the runtime system error code (see CmpErrors.library) Input hSem RTS_IEC_HANDLE Handle of the semaphore
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 20.04.2021, 16:07:18 companyName string 3S-Smart Software Solutions GmbH libraryFile SysSem Implementation.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile SysSem Implementation.clean.json version version 2.0.0.0 ProjectInformation IsEndUserLibrary bool False Released True LastModificationDateTime date 20.04.2021, 16:07:18 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 SysSem Implementation Project SysSem Implementation Title SysSem Implementation 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)
SysSem Library Documentation ¶ Company System Title SysSem Version 3.5.17.0 Categories System|SysLibs Author 3S - Smart Software Solutions GmbH Placeholder SysSem Description 1 ¶ Library provides access to operating system semaphores on the runtime system for data synchronization. ATTENTION: Be aware, that a hangup could occur, if your task will be suspended because of a watchdog error in your protected code! Indices and tables ¶ 1 Based on SysSem.library, last modified 20.04.2021, 16:07:01. LibDoc 4.4.0.0-b.27 The content file SysSem.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 20.04.2021, 16:07:01.