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
CIFX_COMMON_STATUS_BLOCK (STRUCT) ¶ TYPE CIFX_COMMON_STATUS_BLOCK : STRUCT InOut: Name Type ulCommunicationCOS UDINT ulCommunicationState UDINT ulCommunicationError UDINT usVersion UINT usWatchdogTime UINT ausProtocolClass ARRAY [0..1] OF UINT ulHostWatchdog UDINT ulErrorCount UDINT ulErrorLogInd UDINT ulReserved ARRAY [0..1] OF UDINT tMaster CIFX_COMMON_STATUS_BLOCK_MASTER
CIFX_COMMON_STATUS_BLOCK_MASTER (STRUCT) ¶ TYPE CIFX_COMMON_STATUS_BLOCK_MASTER : STRUCT InOut: Name Type ulSlaveState UDINT ulSlaveErrorLogInd UDINT ulNumOfConfigSlaves UDINT ulNumOfActiveSlaves UDINT ulNumOfDiagSlaves UDINT ulReserved UDINT
CIFX_COM_DIAGNOSTICS (STRUCT) ¶ TYPE CIFX_COM_DIAGNOSTICS : STRUCT InOut: Name Type bGlobalBits BYTE bState BYTE Error CIFX_ERROR_FIELD usBus_Error_Cnt WORD usBus_Off_Cnt WORD usMsg_Time_Out WORD usRx_Overflow WORD abReserved ARRAY [0..3] OF BYTE abNdCfg ARRAY [0..15] OF BYTE abNdState ARRAY [0..15] OF BYTE abNd_diag ARRAY [0..15] OF BYTE
CIFX_DEV_INFO (STRUCT) ¶ TYPE CIFX_DEV_INFO : STRUCT Contains all relevant information for a single NetX device. InOut: Name Type Comment reserved1 RTS_IEC_SIZE Do not use reserved2 RTS_IEC_SIZE Do not use reserved3 RTS_IEC_SIZE Do not use reserved4 RTS_IEC_SIZE Do not use reserved5 RTS_IEC_SIZE Do not use ulDevNr DWORD Device number ulChannel DWORD Channel number ulSlotNr DWORD Slot number ulBaseAddresses ARRAY [0..4] OF DWORD PCI base addresses ulBusNr DWORD PCI bus number ulDevice DWORD PCI device number ulFunction DWORD PCI function number usCommand WORD Command ID usVendorID WORD PCI Vendor ID usDeviceID WORD PCI Device ID usSubVendorID WORD PCI SubVendor ID usSubDeviceID WORD PCI SubDevice ID usBusType WORD PCI bus type usConnectorType WORD Connector type of the fieldbus that should run on the CIFX card. E.g. CT_PROFIBUS_MASTER to load a Profibus Firmware on the NetX. See category “Connector types” in CmpIoDrvItf.h for detailed information. byIntVec BYTE PCI interrupt vector ulIntAll POINTER TO BYTE PCI interrupt mask bDynamicFirmware DINT Is dynamic firmware configured reserved6 DINT Do not use
CIFX_DIRECTORY_ENTRY (STRUCT) ¶ TYPE CIFX_DIRECTORY_ENTRY : STRUCT InOut: Name Type hList UDINT szFilename STRING(CIFX_MAX_INFO_NAME_LENTH) bFiletype BYTE ulFilesize UDINT
CIFX_ERROR_FIELD (STRUCT) ¶ TYPE CIFX_ERROR_FIELD : STRUCT InOut: Name Type bErr_rem_adr BYTE bErr_event BYTE
CIFX_INDICATION_PARAM (STRUCT) ¶ TYPE CIFX_INDICATION_PARAM : STRUCT InOut: Name Type tPacket CIFX_PACKET ulPacketHandled UDINT