예제 #1
0
        //        public void AxtSpeedSet(short m_nAxis, double Speed)
        //        {
        //#if PROGRAM_RUNNING
        //            CAxtCAMCFS20.CFS20set_max_speed(m_nAxis, Speed);
        //#endif
        //            return;
        //        }

        public uint AxtErrorRead(short m_nAxis)
        {
#if PROGRAM_RUNNING
            if (GetRunAxis(m_nAxis) == false)
            {
                return(0);
            }
            return(CAXM.AxmInfoGetAxisStatus(m_nAxis));
#else
            return(0);
#endif
        }