Results 1 to 5 of 5

Thread: Moving axis independently. EMC2

  1. #1
    Registered
    Join Date
    Jul 2011
    Location
    South Africa
    Posts
    23
    Downloads
    0
    Uploads
    0

    Talking Moving axis independently. EMC2

    I do not know if anyone tried this before, but here goes. The machine I made has three axis. But not in a standard x y z config. Instead it would be more correct to say it has a x1 x2 and x3 axis, as they are inline with one another.
    For ease of explanation I will call them x y and z. Starting from the left x axis with a travel of 1700mm then the z axis on the same linear track with a travel of 250mm and lastly the y axis, also on the same linear track with a travel of 1700mm. This odly arranged system must feed 32mm diameter tubes 1400mm long continiously. ie The chuck on the x axis grabs the tube and feeds it approx 1000mm, at that point the chuck on the y axis grabs the other end of the tube and starts moving WITH the x axis at the same speed and continue moving. The x axis then returns home rapidly, to grab the next tube, to feed it right behind the first tube. The idea is to get a continious feed with short lenths of pipe.
    I have set up the stepper motors and gheko drives with a computer running EMC2. All works well. But the problem is: I cannot get the x axis to return home while the y axis is moving. G CODE only does the function in that line, and it does not like two g codes ie 001 G01 X1700. F2000. Y1000. F240.

    QUESTION: Has anybody tried this with EMC2? To move 2 or 3 axis independently from one another without the program interpolating the movements. And if so, I would really like to know how you did it.

    WHAT I TRIED: On the simulation Prof Rudy and myself managed to change the ini and hal configeration to accept TWO jog commands. Which should allow one to jog forward at say F400. and return home at F4000. If you combine the reverse contact on the parralel port with a SCALE switch.
    ie pin 4 closed=jog forward (F400.) pin 5 closed=jog backward (F400.) And pin 6 closed=Scale x10. (Same as on your MPG control)

    WHAT I WOULD LIKE TO KNOW: Is there simpler software that can do these movements, it seems to me that EMC2 is over kill for what I want. Can any one help me please?


  2. #2
    Registered
    Join Date
    Jul 2003
    Location
    Holmen, WI
    Posts
    1200
    Downloads
    0
    Uploads
    0
    If you do not need coordinated motion - I would look at using just hal and classic ladder. The hal portion of emc can be run by itself. Then just have some stepgens running controlled by maybe ladder logic. (just thinking out loud)

    sam


  3. #3
    Registered
    Join Date
    Jul 2011
    Location
    South Africa
    Posts
    23
    Downloads
    0
    Uploads
    0
    Thanks Sam, a few people I spoke to, agrees with you. The only challenge would be to get the movement to still accellerate and decellerate smoothly with "ramps".
    Do you perhaps know how to write that ladder?


  4. #4
    Registered
    Join Date
    Jul 2003
    Location
    Holmen, WI
    Posts
    1200
    Downloads
    0
    Uploads
    0
    If you are using steppers - you can set the acc. So whatever you send it - it will only accellerate at the rate set in the stepgen. In hal there are things like limit3 componants that limits acc/vel

    LIMIT3

    Great manual
    EMC2 Documentation - HTML version

    sam


  • #5
    Registered
    Join Date
    Jul 2011
    Location
    South Africa
    Posts
    23
    Downloads
    0
    Uploads
    0
    Thx sam, I will check it out.


  • Similar Threads

    1. Problem- a problem with slaved A-axis moving properly relative to Y-axis
      By zool in forum Mach Software (ArtSoft software)
      Replies: 34
      Last Post: 07-05-2011, 10:45 PM
    2. EMC2 axis Z-axis homing and table
      By satovey in forum LinuxCNC (formerly EMC2)
      Replies: 2
      Last Post: 07-02-2011, 05:05 PM
    3. Need Help!- Z DRO moving, axis not moving
      By JC50 in forum DIY CNC Router Table Machines
      Replies: 9
      Last Post: 03-12-2011, 08:49 PM
    4. Problem with manual moving in emc2
      By ad_Wolf in forum LinuxCNC (formerly EMC2)
      Replies: 6
      Last Post: 06-30-2008, 06:05 PM
    5. independently controling steppers
      By turmite in forum General Electronics Discussion
      Replies: 6
      Last Post: 09-17-2003, 08:15 PM

    Posting Permissions



    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.