Need Help! Coordinated Motion C#


Results 1 to 2 of 2

Thread: Coordinated Motion C#

  1. #1
    Registered
    Join Date
    May 2016
    Location
    United States
    Posts
    2
    Downloads
    0
    Uploads
    0

    Default 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,

    Similar Threads:


  2. #2
    Gold Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    2620
    Downloads
    0
    Uploads
    0

    Default 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

    Last edited by TomKerekes; 01-03-2018 at 10:12 PM. Reason: noticed reference to C#
    TK
    http://dynomotion.com


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
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Coordinated Motion C#
Coordinated Motion C#