# Types ### *class* EcWrapperDotNet.DN_EC_T_INIT_PARMS Abstract initalization parameters. Subclassed by EcWrapperDotNet.DN_EC_T_INIT_PARMS_DAQ, EcWrapperDotNet.DN_EC_T_INIT_PARMS_DAQ_READER, EcWrapperDotNet.DN_EC_T_INIT_PARMS_MASTER, EcWrapperDotNet.DN_EC_T_INIT_PARMS_MASTER_RAS_SERVER, EcWrapperDotNet.DN_EC_T_INIT_PARMS_MBXGATEWAY_CLIENT, EcWrapperDotNet.DN_EC_T_INIT_PARMS_MBXGATEWAY_SERVER, [EcWrapperDotNet.DN_EC_T_INIT_PARMS_MONITOR](#d0/d2f/class_ec_wrapper_dot_net_1_1_d_n___e_c___t___i_n_i_t___p_a_r_m_s___m_o_n_i_t_o_r), EcWrapperDotNet.DN_EC_T_INIT_PARMS_MONITOR_RAS_SERVER, EcWrapperDotNet.DN_EC_T_INIT_PARMS_RAS_CLIENT, [EcWrapperDotNet.DN_EC_T_INIT_PARMS_SIMULATOR](#db/d61/class_ec_wrapper_dot_net_1_1_d_n___e_c___t___i_n_i_t___p_a_r_m_s___s_i_m_u_l_a_t_o_r), EcWrapperDotNet.DN_EC_T_INIT_PARMS_SIMULATOR_RAS_SERVER ### *class* EcWrapperDotNet.DN_EC_T_INIT_MASTER_PARMS DN_EC_T_INIT_MASTER_PARMS. ### Public Members ### oLinkParms oLinkParms ### oLinkParmsRed oLinkParmsRed ### dwBusCycleTimeNsec [in] Bus cycle time [ns] ### dwMaxBusSlaves [in] Maximum pre-allocated bus slave objects ( default: 256 ) ### dwMaxAcycFramesQueued [in] Maximum queued acyclic frames ### dwAdditionalEoEEndpoints [in] Additional EoE endpoints ### dwMaxAcycBytesPerCycle [in] Maximum bytes sent during eUsrJob_SendAcycFrames per cycle ( default: 4096 ) ### dwMaxAcycFramesPerCycle [in] Maximum frames sent during eUsrJob_SendAcycFrames per cycle ( default: 32 ) ### dwMaxAcycCmdsPerCycle [in] Maximum commands sent during eUsrJob_SendAcycFrames per cycle ( default: 124 ) ### dwMaxSlavesProcessedPerCycle [in] Maximum slave-related state machine calls per cycle (default = all) ### dwEcatCmdMaxRetries [in] Maximum retries to send pending EtherCAT command frames ( default: 3 ) ### dwEcatCmdTimeout [in] Timeout [ms] to send pending EtherCAT command frames ( default: 3 \* bus cycle time, at least 2 ms ) ### dwLogLevel dwLogLevel ### MasterRedParms [in] Master Redundancy parameters ### dwMaxS2SMbxSize [in] Size of the queued S2S mailbox in bytes ( default: 0 ) ### dwMaxQueuedS2SMbxTfer [in] S2S Fifo number of entries ( default: 0 ) ### wMaxSlavesProcessedPerBusScanStep [in] Maximum slave-related calls per cycle during bus scans (default = all) ### bApiLockByApp [in] Lock pending API against emDeinitMaster(). EC_FALSE (default): locked internally. EC_TRUE: application is responsible for locking. ### PerfMeasInternalParms [in] Internal performance measurement parameters ### bNoConsecutiveAcycFrames [in] EC_FALSE(default) : no restriction. EC_TRUE : Don’t process and send acyclic frames in the same cycle to reduce CPU load. ### *class* EcWrapperDotNet.DN_EC_T_LINK_PARMS ### *class* EcWrapperDotNet.DN_EC_T_MASTER_RED_PARMS Master Redundancy initialization parameters, see ecatInitMaster. ### Public Members ### bEnabled [in] Set to EC_TRUE if using Master Redundancy ### wMasterPdOutSize [in] ACTIVE to INACTIVE Master Process Data (in bytes) ### wMasterPdInSize [in] INACTIVE to ACTIVE Master Process Data (in bytes) ### dwMaxAcycFramesPerCycle [in] Maximum acyclic Master Red frames sent per cycle ### bUpdateSlavePdOut [in] Set to EC_TRUE to update Slave OUTPUT Process Data Image at INACTIVE Master (from CSF) ### bUpdateSlavePdIn [in] Set to EC_TRUE to update Slave INPUT Process Data Image at INACTIVE Master (from CMF) ### bSwitchTopology [in] Set to EC_TRUE to enable switch topology ### *class* EcWrapperDotNet.DN_EC_T_PERF_MEAS_INTERNAL_PARMS DN_EC_T_PERF_MEAS_INTERNAL_PARMS. ### Public Members ### bEnabled [in] Enable/disable internal performance counters ### CounterParms [in] Timer function settings. When not provided OsMeasGetCounterTicks is used. ### HistogramParms [in] Histogram settings. When not provided the histogram is disabled. ### *class* EcWrapperDotNet.DN_EC_T_PERF_MEAS_COUNTER_PARMS DN_EC_T_PERF_MEAS_COUNTER_PARMS. ### Public Members ### qwFrequency [in] Frequency in Hz used by the timer in GetCounterTicks ### *class* EcWrapperDotNet.DN_EC_T_PERF_MEAS_HISTOGRAM_PARMS DN_EC_T_PERF_MEAS_HISTOGRAM_PARMS. ### Public Members ### dwBinCount [in] Amount of bins to use for the histogram ### qwMinTicks [in] Results below qwMinTicks are stored in the first bin ### qwMaxTicks [in] Results above qwMaxTicks are stored in the last bin ### *class* EcWrapperDotNet.DN_EC_T_LOG_PARMS DN_EC_T_LOG_PARMS. ### Public Members ### dwLogLevel [in] Log level. See EC_LOG_LEVEL… ### *enum* EcWrapperDotNet.DN_EC_LOG_LEVEL DN_EC_LOG_LEVEL. *Values:* ### SILENT SILENT. ### ANY ANY. ### CRITICAL CRITICAL. ### ERROR ERROR. ### WARNING WARNING. ### INFO INFO. ### INFO_API INFO_API. ### VERBOSE VERBOSE. ### VERBOSE_CYC VERBOSE_CYC. ### UNDEFINED UNDEFINED. ### *class* EcWrapperDotNet.DN_EC_T_ADS_ADAPTER_START_PARMS DN_EC_T_ADS_ADAPTER_START_PARMS. ### Public Members ### cpuAffinityMask cpuAffinityMask ### dwThreadPriority dwThreadPriority ### dwStackSize dwStackSize ### targetNetID targetNetID ### targetPort targetPort ### *class* EcWrapperDotNet.DN_EC_T_AOE_NETID AoE NetID. ### Public Members ### [] aby AoE net id. ### *class* EcWrapperDotNet.DN_EC_T_BUS_SLAVE_INFO DN_EC_T_BUS_SLAVE_INFO. ### Public Members ### dwSlaveId [out] The slave’s ID to bind bus slave and config slave information ### [] adwPortSlaveIds [out] The slave’s ID of the slaves connected to ports. See Port slave ID’s. ### wPortState wPortState ### wAutoIncAddress [out] The slave’s auto increment address ### bDcSupport [out] Slave supports DC (Bus Topology Scan) ### bDc64Support [out] Slave supports 64 Bit DC (Bus Topology Scan) ### dwVendorId [out] Vendor Identification stored in the EEPROM at offset 0x0008 ### dwProductCode [out] Product Code stored in the EEPROM at offset 0x000A ### dwRevisionNumber [out] Revision number stored in the EEPROM at offset 0x000C ### dwSerialNumber [out] Serial number stored in the EEPROM at offset 0x000E ### byESCType [out] Type of ESC (Value of slave ESC register 0x0000) ### byESCRevision [out] Revision number of ESC (Value of slave ESC register 0x0001) ### wESCBuild [out] Build number of ESC (Value of slave ESC register 0x0002) ### byPortDescriptor [out] Port descriptor (Value of slave ESC register 0x0007) ### wFeaturesSupported [out] Features supported (Value of slave ESC register 0x0008) ### wStationAddress [out] The slave’s station address (Value of slave ESC register 0x0010) ### wAliasAddress [out] The slave’s alias address (Value of slave ESC register 0x0012) ### wAlStatus [out] AL status (Value of slave ESC register 0x0130) ### wAlStatusCode [out] AL status code. (Value of slave ESC register 0x0134 during last error acknowledge). This value is reset after a slave state change. ### dwSystemTimeDifference [out] System time difference. (Value of slave ESC register 0x092C) ### wMbxSupportedProtocols [out] Supported Mailbox Protocols stored in the EEPROM at offset 0x001C ### wDlStatus [out] DL status (Value of slave ESC register 0x0110) ### wPrevPort [out] Connected port of the previous slave ### wIdentifyData [out] Last read identification value see EC_T_CFG_SLAVE_INFO.wIdentifyAdo ### bLineCrossed [out] Line crossed was detected at this slave ### dwSlaveDelay [out] Delay behind slave [ns]. ### dwPropagDelay [out] Propagation delay [ns]. ESC register 0x0928. ### bIsRefClock [out] Slave is reference clock ### bIsDeviceEmulation [out] Slave without Firmware. ESC register 0x0141, enabled by EEPROM offset 0x0000.8. ### wLineCrossedFlags [out] Combination of Line crossed flags ### dwCyclicWkcErrorCnt [out] Counter for Cyclic WC Error ### dwSlaveAbsentCnt [out] Counter for Absent/Not Present Slaves ### dwUnexpectedStateCnt [out] Counter for Abnormal State Change ### *class* EcWrapperDotNet.DN_EC_T_CFG_SLAVE_INFO ecatGetCfgSlaveInfo ### Public Members ### dwSlaveId [out] Slave’s ID to bind bus slave and config slave information ### abyDeviceName [out] Slave’s configured name (80 Byte) (from ENI file) ### dwHCGroupIdx [out] Index of Hot Connect group, 0 for mandatory ### bIsPresent [out] Slave present on bus ### bIsHCGroupPresent [out] Slave’s Hot Connect group present on bus ### dwVendorId [out] Vendor identification (from ENI file) ### dwProductCode [out] Product code (from ENI file) ### dwRevisionNumber [out] Revision number (from ENI file) ### dwSerialNumber [out] Serial number (from ENI file) ### wStationAddress [out] Slave’s configured station address (from ENI file) ### wAutoIncAddress [out] Slave’s auto increment address (may differ from ENI file) ### dwPdOffsIn [out] Process input data bit offset (from ENI file) ### dwPdSizeIn [out] Process input data bit size (from ENI file) ### dwPdOffsOut [out] Process output data bit offset (from ENI file) ### dwPdSizeOut [out] Process output data bit size (from ENI file) ### dwPdOffsIn2 [out] 2nd sync unit process input data bit offset (from ENI file) ### dwPdSizeIn2 [out] 2nd sync unit process input data bit size (from ENI file) ### dwPdOffsOut2 [out] 2nd sync unit process output data bit offset (from ENI file) ### dwPdSizeOut2 [out] 2nd sync unit process output data bit size (from ENI file) ### dwPdOffsIn3 [out] 3rd sync unit process input data bit offset (from ENI file) ### dwPdSizeIn3 [out] 3rd sync unit process input data bit size (from ENI file) ### dwPdOffsOut3 [out] 3rd sync unit process output data bit offset (from ENI file) ### dwPdSizeOut3 [out] 3rd sync unit process output data bit size (from ENI file) ### dwPdOffsIn4 [out] 4th sync unit process input data bit offset (from ENI file) ### dwPdSizeIn4 [out] 4th sync unit process input data bit size (from ENI file) ### dwPdOffsOut4 [out] 4th sync unit process output data bit offset (from ENI file) ### dwPdSizeOut4 [out] 4th sync unit process output data bit size (from ENI file) ### dwMbxSupportedProtocols [out] Mailbox protocols supported by the slave (from ENI file). Combination of Supported mailbox protocols flags. ### dwMbxOutSize [out] Mailbox output byte size (from ENI file) ### dwMbxInSize [out] Mailbox input byte size (from ENI file) ### dwMbxOutSize2 [out] Bootstrap mailbox output byte size (from ENI file) ### dwMbxInSize2 [out] Bootstrap mailbox input byte size (from ENI file) ### bDcSupport [out] Slave supports DC (from ENI file) ### wNumProcessVarsInp [out] Number of input process data variables (from ENI file) ### wNumProcessVarsOutp [out] Number of output process data variables (from ENI file) ### wPrevStationAddress [out] Station address of the previous slave (from ENI file) ### wPrevPort [out] Connected port of the previous slave (from ENI file) ### wIdentifyAdo [out] ADO used for identification command (from ENI file) ### wIdentifyData [out] Identification value to be validated (from ENI file) ### byPortDescriptor [out] Port descriptor (ESC register 0x0007) (from ENI file) ### [] wWkcStateDiagOffsIn [out] Offset of WkcState bit in diagnosis image (ENI: ProcessData/Recv[1..4]/BitStart): 0xFFFFFFFF = offset not available. WkcState bit values: 0 = Data valid, 1 = Data invalid. ### [] wWkcStateDiagOffsOut [out] Offset of WkcState bit in diagnosis image (ENI: ProcessData/Send[1..4]/BitStart): 0xFFFFFFFF = offset not available. WkcState bit values: 0 = Data valid, 1 = Data invalid. ### [] awMasterSyncUnitIn [out] Sync Unit (ENI: ProcessData/TxPdo[1..4]@Su) ### [] awMasterSyncUnitOut [out] Sync Unit (ENI: ProcessData/RxPdo[1..4]@Su) ### bDisabled [out] Slave disabled by API SetSlaveDisabled / SetSlavesDisabled. ### bDisconnected [out] Slave disconnected by API SetSlaveDisconnected / SetSlavesDisconnected. ### bExtended [out] Slave generated by API ConfigExtend ### bDcReferenceClock [out] Slave is reference clock (from ENI file) ### bDcPotentialRefClock [out] Slave can be used as a reference clock (from ENI file) ### dwDcCycleTime0 [out] Cycle time of Sync0 event [ns] (from ENI file) ### dwDcCycleTime1 [out] Calculated value dwDcCycleTime1 [ns] = Cycle time of Sync1 event - Cycle time of Sync1 event + Shift time of Sync0 event (from ENI file) ### nDcShiftTime [out] Shift time of Sync0 event [ns] (from ENI file) ### szProductRevision [out] Slave’s ProductRevision (ENI:Slave/Info/ProductRevision), e.g. “EK1100-0000-0018”. Empty string if not present in ENI. ### *class* EcWrapperDotNet.DN_EC_T_CFG_SLAVE_SM_INFO DN_EC_T_CFG_SLAVE_SM_INFO. ### Public Members ### dwSlaveId [out] Slave ID ### dwSmInfoNumOf [out] Number of available sync managers ### [] aoSmInfos [out] Sync managers info ### *class* EcWrapperDotNet.DN_EC_T_CFG_SLAVE_SM_ENTRY ecatGetCfgSlaveSmInfo ### Public Members ### wPhysAddr [out] ESC (0x800 + y \* 8) ### wLength [out] ESC (0x802 + y \* 8) ### byOpMode [out] Bits 0..1 ESC (0x804 + y \* 8) ### byDirection [out] Bits 2..3 ESC (0x804 + y \* 8) ### dwPdBitOffs [out] Process input data bit offset (from ENI file) ### dwPdBitSize [out] Process input data bit size (from ENI file) ### wWkcStateDiagBitOffs [out] Offset of WkcState bit in diagnosis image ### wMasterSyncUnit [out] Sync Unit (ENI: ProcessData/TxPdo[1..4]@Su) ### *class* EcWrapperDotNet.DN_EC_T_CFG_SLAVE_EOE_INFO ecatGetCfgSlaveEoeInfo, ENI: Mailbox/EoE/InitCmds/InitCmd/Data ### Public Members ### dwSlaveId [out] Slave ID ### bMacAddr [out] Indicates whether the MAC address could be read and is valid ### [] abyMacAddr [out] MAC address ### bIpAddr [out] Indicates whether the IP address could be read and is valid ### oIpAddr [out] IP address ### bSubnetMask [out] Indicates whether the subnet mask could be read and is valid ### oSubnetMask [out] Subnet mask ### bDefaultGateway [out] Indicates whether the default gateway could be read and is valid ### oDefaultGateway [out] Default gateway ### bDnsServer [out] Indicates whether the DNS server could be read and is valid ### oDnsServer [out] DNS server ### bDnsName [out] Indicates whether the DNS name could be read and is valid ### szDnsName [out] DNS name ### bDisableEoe [out] Indicates whether the EoE is Disabled or not ### [] dwRes dwRes ### *class* EcWrapperDotNet.DN_EC_T_IPADDR DN_EC_T_IPADDR. ### Public Members ### sAddr sAddr ### *class* EcWrapperDotNet.DN_EC_T_INNER_IPADDR DN_EC_T_INNER_IPADDR. ### Public Members ### [] by IPv4 address (endianness independent) ### *enum* EcWrapperDotNet.DN_EC_T_CNF_TYPE DN_EC_T_CNF_TYPE. *Values:* ### Unknown Unknown. ### Filename pbyCnfData: ENI filename to read ### Data pbyCnfData: ENI data ### Datadiag pbyCnfData: ENI data for diagnosis ### GenPreopENI Generate ENI based on bus-scan result to get into PREOP state. ### GenPreopENIWithCRC Same as eCnfType_GenPreopENI with CRC protection. ### GenOpENI Generate ENI based on bus-scan result to get into OP state. The default PDO mapping read from the slaves is activated. See ETG2010 “SII Specification”, Table 14 “Structure Category TXPDO and RXPDO for each PDO”. ### None Reset configuration. ### ConfigData pbyCnfData: Binary structured configuration ### GenOpENINoStrings Generate ENI based on bus-scan result to get into OP state, does not read strings from EEPROM. ### FileByApp File access provided by user application, See EC_T_CNF_FILEBYAPP_DESC. ### GenEBI Generate EBI based on bus-scan result. ### BCppDummy BCppDummy. ### *class* EcWrapperDotNet.DN_EC_T_COE_ENTRYDESC ### Public Members ### wObIndex object index ### byObSubIndex object sub-index ### byValueInfo value information, determines which of the following elements are valid ### wDataType data type ### wBitLen bit length of the object ### byObAccess object access ### bRxPdoMapping EC_TRUE if it is PDO mappable ### bTxPdoMapping EC_TRUE if PDO mappable object can be changed ### bObCanBeUsedForBackup Parameter may be back upped ### bObCanBeUsedForSettings Parameter may be used for Settings ### dwUnitType length of the data ### szObName length of the data ### *class* EcWrapperDotNet.DN_EC_T_COE_OBDESC ### Public Members ### wObIndex object index ### wDataType see DEFTYPE_…, refer to “Extended Data Type Area” in ETG.1000.6 ### byObjCode see ECAT_COE_INFO_OBJCODE_…, defined in CiA DS 301, “Object code usage” ### byObjCategory category: 0=optional, 1=mandatory ### byMaxNumSubIndex maximum number of sub-indexes ### pchObName object name (not a NULL terminated string!) ### *enum* EcWrapperDotNet.DN_EC_T_COE_ODLIST_TYPE EtherCAT CoE OD list type values. *Values:* ### Lengths Lengths of each list type. ### ALL List contains all objects. ### RxPdoMap List with PDO mappable objects. ### TxPdoMap List with objects that can be changed. ### StoredFRepl Only stored for a device replacement objects. ### StartupParm Only startup parameter objects. ### BCppDummy BCppDummy. ### *class* EcWrapperDotNet.DN_EC_T_CYC_CONFIG_DESC Descriptor for EC_IOCTL_GET_CYCLIC_CONFIG_INFO. ### Public Members ### dwTaskId [out] Task ID of selected cyclic entry (ENI: Cyclic/TaskId) ### dwPriority [out] Priority of selected cyclic entry ### dwCycleTime [out] Cycle time of selected cyclic entry ### *class* EcWrapperDotNet.DN_EC_T_DCM_CONFIG DN_EC_T_DCM_CONFIG. ### Public Members ### eMode [in] DCM mode ### BusShift [in] BusShift configuration. Valid if eMode is set to eDcmMode_BusShift. ### MasterShift [in] MasterShift configuration. Valid if eMode is set to eDcmMode_MasterShift. ### LinkLayerRefClock [in] LinkLayerRefClock configuration. Valid if eMode is set to eDcmMode_LinkLayerRefClock. ### MasterRefClock [in] MasterRefClock configuration. Valid if eMode is set to eDcmMode_MasterRefClock. ### Dcx [in] DCX configuration. Valid if eMode is set to eDcmMode_Dcx. ### *enum* EcWrapperDotNet.DN_EC_T_DCM_MODE DN_EC_T_DCM_MODE. *Values:* ### Off DCM disabled. ### BusShift DCM BusShift mode. ### MasterShift DCM MasterShift mode. ### LinkLayerRefClock DCM LinkLayer Ref Clock mode. ### MasterRefClock DCM Master Ref Clock mode. ### Dcx DCM DCX External synchronization mode. ### MasterShiftByApp DCM MasterShift controlled by application mode. ### BCppDummy BCppDummy. ### *class* EcWrapperDotNet.DN_EC_T_DCM_CONFIG_BUSSHIFT DN_EC_T_DCM_CONFIG_BUSSHIFT. ### Public Members ### nCtlSetVal [in] Controller set value [ns]. This is the time distance between the cyclic frame send time and the DC base on bus (SYNC0 if shift is zero). ### nCtlGain [in] Proportional gain in ppt (part per thousand). Default is value 2. A value of 0 sets the default value. ### nCtlDriftErrorGain [in] Multiplier for drift error. Default value is 3. A value of 0 sets the default value. ### nMaxValidVal [in] Error inputs above this value are considered invalid. If error input prediction is valid then the difference between the error input and the expected value is taken. Default value is 3000. A value of 0 sets the default value. ### bLogEnabled [in] If set to EC_TRUE, logging information are generated and can be got by calling emDcmGetLog() ### dwInSyncLimit [in] Limit [ns] for InSync monitoring. Default value is 20% of the cycle time. A value of 0 sets the default value. ### dwInSyncSettleTime [in] Settle time [ms] for InSync monitoring. Default value is 1500ms. A value of 0 sets the default value. ### bCtlOff [in] If set to EC_TRUE, control loop is disabled. Combined with bLogEnabled, it makes possible to analyze the natural drift between the stack cycle and the reference clock. ### bUseDcLoopCtlStdValues [in] If set to EC_TRUE, the values of ESC DC time loop control register 0x930 and 0x934 are not changed by master. This could increase the time it takes to get the InSync. Use only if there are problems with the reference clock to get InSync. ### dwInSyncStartDelayCycle [in] Delay time [ms] before InSync monitoring start ### pGetTimeElapsedSinceCycleStartContext [in] Optional context for the pfnGetTimeElapsedSinceCycleStart function, will be passed as first parameter to this function/static method ### *class* EcWrapperDotNet.DN_EC_T_DCM_CONFIG_MASTERSHIFT DN_EC_T_DCM_CONFIG_MASTERSHIFT. ### Public Members ### nCtlSetVal [in] Controller set value [ns]. This is the time distance between the cyclic frame send time and the DC base on bus (SYNC0 if shift is zero). ### nCtlGain [in] Proportional gain in ppt (part per thousand). Default is value 2. A value of 0 sets the default value. ### nCtlDriftErrorGain [in] Multiplier for drift error. Default value is 3. A value of 0 sets the default value. ### nMaxValidVal [in] Error inputs above this value are considered invalid. If error input prediction is valid then the difference between the error input and the expected value is taken. Default value is 3000. A value of 0 sets the default value. ### bLogEnabled [in] If set to EC_TRUE, logging information are generated and can be got by calling emDcmGetLog() ### dwInSyncLimit [in] Limit [ns] for InSync monitoring. Default value is 20% of the cycle time. A value of 0 sets the default value. ### dwInSyncSettleTime [in] Settle time [ms] for InSync monitoring. Default value is 1500ms. A value of 0 sets the default value. ### bCtlOff [in] If set to EC_TRUE, control loop is disabled. Combined with bLogEnabled, it makes possible to analyze the natural drift between the stack cycle and the reference clock. Also it provides reading of current adjustment value using emDcmGetAdjust function. ### dwInSyncStartDelayCycle [in] Delay time [ms] before InSync monitoring start ### pGetTimeElapsedSinceCycleStartContext [in] Optional context for the pfnGetTimeElapsedSinceCycleStart function, will be passed as first parameter to this function/static method ### pAdjustCycleTimeContext [in] Optional context for the pfnAdjustCycleTime function, will be passed as first parameter to this function/static method ### *class* EcWrapperDotNet.DN_EC_T_DCM_CONFIG_LINKLAYERREFCLOCK DN_EC_T_DCM_CONFIG_LINKLAYERREFCLOCK. ### Public Members ### nCtlSetVal [in] Controller set value [ns]. This is the time distance between the cyclic frame send time and the DC base on bus (SYNC0 if shift is zero). ### bLogEnabled [in] If set to EC_TRUE, logging information are generated and can be got by calling emDcmGetLog() ### dwInSyncLimit [in] Limit [ns] for InSync monitoring. Default value is 20% of the cycle time. A value of 0 sets the default value. ### dwInSyncSettleTime [in] Settle time [ms] for InSync monitoring. Default value is 1500ms. A value of 0 sets the default value. ### DcStartTimeCallbackDesc [in] If not null, DC start time calculated by application, otherwise by master. See also EC_T_DC_STARTTIME_CB_DESC. Shift value configured in ENI will still be applied. ### *class* EcWrapperDotNet.DN_EC_T_DC_STARTTIME_CB_DESC DN_EC_T_DC_STARTTIME_CB_DESC. ### Public Members ### pvContext [in] Arbitrarily application-defined parameter passed to pfnCallback ### *class* EcWrapperDotNet.DN_EC_T_DCM_CONFIG_MASTERREFCLOCK DN_EC_T_DCM_CONFIG_MASTERREFCLOCK. ### Public Members ### nCtlSetVal [in] Controller set value [ns]. This is the time distance between the cyclic frame send time and the DC base on bus (SYNC0 if shift is zero). ### bLogEnabled [in] If set to EC_TRUE, logging information are generated and can be got by calling emDcmGetLog() ### dwInSyncLimit [in] Limit [ns] for InSync monitoring. Default value is 20% of the cycle time. A value of 0 sets the default value. ### dwInSyncSettleTime [in] Settle time [ms] for InSync monitoring. Default value is 1500ms. A value of 0 sets the default value. ### pGetHostTimeContext [in] Optional context for the pfnGetHostTime function, will be passed as first parameter to this function/static method ### DcStartTimeCallbackDesc [in] If not null, DC start time calculated by application, otherwise by master. See also EC_T_DC_STARTTIME_CB_DESC. Shift value configured in ENI will still be applied. ### *class* EcWrapperDotNet.DN_EC_T_DCM_CONFIG_DCX DN_EC_T_DCM_CONFIG_DCX. ### Public Members ### MasterShift [in] DCM MasterShift configuration ### nCtlSetVal [in] Controller set value [ns]. This is the time distance between the cyclic frame send time and the DC base on bus (SYNC0 if shift is zero). ### nCtlGain [in] Proportional gain in ppt (part per thousand). Default is value 2. A value of 0 sets the default value. ### nCtlDriftErrorGain [in] Multiplier for drift error. Default value is 3. A value of 0 sets the default value. ### nMaxValidVal [in] Error inputs above this value are considered invalid. If error input prediction is valid then the difference between the error input and the expected value is taken. Default value is 3000. A value of 0 sets the default value. ### bLogEnabled [in] If set to EC_TRUE, logging information are generated and can be got by calling emDcmGetLog() ### dwInSyncLimit [in] Limit [ns] for InSync monitoring. Default value is 20% of the cycle time. A value of 0 sets the default value. ### dwInSyncSettleTime [in] Settle time [ms] for InSync monitoring. Default value is 1500ms. A value of 0 sets the default value. ### bCtlOff [in] If set to EC_TRUE, control loop is disabled. Combined with bLogEnabled, it makes possible to analyze the natural drift between the stack cycle and the reference clock. Also it provides reading of current adjustment value using emDcmGetAdjust function. ### wExtClockFixedAddr [in] Fixed address of external clock slave (publishing PDO 0x10F4) (optional if ENI is generated by EcEngineer) ### dwExtClockTimeout [in] Wait timeout for external clock slave ### dwInSyncStartDelayCycle [in] Delay time [ms] before InSync monitoring start ### dwMaxErrCompensableOnExtClockReconnect [in] Maximum error in nanoseconds that should be compensated after a reconnect of the external clock device. Synchronization restart if error exceeds this limit. ### *class* EcWrapperDotNet.DN_EC_T_DC_CONFIGURE DN_EC_T_DC_CONFIGURE. ### Public Members ### dwClntId [in] Reserved ### dwTimeout [in] Timeout [ms] for the DC initialization in which time offsets and propagation delays are evaluated ( default: 12 sec ) ### dwDevLimit dwDevLimit ### dwSettleTime dwSettleTime ### dwTotalBurstLength [in] Overall amount of burst frames sent ( default: 10000 ) ### dwBurstBulk [in] Amount of burst frames per cycle during initialization burst ( default: 12 ) ### bBulkInLinkLayer bBulkInLinkLayer ### bAcycDistributionDisabled [in] If EC_TRUE, acyclic distribution is disabled ### dwDcStartTimeGrid [in] Time grid [ns] to align DC start time. With the help of the grid, several EtherCAT networks can be synchronized without a random shift value between the SYNC signals. ### bDcInitBeforeSlaveStateChange [in] If EC_TRUE, DC is initialized before slaves state change to PREOP ### *enum* EcWrapperDotNet.DN_EC_T_DEFTYPE DN_EC_T_DEFTYPE. *Values:* ### NULL NULL. ### BOOLEAN BOOLEAN. ### INTEGER8 INTEGER8. ### INTEGER16 INTEGER16. ### INTEGER32 INTEGER32. ### UNSIGNED8 UNSIGNED8. ### UNSIGNED16 UNSIGNED16. ### UNSIGNED32 UNSIGNED32. ### REAL32 REAL32. ### VISIBLESTRING VISIBLESTRING. ### OCTETSTRING OCTETSTRING. ### UNICODESTRING UNICODESTRING. ### TIMEOFDAY TIMEOFDAY. ### TIMEDIFFERENCE TIMEDIFFERENCE. ### DOMAIN DOMAIN. ### INTEGER24 INTEGER24. ### REAL64 REAL64. ### INTEGER40 INTEGER40. ### INTEGER48 INTEGER48. ### INTEGER56 INTEGER56. ### INTEGER64 INTEGER64. ### UNSIGNED24 UNSIGNED24. ### UNSIGNED40 UNSIGNED40. ### UNSIGNED48 UNSIGNED48. ### UNSIGNED56 UNSIGNED56. ### UNSIGNED64 UNSIGNED64. ### GUID GUID. ### BYTE BYTE. ### WORD WORD. ### DWORD DWORD. ### PDOMAPPING PDOMAPPING. ### IDENTITY IDENTITY. ### COMMAND COMMAND. ### PDOCOMPAR PDOCOMPAR. ### ENUM ENUM. ### SMPAR SMPAR. ### RECORD RECORD. ### BACKUP_PARAMETER BACKUP_PARAMETER. ### MODULAR_DEVICE_PROFILE MODULAR_DEVICE_PROFILE. ### BITARR8 BITARR8. ### BITARR16 BITARR16. ### BITARR32 BITARR32. ### BIT1 BIT1. ### BIT2 BIT2. ### BIT3 BIT3. ### BIT4 BIT4. ### BIT5 BIT5. ### BIT6 BIT6. ### BIT7 BIT7. ### BIT8 BIT8. ### BIT9 BIT9. ### BIT10 BIT10. ### BIT11 BIT11. ### BIT12 BIT12. ### BIT13 BIT13. ### BIT14 BIT14. ### BIT15 BIT15. ### BIT16 BIT16. ### ARRAY_OF_BYTE ARRAY_OF_BYTE. ### ARRAY_OF_UINT ARRAY_OF_UINT. ### ARRAY_OF_INT ARRAY_OF_INT. ### ARRAY_OF_SINT ARRAY_OF_SINT. ### ARRAY_OF_DINT ARRAY_OF_DINT. ### ARRAY_OF_UDINT ARRAY_OF_UDINT. ### ERROR_SETTING ERROR_SETTING. ### HISTORY HISTORY. ### DIAGNOSIS_OBJECT DIAGNOSIS_OBJECT. ### EXTERNAL_SYNC_STATUS EXTERNAL_SYNC_STATUS. ### EXTERNAL_SYNC_SETTINGS EXTERNAL_SYNC_SETTINGS. ### FSOEFRAME FSOEFRAME. ### FSOECOMMPAR FSOECOMMPAR. ### *class* EcWrapperDotNet.DN_EC_T_GET_SLAVE_INFO ecatGetSlaveInfo ### Public Members ### dwScanBusStatus Status during last Bus Scan. ### dwVendorId Vendor Identification. ### dwProductCode Product Code. ### dwRevisionNumber Revision Number. ### dwSerialNumber Serial Number. ### wPortState [out] port link state (SB Instance) ### bDcSupport [out] Slave does support DC ### bDc64Support [out] Slave does support 64Bit DC ### wAliasAddress [out] Slave alias address ### wPhysAddress [out] Slave station address ### dwPdOffsIn [out] Process data offset of Input Data (in bits) ### dwPdSizeIn [out] Process data size of Input Data (in bits) ### dwPdOffsOut [out] Process data offset of Output Data (in bits) ### dwPdSizeOut [out] Process data size of Output Data ### dwPdOffsIn2 [out] Process data offset of Input data (in bits) ### dwPdSizeIn2 [out] Process data size of Input Data (in bits) ### dwPdOffsOut2 [out] Process data offset of Output Data (in bits) ### dwPdSizeOut2 [out] Process data size of Output Data ### dwPdOffsIn3 [out] Process data offset of Input Data (in bits) ### dwPdSizeIn3 [out] Process data size of Input Data (in bits) ### dwPdOffsOut3 [out] Process data offset of Output Data (in bits) ### dwPdSizeOut3 [out] Process data size of Output Data ### dwPdOffsIn4 [out] Process data offset of Input Data (in bits) ### dwPdSizeIn4 [out] Process data size of Input Data (in bits) ### dwPdOffsOut4 [out] Process data offset of Output Data (in bits) ### dwPdSizeOut4 [out] Process data size of Output Data ### wCfgPhyAddress [out] Slave configured station address ### abyDeviceName abyDeviceName ### bIsMailboxSlave [out] Whether slave support mailboxes ### dwMbxOutSize [out] Mailbox 1 output size ### dwMbxInSize [out] Mailbox 1 input size ### dwMbxOutSize2 [out] Mailbox 2 output size ### dwMbxInSize2 [out] Mailbox 2 input size ### dwErrorCode [out] Last return code ### dwSBErrorCode [out] Last return value from SB ### byPortDescriptor [out] Port Descriptor (ESC register 0x0007) ### byESCType [out] ESC Node Type ### wSupportedMbxProtocols [out] Supported mailbox protocols: AoE, EoE, CoE, FoE, SoE ### wAlStatusValue [out] AL Status Register Value (ESC register 0x0130) ### wAlStatusCode [out] AL Status Code (ESC register 0x0134) ### bIsOptional [out] Slave is in an optional hot connect group ### bIsPresent [out] Slave is currently present on bus ### wNumProcessVarsInp [out] Number of output process data variables ### wNumProcessVarsOutp [out] Number of input process data variables ### dwSlaveId [out] Slave ID ### bIsHCGroupPresent [out] The hot connect group of the slave is present ### [] aPortSlaveIds [out] slave IDs connected to ports ### dwSystemTimeDifference dwSystemTimeDifference ### *class* EcWrapperDotNet.DN_EC_T_HC_GROUP_INFO DN_EC_T_HC_GROUP_INFO. ### Public Members ### dwHcGroupIdx [out] Index of Hot Connect group ### szGroupName [out] Hot connect group name (from ENI file) ### dwNumOfSlaves [out] Number of Slaves within the group ### wHeadSlaveStationAddress [out] Physical address of the head slave of the HC group ### wIdentificationAdo [out] Ado of Identification check ### wIdentificationVal [out] Val of Identification check ### bIsPresent [out] EC_TRUE if HC group is present, EC_FALSE otherwise ### bIsMandatory [out] EC_TRUE if HC group is mandatory, EC_FALSE otherwise ### *class* EcWrapperDotNet.DN_EC_T_LINK_VAR_INFO DN_EC_T_LINK_VAR_INFO. ### Public Members ### pvContext [in] Arbitrarily application-defined parameter ### pbyApplVar [in] Pointer to application variable where process variable should be linked to ### wApplVarType [in] Type of application variable ### wApplVarBitSize [in] Size of variable (in bits) ### dwApplVarBitOffs [in] Bit offset of variable ### *class* EcWrapperDotNet.DN_EC_T_MASTER_INFO ecatGetMasterInfo ### Public Members ### dwMasterVersion Master version. ### BusDiagnosisInfo Bus diagnostics. ### MailboxStatistics Mailbox statistics. ### RedundancyDiagnosisInfo Redundancy diagnosis info. ### dwMasterStateSummary Master state summary. ### dwMasterVersionType Master version type. See EC_VERSION_TYPE. ### wMasterStateSummaryDiagBitOffset Bit offset of Master state summary in diagnosis image. ### wMasterStateSummaryDiagBitSize Bit offset size of Master state summary in diagnosis image. ### *class* EcWrapperDotNet.DN_EC_T_BUS_DIAGNOSIS_INFO See also Object 0x2002 Bus Diagnosis Object. ### Public Members ### dwCRC32ConfigCheckSum CRC32 checksum of the loaded configuration. ### dwNumSlavesFound Number of slaves connected. ### dwNumDCSlavesFound Number of slaves with DC enabled connected. ### dwNumCfgSlaves Number of slaves in ENI. ### dwNumMbxSlaves Number of slaves in ENI with mailbox support. ### dwTXFrames Number of frames sent. ### dwRXFrames Number of frames received. ### dwLostFrames Number of lost frames. ### dwCyclicFrames Number of cyclic frames sent. ### dwCyclicDatagrams Number of cyclic datagrams / EtherCAT commands sent. ### dwAcyclicFrames Number of acyclic frames sent. ### dwAcyclicDatagrams Number of acyclic datagrams / EtherCAT commands sent. ### dwClearCounters Clear frame / datagram counter bit field. ### dwCyclicLostFrames Number of cyclic lost frames. ### dwAcyclicLostFrames Number of acyclic lost frames. ### [] dwRes dwRes ### *class* EcWrapperDotNet.DN_EC_T_MAILBOX_STATISTICS See also Object 0x2006 Mailbox Statistics Object. ### Public Members ### Aoe AoE mailbox transfer statistics. ### Coe CoE mailbox transfer statistics. ### Eoe EoE mailbox transfer statistics. ### Foe FoE mailbox transfer statistics. ### Soe SoE mailbox transfer statistics. ### Voe VoE mailbox transfer statistics. ### RawMbx Raw mailbox transfer statistics. ### aRes aRes ### *class* EcWrapperDotNet.DN_EC_T_STATISTIC_TRANSFER_DUPLEX See also Object 0x2006 Mailbox Statistics Object. ### Public Members ### Read Number of read transfers. ### Write Number of write transfers. ### *class* EcWrapperDotNet.DN_EC_T_STATISTIC_TRANSFER See also Object 0x2006 Mailbox Statistics Object. ### Public Members ### Cnt Number of transfers. ### Bytes Number of bytes transferred. ### *class* EcWrapperDotNet.DN_EC_T_STATISTIC See also Object 0x2006 Mailbox Statistics Object. ### Public Members ### dwTotal Total. ### dwLast Last. ### *class* EcWrapperDotNet.DN_EC_T_REDUNDANCY_DIAGNOSIS_INFO See also Object 0x2003 Redundancy Diagnosis Object. ### Public Members ### bRedEnabled Cable Redundancy Enabled. ### dwMainSlaveCnt Main Line Slave Count. ### dwRedSlaveCnt Red Line Slave Count. ### bLineBreakDetected Line Break Detected. ### [] dwRes dwRes ### *class* EcWrapperDotNet.DN_EC_T_MSU_INFO DN_EC_T_MSU_INFO. ### Public Members ### wMsuId [out] Master Sync Unit ID (ENI: Slave/ProcessData/RxPdo[1..4]@Su, Slave/ProcessData/TxPdo[1..4]@Su, comment at Cyclic/Frame/Cmd) ### dwBitOffsIn [out] Process Data Image INPUTs bit offset ### dwBitSizeIn [out] Process Data Image INPUTs bit length ### dwBitOffsOut [out] Process Data Image OUTPUTs bit offset ### dwBitSizeOut [out] Process Data Image OUTPUTs bit length ### wWkcStateDiagOffsIn [out] INPUTs WkcState bit offset in Diagnosis Image. (Bit values: 0 = Process Data valid, 1 = Process Data invalid) ### wWkcStateDiagOffsOut [out] OUTPUTs WkcState bit offset in Diagnosis Image. (Bit values: 0 = Process Data valid, 1 = Process Data invalid) ### *class* EcWrapperDotNet.DN_EC_T_PERF_MEAS_APP_PARMS ### *class* EcWrapperDotNet.DN_EC_T_PERF_MEAS_HISTOGRAM DN_EC_T_PERF_MEAS_HISTOGRAM. ### Public Members ### [] aBinsObj aBinsObj ### dwBinCount Length of aBins. ### qwMinTicks Results below qwMinTicks are stored in the first bin. ### qwMaxTicks Results above qwMaxTicks are stored in the last bin. ### *class* EcWrapperDotNet.DN_EC_T_PERF_MEAS_INFO DN_EC_T_PERF_MEAS_INFO. ### Public Members ### szName Name of the benchmark. ### qwFrequency Frequency in Hz used by the timer. ### eUserJob UserJob associated with the benchmark. ### dwBinCountHistogram Length of Histogram Bins. ### dwFlags Flags associated with the benchmark (See EC_T_PERF_MEAS_FLAG…) ### *class* EcWrapperDotNet.DN_EC_T_PERF_MEAS_VAL DN_EC_T_PERF_MEAS_VAL. ### Public Members ### qwCurrTicks [ticks] ### qwMinTicks [ticks] ### qwMaxTicks [ticks] ### qwAvgTicks [ticks] ### *class* EcWrapperDotNet.DN_EC_T_PROCESS_VAR_INFO emGetSlaveInpVarInfo / emGetSlaveOutpVarInfo ### Public Members ### szName [out] Name of the found process variable ### wDataType [out] Data type of the found process variable (according to ETG.1000, section 5). See also EcType.h, DEFTYPE_BOOLEAN. ### wFixedAddr [out] Station address of the slave that is owner of this variable ### nBitSize [out] Size in bits of the found process variable ### nBitOffs [out] Bit offset in the process data image ### bIsInputData [out] Determines whether the found process variable is an input variable or an output variable ### *class* EcWrapperDotNet.DN_EC_T_PROCESS_VAR_INFO_EX DN_EC_T_PROCESS_VAR_INFO_EX. ### Public Members ### szName [out] Name of the found process variable ### wDataType [out] Data type of the found process variable (according to ETG.1000, section 5). See also EcType.h, DEFTYPE_BOOLEAN. ### wFixedAddr [out] Station address of the slave that is owner of this variable ### nBitSize [out] Size in bits of the found process variable ### nBitOffs [out] Bit offset in the process data image ### bIsInputData [out] Determines whether the found process variable is an input variable or an output variable ### wIndex [out] Object index ### wSubIndex [out] Object sub index ### wPdoIndex [out] Index of PDO (process data object) ### wWkcStateDiagOffs [out] Bit offset in the diagnostic image (API GetDiagnosisImagePtr) ### wMasterSyncUnit [out] Master Sync Unit ID (ENI: Slave/ProcessData/RxPdo[1..4]@Su, Slave/ProcessData/TxPdo[1..4]@Su, comment at Cyclic/Frame/Cmd) ### wRes1 wRes1 ### dwTaskId [out] ID of task where process variable is located ### CopyInfo [out] Copy Info if applied to the variable ### *class* EcWrapperDotNet.DN_EC_T_CYC_COPY_INFO The master has to copy valid input data of this command from the source offset (bit offs in the complete process image) to a destination offset. ### Public Members ### dwSrcBitOffs dwSrcBitOffs ### dwDstBitOffs dwDstBitOffs ### wBitSize wBitSize ### wTaskId wTaskId ### wFlags wFlags ### wRes wRes ### [] dwRes dwRes ### *class* EcWrapperDotNet.DN_EC_T_PROFILE_CHANNEL_INFO DN_EC_T_PROFILE_CHANNEL_INFO. ### Public Members ### wProfileNo [out] ProfileNo: “low word of CoE object 0x1000” ### wAddInfo [out] AddInfo : “high word of CoE object 0x1000” ### szDisplayName [out] Display name ### *class* EcWrapperDotNet.DN_EC_T_RAS_CONNECTION_INFO DN_EC_T_RAS_CONNECTION_INFO. ### Public Members ### dwAccessControlActive dwAccessControlActive ### dwAccessLevel dwAccessLevel ### *class* EcWrapperDotNet.DN_EC_T_REGISTERRESULTS Client register result. ### Public Members ### dwClntId [out] Client ID ### pbyPDIn [out] Pointer to process data input memory ### dwPDInSize [out] Size of process data input memory (in bytes) ### pbyPDOut [out] Pointer to process data output memory ### dwPDOutSize [out] Size of process data output memory (in bytes) ### *class* EcWrapperDotNet.DN_EC_T_SB_MISMATCH_DESC DN_EC_T_SB_MISMATCH_DESC. ### Public Members ### wPrevFixedAddress [in] Previous slave station address ### wPrevPort [in] Previous slave station address ### wPrevAIncAddress [in] Previous slave auto-increment address ### wBusAIncAddress [in] Unexpected slave (bus) auto-inc address ### dwBusVendorId [in] Unexpected slave (bus) vendor ID ### dwBusProdCode [in] Unexpected slave (bus) product code ### dwBusRevisionNo [in] Unexpected slave (bus) revision number ### dwBusSerialNo [in] Unexpected slave (bus) serial number ### wBusFixedAddress [in] Unexpected slave (bus) station address ### bIdentificationError [in] Identification command sent to slave but failed ### wIdentificationAdo [in] Identification register ### wIdentificationVal [in] Last identification value read from slave according to the last used identification method ### wIdentificationValExpected [in] Identification expected value ### wCfgFixedAddress [in] Missing slave (config) station Address ### wCfgAIncAddress [in] Missing slave (config) Auto-Increment Address ### dwCfgVendorId [in] Missing slave (config) Vendor ID ### dwCfgProdCode [in] Missing slave (config) Product code ### dwCfgRevisionNo [in] Missing slave (config) Revision Number ### dwCfgSerialNo [in] Missing slave (config) Serial Number ### *class* EcWrapperDotNet.DN_EC_T_SB_SLAVEINFO_DESC DN_EC_T_SB_SLAVEINFO_DESC. ### Public Members ### dwScanBusStatus [out] Scan bus status (determined in the latest scan bus) emNotify EC_NOTIFY_SB_STATUS ### dwVendorId [out] Vendor Identification stored in the EEPROM at offset 0x0008 ### dwProductCode [out] Product Code stored in the EEPROM at offset 0x000A ### dwRevisionNumber [out] Revision number stored in the EEPROM at offset 0x000C (Not read by default!) ### dwSerialNumber [out] Serial number stored in the EEPROM at offset 0x000E (Not read by default!) ### *class* EcWrapperDotNet.DN_EC_T_SB_SLAVEINFO_REQ_DESC DN_EC_T_SB_SLAVEINFO_REQ_DESC. ### Public Members ### eInfoEntry [in] Info Entry to read ### wAutoIncAddress [in] Auto-Increment address of the slave ### *enum* EcWrapperDotNet.DN_EC_T_eINFOENTRY DN_EC_T_eINFOENTRY. *Values:* ### unknown unknown ### pdoffs_in pdoffs_in ### pdsize_in pdsize_in ### pdoffs_out pdoffs_out ### pdsize_out pdsize_out ### phys_address phys_address ### portstate portstate ### dcsupport dcsupport ### dc64support dc64support ### alias_address alias_address ### cfgphy_address cfgphy_address ### device_name device_name ### ismailbox_slave ismailbox_slave ### pdoffs_in2 pdoffs_in2 ### pdsize_in2 pdsize_in2 ### pdoffs_out2 pdoffs_out2 ### pdsize_out2 pdsize_out2 ### pdoffs_in3 pdoffs_in3 ### pdsize_in3 pdsize_in3 ### pdoffs_out3 pdoffs_out3 ### pdsize_out3 pdsize_out3 ### pdoffs_in4 pdoffs_in4 ### pdsize_in4 pdsize_in4 ### pdoffs_out4 pdoffs_out4 ### pdsize_out4 pdsize_out4 ### mbx_outsize mbx_outsize ### mbx_insize mbx_insize ### mbx_outsize2 mbx_outsize2 ### mbx_insize2 mbx_insize2 ### isoptional isoptional ### ispresent ispresent ### esctype esctype ### BCppDummy BCppDummy. ### *class* EcWrapperDotNet.DN_EC_T_SB_SLAVEINFO_RES_DESC DN_EC_T_SB_SLAVEINFO_RES_DESC. ### Public Members ### eInfoEntry [out] Info entry read ### dwInfoLength [in, out] Length of Info Field (buffer, actually read length) ### pbyInfo [out] Pointer to Info (-1 if no info found in XML file) ### *class* EcWrapperDotNet.DN_EC_T_SB_STATUS_NTFY_DESC DN_EC_T_SB_STATUS_NTFY_DESC. ### Public Members ### dwResultCode [in] #EC_E_NOERROR: success, #EC_E_NOTREADY: no bus scan executed, #EC_E_BUSCONFIG_MISMATCH: bus configuration mismatch result of scanbus ### dwSlaveCount [in] Number of slaves connected to the bus ### *class* EcWrapperDotNet.DN_EC_T_SELFTESTSCAN_PARMS DN_EC_T_SELFTESTSCAN_PARMS. ### Public Members ### dwTimeout [in] Timeout [ms], 0 or EC_NOWAIT defaults to 500ms ### dwFrameCount [in] Total number of frames sent during the self-test. Default value is 1500. A value of 0 sets the default value. ### dwFrameSizeMin [in] Min frame size [bytes]. Default value is 60. A value of 0 sets the default value. ### dwFrameSizeMax [in] Max frame size [bytes]. Default value is 1514. A value of 0 sets the default value. ### dwFrameSizeStep [in] Size [bytes] by which the frame increases or decreases continuously during the self-test. Default value is 1. A value of 0 sets the default value. ### bDetectBadConnections [in] Execute the bad connection detection after self-test ### qwFrameRoundtripTimeAvg [out] Roundtrip time average [us]. Time taken from sending to receiving the frame (master application level). ### qwFrameRoundtripTimeMin [out] Roundtrip time minimum [us]. Time taken from sending to receiving the frame (master application level). ### qwFrameRoundtripTimeMax [out] Roundtrip time maximum [us]. Time taken from sending to receiving the frame (master application level). ### bMeasureRoundtripTimeForSingleFrame [in] Execute roundtrip time calculation for single frame ### bClearSlaveErrorCounters [in] Clear all slaves’ error counters before running the self-test ### dwDuration [in] Desired duration to run the self-test scan [s]. Stops as soon as dwDuration is reached. A value of 0 means no duration limit. If dwDuration is not zero, dwFrameCount is ignored. ### *enum* EcWrapperDotNet.DN_EC_T_SLAVE_SELECTION DN_EC_T_SLAVE_SELECTION. *Values:* ### eSlaveSelectionSingle [in] Select only one slave ### eSlaveSelectionTopoFollowers [in] Select slave and his topological followers ### eSlaveSelectionMasterSyncUnit [in] Select slave and his topological followers ### eSlaveSelectionDummy eSlaveSelectionDummy ### *class* EcWrapperDotNet.DN_EC_T_SLAVE_PROP EtherCAT slave properties. ### Public Members ### wStationAddress Configured station address or INVALID_FIXED_ADDR. ### wAutoIncAddr Configured auto increment address or INVALID_AUTO_INC_ADDR. ### achName Configured name of the slave device (NULL terminated string) ### *class* EcWrapperDotNet.DN_EC_T_SLVSTATISTICS_DESC DN_EC_T_SLVSTATISTICS_DESC. ### Public Members ### [] abyInvalidFrameCnt [out] Invalid Frame Counters per Slave Port ### [] abyRxErrorCnt [out] RX Error Counters per Slave Port ### [] abyFwdRxErrorCnt [out] Forwarded RX Error Counters per Slave Port ### byProcessingUnitErrorCnt [out] Processing Unit Error Counter ### byPdiErrorCnt [out] PDI Error Counter ### wAlStatusCode [out] AL Status Code ### [] abyLostLinkCnt [out] Lost Link Counters per Slave Port ### qwReadTime [out] Timestamp of the last read [ns] ### qwChangeTime [out] Timestamp of the last counter change [ns] ### *enum* EcWrapperDotNet.DN_EC_T_STATE EtherCAT state. *Values:* ### UNKNOWN Unknown state. ### INIT EtherCAT state INIT. ### PREOP EtherCAT state PREOP (pre-operational) ### SAFEOP EtherCAT state SAFEOP (safe operational) ### OP EtherCAT state OP (operational) ### BOOTSTRAP EtherCAT state BOOTSTRAP. ### BCppDummy BCppDummy. ### *enum* EcWrapperDotNet.DN_EC_T_CMD EtherCAT commands. *Values:* ### NOP No operation. ### APRD Auto increment physical read. ### APWR Auto increment physical write. ### APRW Auto increment physical read write. ### FPRD Configured address physical read. ### FPWR Configured address physical write. ### FPRW Configured address physical read write. ### BRD Broadcast read. ### BWR Broadcast write. ### BRW Broadcast read write. ### LRD Logical memory read. ### LWR Logical memory write. ### LRW Logical memory read write. ### ARMW Auto increment physical read multiple write. ### FRMW Configured address physical read multiple write. ### EXT EXT. ### BCppDummy BCppDummy. ### *class* EcWrapperDotNet.DN_EC_T_TRACE_DATA_INFO DN_EC_T_TRACE_DATA_INFO. ### Public Members ### pbyData [out] Process data output buffer, containing trace data ### dwOffset [out] Trace data offset in bytes ### wSize [out] Trace data size in bytes ### *enum* EcWrapperDotNet.DN_EC_T_USER_JOB EtherCAT user controlled execution job. *Values:* ### Undefined Undefined. ### ProcessAllRxFrames Receive frames and process all received data. Polling mode only. ### SendAllCycFrames Send all cyclic frames. ### MasterTimer Run internal master and slave state machines for generic management. ### SendAcycFrames Send acyclic frames. ### SendCycFramesByTaskId Send cyclic frames related to a specific task id (ENI: Cyclic/TaskId) ### MasterTimerMinimal Run minimal master timer routine: no state change possible. ### ProcessRxFramesByTaskId Receive frames and process received data related to a specific task id (ENI: Cyclic/TaskId) ### ProcessAcycRxFrames Receive frames and process received data related to acyclic frames. ### SwitchEoeFrames Switch queued EoE frames (see EC_IOCTL_SET_EOE_DEFFERED_SWITCHING_ENABLED) ### StartTask Start new task. ### StopTask Stop currently running task. ### StampSendAllCycFrames Obsolete. ### StampSendCycFramesByTaskId Obsolete. ### SimulatorTimer Run EC-Simulator timer routine (generic management) ### MonitorTimer Run EC-Monitor timer routine (generic management) ### BCppDummy BCppDummy. ### *enum* EcWrapperDotNet.DN_EC_T_VAR_DIRECTION DN_EC_T_VAR_DIRECTION. *Values:* ### Undefined Undefined Direction. ### INPUT INPUTs. ### OUTPUT OUTPUTs. ### All INPUTs and OUTPUTs. ### BCppDummy BCppDummy. ### *enum* EcWrapperDotNet.DN_EC_T_VAR_SOURCE DN_EC_T_VAR_SOURCE. *Values:* ### Undefined Undefined Source. ### All Slaves and Master/Monitor/Simulator. ### AllSlaves All Slaves. ### Slave Slave. ### Master Master. ### Monitor Monitor. ### Simulator Simulator. ### BCppDummy BCppDummy. ### *enum* EcWrapperDotNet.DN_ESC_SII_REG DN_ESC_SII_REG. *Values:* ### PDICONTROL PDICONTROL. ### PDICONFIG PDICONFIG. ### SYNCIMPULSELENGTH SYNCIMPULSELENGTH. ### EXTENDEDPDICONFIG EXTENDEDPDICONFIG. ### ALIASADDRESS ALIASADDRESS. ### CHECKSUM CHECKSUM. ### VENDORID VENDORID. ### PRODUCTCODE PRODUCTCODE. ### REVISIONNUMBER REVISIONNUMBER. ### REVISIONNUMBER_LO REVISIONNUMBER_LO. ### REVISIONNUMBER_HI REVISIONNUMBER_HI. ### SERIALNUMBER SERIALNUMBER. ### BOOT_RECV_MBX BOOT_RECV_MBX. ### BOOT_RECV_MBX_OFFSET BOOT_RECV_MBX_OFFSET. ### BOOT_RECV_MBX_SIZE BOOT_RECV_MBX_SIZE. ### BOOT_SEND_MBX BOOT_SEND_MBX. ### BOOT_SEND_MBX_OFFSET BOOT_SEND_MBX_OFFSET. ### BOOT_SEND_MBX_SIZE BOOT_SEND_MBX_SIZE. ### STD_RECV_MBX STD_RECV_MBX. ### STD_RECV_MBX_OFFSET STD_RECV_MBX_OFFSET. ### STD_RECV_MBX_SIZE STD_RECV_MBX_SIZE. ### STD_SEND_MBX STD_SEND_MBX. ### STD_SEND_MBX_OFFSET STD_SEND_MBX_OFFSET. ### STD_SEND_MBX_SIZE STD_SEND_MBX_SIZE. ### MBX_PROTOCOL MBX_PROTOCOL. ### FIRSTCATEGORYHDR FIRSTCATEGORYHDR. ### *class* EcWrapperDotNet.DN_ETHERNET_ADDRESS DN_ETHERNET_ADDRESS. ### Public Members ### [] b MAC address. ### *enum* EcWrapperDotNet.DN_NotifyCode Specifies EtherCAT errors codes. *Values:* ### UNDEFINED ### STATECHANGED ### ETH_LINK_CONNECTED ### SB_STATUS ### DC_STATUS ### DC_SLV_SYNC ### DCL_STATUS ### DCM_SYNC ### DCX_SYNC ### SLAVE_STATECHANGED ### SLAVES_STATECHANGED ### RAWCMD_DONE ### COE_TX_PDO ### SLAVE_PRESENCE ### SLAVES_PRESENCE ### REFCLOCK_PRESENCE ### MASTER_RED_STATECHANGED ### MASTER_RED_FOREIGN_SRC_MAC ### SLAVE_REGISTER_TRANSFER ### PORT_OPERATION ### SLAVE_IDENTIFICATION ### RELEASE_FORCED_PROCESSDATA ### SB_EEPROM_ACCESS_DENIED ### SB_SLAVE_IDENT_TIMEOUT ### CONFIG_LOAD ### FSOE_CONNECTION_STATECHANGED ### CYCCMD_WKC_ERROR ### MASTER_INITCMD_WKC_ERROR ### SLAVE_INITCMD_WKC_ERROR ### EOE_MBXSND_WKC_ERROR ### COE_MBXSND_WKC_ERROR ### FOE_MBXSND_WKC_ERROR ### FRAME_RESPONSE_ERROR ### SLAVE_INITCMD_RESPONSE_ERROR ### MASTER_INITCMD_RESPONSE_ERROR ### MBSLAVE_INITCMD_TIMEOUT ### NOT_ALL_DEVICES_OPERATIONAL ### ETH_LINK_NOT_CONNECTED ### RED_LINEBRK ### STATUS_SLAVE_ERROR ### SLAVE_ERROR_STATUS_INFO ### SLAVE_NOT_ADDRESSABLE ### SOE_MBXSND_WKC_ERROR ### SOE_WRITE_ERROR ### MBSLAVE_COE_SDO_ABORT ### CLIENTREGISTRATION_DROPPED ### RED_LINEFIXED ### FOE_MBSLAVE_ERROR ### MBXRCV_INVALID_DATA ### PDIWATCHDOG ### SLAVE_NOTSUPPORTED ### SLAVE_UNEXPECTED_STATE ### ALL_DEVICES_OPERATIONAL ### VOE_MBXSND_WKC_ERROR ### AOE_MBXSND_WKC_ERROR ### EEPROM_CHECKSUM_ERROR ### JUNCTION_RED_CHANGE ### SLAVES_UNEXPECTED_STATE ### LINE_CROSSED ### SLAVES_ERROR_STATUS ### FRAMELOSS_AFTER_SLAVE ### S2SMBX_ERROR ### BAD_CONNECTION ### COMMUNICATION_TIMEOUT ### TAP_LINK_STATUS ### MBOXRCV ### SB_MISMATCH ### SB_DUPLICATE_HC_NODE ### HC_DETECTADDGROUPS ### HC_PROBEALLGROUPS ### HC_TOPOCHGDONE