我来告诉你:
转速是4005。进给是17
UF_PARAM_ask_double_value(oper,4003,&double_t); //UF_PARAM_SURFACE_SPEED 4003
sprintf(temp,"UF_PARAM_SURFACE_SPEED=:%0.3f",double_t);
list_w(temp);
UF_PARAM_ask_double_value(oper,4004,&double_t); //UF_PARAM_FEED_PER_TOOTH 4004
sprintf(temp,"UF_PARAM_FEED_PER_TOOTH=:%0.3f",double_t);
list_w(temp);
UF_PARAM_ask_double_value(oper,4005,&double_t); //UF_PARAM_SPINDLE_RPM 4005
sprintf(temp,"Speed RPM=:%0.3f",double_t);
list_w(temp);
UF_PARAM_ask_int_value(oper,4013,&int_t); //UF_PARAM_SPINDLE_RPM_TOG 4013* 0 -- Inactive 1 -- Active
sprintf(temp,"使用RPM(1:激活):%d",int_t);
list_w(temp);
UF_PARAM_ask_int_value(oper,4008,&int_t); //UF_PARAM_SPINDLE_MODE 4008
sprintf(temp,"UF_PARAM_SPINDLE_MODE:%d",int_t);
list_w(temp);
UF_PARAM_ask_str_value(oper,4009,char_t); //UF_PARAM_SPINDLE_RANGE_TEXT 4009
sprintf(temp,"Spindle Range text:%s",char_t);
list_w(temp);
UF_PARAM_ask_str_value(oper,4010,char_t); //UF_PARAM_SPINDLE_TEXT 4010
sprintf(temp,"Spindle text:%s",char_t);
list_w(temp);
/* Second Page */
UF_PARAM_ask_subobj_ptr_value(oper,UF_PARAM_FEED_RAPID,&h_feed); //UF_PARAM_FEED_RAPID 10
sprintf(temp,"RAPID:%0.1f",h_feed.value);
list_w(temp);
UF_PARAM_ask_subobj_ptr_value(oper,UF_PARAM_FEED_APPROACH,&h_feed); //UF_PARAM_FEED_APPROACH 13
sprintf(temp,"APPROACH:%0.1f",h_feed.value);
list_w(temp);
UF_PARAM_ask_subobj_ptr_value(oper,UF_PARAM_FEED_ENGAGE,&h_feed); //UF_PARAM_FEED_ENGAGE 11
sprintf(temp,"ENGAGE:%0.1f",h_feed.value);
list_w(temp);
UF_PARAM_ask_subobj_ptr_value(oper,UF_PARAM_FEED_FIRST_CUT,&h_feed); //UF_PARAM_FEED_FIRST_CUT 18
sprintf(temp,"FIRST_CUT:%0.1f",h_feed.value);
list_w(temp);
UF_PARAM_ask_subobj_ptr_value(oper,UF_PARAM_FEED_STEPOVER,&h_feed); //UF_PARAM_FEED_STEPOVER 19
sprintf(temp,"STEPOVER :%0.1f",h_feed.value);
list_w(temp);
UF_PARAM_ask_subobj_ptr_value(oper,UF_PARAM_FEED_CUT,&h_feed); //UF_PARAM_FEED_CUT 17
sprintf(temp,"FEED_CUT:%0.1f",h_feed.value);
list_w(temp);
UF_PARAM_ask_subobj_ptr_value(oper,UF_PARAM_FEED_TRAVERSAL,&h_feed); //UF_PARAM_FEED_TRAVERSAL 16
sprintf(temp,"TRAVERSAL:%0.1f",h_feed.value);
list_w(temp);
UF_PARAM_ask_subobj_ptr_value(oper,UF_PARAM_FEED_RETRACT,&h_feed); //UF_PARAM_FEED_RETRACT 12
sprintf(temp,"RETRACT:%0.1f",h_feed.value);
list_w(temp);
UF_PARAM_ask_subobj_ptr_value(oper,UF_PARAM_FEED_RETURN,&h_feed); //UF_PARAM_FEED_RETURN 15
sprintf(temp,"RETURN:%0.1f",h_feed.value);
list_w(temp);
//Third Page
|