DiagStates (GVL) ¶ InOut: Scope Name Type Initial Constant CIFX_STATE_OFFLINE BYTE 16#0 CIFX_STATE_STOP BYTE 16#40 CIFX_STATE_CLEAR BYTE 16#80 CIFX_STATE_OPERATE BYTE 16#C0 CIFX_COS_READY UDINT 16#1 CIFX_COS_RUNNING UDINT 16#2 CFIX_COS_BUSON UDINT 16#4 CIFX_COS_CONFIG_LOCKED UDINT 16#8 CIFX_COS_CONFIG_NEW UDINT 16#10 CIFX_COS_RESTART_REQUIERED UDINT 16#20 CIFX_COS_RESTART_ENABLED UDINT 16#40
DriverSpecific (GVL) ¶ InOut: Scope Name Type Initial Comment Constant MAX_CIFX_BORDS UDINT 10 CIFX_MAX_CHANNELS_OF_ONE_BOARD UDINT 4 4 Com Channels CLASSID_CCmpIoDrvCIFX UDINT 16#1002 CMPID_CmpIoDrvCifX UDINT 16#1004 CMP_VERSION UDINT 16#3050D00 CIFX_MAX_INFO_NAME_LENTH UDINT 16 CIFX_HEADER_SIZE UDINT 40 CIFX_MAX_PACKET_SIZE UDINT 1596 CIFX_MAX_DATA_SIZE UDINT (CIFX_MAX_PACKET_SIZE - CIFX_HEADER_SIZE) CIFX_BUSS_SYNC_DEV_CNTL BYTE 1 Control modes of the hilscher card CIFX_BUFFERED_DEV_CNTL BYTE 2 CIFX_UNCONTROLLED_CNTL BYTE 3 CIFX_BUFFERED_HOST_CNTL BYTE 4 CIFX_BUSSYNC_HOST_CNTL BYTE 5 CIFX_EXTBUF_HOST_CNTL BYTE 6
InfoIDs (GVL) ¶ InOut: Scope Name Type Initial Constant INFOID_NOMEMPTRINPUT UDINT 16#1 INFOID_NOMEMPTROUTPUT UDINT 16#2 INFOID_SETHOSTSTATEFAILED UDINT 16#3 INFOID_GETHOSTSTATEFAILED UDINT 16#4 INFOID_SETBUSSTATEFAILED UDINT 16#5 INFOID_ACTIVATEWRITE UDINT 16#6 INFOID_ACTIVATEREAD UDINT 16#7 INFOID_RESETFAILED UDINT 16#8 INFOID_RESETWATCHDOGFAILED UDINT 16#9 INFOID_APPDESTIDFAILED UDINT 16#A INFOID_GETEXTSTATEBLOCKFAILED UDINT 16#B INFOID_DUMPRESETSTART UDINT 16#C INFOID_DUMPRESETEND1 UDINT 16#D INFOID_DUMPRESETEND2 UDINT 16#E INFOID_SENDREQFAULTEDSLAVESHANDLEFAILED UDINT 16#F INFOID_REQFAULTEDSLAVESHANDLEFAILED UDINT 16#10 INFOID_DUMPUNLOCKSTART UDINT 16#11 INFOID_CONFIGSTILLLOCKED UDINT 16#12 INFOID_DUMPUNLOCK UDINT 16#13 INFOID_DUMPGETPTRSTART UDINT 16#14 INFOID_DUMPGETPTREND UDINT 16#15 INFOID_DUMPLOCKEND UDINT 16#16 INFOID_DUMPLOCKSTART UDINT 16#17 INFOID_NOFIRMWARE UDINT 16#18 INFOID_WDINACTIVE UDINT 16#19 INFOID_CONFIGUREWD UDINT 16#1A INFOID_MASTER_CON_MISSING UDINT 16#1B INFOID_OPT_DEACTIVATED UDINT 16#1C INFOID_WDEXCEEDED UDINT 16#1D INFOID_INSUFFICIENT_MEM UDINT 16#1E
NetXErrorCodes (GVL) ¶ InOut: Scope Name Type Initial Constant CIFX_NO_ERROR UDINT 16#0 CIFX_INVALID_POINTER UDINT 16#800A0001 CIFX_INVALID_BOARD UDINT 16#800A0002 CIFX_INVALID_CHANNEL UDINT 16#800A0003 CIFX_INVALID_HANDLE UDINT 16#800A0004 CIFX_INVALID_PARAMETER UDINT 16#800A0005 CIFX_INVALID_COMMAND UDINT 16#800A0006 CIFX_INVALID_BUFFERSIZE UDINT 16#800A0007 CIFX_INVALID_ACCESS_SIZE UDINT 16#800A0008 CIFX_FUNCTION_FAILED UDINT 16#800A0009 CIFX_FILE_OPEN_FAILED UDINT 16#800A000A CIFX_FILE_SIZE_ZERO UDINT 16#800A000B CIFX_FILE_LOAD_INSUFF_MEM UDINT 16#800A000C CIFX_FILE_READ_ERROR UDINT 16#800A000E CIFX_FILE_TYPE_INVALID UDINT 16#800A000F CIFX_FILE_NAME_INVALID UDINT 16#800A0010 CIFX_FUNCTION_NOT_AVAILABLE UDINT 16#800A0011 CIFX_BUFFER_TOO_SHORT UDINT 16#800A0012 CIFX_MEMORY_MAPPING_FAILED UDINT 16#800A0013 CIFX_DRV_NOT_INITIALIZED UDINT 16#800B0001 CIFX_DRV_INIT_STATE_ERROR UDINT 16#800B0002 CIFX_DRV_READ_STATE_ERROR UDINT 16#800B0003 CIFX_DRV_CMD_ACTIVE UDINT 16#800B0004 CIFX_DRV_DOWNLOAD_FAILED UDINT 16#800B0005 CIFX_DRV_WRONG_DRIVER_VERSION UDINT 16#800B0006 CIFX_DRV_DRIVER_NOT_LOADED UDINT 16#800B0030 CIFX_DRV_INIT_ERROR UDINT 16#800B0031 CIFX_DRV_CHANNEL_NOT_INITIALIZED UDINT 16#800B0032 CIFX_DRV_IO_CONTROL_FAILED UDINT 16#800B0033 CIFX_DRV_NOT_OPENED UDINT 16#800B0034 CIFX_DEV_DPM_ACCESS_ERROR UDINT 16#800C0010 CIFX_DEV_NOT_READY UDINT 16#800C0011 CIFX_DEV_NOT_RUNNING UDINT 16#800C0012 CIFX_DEV_WATCHDOG_FAILED UDINT 16#800C0013 CIFX_DEV_SYSERR UDINT 16#800C0015 CIFX_DEV_MAILBOX_FULL UDINT 16#800C0016 CIFX_DEV_PUT_TIMEOUT UDINT 16#800C0017 CIFX_DEV_GET_TIMEOUT UDINT 16#800C0018 CIFX_DEV_GET_NO_PACKET UDINT 16#800C0019 CIFX_DEV_RESET_TIMEOUT UDINT 16#800C0020 CIFX_DEV_NO_COM_FLAG UDINT 16#800C0021 CIFX_DEV_EXCHANGE_FAILED UDINT 16#800C0022 CIFX_DEV_EXCHANGE_TIMEOUT UDINT 16#800C0023 CIFX_DEV_COM_MODE_UNKNOWN UDINT 16#800C0024 CIFX_DEV_FUNCTION_FAILED UDINT 16#800C0025 CIFX_DEV_DPMSIZE_MISMATCH UDINT 16#800C0026 CIFX_DEV_STATE_MODE_UNKNOWN UDINT 16#800C0027 CIFX_DEV_HW_PORT_IS_USED UDINT 16#800C0028 CIFX_DEV_CONFIG_LOCK_TIMEOUT UDINT 16#800C0029 CIFX_DEV_CONFIG_UNLOCK_TIMEOUT UDINT 16#800C002A CIFX_DEV_HOST_STATE_SET_TIMEOUT UDINT 16#800C002B CIFX_DEV_HOST_STATE_CLEAR_TIMEOUT UDINT 16#800C002C CIFX_DEV_INITIALIZATION_TIMEOUT UDINT 16#800C002D CIFX_DEV_BUS_STATE_ON_TIMEOUT UDINT 16#800C002E CIFX_DEV_BUS_STATE_OFF_TIMEOUT UDINT 16#800C002F
ProtocolClasses (GVL) ¶ InOut: Scope Name Type Initial Constant RCX_PROT_CLASS_UNDEFINED UDINT 16#0 RCX_PROT_CLASS_3964R UDINT 16#1 RCX_PROT_CLASS_ASINTERFACE UDINT 16#2 RCX_PROT_CLASS_ASCII UDINT 16#3 RCX_PROT_CLASS_CANOPEN UDINT 16#4 RCX_PROT_CLASS_CCLINK UDINT 16#5 RCX_PROT_CLASS_COMPONET UDINT 16#6 RCX_PROT_CLASS_CONTROLNET UDINT 16#7 RCX_PROT_CLASS_DEVICENET UDINT 16#8 RCX_PROT_CLASS_ETHERCAT UDINT 16#9 RCX_PROT_CLASS_ETHERNET_IP UDINT 16#A RCX_PROT_CLASS_FOUNDATION_FB UDINT 16#B RCX_PROT_CLASS_FL_NET UDINT 16#C RCX_PROT_CLASS_INTERBUS UDINT 16#D RCX_PROT_CLASS_IO_LINK UDINT 16#E RCX_PROT_CLASS_LON UDINT 16#F RCX_PROT_CLASS_MODBUS_PLUS UDINT 16#10 RCX_PROT_CLASS_MODBUS_RTU UDINT 16#11 RCX_PROT_CLASS_OPEN_MODBUS_TCP UDINT 16#12 RCX_PROT_CLASS_PROFIBUS UDINT 16#13 RCX_PROT_CLASS_PROFIBUS_MPI UDINT 16#14 RCX_PROT_CLASS_PROFINET UDINT 16#15 RCX_PROT_CLASS_RK512 UDINT 16#16 RCX_PROT_CLASS_SERCOS_II UDINT 16#17 RCX_PROT_CLASS_SERCOS_III UDINT 16#18 RCX_PROT_CLASS_TCP_IP_UDP_IP UDINT 16#19 RCX_PROT_CLASS_POWERLINK UDINT 16#1A RCX_PROT_CLASS_HART UDINT 16#1B RCX_PROT_CLASS_OEM UDINT 16#FFF0
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 CCB (Struct) PCB (Struct) PacketInterface CIFX_GETSLAVECONNECTINFO_REQ (Struct) CIFX_GETSLAVEHANDLE_CONF (Struct) CIFX_GETSLAVEHANDLE_REQ (Struct) CIFX_MAX_PACKET (Union) RCX_SET_WATCHDOG_TIME_CNF_T (Struct) RCX_SET_WATCHDOG_TIME_REQ_DATA_T (Struct) RCX_SET_WATCHDOG_TIME_REQ_T (Struct) SYSTEM_MEMORY_INFORMATION (Struct) SystemInfo CIFX_APPLICATION_CHANNEL_INFO (Struct) CIFX_CHANNEL_INFO_BLOCK (Union) CIFX_COMMUNOICATION_CHANNEL_INFO (Struct) CIFX_HANDSHAKE_CHANNEL_INFO (Struct) CIFX_SYSTEM_CHANNEL_INFO (Struct) CIFX_SYSTEM_INFO_BLOCK (Struct) NETX_SYSTEM_CHANNEL (Struct) TLR_PACKET_HEADER_T (Struct)
CIFX_BOARD (STRUCT) ¶ TYPE CIFX_BOARD : STRUCT InOut: Name Type tBoardInfo CIFX_BOARD_INFORMATION aChannel ARRAY [0..(CIFX_MAX_CHANNELS_OF_ONE_BOARD - 1)] OF CIFX_CHANNEL
CIFX_BOARD_INFORMATION (STRUCT) ¶ TYPE CIFX_BOARD_INFORMATION : STRUCT Problem alignment /gerade addrs auf ARM), byte order bei PPC {attribute ‘pack_mode’ := ‘1’} //test InOut: Name Type Comment diBoardError DINT !< Global Board error. Set when device specific data must NOT be used abBoardName ARRAY [0..(CIFX_MAX_INFO_NAME_LENTH - 1)] OF BYTE !< Global board name abBoardAlias ARRAY [0..(CIFX_MAX_INFO_NAME_LENTH - 1)] OF BYTE !< Global board alias name udiBoardID UDINT !< Unique board ID, driver created udiSystemError UDINT !< System error udiPhysicalAddress UDINT !< Physical memory address udiIrqNumber UDINT !< Hardware interrupt number byIrqEnabled BYTE !< Hardware interrupt enable flag udiChannelCnt UDINT !< Number of available channels udiDpmTotalSize UDINT !< Dual-Port memory size in bytes tSystemInfo CIFX_SYSTEM_INFO_BLOCK !< System information
CIFX_CHANNEL (STRUCT) ¶ TYPE CIFX_CHANNEL : STRUCT InOut: Name Type ioDrvCIFX ICmpIoDrv tChannelInfo CIFX_CHANNEL_INFORMATION
CIFX_CHANNEL_INFORMATION (STRUCT) ¶ TYPE CIFX_CHANNEL_INFORMATION : STRUCT InOut: Name Type Comment abyBoardName ARRAY [0..(CIFX_MAX_INFO_NAME_LENTH - 1)] OF BYTE !< Global board name abyBoardAlias ARRAY [0..(CIFX_MAX_INFO_NAME_LENTH - 1)] OF BYTE !< Global board alias name udiDeviceNumber UDINT !< Global board device number udiSerialNumber UDINT !< Global board serial number uiFWMajor UINT !< Major Version of Channel Firmware uiFWMinor UINT !< Minor Version of Channel Firmware uiFWRevision UINT !< Revision of Channel Firmware uiFWBuild UINT !< Build number of Channel Firmware byFWNameLength BYTE !< Length of FW Name abyFWName ARRAY [0..62] OF BYTE !< Firmware Name uiFWYear UINT !< Build Year of Firmware byFWMonth BYTE !< Build Month of Firmware (1..12) byFWDay BYTE !< Build Day of Firmware (1..31) udiChannelError UDINT !< Channel error udiOpenCnt UDINT !< Channel open counter udiPutPacketCnt UDINT !< Number of put packet commands udiGetPacketCnt UDINT !< Number of get packet commands udiMailboxSize UDINT !< Mailbox packet size in bytes udiIOInAreaCnt UDINT !< Number of IO IN areas udiIOOutAreaCnt UDINT !< Number of IO OUT areas udiHskSize UDINT !< Size of the handshake cells udiNetxFlags UDINT !< Actual netX state flags udiHostFlags UDINT !< Actual Host flags udiHostCOSFlags UDINT !< Actual Host COS flags udiDeviceCOSFlags UDINT !< Actual Device COS flags