Exemplo n.º 1
0
        public void SetZero()
        {
            // send command and read recv buffer
            EMCL.ERAETech_EMCL_SetZeroPosition(m_nPort, Convert.ToByte(GlobalVariable.LoadlockMotor.nModule));
            EMCL.ERAETech_EMCL_WaitAndGetReply(m_nPort, ref m_nRetValue);

            // send command and read recv buffer
            EMCL.ERAETech_EMCL_SetEncoderZeroPosition(m_nPort, Convert.ToByte(m_nModuleID));
            EMCL.ERAETech_EMCL_WaitAndGetReply(m_nPort, ref m_nRetValue);
        }