585,729 active members*
4,422 visitors online*
Register for free
Login
Results 1 to 10 of 10
  1. #1
    Join Date
    Jun 2005
    Posts
    1425

    Running two machines at the synchronously ?

    I have built two identical articulated arms, each has three stepper motors.
    This is a question looking for a simple way to run them together, so that the g-code controlling each of them steps at the same rate.
    For example, the same code runs on each controller, but only outputs to the correct arm.
    It might need another device that 'steers' the outputs, and is referring to the original code for its instructions.

    I know there are many other ways of controlling them, but I want to try this approach first, if only in simulated mode.
    It's like doing jigsaw puzzles in the dark.
    Enjoy today's problems, for tomorrow's may be worse.

  2. #2
    Join Date
    Oct 2010
    Posts
    156
    I would look into only one machine and giving each joint it's own axis. LinuxCNC can control up to 9 axes. I think that would be the easiest (only?) way to keep both arms together.

    Paul

  3. #3
    Join Date
    Jun 2005
    Posts
    1425
    Hi Paul,
    Thanks for your input. The 9-axis idea will be my next approach if the first one has no where to go.
    John
    It's like doing jigsaw puzzles in the dark.
    Enjoy today's problems, for tomorrow's may be worse.

  4. #4
    Join Date
    Oct 2010
    Posts
    1189

    Re: Running two machines at the synchronously ?

    why don't you spilt the stepper signals to duplicate them ?

  5. #5
    Join Date
    Jun 2007
    Posts
    3757

    Re: Running two machines at the synchronously ?

    Each stepper has it's own driver, and feed the drivers with the same step and direction signals.
    As long as you start at the same position when off, they will stay in step, as long as no lost steps due to overloading or excessive acceleration used.
    Super X3. 3600rpm. Sheridan 6"x24" Lathe + more. Three ways to fix things: The right way, the other way, and maybe your way, which is possibly a faster wrong way.

  6. #6
    Join Date
    Jun 2005
    Posts
    1425

    Re: Running two machines at the synchronously ?

    Quote Originally Posted by Tkamsker View Post
    why don't you spilt the stepper signals to duplicate them ?
    I have now abandoned the idea of using g-code, and am using a system which is more like addressing the steppers directly in machine code.
    Thanks for your interest, but I now consider this thread closed.

    John
    It's like doing jigsaw puzzles in the dark.
    Enjoy today's problems, for tomorrow's may be worse.

  7. #7
    Join Date
    Jun 2005
    Posts
    1425

    Re: Running two machines at the synchronously ?

    Quote Originally Posted by neilw20 View Post
    Each stepper has it's own driver, and feed the drivers with the same step and direction signals.
    As long as you start at the same position when off, they will stay in step, as long as no lost steps due to overloading or excessive acceleration used.
    This is very much the way I am going.
    I've built a 6 channel controller/driver, with separate 'homing' circuits for the left and right arms, using optical interupters and logic ic's for each motor.
    i've made sure that the speed/load allows 'dead reckoning' navigation for the arms.
    John
    It's like doing jigsaw puzzles in the dark.
    Enjoy today's problems, for tomorrow's may be worse.

  8. #8
    Join Date
    Oct 2010
    Posts
    156

    Re: Running two machines at the synchronously ?

    Quote Originally Posted by greybeard View Post
    ... For example, the same code runs on each controller, but only outputs to the correct arm.
    It might need another device that 'steers' the outputs, and is referring to the original code for its instructions.

    I know there are many other ways of controlling them, but I want to try this approach first, if only in simulated mode.
    Kind of academic at this point, but I don't think the arms are always in sync that duplicating the signals would work. See what I set to bold in John's quote above. Maybe I mis-read.

  9. #9
    Join Date
    Jun 2005
    Posts
    1425

    Re: Running two machines at the synchronously ?

    I guess it's my own fault for a poor choice of the word 'synchronously' in my title. Trying to keep my cards too close to my chest !

    Basically trying to get the two arms working together, each following it's own path, but the timing of the two is linked in a single data stream that is sent to both, so that they don't collide.

    John.

    PS when I get to moving the prototype, a video will appear. When the final model has made its public appearance, I'll go open source.
    It's like doing jigsaw puzzles in the dark.
    Enjoy today's problems, for tomorrow's may be worse.

  10. #10
    Join Date
    Oct 2010
    Posts
    156

    Re: Running two machines at the synchronously ?

    Thanks John.

Similar Threads

  1. How Many Machines are you running at work
    By MILLMANM in forum Polls
    Replies: 52
    Last Post: 06-30-2016, 11:25 PM
  2. Running costs of CNC machines?
    By .kyle in forum Uncategorised MetalWorking Machines
    Replies: 7
    Last Post: 06-15-2011, 04:20 PM
  3. Running Two CNC Machines On One Computer
    By Too_Many_Tools in forum Uncategorised MetalWorking Machines
    Replies: 3
    Last Post: 08-31-2007, 08:27 PM
  4. Idea for running two machines
    By SPEEDRE in forum Mach Software (ArtSoft software)
    Replies: 0
    Last Post: 07-10-2006, 09:06 PM
  5. Running multiple machines
    By REVCAM_Bob in forum Fadal
    Replies: 68
    Last Post: 04-03-2006, 08:37 PM

Posting Permissions

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