soem 源码解析 ecx_parentport_soem中 parent port-爱代码爱编程
/* search unconsumed ports in parent, consume and return first open port * 在父级端口中搜索未使用的端口,使用并返回第一个打开的端口 * @param[in] context = context struct *
代码编织梦想
/* search unconsumed ports in parent, consume and return first open port * 在父级端口中搜索未使用的端口,使用并返回第一个打开的端口 * @param[in] context = context struct *
/* Write EEPROM to slave bypassing cache. * 通过缓存写EEPROM到从站。 * @param[in] context = context struct * 上下文结构体 * @param[in] slave = Slave number *
#define MAX_FPRD_MULTI 64 /* 读取的最大从站数量 */ /* 配置的地址物理读(FPRD)从站AL状态和 AL状态编码列表 * @param[in] context = context struct * 上下文结构体 * @param[in] n = *
/* Get next SM data from SII SM section in slave EEPROM. * 从从站EEPROM中的SII SM部分获取下一个SM通道描述信息 * @param[in] context = context struct * 上下文结构体 * @param[
/* Get SM data from SII SM section in slave EEPROM. * 从从站EEPROM中的SII SM部分获取SM通道描述信息 * @param[in] context = context struct * 上下文结构体 * @param[in] sla
/* Get FMMU data from SII FMMU section in slave EEPROM. * 从从站EEPROM中的FMMU部分获取FMMU描述信息 * @param[in] context = context struct * 上下文结构体 * @param[in] s
/* Get string from SII string section in slave EEPROM. * 从从站EEPROM中的SII字符串部分获取字符串类信息 * @param[in] context = context struct * 上下文结构体 * @param[out] s
/* Find SII section header in slave EEPROM. * 在从站EEPROM中查找SII部分头部 * @param[in] context = context struct * 上下文结构体 * @param[in] slave
/* Read one byte from slave EEPROM via cache. * 通过缓存从从站 EEPROM 读取一个字节 * If the cache location is empty then a read request is made to the slave. * Depending on the slave ca
/* Initialise lib in redundant NIC mode * 在冗余网卡模式下初始化lib库 * @param[in] context = context struct * 上下文结构体 * @param[in] redport = pointer to redport
/* Initialise lib in single NIC mode * 在单网卡模式(NIC)下初始化lib库 * @param[in] context = context struct * 上下文结构体 * @param[in] ifname = Dev name, f.e. "eth0
/* Report Mailbox Emergency Error * 报告邮箱紧急请求错误 * @param[in] context = context struct * 上下文结构体 * @param[in] Slave = Slave number *
/* Report Mailbox Error * 报告邮箱错误 * @param[in] context = context struct * 上下文结构体 * @param[in] Slave = Slave number *
/* Report packet error * 报告数据包错误 * @param[in] context = context struct * 上下文结构体 * @param[in] Slave = Slave number *
/* Pops an error from the list. * 从错误列表中弹出一个错误 * @param[in] context = context struct * 上下文结构体 * @param[out] Ec = Struct describing the err
/* Pushes an error on the error list. * 将错误放入错误列表 * @param[in] context = context struct * 上下文结构体 * @param[in] Ec pointer describing the er
#ifdef EC_VER1/* 使用版本1的默认上下文和函数 */ /* Set DC of slave to fire sync0 at CyclTime interval with CyclShift offset. * 设置从站的DC 以具有偏移时间量的周期时间间隔触发 sync0 * @param [in] slave
发一张图片装一装:图片来自 倍福官网https://download.beckhoff.com/download/Document/io/ethercat-development-products/ethercat_esc_datasheet_sec1_technology_2i3.pdf Figure 28: Propagation Delay Cal
/* Set DC of slave to fire sync0 and sync1 at CyclTime interval with CyclShift offset. * 设置从站的DC 以具有偏移时间量的周期时间间隔触发 sync0和sync1 * @param[in] context = context struct *
/* Set DC of slave to fire sync0 at CyclTime interval with CyclShift offset. * 设置从站的DC 以具有偏移时间量的周期时间间隔触发 sync0 * @param[in] context = context struct *