Example #1
0
        private void RollingDown()
        {
            //MultiMotion.StopAll();

            MultiMotion.JogStop(MultiMotion.ROLLING_FIX_1);
            MultiMotion.JogStop(MultiMotion.ROLLING_FIX_2);
            MultiMotion.JogStop(MultiMotion.ROLLING_MOVE_1);
            MultiMotion.JogStop(MultiMotion.ROLLING_MOVE_2);


            MultiMotion.SetSpeed(MultiMotion.KSM_SPEED_MIDIUM);

            MultiMotion.MoveRolling(1.0, false);

            MultiMotion.SetSpeed(this.AxisSpeed);

            /*
             * MultiMotion.MoveRolling(1.0, true);
             *
             * MultiMotion.HomeMove(MultiMotion.ROLLING_FIX_1, true);  // 고정축 롤링 1
             * MultiMotion.HomeMove(MultiMotion.ROLLING_FIX_2, true);  // 고정축 롤링 2
             * MultiMotion.HomeMove(MultiMotion.ROLLING_MOVE_1, true); // 이동축 롤링 1
             * MultiMotion.HomeMove(MultiMotion.ROLLING_MOVE_2, true); // 이동축 롤링 2
             *
             * MessageBox.Show("Rolling Down이 완료되었습니다.");
             */
        }
Example #2
0
        private void btnRollingDown_Click(object sender, EventArgs e)
        {
            MultiMotion.StopAll();

            MultiMotion.SetSpeed(MultiMotion.KSM_SPEED_MIDIUM);

            MultiMotion.MoveRolling(1.0, false);

            MultiMotion.SetSpeed(this.AxisSpeed);
        }
Example #3
0
        private void btnRollingDown_Click(object sender, EventArgs e)
        {
            MultiMotion.StopAll();

            MultiMotion.MoveRolling(1.0, true);

            MultiMotion.HomeMove(MultiMotion.ROLLING_FIX_1, true);  // 고정축 롤링 1
            MultiMotion.HomeMove(MultiMotion.ROLLING_FIX_2, true);  // 고정축 롤링 2
            MultiMotion.HomeMove(MultiMotion.ROLLING_MOVE_1, true); // 이동축 롤링 1
            MultiMotion.HomeMove(MultiMotion.ROLLING_MOVE_2, true); // 이동축 롤링 2

            MessageBox.Show("Rolling Down이 완료되었습니다.");
        }
Example #4
0
        private void btnRollingUp_Click(object sender, EventArgs e)
        {
            MessageBox.Show("모델 편집 기능이 완료된 후에 적용할 예정입니다.");

            return;

            MultiMotion.SetSpeed(MultiMotion.KSM_SPEED_SLOW);

            double dRollingValue = 90 - (DataManager.SelectedModel.dCapsulePie / 2.0); // 안전 거리 확보를 위하여 -10함.

            MultiMotion.MoveRolling(dRollingValue, false);

            MultiMotion.SetSpeed(AxisSpeed);
        }
Example #5
0
        private void btnRollingUp_Click(object sender, EventArgs e)
        {
            //95.28(47.64) 파이 => 42.5 => 원점에서 중심까지 90

            MultiMotion.SetSpeed(MultiMotion.KSM_SPEED_MIDIUM);

            double dTempValue = 0.0;

            if (double.TryParse(this.txtRollingOffset.Text, out dTempValue))
            {
                double dRollingValue = 90 - (DataManager.SelectedModel.dCapsulePie / 2.0) + dTempValue; // 안전 거리 확보를 위하여 -10함.

                MultiMotion.MoveRolling(dRollingValue, false);
            }

            MultiMotion.SetSpeed(AxisSpeed);
        }