EventPost2 (FUN) ¶ FUNCTION EventPost2 : RTS_IEC_RESULT Post or sent an event InOut: Scope Name Type Comment Return EventPost2 RTS_IEC_RESULT Input hEvent RTS_IEC_HANDLE Event handle pEventParam POINTER TO EventParam2 Pointer to the event parameters
EventPostByEvent (FUN) ¶ FUNCTION EventPostByEvent : RTS_IEC_RESULT Post an event direct without the event handle InOut: Scope Name Type Comment Return EventPostByEvent RTS_IEC_RESULT Input EventId UDINT Event ID of the event. Contains the class and the event CmpIdProvider UDINT Component ID of the provider pEventParam POINTER TO EventParam Pointer to the event parameters
EventPostByEvent2 (FUN) ¶ FUNCTION EventPostByEvent2 : RTS_IEC_RESULT Post an event direct without the event handle InOut: Scope Name Type Comment Return EventPostByEvent2 RTS_IEC_RESULT Input EventId UDINT Event ID of the event. Contains the class and the event CmpIdProvider UDINT Component ID of the provider pEventParam POINTER TO EventParam2 Pointer to the event parameters
EventRegisterCallback (FUN) ¶ FUNCTION EventRegisterCallback : RTS_IEC_HANDLE Register an callback method to an event. The callback must be an interface from an Iec function block! Result will be set to ERR_DUPLICATE if pICallback is already registered. InOut: Scope Name Type Comment Return EventRegisterCallback RTS_IEC_HANDLE Input hEvent RTS_IEC_HANDLE Handle to event pICallback ICmpEventCallback Interface ICmpEventCallback Inout Result RTS_IEC_RESULT Error code
EventRegisterCallback2 (FUN) ¶ FUNCTION EventRegisterCallback2 : RTS_IEC_HANDLE Register an callback method to an event. The callback must be an interface from an Iec function block! Result will be set to ERR_DUPLICATE if the combination of pICallback and pUserParameter is already registered. InOut: Scope Name Type Comment Return EventRegisterCallback2 RTS_IEC_HANDLE Input hEvent RTS_IEC_HANDLE Handle to event pICallback ICmpEventCallback Interface ICmpEventCallback pUserParameter POINTER TO BYTE Pointer to user parameter, that is transmitted to the callback (see EventParam) Inout Result RTS_IEC_RESULT Error code
CmpHilscherCIFX Library Documentation ¶ Company System Title CmpHilscherCIFX Version 3.5.18.0 Categories System|SysLibs Author 3S - Smart Software Solutions GmbH Placeholder CmpHilscherCIFX Description 1 ¶ Interface to Hilscher NetX Toolkit. Contents: ¶ Constants CIFXCommandIds (GVL) CmdDefinitons (GVL) CommunicationClasses (GVL) DiagStates (GVL) DriverSpecific (GVL) InfoIDs (GVL) NetXErrorCodes (GVL) ProtocolClasses (GVL) Datastructs CIFX_BOARD (Struct) CIFX_BOARD_INFORMATION (Struct) CIFX_CHANNEL (Struct) CIFX_CHANNEL_INFORMATION (Struct) CIFX_COMMON_STATUS_BLOCK (Struct) CIFX_COMMON_STATUS_BLOCK_MASTER (Struct) CIFX_COM_DIAGNOSTICS (Struct) CIFX_DEV_INFO (Struct) CIFX_DIRECTORY_ENTRY (Struct) CIFX_ERROR_FIELD (Struct) CIFX_INDICATION_PARAM (Struct) CIFX_MASTER_DIAG (Struct) CIFX_MEMORY_INFORMATION (Struct) CIFX_PACKET (Struct) CmpHilscherCIFX PacketInterface SYSTEM_MEMORY_INFORMATION (Struct) SystemInfo TLR_PACKET_HEADER_T (Struct) EventMgr EVTPARAM_BeforeCheckFirmware (Struct) EVTPARAM_CIFX_GetFirmware (Struct) EVTPARAM_CIFX_LoadFirmware (Struct) EVTPARAM_CIFX_PacketParam (Struct) EVTPARAM_CIFX_xChannelClose (Struct) EVTPARAM_CIFX_xChannelOpen (Struct) EVTPARAM_DownloadProgress (Struct) EVTPARAM_PacketConfirmation (Struct) EVTPARAM_PacketIndication (Struct) EVTPARAM_PacketUnhandled (Struct) EVTPARAM_UploadProgress (Struct) EventIds (GVL) Functions CIFX_GetBusActivationBeforeReset (Function) CIFX_ResetConfigApplication (Function) Channel Driver NETX_UDINT_TO_STRINGHEX (Function) SysDevice Indices and tables ¶ 1 Based on CmpHilscherCIFX.library, last modified 01.04.2022, 08:13:28. LibDoc 4.4.0.0-b.27 The content file CmpHilscherCIFX.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 01.04.2022, 08:13:28.
Constants ¶ CIFXCommandIds (GVL) CmdDefinitons (GVL) CommunicationClasses (GVL) DiagStates (GVL) DriverSpecific (GVL) InfoIDs (GVL) NetXErrorCodes (GVL) ProtocolClasses (GVL)
CIFXCommandIds (GVL) ¶ InOut: Scope Name Type Initial Constant RCX_SET_WATCHDOG_TIME_REQ UDINT 16#2F04 CIFX_GET_SLAVE_HANDLE_REQ UDINT 16#2F08 CIFX_GET_SLAVE_HANDLE_CNF UDINT 16#2F09 CIFX_GET_SLAVE_CONNECT_INFO_REQ UDINT 16#2F0A CIFX_GET_SLAVE_CONNECT_INFO_CNF UDINT 16#2F0B
CmdDefinitons (GVL) ¶ InOut: Scope Name Type Initial Comment Constant CIFX_APPLICATION UDINT 16#20 CIFX_HOST_STATE_TIMEOUT UDINT 16#3E8 Timeout Definitions CIFX_BUS_STATE_TIMEOUT UDINT 16#3E8 CIFX_LOCK_TIMEOUT UDINT 16#7D0 CIFX_CONFIG_TIMEOUT UDINT 16#3E8 CIFX_INFO_CMD_SYSTEM_INFORMATION UDINT 1 Information commands CIFX_INFO_CMD_SYSTEM_INFO_BLOCK UDINT 2 CIFX_INFO_CMD_SYSTEM_CHANNEL_BLOCK UDINT 3 CIFX_INFO_CMD_SYSTEM_CONTROL_BLOCK UDINT 4 CIFX_INFO_CMD_SYSTEM_STATUS_BLOCK UDINT 5 CIFX_CMD_READ_DATA UDINT 1 General commands CIFX_CMD_WRITE_DATA UDINT 2 CIFX_HOST_STATE_NOT_READY UDINT 0 HOST mode definition CIFX_HOST_STATE_READY UDINT 1 CIFX_HOST_STATE_READ UDINT 2 CIFX_BUS_STATE_OFF UDINT 0 BUS state commands CIFX_BUS_STATE_ON UDINT 1 CIFX_BUS_STATE_GETSTATE UDINT 2 CIFX_WATCHDOG_STOP UDINT 0 WATCHDOG commands CIFX_WATCHDOG_START UDINT 1 CIFX_CONFIGURATION_UNLOCK UDINT 0 Configuration Lock commands CIFX_CONFIGURATION_LOCK UDINT 1 CIFX_CONFIGURATION_GETLOCKSTATE UDINT 2 CIFX_MEM_PTR_OPEN UDINT 1 Memory pointer commands CIFX_MEM_PTR_OPEN_USR UDINT 2 CIFX_MEM_PTR_CLOSE UDINT 3 CIFX_IO_INPUT_AREA UDINT 1 I/O area definition CIFX_IO_OUTPUT_AREA UDINT 2 CIFX_SYSTEMSTART UDINT 1 Reset definitions CIFX_CHANNELINIT UDINT 2 CIFX_DOWNLOAD_MODE_FIRMWARE UDINT 1 Download commands CIFX_DOWNLOAD_MODE_CONFIG UDINT 2 CIFX_DOWNLOAD_MODE_FILE UDINT 3 CIFX_QUEUE_FIFO UDINT 0 Queue modes CIFX_QUEUE_SRCID UDINT 1 CIFX_LIST_CONF_SLAVES UDINT 1 Diag Slave List CIFX_LIST_ACTV_SLAVES UDINT 2 CIFX_LIST_FAULTED_SLAVES UDINT 3 CIFX_SLAVE_STATE_UNDEFINED UDINT 0 Slave States CIFX_SLAVE_STATE_OK UDINT 1 CIFX_SLAVE_STATE_FAILED UDINT 2 CIFX_SYSCHANNEL_TYPE_UNDEFINED UDINT 16#0 System Channel Types CIFX_SYSCHANNEL_TYPE_NOT_AVAIL UDINT 16#1 CIFX_SYSCHANNEL_TYPE_RESERVED UDINT 16#2 CIFX_SYSCHANNEL_TYPE_SYSTEM UDINT 16#3 CIFX_SYSCHANNEL_TYPE_HANDSHAKE UDINT 16#4 CIFX_SYSCHANNEL_TYPE_COM UDINT 16#5 CIFX_SYSCHANNEL_TYPE_APP UDINT 16#6
CommunicationClasses (GVL) ¶ InOut: Scope Name Type Initial Constant RCX_COMM_CLASS_UNDEFINED UDINT 16#0 RCX_COMM_CLASS_UNCLASSIFIABLE UDINT 16#1 RCX_COMM_CLASS_MASTER UDINT 16#2 RCX_COMM_CLASS_SLAVE UDINT 16#3 RCX_COMM_CLASS_SCANNER UDINT 16#4 RCX_COMM_CLASS_ADAPTER UDINT 16#5 RCX_COMM_CLASS_MESSAGING UDINT 16#6 RCX_COMM_CLASS_CLIENT UDINT 16#7 RCX_COMM_CLASS_SERVER UDINT 16#8 RCX_COMM_CLASS_IO_CONTROLLER UDINT 16#9 RCX_COMM_CLASS_IO_DEVICE UDINT 16#A RCX_COMM_CLASS_IO_SUPERVISOR UDINT 16#B RCX_COMM_CLASS_GATEWAY UDINT 16#C RCX_COMM_CLASS_MONITOR UDINT 16#D RCX_COMM_CLASS_PRODUCER UDINT 16#E RCX_COMM_CLASS_CONSUMER UDINT 16#F RCX_COMM_CLASS_SWITCH UDINT 16#10 RCX_COMM_CLASS_HUB UDINT 16#11