//#include "fmc.h"
//--------------------
#define APP_VER_MAJOR 5
-#define APP_VER_MINOR 4
+#define APP_VER_MINOR 6
#define HW_V2 2
#define HW_V3 3
#define HW_V4 4
+#define WELDING_START_CURRENT 15.0f //15A为启动电流
+
#define VOL 0.01f
//电流互感器类型配置
float welding_curr_disp_value( float curr )
{ //+10A 到 -10A 上报0,与屏上显示一致
- if( curr > -10 && curr < 10 )
+ if( curr > -WELDING_START_CURRENT && curr < WELDING_START_CURRENT )
curr = 0;
return curr;
}
#endif
welding_start = 0;
if( g_dev.cfg2.fix_flow_x10 == 0 ){
- if( g_dev.cfg.remote_locked || g_dev.offline_locked || welding_current < 10.0f ){ //焊接电流大于10A 认为开始焊接,小于10A认为焊接停止。
+ if( g_dev.cfg.remote_locked || g_dev.offline_locked || welding_current < WELDING_START_CURRENT ){ //焊接电流大于15A 认为开始焊接,小于10A认为焊接停止。
}else{
welding_start = 1;