CAA Memory Block Manager ¶ Enums ERROR (Enum) Functions Exchange Functions XChgCreateH (Function) XChgCreateP (Function) XChgDelete (Function) XChgExtendH (Function) XChgGetSize (Function) XChgIsEmpty (Function) XChgMsgLeft (Function) Flat Functions FlatCreateH (Function) FlatCreateP (Function) FlatDelete (Function) FlatDisable (Function) FlatEnable (Function) FlatGetSize (Function) FlatRead (Function) FlatTest (Function) FlatUpdate (Function) Internal Exchange Functions _XChgCreateH (Function) _XChgCreateP (Function) _XChgDelete (Function) _XChgExtendH (Function) _XChgGetSize (Function) _XChgIsEmpty (Function) _XChgMsgLeft (Function) Flat Functions _FlatCreateH (Function) _FlatCreateP (Function) _FlatDelete (Function) _FlatDisable (Function) _FlatEnable (Function) _FlatGetSize (Function) _FlatRead (Function) _FlatTest (Function) _FlatUpdate (Function) Message Functions _MsgAddRef (Function) _MsgClone (Function) _MsgGetData (Function) _MsgReceive (Function) _MsgRelease (Function) _MsgReleaseEx (Function) _MsgSend (Function) Pool Functions _BlockGetData (Function) _BlockGetPool (Function) _PoolCreateH (Function) _PoolCreateP (Function) _PoolDelete (Function) _PoolExtendH (Function) _PoolGetBlock (Function) _PoolGetBlockSize (Function) _PoolGetCurCapacity (Function) _PoolGetNumBlocksLeft (Function) _PoolGetSize (Function) _PoolPutBlock (Function) Ready List _RLstAddPrio (Function) _RLstCheckPrio (Function) _RLstCreateH (Function) _RLstCreateP (Function) _RLstDelete (Function) _RLstGetHighestPrio (Function) _RLstGetSize (Function) _RLstRemovePrio (Function) Message Functions MsgAddRef (Function) MsgClone (Function) MsgGetData (Function) MsgReceive (Function) MsgRelease (Function) MsgReleaseEx (Function) MsgSend (Function) Pool Functions BlockGetData (Function) PoolCreateH (Function) PoolCreateP (Function) PoolDelete (Function) PoolExtendH (Function) PoolGetBlock (Function) PoolGetSize (Function) PoolPutBlock (Function) Ready List RLstAddPrio (Function) RLstCheckPrio (Function) RLstCreateH (Function) RLstCreateP (Function) RLstDelete (Function) RLstGetHighestPrio (Function) RLstGetSize (Function) RLstRemovePrio (Function) Internal BlkClass (FunctionBlock) Close (Method) FlatClass (FunctionBlock) Close (Method) MsgClass (FunctionBlock) Close (Method) PoolClass (FunctionBlock) Close (Method) RLstClass (FunctionBlock) Close (Method) RSHandling (GVL) XChgClass (FunctionBlock) Close (Method)
ERROR (ENUM) ¶ TYPE ERROR : Attributes: qualified_only InOut: Name Initial NO_ERROR 0 FIRST_ERROR 30100 UNKNOWN_EVENT 30102 NOMORE_MEMORY 30103 WRONG_PRIO 30104 EMPTY_LIST 30105 NO_EXIST_PRIO 30106 PRIO_EXIST 30107 PRIOS_EXCEED 30108 ALIGNMENT_ERROR 30109 BLOCKSIZE_TO_SMALL 30110 EMPTY_POOL 30111 EMPTY_EXCHANGE 30112 TIMEOUT 30113 WRONG_TIMEOUT 30114 REF_OVERFLOW 30115 WRONG_KEY 30116 HANDLE_INVALID 30117 REF_NOT_ZERO 30118 WRONG_NUM_OF_MSG 30119 BUFFER_TO_BIG 30120 WRONG_OP 30121 GEN_ERROR 30149 FIRST_MF 30150 LAST_ERROR 30199
Functions ¶ Exchange Functions XChgCreateH (Function) XChgCreateP (Function) XChgDelete (Function) XChgExtendH (Function) XChgGetSize (Function) XChgIsEmpty (Function) XChgMsgLeft (Function) Flat Functions FlatCreateH (Function) FlatCreateP (Function) FlatDelete (Function) FlatDisable (Function) FlatEnable (Function) FlatGetSize (Function) FlatRead (Function) FlatTest (Function) FlatUpdate (Function) Internal Exchange Functions _XChgCreateH (Function) _XChgCreateP (Function) _XChgDelete (Function) _XChgExtendH (Function) _XChgGetSize (Function) _XChgIsEmpty (Function) _XChgMsgLeft (Function) Flat Functions _FlatCreateH (Function) _FlatCreateP (Function) _FlatDelete (Function) _FlatDisable (Function) _FlatEnable (Function) _FlatGetSize (Function) _FlatRead (Function) _FlatTest (Function) _FlatUpdate (Function) Message Functions _MsgAddRef (Function) _MsgClone (Function) _MsgGetData (Function) _MsgReceive (Function) _MsgRelease (Function) _MsgReleaseEx (Function) _MsgSend (Function) Pool Functions _BlockGetData (Function) _BlockGetPool (Function) _PoolCreateH (Function) _PoolCreateP (Function) _PoolDelete (Function) _PoolExtendH (Function) _PoolGetBlock (Function) _PoolGetBlockSize (Function) _PoolGetCurCapacity (Function) _PoolGetNumBlocksLeft (Function) _PoolGetSize (Function) _PoolPutBlock (Function) Ready List _RLstAddPrio (Function) _RLstCheckPrio (Function) _RLstCreateH (Function) _RLstCreateP (Function) _RLstDelete (Function) _RLstGetHighestPrio (Function) _RLstGetSize (Function) _RLstRemovePrio (Function) Message Functions MsgAddRef (Function) MsgClone (Function) MsgGetData (Function) MsgReceive (Function) MsgRelease (Function) MsgReleaseEx (Function) MsgSend (Function) Pool Functions BlockGetData (Function) PoolCreateH (Function) PoolCreateP (Function) PoolDelete (Function) PoolExtendH (Function) PoolGetBlock (Function) PoolGetSize (Function) PoolPutBlock (Function) Ready List RLstAddPrio (Function) RLstCheckPrio (Function) RLstCreateH (Function) RLstCreateP (Function) RLstDelete (Function) RLstGetHighestPrio (Function) RLstGetSize (Function) RLstRemovePrio (Function)
Exchange Functions ¶ XChgCreateH (Function) XChgCreateP (Function) XChgDelete (Function) XChgExtendH (Function) XChgGetSize (Function) XChgIsEmpty (Function) XChgMsgLeft (Function)
XChgCreateH (FUN) ¶ FUNCTION XChgCreateH : CAA.HANDLE Creates a message exchange of the specified type with Memory from Heap ctNumPrios = 0 AND ctNumMsg <> 0 => Resource Exchange ctNumPrios <> 0 AND ctNumMsg = 0 => NormalExchange InOut: Scope Name Type Return XChgCreateH CAA.HANDLE Input ctNumMsg CAA.COUNT szBlockSize CAA.SIZE ctNumPrios CAA.COUNT eSendMsg CB.EVENT eReceiveMsg CB.EVENT eXchgEmpty CB.EVENT peError POINTER TO ERROR
XChgCreateP (FUN) ¶ FUNCTION XChgCreateP : CAA.HANDLE Creates a message exchange of the specified type with Memory from PLC ctNumPrios = 0 AND ctNumMsg <> 0 => Resource Exchange ctNumPrios <> 0 AND ctNumMsg = 0 => NormalExchange InOut: Scope Name Type Return XChgCreateP CAA.HANDLE Input szBlockSize CAA.SIZE ctNumPrios CAA.COUNT szMemSize CAA.SIZE pMemory CAA.PVOID eSendMsg CB.EVENT eReceiveMsg CB.EVENT eXchgEmpty CB.EVENT peError POINTER TO ERROR
XChgDelete (FUN) ¶ FUNCTION XChgDelete : ERROR Deletes an exchange created by XChgCreate InOut: Scope Name Type Return XChgDelete ERROR Input hXChg CAA.HANDLE
XChgExtendH (FUN) ¶ FUNCTION XChgExtendH : ERROR InOut: Scope Name Type Return XChgExtendH ERROR Input hXChg CAA.HANDLE ctNumMsg CAA.COUNT
XChgGetSize (FUN) ¶ FUNCTION XChgGetSize : CAA.SIZE InOut: Scope Name Type Return XChgGetSize CAA.SIZE Input ctNumMsg CAA.COUNT szBlockSize CAA.SIZE ctNumPrios CAA.COUNT