示例#1
0
        /// <summary>
        /// Reset axises individually (groups don't generate unsolicited stat changes); order matters: Y X' X.
        /// </summary>
        public static void YAxis_Reset()
        {
            MBAdapter mba;

            mba = new MBAdapter(DaKs.Y_Reset);
            ECMsg myr = mba.NewMsg();

            mba.SetCreate(ref myr, 0);
            SPVMECMediate.Instance.Tx(myr);
        }
示例#2
0
        /// <summary>
        /// Reset axises individually (groups don't generate unsolicited stat changes); order matters: Y X' X.
        /// </summary>
        public static void XAxis_Reset()
        {
            MBAdapter mba;

            mba = new MBAdapter(DaKs.Xpri_Reset);
            ECMsg mxpr = mba.NewMsg();

            mba.SetCreate(ref mxpr, 0);
            SPVMECMediate.Instance.Tx(mxpr);

            mba = new MBAdapter(DaKs.X_Reset);
            ECMsg mxr = mba.NewMsg();

            mba.SetCreate(ref mxr, 0);
            SPVMECMediate.Instance.Tx(mxr);
        }
示例#3
0
        public static void YAxis_Home()
        {
            MBAdapter mba;

            mba = new MBAdapter(DaKs.Y_Func);
            ECMsg mf = mba.NewMsg();

            mba.SetCreate(ref mf, 3);
            SPVMECMediate.Instance.Tx(mf);

            mba = new MBAdapter(DaKs.Y_StM);
            ECMsg ms = mba.NewMsg();

            mba.SetCreate(ref ms, 1);
            SPVMECMediate.Instance.Tx(ms);
        }
示例#4
0
        public static void XAxis_Get_LenSpSpd()
        {
            MBAdapter mba;

            mba = new MBAdapter(DaKs.X_Wall_Len);
            ECMsg mxlen = mba.NewMsg();

            mba.GetCreate(ref mxlen);
            SPVMECMediate.Instance.Tx(mxlen);

            mba = new MBAdapter(DaKs.Xpri_Wall_Len);
            ECMsg mxplen = mba.NewMsg();

            mba.GetCreate(ref mxplen);
            SPVMECMediate.Instance.Tx(mxplen);

            mba = new MBAdapter(DaKs.X_Stitch);
            ECMsg mxsp = mba.NewMsg();

            mba.GetCreate(ref mxsp);
            SPVMECMediate.Instance.Tx(mxsp);

            mba = new MBAdapter(DaKs.Xpri_Stitch);
            ECMsg mxpsp = mba.NewMsg();

            mba.GetCreate(ref mxpsp);
            SPVMECMediate.Instance.Tx(mxpsp);

            mba = new MBAdapter(DaKs.X_Bridg_Spd);
            ECMsg mxspd = mba.NewMsg();

            mba.GetCreate(ref mxspd);
            SPVMECMediate.Instance.Tx(mxspd);

            mba = new MBAdapter(DaKs.Xpri_Bridg_Spd);
            ECMsg mxpspd = mba.NewMsg();

            mba.GetCreate(ref mxpspd);
            SPVMECMediate.Instance.Tx(mxpspd);
        }
示例#5
0
        /// <summary>
        /// Turn off axises individually (groups don't generate unsolicited stat changes); order matters: X' X Y.
        /// </summary>
        public static void AllAxis_Off()
        {
            MBAdapter mba;

            mba = new MBAdapter(DaKs.Xpri_AxisOff);
            ECMsg mxp = mba.NewMsg();

            mba.SetCreate(ref mxp, 0);
            SPVMECMediate.Instance.Tx(mxp);

            mba = new MBAdapter(DaKs.X_AxisOff);
            ECMsg mx = mba.NewMsg();

            mba.SetCreate(ref mx, 0);
            SPVMECMediate.Instance.Tx(mx);

            mba = new MBAdapter(DaKs.Y_AxisOff);
            ECMsg my = mba.NewMsg();

            mba.SetCreate(ref my, 0);
            SPVMECMediate.Instance.Tx(my);
        }
示例#6
0
        /// <summary>
        /// Turn on axises individually (groups don't generate unsolicited stat changes); order matters: Y X' X.
        /// </summary>
        public static void AllAxis_On()
        {
            MBAdapter mba;

            mba = new MBAdapter(DaKs.Y_AxisOn);
            ECMsg myo = mba.NewMsg();

            mba.SetCreate(ref myo, 0);
            SPVMECMediate.Instance.Tx(myo);

            mba = new MBAdapter(DaKs.Xpri_AxisOn);
            ECMsg mxpo = mba.NewMsg();

            mba.SetCreate(ref mxpo, 0);
            SPVMECMediate.Instance.Tx(mxpo);

            mba = new MBAdapter(DaKs.X_AxisOn);
            ECMsg mxo = mba.NewMsg();

            mba.SetCreate(ref mxo, 0);
            SPVMECMediate.Instance.Tx(mxo);
        }
示例#7
0
        public static void AllAxis_Get_StitchSeamField()
        {
            MBAdapter mba;

            mba = new MBAdapter(DaKs.Y_Sys_Cfg);
            ECMsg mgy = mba.NewMsg();

            mba.GetCreate(ref mgy);
            SPVMECMediate.Instance.Tx(mgy);

            mba = new MBAdapter(DaKs.Xpri_Sys_Cfg);
            ECMsg mgxp = mba.NewMsg();

            mba.GetCreate(ref mgxp);
            SPVMECMediate.Instance.Tx(mgxp);

            mba = new MBAdapter(DaKs.X_Sys_Cfg);
            ECMsg mgx = mba.NewMsg();

            mba.GetCreate(ref mgx);
            SPVMECMediate.Instance.Tx(mgx);
        }
示例#8
0
        public static void AllAxis_Get_ProgramRev()
        {
            MBAdapter mba;

            mba = new MBAdapter(DaKs.Y_ProgramRev);
            ECMsg mgy = mba.NewMsg();

            mba.GetCreate(ref mgy);
            SPVMECMediate.Instance.Tx(mgy);

            mba = new MBAdapter(DaKs.Xpri_ProgramRev);
            ECMsg mgxp = mba.NewMsg();

            mba.GetCreate(ref mgxp);
            SPVMECMediate.Instance.Tx(mgxp);

            mba = new MBAdapter(DaKs.X_ProgramRev);
            ECMsg mgx = mba.NewMsg();

            mba.GetCreate(ref mgx);
            SPVMECMediate.Instance.Tx(mgx);
        }