Esempio n. 1
0
 void Btn_Home_Click(object sender, EventArgs e)
 {
     if (Card_flag)
     {
         AxisMotion a = AxisMotion.axis_motion;
         a.StartHome();
         //AxisMotion.StartHome();
         while (!AxisMotion.HomeFinish)
         {
             ;
         }
         //AxisMotion.StopHome();
         a.StopHome();
     }
     else
     {
         SetText("请初始化板卡!", -1);
     }
 }