Is see various issues in the log, like missing M204 prefixes and
F-words variables being issued when no feed-rate is supposed to be
driven. It seems you have hand-written your G-code. You should use
Issues & Solutions all the way to the Advanced Milestone for a
clean setup.
Also make sure you have defined acceleration and jerk on all the axes and these correspond to your controller settings/limits.
> Note I had to manually edit machine.xml to modify from GcodeDriver to AsyncGcodeDriver per the wiki.
Like it says in the Wiki, this is outdated. Better do it with
Issues & Solutions.
https://github.com/openpnp/openpnp/wiki/GcodeAsyncDriver#for-existing-gcodedrivers
> was excited to give motion blending a try!
Unfortunately, there is currently no controller known to me that takes and processes G-code commands fast enough. On Duet it works, but it takes longer for it to receive and process the commands, than what blending saves in move time. On Smoothie the move buffer length is not large enough for longer moves (like you said), it only works for small "pecks":
https://github.com/openpnp/openpnp/wiki/Motion-Planner#motion-blending
NOTE, do not confuse Motion Blending
with Simulated 3rd Order Motion Control a.k.a. Simulated
Jerk Control. The latter works very well and is very
effective in reducing vibrations, i.e. long camera settling times
and inaccurate picks and places (on machines that need it, like
mine)!
https://github.com/openpnp/openpnp/wiki/GcodeAsyncDriver#interpolation
Plus there are various other features on the GcodeAsyncDriver
like the asynchronous communication that are good value!
_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/e2bc8039-6cc5-4c4b-9df0-c551fcdeeebdn%40googlegroups.com.
Hi Shai
You should really solve the IO issue first.
But if for some reason this is not possible, you can try the generic G-code controller. It is 90% the same as smoothie and it will create the MOVE_TO_COMMAND correctly.
You can also backup your machine.xml and explore that/copy the
generated commands over.
_Mark
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/bebc979d-daf7-4cb0-93ca-be10f9a49672n%40googlegroups.com.
Hi Mike,
According to the machine.xml you have all the axes on the same driver. And therefore conflicting Axis letters.
Which is reported in the error:
2021-10-08 21:05:46.862 SystemLogger ERROR: Exception in thread "Thread-12" java.util.regex.PatternSyntaxException: Named capturing group <Z> is already defined near index 66
^.*X:(?<X>-?\d+\.\d+) Y:(?<Y>-?\d+\.\d+) Z:(?<Z>-?\d+\.\d+) Z:(?<Z>-?\d+\.\d+) .*A:(?<A>-?\d+\.\d+) A:(?<A>-?\d+\.\d+) A:(?<A>-?\d+\.\d+) A:(?<A>-?\d+\.\d+).*
I cannot imagine how this could have happened spontaneously,
through the upgrade. But if you like, you can send the machine.xml from before the upgrade.
Remember, they are automatically backed up in the .openpnp2/backups directory.
_Mark
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/630bb49c-1edc-4372-a057-d678a16dd41an%40googlegroups.com.
Hi Mike
The old machine.xml has all the rotation axes on letter E. And then two of them have pre-move T commands, but the other two have none.
And the two are actually the same index T0.
Pre-move and letter variables are switched off in the driver. So
this has obviously only worked with one of four nozzles.
Right?
You need 8 axes for your machine. X, Y, Z1 (with negated Z3), Z2 (with negated Z4), C1, C2, C3, C4.
You cannot do that with only one Smoothie. But I think we have
discussed this before?
_Mark
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/b235eed8-b528-4c1b-93ff-1ebe08ec2455n%40googlegroups.com.
On 9 Oct 2021, at 11.03, ma...@makr.zone wrote:
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/ddaa0daa-9d3e-7dc2-a327-ad717415a626%40makr.zone.
Hi Mike,
if this worked before, it is "by accident". Your axes are not
modeled as shared, i.e. OpenPnP would have a faulty internal
representation of the C axis positions.
But yes, this could have work by accident, as it is unlikely that
rotation axes are not rotated at all between pick and align, and
between align and place, i.e. there are always small inaccuracies
that will make sure an axis is re-positioned.
First of all: there should be nothing in the way to use the old machine.xml as before. You will not be
able to use the modern features, but it should work as before.
Then if you want to use the new features, what you need to do is this:
Note, Issues & Solutions will report two errors because of
the shared axes. These are actually not true errors but should be
mere warnings (I will change that). You can press Dismiss on
those.
After that, use Issues & Solutions to propose the G-code. Press Accept on those.
This should work.
_Mark
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/44EEA339-B0D6-401C-ADB1-E996832D725C%40gmail.com.
Hey Mike,
Issues & Solutions will no longer report the shared rotation axes as an Error:
See here:
https://github.com/openpnp/openpnp/pull/1307
Note: this is only in the testing version!
https://openpnp.org/test-downloads/
@Mike, it would be great, if you
could test this in the testing version.
Note,the testing version, will also soon offer two new
optimization options for shared rotation axes:
@Mike, because I only have a single nozzle machine, it would be great to have someone with a physical machine like yours test this! 😎
_Mark
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/e5cb9483-7252-40dc-8477-b83ae7ca1cf6n%40googlegroups.com.
On 9 Oct 2021, at 15.54, ma...@makr.zone wrote:
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/32c07289-2887-6c4b-494f-27ad0a49463f%40makr.zone.
Hi Mike,
At the moment I have problems deploying. I have to ask Jason for
help.
https://github.com/openpnp/openpnp/actions/runs/1323645843
I will report again, when it works.
I think the easiest is backing up your
.openpnp2 folder and then installing over the existing
installation. If you want to go back later, just install the older
version and then restore the .openpnp2 folder.
_Mark
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/D70BE99D-BF80-4F38-BBE2-87F21D060CFE%40gmail.com.
What exactly are your steps?
Log at TRACE level?
Hint: Issues & Solutions will do it differently, when
the machine is already enabled, when you press the Find Issues
& Solution button.
_Mark
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/46ec8b5f-dd02-4d02-95dc-df6b60215c2bn%40googlegroups.com.
Hmmm... I don't see anything in the log.
Theoretically, there could be a threading race. The M115 is
currently not sent inside a machine task (as it should). But I
don't see how this would reproducibly fail, on an idle machine.
Still I will try and fix it.
What happens if you press the button on the driver? Then press Find
Issues & Solutions again?
_Mark
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/17aa2d37-17d2-4de5-beeb-38eb9153902en%40googlegroups.com.