Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: fer_mayrl on May 01, 2006, 07:08:33 PM

Title: simultaneous motion starting at separate times
Post by: fer_mayrl on May 01, 2006, 07:08:33 PM
Hello,
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
Fernando
Title: Re: simultaneous motion starting at separate times
Post by: Graham Waterworth on May 01, 2006, 07:22:10 PM
Hi,

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)

Graham.