BOLT.Reserve (METH) ¶ METHOD Reserve : BOOL InOut: Scope Name Type Comment Return Reserve BOOL Inout ctValue COUNT Reservation ticket number
SEMA (FB) ¶ FUNCTION_BLOCK FINAL SEMA This function block realizes a counting semaphore. It is based on the runtime system function SysCpuTestAndSet . A function block of type SEMA is used to manage limited resources. The counter of the semaphore symbolizes the number of resources available. If there is no special parameterization, the semaphore counter has the value one. The resources assigned to the semaphore are accessed with the Request method. This works as long as the counter is not zero at the time of the Request call. The counter is then reduced by one. With the method Release the resource previously called is released and the counter is increased by one. The call of the method Preset adjusts the initial counter of the semaphore in accordance with the requirements. If the method was executed successfully TRUE is returned, else FALSE is returned. A resource may thus only be used if the call Request returns TRUE. InOut: Scope Name Type Initial Input Const ctPreset COUNT 1 Properties: Preset Methods: Init Release Request Structure: Init (Method) Preset (Property) Release (Method) Request (Method)
SEMA.Init (METH) ¶ METHOD PROTECTED Init
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 17.05.2017, 16:37:28 companyName string 3S-Smart Software Solutions GmbH libraryFile CAA_TickUtil_Extern.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP10 Patch 2 contentFile CAA_TickUtil_Extern.clean.json version version 1.0.1.1 ProjectInformation Depends on PS bool False Depends on RTS False Released True LastModificationDateTime date 01.01.1601, 00:53:00 LibraryCategories library-category-list Intern|CAA|System Author string 3S - Smart Software Solutions GmbH Company CAA Technical Workgroup DefaultNamespace TICKU Description See: Description LanguageModelAttribute qualified-access-only Placeholder CAA TickUtil Project CAA_TickUtil_Extern Title CAA TickUtil Extern SpecVersion version 3.0.0.0 Version 3.5.7.0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. CAA Types Extern ¶ Library Identification ¶ Placeholder: CAA Types Default Resolution: CAA Types Extern, * (CAA Technical Workgroup) Namespace: CAA Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: CAA Types
CAA Tick Extern Library Documentation ¶ Company CAA Technical Workgroup Title CAA Tick Extern Version 3.5.7.0 Categories Intern|CAA|System Namespace TICKS Author 3S - Smart Software Solutions GmbH Placeholder CAA Tick Description 1 ¶ Supports the acces to a high resolution timestamp and provide the CAA.TICK type. Contents: ¶ CAA Tick Functions GlobalConstants GetSupplierVersion (Function) VersionConstants (GVL) Indices and tables ¶ 1 Based on CAA_Tick_Extern.library, last modified 01.01.1601, 00:53:00. LibDoc 4.4.0.0-b.27 The content file CAA_Tick_Extern.clean.json was generated with CODESYS V3.5 SP10 Patch 2 on 17.05.2017, 16:37:27.
CAA Tick ¶ Functions GetProperty (Function) GetTick (Function) GlobalConstants PropertyConstants (GVL)
Functions ¶ GetProperty (Function) GetTick (Function)
GetProperty (FUN) ¶ FUNCTION GetProperty : __XWORD InOut: Scope Name Type Return GetProperty __XWORD Input wProperty WORD
GetTick (FUN) ¶ FUNCTION GetTick : CAA.TICK InOut: Scope Name Type Return GetTick CAA.TICK Input xDummy BOOL