SEMA.Init (METH) ¶ METHOD PROTECTED Init
SEMA.Preset (PROP) ¶ PROPERTY Preset : COUNT Init value of SEMA
SEMA.Release (METH) ¶ METHOD Release : BOOL InOut: Scope Name Type Return Release BOOL
SEMA.Request (METH) ¶ METHOD Request : BOOL InOut: Scope Name Type Return Request BOOL
GlobalConstants ¶ Constants (GVL) System (GVL)
Constants (GVL) ¶ InOut: Scope Name Type Initial Comment Constant gc_hINVALID HANDLE 0 Invalid Handle gc_pNULL PVOID 0 Invalid Pointer gc_szZERO SIZE 0 Invalid Size gc_ctMAX_COUNT COUNT -1 Invalid Counter Value gc_idMAX_IDENT IDENT -1 Invalid Key Value
System (GVL) ¶ InOut: Scope Name Type Initial Comment Constant gc_eENDIANESS ENDIANESS ENDIANESS.LITTLE The endianness of a this system gc_eSYSTYPE SYSTYPE SYSTYPE.MEDIUM The type system of this system
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
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)