Z-Homing

255 views
Skip to first unread message

Richard Klingler

unread,
Jul 19, 2020, 8:52:34 AM7/19/20
to OpenPnP

Food sunny afternoon (o;

My test setup is now running with a BTT SKR V1.4 board and can drive the x-stepper as well as the two y-steppers...as well as the vacuum pump via the FAN0 output...

Now I configured Marlin to use Z-Max as endstop switch...end tested fine....

But how is homing handled in OpenPNP? On the Wiki page I only see mentioning the G28 XY command...and don't see any z-homing...

Should it home to z-max position? (which makes sense to me)
And then z-axis is travelling in negative direction?


thanks for clarification...
richard

Marek T.

unread,
Jul 19, 2020, 9:49:01 AM7/19/20
to OpenPnP
Hi,
I don't use z-homing but c. But the situation is the same. I just use G28 in Openpnp and in Smoothie have pointed sequence of homing set to CXY (C have first cause like this sequence).
However, always can send a command with limited axes, like G28XY, or G28C or any combination is required.
So you can also use G28XYZ if it's needed.

Cesar Mardueño

unread,
Jul 19, 2020, 9:51:32 AM7/19/20
to ope...@googlegroups.com
Hi Richard

I am new to OpenPnP and someone helped me solve it but I will tell you.

The home of the Z axis should do it in the maximum position (I understood it that way) and it runs in the negative direction.

I use marlin with a ramps 1.4 but basically configure it as you need

#define Z_HOME_DIR 1

// @section machine

// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS 0
#define Y_MIN_POS 0
#define Z_MIN_POS -55
#define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 0

and in the machine.xml file in this part you configure where your home is
  <command type = "HOME_COMMAND">
             <text><!://CDATA-5G28>> </text>
             <text> <! [CDATA [G0 X260 Y480 Z0]]> </text>

This works for me, I hope you understand me since my English is not good.

Regards

-Cesar Mardueño

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/a9eb33f2-fe5a-4993-836a-af39b2c82918o%40googlegroups.com.

Mike Menci

unread,
Jul 19, 2020, 10:13:38 AM7/19/20
to OpenPnP
Betz web;
Homing with inductive sensor. The kits have been supplied with a new 5v tolerant sensor for a couple of months but as of 2018-09-05 they are confirmed working on the built in homing switch terminals on the smoothie board. On the test board the voltage was 4.7v and it worked normally so no more voltage issues!
See file sample config on his web!

Richard Klingler

unread,
Jul 19, 2020, 10:58:50 AM7/19/20
to ope...@googlegroups.com
Hello Marek

What is the C-axis? Just another name for Z?

thanks in advance
richard
--
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+unsubscribe@googlegroups.com.

Marek T.

unread,
Jul 19, 2020, 11:14:06 AM7/19/20
to OpenPnP
C is nozzle rotating.
Z motions I've got controlled pneumatically so they need on/off only. I've got this also "connected" to the Z-axis with some code modification - but it doesn't need any homing.
Reply all
Reply to author
Forward
0 new messages