0 工具准备
1.SOEM-master-1.4.0源码
1 ecx_writeeeprom函数总览
/** Write EEPROM to slave bypassing cache.:绕过从站缓存写EEPROM数据
* @param[in] context = context struct 句柄
* @param[in] slave = Slave number 从站序号
* @param[in] eeproma = (WORD) Address in the EEPROM EEPROM地址(以字为单位)
* @param[in] data = 16bit data 16bit数据
* @param[in] timeout = Timeout in us.
* @return >0 if OK
*/
int ecx_writeeeprom(ecx_contextt *context