× Forum Header

Machine Zero (HOME)

More
12 Jan 2011 15:36 #6649 by sjcdcheu
Machine Zero (HOME) was created by sjcdcheu
I am using the 3-axis stepping motor with HOME switched and EMC2 2.3 installed. It is no problem to let the EMC2 to go home zero by click HOME button on screen. However, it may possible the stepping motor missing some step when G0 X0Y0Z0 and it is not the machine zero. Is it a way I can send the code either G/M/O code or via ParPort to request EMC2 to go HOME.

Thank & My Best Regards
Dason

Please Log in or Create an account to join the conversation.

More
12 Jan 2011 16:14 #6650 by BigJohnT
Replied by BigJohnT on topic Re:Machine Zero (HOME)
Dason,

With a stepper machine you must configure you acceleration and speed so you never miss a step. Once a step has been missed for what ever reason no control can possibly know where home actually is without homing again.

You can use the halui.home-all pin to make your machine home again via the parallel port.

John

Please Log in or Create an account to join the conversation.

More
12 Jan 2011 17:00 #6651 by sjcdcheu
Replied by sjcdcheu on topic Re:Machine Zero (HOME)
Thank! John, I am going to try to use the ParPort Pin 8 as input. I am very apprecipate if if you can help me to confirm the below

net program-run <= parport.0.pin-8-in
net program-run => halui.home-all pin

or

net halui.home-all pin => parport.0.pin-8-in

Thank again,
My Best Regards,
Dason.

Please Log in or Create an account to join the conversation.

More
12 Jan 2011 17:10 #6652 by andypugh
Replied by andypugh on topic Re:Machine Zero (HOME)
sjcdcheu wrote:

net program-run <= parport.0.pin-8-in
net program-run => halui.home-all pin

Will work, (except for the spurious word "pin" but program-run would be an unsual name to choose for the signal.

net halui.home-all pin => parport.0.pin-8-in

I prefer this format, but you still need to choose a signal name. The arrows are only for human readers, so it doesn't matter, but your arrow points the wrong way.
net ext-home halui.home-all <= parport.0.pin-8-in
Is how I would do it.

Please Log in or Create an account to join the conversation.

More
12 Jan 2011 17:21 #6653 by sjcdcheu
Replied by sjcdcheu on topic Re:Machine Zero (HOME)
John, thank for your quick solution.

My Best Regards,
Dason.

Please Log in or Create an account to join the conversation.

Time to create page: 0.071 seconds
Powered by Kunena Forum