<homing-fiducial-location units="Millimeters" x="10.5" y="2.5" z="0.0" rotation="0.0"/>
--
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/6d80c201-df94-4969-b1ee-3389ecf4248f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Tomislav,Thanks for posting the diagnostics. I'll take a look at this issue tonight or tomorrow night and see if I can help.In the meantime, one thing you mentioned stuck out to me: If you are hand editing the machine.xml, make sure you do it when OpenPnP is not running. If it's running when you make the change the change will be reverted on shutdown.If OpenPnP is NOT running when you made this change, and it is still resetting it to the old value, that is very strange. Just to be sure, are you editing the machine.xml in .openpnp2, not .openpnp?Thanks,Jason
On Mon, Jun 17, 2019 at 2:30 PM Tomislav Darlic <tomisla...@gmail.com> wrote:
Hi guys--I've been trying to solve this issue with OpenPNP failing to visual home after first attempt. Visual homing succeeds the first time but on every consecutive homing attempt fails because the head overshoots the homing fiducial. My homing fiducial is X:10.5mm and Y:2.5mm away from the mechanical homing position. On second homing attempt the head will move 21mm in X and 5 mm in Y direction like it added the coordinates to the movement command and then search for fiducial. On third homing attempt it will move 31.5mm in X and 7.5 mm in Y and then search for fiducial and obviously fail to find it.My visual homing is set up like this in the machine XML
<homing-fiducial-location units="Millimeters" x="10.5" y="2.5" z="0.0" rotation="0.0"/>I realized that if I reset the Smoothieboard before homing then homing is executed perfectly every time.I noticed that if I change above line in the machine.xml to have x="0" y="0" instead of x="10.5" y="2.5" and then reset the OpenPNP the OpenPNP resets the machine XML and reverts those values back to x="10.5" y="2.5".This issue popped up after I upgraded to latest version of OpenPNP. Unfortunately I don't have the old installation file to revert back to previous version to test this but I was using my machine for 3 days before the upgrade without any problems.Not knowing better I have created the below bug report in OpenPNP Github account before I discussed it here. I have removed the M82 command as per Marks recommendation on Github but the issue remains.Does anyone have a clue what might be the problem here? I am out of ideas after googling and trying for several days now.Thanks
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 ope...@googlegroups.com.
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/a1cd76cb-698a-4c39-bb63-845db10e879a%40googlegroups.com.
> The problem is that the G92 sent after visual homing is sending 0,0 when it should send the position of the home fiducial.
Yes that was my first thought too (because I stumbled on that on my “home-to-max Y” machine). OpenPNP internally resets the same home coordinates twice.
After end-switch homing:
After visual homing:
I assumed OpenPNP wants the fiducial to be your new home with the same home coordinates. I don’t know if this is a bug or wanted behavior. I just added a G0 command to my HOME_COMMAND to move the machine to the fiducial, before the first internal OpenPNP coordinate resetting happens.
But even if it is a bug: how does it explain the behavior?
The fiducial is close enough so it works in the first homing. Both Smoothie and OpenPNP are reset (see first code ref above) to the same respective coordinates after the G28 end-switch homing both times.
So why would the second visual homing behave any different? And why would that result in incrementally longer and longer offsets?
I suspect there’s something wrong with absolute mode or Smoothie G28.
Have you engaged grbl mode? This could explain it!
http://smoothieware.org/supported-g-codes
Either switch off grbl mode or use $H to home instead of G28.
_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 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/006001d526c2%24c1340360%24439c0a20%24%40makr.zone.
Mark - I think you are right. Let's see what Tomislav says.Jason
On Wed, Jun 19, 2019 at 12:16 PM Mark <mark(at)makr.zone> wrote:
--> The problem is that the G92 sent after visual homing is sending 0,0 when it should send the position of the home fiducial.
Yes that was my first thought too (because I stumbled on that on my “home-to-max Y” machine). OpenPNP internally resets the same home coordinates twice.
After end-switch homing:
After visual homing:
I assumed OpenPNP wants the fiducial to be your new home with the same home coordinates. I don’t know if this is a bug or wanted behavior. I just added a G0 command to my HOME_COMMAND to move the machine to the fiducial, before the first internal OpenPNP coordinate resetting happens.
But even if it is a bug: how does it explain the behavior?
The fiducial is close enough so it works in the first homing. Both Smoothie and OpenPNP are reset (see first code ref above) to the same respective coordinates after the G28 end-switch homing both times.
So why would the second visual homing behave any different? And why would that result in incrementally longer and longer offsets?
I suspect there’s something wrong with absolute mode or Smoothie G28.
Have you engaged grbl mode? This could explain it!
http://smoothieware.org/supported-g-codes
Either switch off grbl mode or use $H to home instead of G28.
_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 ope...@googlegroups.com.
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/aaVr5LwxM6Q/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.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/1c817128-4cb7-4a65-9e60-77c9c3cb178b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.