Hello Guest it is February 24, 2024, 06:03:01 PM

Author Topic: simultaneous motion starting at separate times  (Read 3147 times)

0 Members and 1 Guest are viewing this topic.

simultaneous motion starting at separate times
« on: May 01, 2006, 07:08:33 PM »
This has something to do with my previous post about zeroing an axis while moving.

Is it possible to be moving an axis, and while it is still moving, start to move another axis?
I need to do this because the second movement is not necesarily linked to the first movement, this is, the second movement needs to be done as soon as a sensor is hit. If this is not possible, then I will have to have two computers runing two instances of mach3, to control each station separately. No inconvenience in having to computers, but might call for some user error if the code of the second machine, does not correspond to the code on the first machine.
Thanks Again

Offline Graham Waterworth

  • *
  •  2,665 2,665
  • Yorkshire Dales, England
    • View Profile
Re: simultaneous motion starting at separate times
« Reply #1 on: May 01, 2006, 07:22:10 PM »

there is a G31 skip cycle, this is triggered by a sensor (usually a probe) but could be used to trigger a second movement.

G31 X100. F10. (move to X100. or until trigger active)
G01 X100. Z25. (move both axis)

Without engineers the world stops