GlobalVariables ¶ Architecture (GVL)
Architecture (GVL) ¶ InOut: Name Type Initial Comment g_eENDIANESS ENDIANESS CalcEndianess() The endianness of a this system g_eSYSTYPE SYSTYPE CalcSystemType() The system type of this system
FromBACnetContents ¶ Utilities for getting IEC typed values from BACnet-Property-Content form data. GetBitStringFromContents (Function) GetBoolFromContents (Function) GetDateFromContents (Function) GetDateRangeFromContents (Function) GetDateTimeFromContents (Function) GetDevObjPropReferenceFromContents (Function) GetLrealFromContents (Function) GetObjectIDFromContents (Function) GetRealFromContents (Function) GetSetpointReferenceFromContents (Function) GetSignedFromContents (Function) GetTimeFromContents (Function) GetUnsignedFromContents (Function) GetWStringFromContents (Function)
Helper Fuctions ¶ The exchange of data between different tasks can be carried out with the functions (Message Passing) of the CAA_MemBlockManager ( MBM.MsgSend , MBM.MsgReceive ). Alternatively the jobs of different tasks on shared memory can be coordinated with the following functions or function blocks. These functions are to protect short code sections against simultaneous access of other IEC tasks (e.g. the consistent reallocation of pointers). This function uses a central semaphore and is based on the macros CAA_ENTER_LOCK and CAA_LEAVE_LOCK in the runtime system. As a consequence, a caller is really blocked. These functions are only meant for library developers and therefore have the attribute hide . TaskLock (Function) TaskUnlock (Function)
TaskLock (FUN) ¶ FUNCTION TaskLock : ERROR This call blocks the calling task until the respective code section is free. InOut: Scope Name Type Return TaskLock ERROR Input xDummy BOOL
TaskUnlock (FUN) ¶ FUNCTION TaskUnlock : ERROR This call unlocks a code section formally blocked with TaskLock. InOut: Scope Name Type Return TaskUnlock ERROR Input xDummy BOOL
GetBitStringFromContents (FUN) ¶ FUNCTION GetBitStringFromContents : STRING Tries to evaluate property contents as which are Bit-Strings as STRING data type. If the contents can not be interpretated InOut: Scope Name Type Comment Return GetBitStringFromContents STRING Input conts CmpBACnet.IEC_BACNET_PROPERTY_CONTENTS The contents to be evaluated as Bir-String STRING.
DURATION (ALIAS) ¶ TYPE DURATION : TIME Realize a general data type for handlig durations.
FILENAME (ALIAS) ¶ TYPE FILENAME : STRING(255) Realize a target specific data type for handlig filenames.
FLOAT (ALIAS) ¶ TYPE FLOAT : LREAL Realize a general floating point data type.