0 工具准备 1.SOEM-master-1.4.0源码 1 ecx_detect_slaves函数总览 /** * @brief 检测从站数量 * * @param context 句柄 * @return int 从站数量 */ int ecx_detect_slaves(ecx_contextt *context) { uint8 b; uint16 w; int wkc; /