Manual nozzle tip changing

455 views
Skip to first unread message

Andreas Axelsson

unread,
Oct 3, 2020, 2:42:50 PM10/3/20
to OpenPnP
Hi,

I've been doing my own firmware for a machine (CHMT36VA) with jerk limited motion and now started to configure it for OpenPnP (v2). As the nozzle tips has quite a bit of run-out (especially on one of the nozzles in the dual nozzle head) I need to do nozzle tip calibration.
I have this calibration working after some tweaking in the CV-pineline. But since the machine doesn't have an automatic tool changer I was wondering how to implement a manual tool change in OpenPnP? When ever I try to change the nozzle tip it tries to move to 0, 0 which I assume is the default tool changer coordinate. I just want it to move to the park position and pause, so I can change manually, and then go back doing the run-out calibration and then be ready again.
Is there a nice way to implement this type of behaviour.

best regards,
Andreas

ma...@makr.zone

unread,
Oct 4, 2020, 7:29:26 AM10/4/20
to ope...@googlegroups.com

Hi Andreas

This feature was added here:

https://github.com/openpnp/openpnp/commit/cfde21257b1b47dbb3978dafd7802459b68ff483

If you disable the automatic changet on the nozzle:

Whenever an unload is triggered, it will move the nozzle to the Last Location of the Tool Changer definition and then prompt you to manually change the nozzle tip.

But I think there is a bug in there. The Job Processor will not call unload, only load, which in turn would call the unload only if needed.

But the unload was moved inside the if here, which is then wrong:

https://github.com/openpnp/openpnp/blob/cfde21257b1b47dbb3978dafd7802459b68ff483/src/main/java/org/openpnp/machine/reference/ReferenceNozzle.java#L273

The same in the current code:

https://github.com/openpnp/openpnp/blob/b49b6950eb9adcc01ff66df4a88952008a251685/src/main/java/org/openpnp/machine/reference/ReferenceNozzle.java#L461

Also, it would of course be nice if the Tip was named in the Message, also the Message should appear when there is no tip loaded yet.

Will make a Fix PR.

_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/1cb3f354-eb06-4823-8442-334168988535n%40googlegroups.com.

ma...@makr.zone

unread,
Oct 4, 2020, 8:25:05 AM10/4/20
to ope...@googlegroups.com

Turns out my description is not quite accurate.

The Job Processor will call unloadNozzleTip() and loadNozzleTip(), so this works inside jobs, albeit you have to guess which nozzle tip to load next.

But it does not work if you just press the load button in the GUI manually.

So you can press the unload button, then manually unload the old tip and load the new tip. Then press the load button.

If no tip is currently loaded on the nozzle, this will not work.

It does also not work for the pick button on the FeedersPanel with automatic part compatible tip change.

I'm still looking into an improvment..

_Mark

ma...@makr.zone

unread,
Oct 4, 2020, 10:01:55 AM10/4/20
to ope...@googlegroups.com

Shai

unread,
Oct 4, 2020, 12:15:50 PM10/4/20
to OpenPnP
+1 to this PR Mark. I have an automatic nozzle changer rack, but disabled automatic nozzle changing while doing manual unloading for now. However, it always crashes into the automatic nozzle changer whenever I uncheck a nozzle. There should definitely be an option to use a custom location for manual nozzle swapping. It should not crash into the nozzle rack if automatic tool changer is turned off.

I recommend even having the option to not specify a location. It's a bit of an awkward user experience when you uncheck a tip on a nozzle and then the head moves. When I uncheck a tip on a nozzle, I'm usually already about to pull it out, not expecting it to move, which means I already manually moved it to a clear location to swap.

Andreas Axelsson

unread,
Oct 4, 2020, 6:57:19 PM10/4/20
to OpenPnP
Thank you Mark. I have now defined a profile for all the different nozzle tips I have and customized their CV profile for the run-out calibration.
Setting the last position to the change position worked. I can now unload and load nozzles using the GUI buttons. and a recalibration is triggered automatically when I load the new nozzle.

I am still a bit away from running a real work so it is only via the machine tab in OpenPnP 2.0 so far.

Best regards,
Andreas

Reply all
Reply to author
Forward
0 new messages