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 RXChgGetCurCapacity (Function) RXChgGetMsgSize (Function) XChgCreateH (Function) XChgCreateP (Function) XChgDelete (Function) XChgExtendH (Function) XChgGetSize (Function) XChgIsEmpty (Function) XChgMsgLeft (Function) Message Functions MsgAddRef (Function) MsgClone (Function) MsgGetData (Function) MsgGetRXChg (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)
Exchange Functions ¶ RXChgGetCurCapacity (Function) RXChgGetMsgSize (Function) XChgCreateH (Function) XChgCreateP (Function) XChgDelete (Function) XChgExtendH (Function) XChgGetSize (Function) XChgIsEmpty (Function) XChgMsgLeft (Function)
RXChgGetCurCapacity (FUN) ¶ FUNCTION RXChgGetCurCapacity : COUNT InOut: Scope Name Type Return RXChgGetCurCapacity COUNT Input hRXChg HANDLE peError POINTER TO ERROR
RXChgGetMsgSize (FUN) ¶ FUNCTION RXChgGetMsgSize : SIZE InOut: Scope Name Type Return RXChgGetMsgSize SIZE Input hRXChg HANDLE peError POINTER TO ERROR
XChgCreateH (FUN) ¶ FUNCTION XChgCreateH : 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 HANDLE Input ctNumMsg COUNT szBlockSize SIZE ctNumPrios COUNT peError POINTER TO ERROR
XChgCreateP (FUN) ¶ FUNCTION XChgCreateP : 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 HANDLE Input szBlockSize SIZE ctNumPrios COUNT szMemSize SIZE pMemory PVOID peError POINTER TO ERROR
XChgDelete (FUN) ¶ FUNCTION XChgDelete : ERROR Deletes an exchange created by XChgCreate InOut: Scope Name Type Return XChgDelete ERROR Input hXChg HANDLE
XChgExtendH (FUN) ¶ FUNCTION XChgExtendH : ERROR InOut: Scope Name Type Return XChgExtendH ERROR Input hXChg HANDLE ctNumMsg COUNT
XChgGetSize (FUN) ¶ FUNCTION XChgGetSize : SIZE InOut: Scope Name Type Return XChgGetSize SIZE Input ctNumMsg COUNT szBlockSize SIZE ctNumPrios COUNT