Hi manu,
Strictly speaking, the absolute coordinate system (where it is
zero) doesn't matter, only the orientation is important:
https://github.com/openpnp/openpnp/wiki/Machine-Axes#the-openpnp-coordinate-system
But as a convention, users have their X0, Y0 near the front, left
corner.
They have Z0 where a single nozzle is fully retracted, or the at
the balance-point with two nozzles. Z then goes into the negative,
down to the table. This is also the safest to setup, otherwise you
have to be careful to set the right Safe Z and any Z coordinates
which are typically initialized to 0 before you overwrite/capture
them.
> I saw in the machine.xml I got as example support, that HOME_COMMAND use G28.
The $H vs. G28 confusion is due to the CNC=1 define you used for
your firmware compilation (Grbl-mode).
https://smoothieware.org/grbl-mode?s[]=grbl&s[]=mode
Traditionally, OpenPnP users have used it without the CNC switch set, so you will find a lot of documentation and example machine.xml with G28 instead of $H.
Issues & Solutions should automatically recognize the
Grbl-mode from M115 and adapt the proposed G-code. Grbl-mode may
not have been as extensively tested. though.
> after use G28 if we need a different "home" position than the 0.0.0 position?
Frankly I don't know much about Grbl-mode. AFAIK what you ask for (single axes homing) is not fully documented in the G-codes. You can read the source code to figure it out (I did that when I wrote I&S support, but I don't remember). Or you can switch the Grbl-mode off by recompiling without CNC=1.
> In fact I think I confuse the "home" position who is an arbitrary position and the initial homing with endstop switch who set axis to 0.0.0 position..
I don't understand what you mean here.
_Mark
--
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/CAGshWo3aZLo13Fr%2B3eo_Rsj2cEmKVX_nKsNskqSQqc99zY18kg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/e4f00985-31f0-c827-7d3b-4c7bc2049ac3%40makr.zone.