It could happen if
a) you have dynamic Safe Z configured
b) the sum of the picked part heights is larger than your Safe Z
Zone (headroom)
If you set the Max. Part Height correctly on the nozzle
tips (i.e. honestly larger than any part heights that you
pick with that nozzle tip) then I&S should complain. Please
report first if that is the case. Note, as far as I remember the Max.
Part Height is not enforced, i.e. you need to be honest.
Or... it is a bug.
_Mark
MovableUtils.moveToLocationAtSafeZ() must bring all its attached HeadMountables to safeZ (obviously) before it can move the head. It does so by moving each into the safe Z Zone. With Dynamic Safe Z this adds the part height.
With shared Z axes (cam etc.) it does this twice, for both
nozzles. But because it checks whether a nozzle is already in the
save Z zone, it should either do nothing on first or do nothing on
the second nozzle. They can't be both down, right?
This promise is broken if you have dynamic safe Z and the sum of part heights is greater than the safe Z zone. It will then bring up the first and the the second, resulting in two moves.
Another reason could be that you have another HeadMountable with non-virtual Z axis, that is moved first. Actuators should not act up, as they should come after the nozzles (or it would be a bug). But if you misconfigured a camera with non-virtual Z axis, that would explain it, I guess, they come first as far as I remember. (I haven't looked at code, no time).
I trust you asked I&S?
A full log at TRACE will tell us. Please send one. 🙂
Or like I said, maybe it's a bug. It is certainly not
supposed to happen, and it has nothing to do with the job
processor per se.
_Mark
> I generated the log sequence stepping through a job where both nozzles just picked the same part by clearing the log.
I must have misunderstood this sentence.
The double Z is not at the picking, it is at the alignment?
Are you trying out the have a camera focal plane higher than Safe Z, as discussed elsewhere?
Then yes, there could well be a bug.
Can you point a a timestamp in the log, I haven't found the scenario...?
Could you send the machine.xml?
_Mark
Hi Jan,
turns out it is has multiple issues. I fixed them. Described in
the PR:
https://github.com/openpnp/openpnp/pull/1656
Please test immediately.
Hi Jan,
Oops, took the wrong end of the Safe Z Zone. Some of the old code mistakenly left over. Fixing it.
https://github.com/openpnp/openpnp/pull/1657
(will merge as soon as sure)
Sorry 😳
_Mark
Merged.
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/f7aa12e0-a902-42ca-8cbe-c377461c5418%40makr.zone.