文章标题
2015-12-21 03:59
316 查看
版权声明:本文为博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/xuefa/article/details/50369177
struct JogCmd *pJC = g_pJSeg[mtr]->stJogCmd + g_pJSeg[mtr]->uCLWrite; pJC->sJogClass = nJogClass; pJC->dPara1 = dPara1; pJC->dPara2 = dPara2; /** For JogCommandP(P点Jog指令) **/ pJC->dVm = dMVel; pJC->dTa = dTa; pJC->dTs = dTs; /** For JogCommandP(P点Jog指令) **/ g_pJSeg[mtr]->uCLWrite++; g_pJSeg[mtr]->uCmdNum ++; *g_MC[mtr] = jog; pGS->bWakeUpMP = 1;