Esempio n. 1
0
 private void btnJogPlus_MouseDown(object sender, MouseEventArgs e)
 {
     if (MultiMotion.GantryAxisEnable(1, true) == MultiMotion.KSM_OK)
     {
         MultiMotion.StepMove(MultiMotion.INDEX_MOVE_M, 0, false);
     }
 }
Esempio n. 2
0
        private void btn5StepMove_Click(object sender, EventArgs e)
        {
            if (checkLaserUnitPos() == false)
            {
                //MultiMotion.StopAll();

                if (MultiMotion.GantryAxisEnable(1, true) == MultiMotion.KSM_OK)
                {
                    MultiMotion.JogStop(MultiMotion.INDEX_MOVE_M);
                }



                MessageBox.Show("레이저 유닛 위치를 확인해 주세요.");

                return;
            }



            if (MultiMotion.GantryAxisEnable(1, true) == MultiMotion.KSM_OK)
            {
                MultiMotion.SetSpeed(MultiMotion.KSM_SPEED_FAST);

                MultiMotion.StepMove(MultiMotion.INDEX_MOVE_M, 1, true);
                MultiMotion.StepMove(MultiMotion.INDEX_MOVE_M, 1, false);

                MultiMotion.SetSpeed(this.AxisSpeed);
            }
        }
Esempio n. 3
0
        private void btn70JogPlus_MouseDown(object sender, MouseEventArgs e)
        {
            if (checkLaserUnitPos() == false)
            {
                MultiMotion.StopAll();

                MessageBox.Show("레이저 유닛 위치를 확인해 주세요.");

                return;
            }

            if (MultiMotion.GantryAxisEnable(1, true) == MultiMotion.KSM_OK)
            {
                MultiMotion.StepMove(MultiMotion.INDEX_MOVE_M, 0, false);

                // 좌표 중복 전송 방지 ...
                // ----------
                timerCommand.Enabled = false;

                ReadyCmdCount = 0;
                // ----------
            }
        }
Esempio n. 4
0
        private void btnJogMinus_MouseDown(object sender, MouseEventArgs e)
        {
            timerAxis.Enabled = true;

            MultiMotion.StepMove(MultiMotion.VBLOCK_Z, 1, false);
        }
Esempio n. 5
0
 private void btnJogPlus_MouseDown(object sender, MouseEventArgs e)
 {
     MultiMotion.StepMove(MultiMotion.BACK_CAM_Z, 1, false);
 }
Esempio n. 6
0
        // Y축 ...
        // --------------------------------------------------

        private void btnJogYPlus_MouseDown(object sender, MouseEventArgs e)
        {
            MultiMotion.StepMove(MultiMotion.CAM_UNIT_Y, 0, false);
        }
Esempio n. 7
0
        private void btnJogXMinus_MouseDown(object sender, MouseEventArgs e)
        {
            MultiMotion.StepMove(MultiMotion.CAM_UNIT_X, 1, false);

            timerAxis.Enabled = true;
        }