Example #1
0
        private void btnFLMove_Click(object sender, EventArgs e)
        {
            if (UpdateFormula() == false)
            {
                MessageBox.Show("계산식을 완료할 수 없습니다. 입력 내용을 확인해 주세요.");

                return;
            }

            double dMoveDis = MultiMotion.dIndex_XPos - MultiMotion.dRolling100Value;

            MultiMotion.GantryAxis(MultiMotion.INDEX_MOVE_M, MultiMotion.INDEX_MOVE_S, dMoveDis, false);
        }
Example #2
0
        private bool Rolling80()
        {
            if (UpdateFormula() == false)
            {
                MessageBox.Show("계산식을 완료할 수 없습니다. 입력 내용을 확인해 주세요.");

                return(false);
            }

            double dMoveDis = MultiMotion.dIndex_XPos - MultiMotion.dRolling80Value;

            MultiMotion.GantryAxis(MultiMotion.INDEX_MOVE_M, MultiMotion.INDEX_MOVE_S, dMoveDis, true);    // 80프로 위치로 이동 ...

            return(true);
        }
Example #3
0
        private void btnFLMove_Click(object sender, EventArgs e)
        {
            //DeviceManager.PlaySoundM4A("용접이끝났으니제품을꺼내주세요.m4a");

            if (MultiMotion.dRolling100Value > 30.0)
            {
                double dMoveDis = MultiMotion.dIndex_XPos - MultiMotion.dRolling100Value;

                MultiMotion.SetSpeed(MultiMotion.KSM_SPEED_MIDIUM);

                MultiMotion.GantryAxis(MultiMotion.INDEX_MOVE_M, MultiMotion.INDEX_MOVE_S, dMoveDis, false);

                MultiMotion.SetSpeed(this.AxisSpeed);

                bFLMove = true;

                laser_unit_status = 16;
            }
        }