ADT-MC41403655180520755-26722719200755-26722718ADT-MC4140INTELPENTIUMINTELWINDOWSMSDOSMICROSOFTADT-MC4140://://(8)15.161~8816.RS23215KV17.85~265VAC45~65Hz18.USB19.UC/OS-II20.4(bps)120024004800960019200384005760011520085-265VAC45-65HzW~4/6://://(2AB14)25(16)37(2/164)USB://://://()voidGUI_Init(void);2GUI_Redraw()voidGUI_Redraw(void);3DrawImage()voidDrawImage(INT16Ux,INT16Uy,INT16Uwidth,INT16Uheight,constINT8U*pData);x,y18()voidClearArea(INT16Ux,INT16Uy,INT16Uwidth,INT16Uheight,INT8Ucolor);x,ywidthheightcolor5FillArea()voidFillArea(INT16Ux,INT16Uy,INT16Uwidth,INT16Uheight,INT8Ucolor);x,ywidthheightcolor6InvertArea()voidInvertArea(INT16Ux,INT16Uy,INT16Uwidth,INT16Uheight);x,ywidthheightcolor()voidDrawPoint(INT16Ux,INT16Uy,INT8Ucolor,INT8Ulinewidth);x,ycolorlinewidth8DrawLine()voidDrawLine(INT16Ux,INT16Uy,INT16Ux1,INT16Uy1,INT8Ucolor,INT8Ulinewidth);x,yx1,y1colorlinewidth9DrawRect()voidDrawRect(INT16Ux,INT16Uy,INT16Uwidth,INT16Uhigh,INT8Ucolor);x,ywidthheightcolor10DrawString12X12()12X1220(INT16Ux,INT16Uy,INT8U*str);x,ystr11DrawString16X16()16X16voidDrawString16X16(INT16Ux,INT16Uy,INT8U*str);x,ystr12DrawString6X8()6X8voidDrawString6X8(INT16Ux,INT16Uy,INT8U*str);x,ystr13DrawString8X8()8X8voidDrawString8X8(INT16Ux,INT16Uy,INT8U*str);x,ystr2-4()voidmotion_init(void);1.2set_stop0_mode()stop0/intset_stop0_mode(intaxis,intvalue,intlogic);axis1-4value01logic0101STOP11.3set_stop1_mode()stop1/intset_stop1_mode(intaxis,intvalue,intlogic);axis1-4value01logic01011.4set_pulse_mode()intset_pulse_mode(intaxis,intvalue,intlogic,intdir_logic);axis1-422()/nLMTintset_limit_mode(intaxis,intvalue1,intvalue2,intlogic);axis1-4value101value201logic01012()ADT-MC4140intget_status(intaxis,int*value)axis1-4value00012.2get_inp_status()intget_inp_status(int*value)value010133.1set_range()intset_range(intaxis,longvalue);axisvalueR500-201//R500R/1~8000800040KPPS1~80005R100R500-21-25024(0,1,50)X500/50=10set_range(0,3,2)Z500/2=2503.2set_acc()intset_acc(intaxis,longvalu