MsgClone (FUN) ¶ FUNCTION MsgClone : CAA.HANDLE InOut: Scope Name Type Return MsgClone CAA.HANDLE Input hMsg CAA.HANDLE peError POINTER TO ERROR
MsgGetData (FUN) ¶ FUNCTION MsgGetData : CAA.PVOID InOut: Scope Name Type Return MsgGetData CAA.PVOID Input hMsg CAA.HANDLE peError POINTER TO ERROR
MsgReceive (FUN) ¶ FUNCTION MsgReceive : CAA.HANDLE Gets a message from hXChg InOut: Scope Name Type Return MsgReceive CAA.HANDLE Input hXChg CAA.HANDLE pctMsgLeft POINTER TO CAA.COUNT peError POINTER TO ERROR
MsgRelease (FUN) ¶ FUNCTION MsgRelease : ERROR If this message has the last reference, then Send it back to its ResourceExchange InOut: Scope Name Type Return MsgRelease ERROR Input hMsg CAA.HANDLE
MsgReleaseEx (FUN) ¶ FUNCTION MsgReleaseEx : ERROR If this message has the last reference, then Send it back to hXchg InOut: Scope Name Type Return MsgReleaseEx ERROR Input hMsg CAA.HANDLE hXChg CAA.HANDLE
MsgSend (FUN) ¶ FUNCTION MsgSend : ERROR InOut: Scope Name Type Return MsgSend ERROR Input hMsg CAA.HANDLE usiPrio USINT hXChg CAA.HANDLE
Pool Functions ¶ BlockGetData (Function) PoolCreateH (Function) PoolCreateP (Function) PoolDelete (Function) PoolExtendH (Function) PoolGetBlock (Function) PoolGetSize (Function) PoolPutBlock (Function)
BlockGetData (FUN) ¶ FUNCTION BlockGetData : CAA.PVOID InOut: Scope Name Type Return BlockGetData CAA.PVOID Input hBlock CAA.HANDLE peError POINTER TO ERROR
PoolCreateH (FUN) ¶ FUNCTION PoolCreateH : CAA.HANDLE Take a pool of ctNumBlocks * szBlockSize bytes from the Heap(OS) and build a block pool InOut: Scope Name Type Return PoolCreateH CAA.HANDLE Input ctNumBlocks CAA.COUNT szBlockSize CAA.SIZE eEmpty CB.EVENT peError POINTER TO ERROR
PoolCreateP (FUN) ¶ FUNCTION PoolCreateP : CAA.HANDLE Take as much as possible block of szBlockSize bytes from a PLC(IEC) provided memory and build a block pool InOut: Scope Name Type Return PoolCreateP CAA.HANDLE Input szBlockSize CAA.SIZE szMemSize CAA.SIZE pMemory CAA.PVOID eEmpty CB.EVENT peError POINTER TO ERROR