EventRegisterCallbackFunction2 (FUN) ¶ FUNCTION EventRegisterCallbackFunction2 : RTS_IEC_RESULT Register a callback function to an event. Callback is the address of an Iec function: ADR(function) InOut: Scope Name Type Comment Return EventRegisterCallbackFunction2 RTS_IEC_RESULT Input hEvent RTS_IEC_HANDLE Handle to event pfCallbackFunction POINTER TO BYTE Address of callback function. Prototype: same as ICmpEventCallback::EventCallback method Function pointer is retrieved by the ADR operator: ADR(function) pUserParameter POINTER TO BYTE Pointer to user parameter, that is transmitted optional to the callback (see EventParam)
EventRegisteredCallbacks (FUN) ¶ FUNCTION EventRegisteredCallbacks : UDINT Returns the number of registered callbacks on the event InOut: Scope Name Type Comment Return EventRegisteredCallbacks UDINT Input hEvent RTS_IEC_HANDLE Event handle Inout Result RTS_IEC_RESULT Error code
EventUnregisterCallback (FUN) ¶ FUNCTION EventUnregisterCallback : RTS_IEC_RESULT Unregister a callback interface from an event specified by handle and callback interface InOut: Scope Name Type Comment Return EventUnregisterCallback RTS_IEC_RESULT Input hEvent RTS_IEC_HANDLE Event handle hInterface RTS_IEC_HANDLE Callback handle is returned by EventRegisterCallback() or EventRegisterCallback2()!!!
EventUnregisterCallbackFunction (FUN) ¶ FUNCTION EventUnregisterCallbackFunction : RTS_IEC_RESULT Unregister a callback function from an event specified by handle and callback InOut: Scope Name Type Comment Return EventUnregisterCallbackFunction RTS_IEC_RESULT Input hEvent RTS_IEC_HANDLE Handle to event pfCallbackFunction POINTER TO BYTE Address of callback function. Function pointer is retrieved by the ADR operator: ADR(function)
EventUnregisterCallbackFunction2 (FUN) ¶ FUNCTION EventUnregisterCallbackFunction2 : RTS_IEC_RESULT Unregister a callback function with a specific user parameter from an event specified by handle and callback and parameter InOut: Scope Name Type Comment Return EventUnregisterCallbackFunction2 RTS_IEC_RESULT Input hEvent RTS_IEC_HANDLE Handle to event pfCallbackFunction POINTER TO BYTE Address of callback function. Function pointer is retrieved by the ADR operator: ADR(function) pUserParameter POINTER TO BYTE Pointer to user parameter, that was specified as a parameter at EventRegisterCallback2()
CmpLogAsync Library Documentation ¶ Company System Title CmpLogAsync Version 3.5.17.0 Categories System|SysLibs Author 3S - Smart Software Solutions GmbH Placeholder CmpLogAsync Description 1 ¶ Asynchronous logger messages Contents: ¶ CmpLogAsyncFB (FunctionBlock) CmpLogAddAsync (Method) Wrapper DUT tCmpLogAdd (Struct) Indices and tables ¶ 1 Based on CmpLogAsync.library, last modified 20.04.2021, 15:43:46. LibDoc 4.4.0.0-b.27 The content file CmpLogAsync.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 20.04.2021, 15:43:46.
CmpLogAsyncFB (FB) ¶ FUNCTION_BLOCK CmpLogAsyncFB EXTENDS AsyncBaseClass Methods: CmpLogAddAsync CmpLogAddAsyncWrapper Structure: CmpLogAddAsync (Method) Wrapper CmpLogAddAsyncWrapper (Method)
CmpLogAsyncFB.CmpLogAddAsync (METH) ¶ METHOD CmpLogAddAsync : RTS_IEC_HANDLE InOut: Scope Name Type Comment Return CmpLogAddAsync RTS_IEC_HANDLE Input pParam POINTER TO tCmpLogAdd pudState POINTER TO UDINT pResult POINTER TO RTS_IEC_RESULT Result of Jobadd
Wrapper ¶ CmpLogAddAsyncWrapper (Method)
CmpLogAsyncFB.CmpLogAddAsyncWrapper (METH) ¶ METHOD CmpLogAddAsyncWrapper : RTS_IEC_RESULT InOut: Scope Name Type Return CmpLogAddAsyncWrapper RTS_IEC_RESULT Input pParam POINTER TO tCmpLogAdd