How to have home !=0?

43 views
Skip to first unread message

Henrik

unread,
Aug 5, 2016, 5:53:07 PM8/5/16
to OpenPnP
Hi,
My Y axis homes in the positive direction in order to get the gantry out of the way. The switch is located 265mm from Y0.
I've set this up in the Smoothie configuration and verified that the machine position gets set to this when the homing is performed.
I've added G92 X0 Y265 Z0 E0 to the machine.xml (which I believe is redundant since I'm already doing that in the Smoothie config) and I've even added a "dummy-move" (G0 X0 Y265 Z0 E0) after it to "force" OpenPnP to "move" but the DRO in OpenPnP insists that I'm at Y0 after homing.

So if I then (try to) jog 1mm in the negative direction (ie towards Y0) the Y-axis moves 266mm beacuse the axis IS at 265 while OpenPnP tells it to move -1.

How do I get OpenPnP to sync up with the actual position?

Thanks!
   /Henrik.

Jason von Nieda

unread,
Aug 5, 2016, 5:56:22 PM8/5/16
to OpenPnP
If you are using gcodedriver look at driver line in machine.xml and set home-location values.

Can post more later, just boarded plane :)

Jason
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/81b4b68b-c2b6-40bb-abeb-eca544892b07%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Henrik Olsson

unread,
Aug 5, 2016, 6:21:04 PM8/5/16
to ope...@googlegroups.com

Duh, how could I miss that one.

Yes, using the G-code driver.

 

Now onto to adding the second nozzle and axis transforms.

 

Thanks Jason!

 

/Henrik.

 


--
You received this message because you are subscribed to a topic in the Google Groups "OpenPnP" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openpnp/CH4VINZkXy8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openpnp+u...@googlegroups.com.


To post to this group, send email to ope...@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages