Library Information ¶ GetLibVersion (Function) GetLibVersionNumber (Function) IsLibReleased (Function)
GetLibVersion (FUN) ¶ FUNCTION GetLibVersion : VERSION This function has been automatically generated from the project information. InOut: Scope Name Type Return GetLibVersion VERSION
GetLibVersionNumber (FUN) ¶ FUNCTION GetLibVersionNumber : DWORD This function has been automatically generated from the project information. InOut: Scope Name Type Return GetLibVersionNumber DWORD
IsLibReleased (FUN) ¶ FUNCTION IsLibReleased : BOOL This function has been automatically generated from the project information. InOut: Scope Name Type Return IsLibReleased BOOL
BOLT.Leave (METH) ¶ METHOD Leave : BOOL InOut: Scope Name Type Return Leave BOOL
BOLT.Reserve (METH) ¶ METHOD Reserve : BOOL InOut: Scope Name Type Comment Return Reserve BOOL Inout ctValue COUNT Reservation ticket number
IsBACnetPropertyAMEVASBWritable (FUN) ¶ FUNCTION IsBACnetPropertyAMEVASBWritable : BOOL Is the Property writable following a given PICs (following AMEV-AS-B). InOut: Scope Name Type Comment Return IsBACnetPropertyAMEVASBWritable BOOL Input objTyp CmpBACnet.IEC_BACNET_OBJECT_TYPE The object type to check. propID CmpBACnet.IEC_BACNET_PROPERTY_ID The property ID within the given object type to check.
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
SEMA.Preset (PROP) ¶ PROPERTY Preset : COUNT Init value of SEMA