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.
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. SysSem Implementation ¶ Library Identification ¶ Placeholder: SysSem Implementation Default Resolution: SysSem Implementation, * (System) Namespace: SysSem_Implementation Library Properties ¶ LinkAllContent: False Optional: False PublishSymbolsInContainer: True QualifiedOnly: False SystemLibrary: False Key: SysSem Implementation SysSem Interfaces ¶ Library Identification ¶ Name: SysSem Interfaces Version: newest Company: System Namespace: SysSem_Interfaces Library Properties ¶ LinkAllContent: False Optional: False PublishSymbolsInContainer: True QualifiedOnly: False SystemLibrary: False Key: SysSem Interfaces, * (System) 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)
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 20.04.2021, 16:07:01 companyName string 3S-Smart Software Solutions GmbH libraryFile SysSem.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile SysSem.clean.json version version 2.0.0.0 ProjectInformation IsCommonLibraryContainer bool True LinkInSimulation True Released True LastModificationDateTime date 20.04.2021, 16:07:01 LibraryCategories library-category-list System|SysLibs Author string 3S - Smart Software Solutions GmbH Company System CompiledLibraryCompatibilityVersion CODESYS V3.5 SP15 Patch 3 Description See: Description DocFormat reStructuredText Placeholder SysSem Project SysSem Title SysSem Version version 3.5.17.0
SysSemLeave30 (FUN) ¶ FUNCTION SysSemLeave30 : UDINT InOut: Scope Name Type Return SysSemLeave30 UDINT Input hSem UDINT
SysSemTry30 (FUN) ¶ FUNCTION SysSemTry30 : UDINT InOut: Scope Name Type Return SysSemTry30 UDINT Input hSem UDINT