예제 #1
0
        /// <summary>
        /// 回原点
        /// </summary>
        /// <param name="axis">电机轴</param>
        /// <param name="dir">回原点方向</param>
        /// <returns></returns>
        public bool BackHome(Axis axis, AxisDir dir)
        {
            bool Re = SendCommandToArmWithAxis(axis, ArmCommandCode.AxisGoHome);

            return(Re);
        }
예제 #2
0
        /// <summary>
        /// 电机轴连续运动
        /// </summary>
        /// <param name="axis">电机轴</param>
        /// <param name="dir">运行方向</param>
        /// <returns></returns>
        public bool MoveContinuous(Axis axis, AxisDir dir)
        {
            bool Re = SendCommandToArmWithAxis(axis, ArmCommandCode.SetAxisMoveContinuous);

            return(Re);
        }