585,589 active members*
2,889 visitors online*
Register for free
Login
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2016
    Posts
    2

    Coordinated Motion C#

    I am attempting to create Coordinated code. Using the StraightFeed(double feedrate, double x, double y, double z, double a, double b, double c, int sequence_number, int ID) method, but it is failing to give any motion.is there information on how send the StraightFeed via the _Controller.WriteLine method, like the job cmd below ? _Controller.WriteLine(String.Format("Jog{0}={1}", _ID, _JogVelocity * _JogPercent * _CPU));Where can i find any information on what string commands to send and the responses.Thanks,

  2. #2
    Join Date
    May 2006
    Posts
    4045

    Re: Coordinated Motion C#

    Hi DavidTaylor,

    It's fairly difficult to do coordinated motion in KFLOP by sending low level script commands yourself. That's because coordinated motion normally involves multiple segments that are blended together, trajectory planned, buffered, etc.

    Fortunately our Motion Libraries do most of the dirty work for you. But you still must configure the Trajectory Planner, Open the Motion Buffer, define the path (ie StraightFeeds), then trigger the motion (Flush the Motion Buffer). Its a bit more complicated than a single call but very powerful.

    See the SimpleCoordMotion C++ project for a simple example.

    HTH
    Regards

    Actually I now see you asked about C# and .NET. The Process is very similar to the C++ example just slightly different syntax. For C# you can look at the KMotion_dotNet Console example
    TK
    http://dynomotion.com

Similar Threads

  1. Mach3 Motion card XHC 5th MK4-V 4 AXIS mach3 cnc motion control breakout board
    By samnang39 in forum Automation Technology Products
    Replies: 0
    Last Post: 01-01-2017, 03:22 AM
  2. Coordinated Motion
    By rfv in forum Dynomotion/Kflop/Kanalog
    Replies: 15
    Last Post: 03-17-2016, 07:24 PM
  3. Replies: 0
    Last Post: 11-06-2010, 07:15 AM
  4. No Motion
    By FLUTE HEAD in forum Xylotex
    Replies: 2
    Last Post: 02-15-2005, 04:33 PM
  5. Coordinated movement problem
    By kdoney in forum Uncategorised MetalWorking Machines
    Replies: 4
    Last Post: 08-27-2004, 06:23 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •