Ejemplo n.º 1
0
        /// <summary>
        /// Perform Coordinated Arc Move (in specified plane) of multiple axis to a desired destination
        /// with aditional a,b,c, axes linearly interpolated
        /// </summary>
        public void AddArc(double endx, double endy, double centerx, double centery,
                           CANON_PLANE plane, bool clockwise, double finalz, double a, double b, double c)
        {
            var direction = clockwise ? KMotion_dotNet.CANON_DIRECTION.CANON_CLOCKWISE : CANON_DIRECTION.CANON_COUNTERCLOCKWISE;

            _Controller.CoordMotion.ArcFeed(_Velocity,
                                            (int)plane, endx, endy, centerx, centery,
                                            (int)direction, finalz, a, b, c, 0, 0);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Perform Coordinated Arc Move (in specified plane) of multiple axis to a desired destination
 /// with aditional a,b,c, axes linearly interpolated
 /// </summary>
 public void AddArc(double endx, double endy, double centerx, double centery,
     CANON_PLANE plane, bool clockwise, double finalz, double a, double b, double c)
 {
     var direction = clockwise ? KMotion_dotNet.CANON_DIRECTION.CANON_CLOCKWISE : CANON_DIRECTION.CANON_COUNTERCLOCKWISE;
     _Controller.CoordMotion.ArcFeed(_Velocity,
         (int)plane, endx, endy, centerx, centery,
         (int)direction, finalz, a, b, c, 0, 0);
 }