public void JogMove_P(int nSpeed, int nAcc) { // send command and read recv buffer EMCL.ERAETech_EMCL_SetMaxAcceleration(m_nPort, Convert.ToByte(m_nModuleID), Convert.ToInt32(nAcc)); EMCL.ERAETech_EMCL_WaitAndGetReply(m_nPort, ref m_nRetValue); // send command and read recv buffer EMCL.ERAETech_EMCL_RotateRight(m_nPort, Convert.ToByte(m_nModuleID), Convert.ToInt32(nSpeed)); byte nModuleId = 0, nCmd = 0; EMCL.ERAETech_EMCL_WaitAndGetReply3(m_nPort, ref nModuleId, ref nCmd, ref m_nRetValue); }