Hi John
you should update to the latest testing version ...
https://openpnp.org/test-downloads/
... then let yourself be guided by Issues & Solutions.
https://github.com/openpnp/openpnp/wiki/Issues-and-Solutions
It should help you setup a Liteplacer mostly automatically. You should delete the second driver, though.
It will also guide you through many new auto-calibration steps, many have report that it has improved their machine precision a lot.
(This video is a bit dated, there are now even more calibrations, and the ones shown have been improved)
From what I've just quickly seen, there's cool stuff in these scripts, but unfortunately on a rather outdated version of OpenPnP. That's a bit of a problem with scripting, you tend to be stuck on a version, because if the underlying software model changes, it breaks your scripts, with no prior warning, i.e. you'll only get the error at runtime.
There are some things that he shows with helper scripts,
that were great at the time, but may no longer be needed at all.
One feature is part auto-height sensing with auto focus. If you
enable it, you don't even need to set up part heights any more,
they will be measured on first use.
Another new feature: on a Liteplacer you can enable Contact
Probing, so feeder Z need only be set very roughly by hand or
script (+/-2mm). The precise feeder height is then automatically
probed on the first use. But for that, you need a feeder design,
that allows contact probing, i.e. the tape bottom must be
suspended on a sturdy surface, so the nozzle tip can press against
it (the Liteplacer probe is not very gentle). If the tapes are
only suspended on their sides, it will bounce like a trampoline
and eject all parts.
https://makr.zone/openpnp-nozzle-tip-changer-vision-z-calibration-part-height-sensing/653/
https://github.com/openpnp/openpnp/wiki/Contact-Probing-Nozzle
There are many more new features that make it easier, less work,
more precise.
Most of all we have improved the Vision Settings system, so you
don't need to copy all the settings across individual parts, but
can manage them centrally in a handful of settings.
If you are interested in having less work and more importantly
less mistakes in setting up feeders, look at those that can clone
settings around and OCR/barcode/QR-code support to recognize the
loaded part. This is especially useful for off-machine feeder
preparation and mountable/storable feeders.
See here how you can get a one click per feeder setup with the PushPullFeeder:
https://youtu.be/5QcJ2ziIJ14?t=295
This is shown for the All-3D-printed feeder here, but it'll work
with any form of mechanical drag/lever/push-pull or
electrical feeder.
https://makr.zone/new-all-3d-printed-tapereel-feeder/399/
OCR/barcode has now also been added to the BlindsFeeder (though that part is not yet in the video):
https://makr.zone/new-openpnp-blindsfeeder/353/
_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/e1f9b8b6-89ec-4110-92c2-7b05ab36b269n%40googlegroups.com.
Hi John
Issues & Solutions should tell you, if it does not recognize
the firmware (missing M115 command or unknown response). Then it
should point you to the Wiki. If not, try enabling the Include
dismissed? switch.
The (lower) blue [ i ] button on that issue should lead you here:
https://github.com/openpnp/openpnp/wiki/Motion-Controller-Firmwares
Does it not do that? Please report, so I
can fix bugs if present.
For TinyG you need to read this:
https://github.com/openpnp/openpnp/wiki/Motion-Controller-Firmwares#tinyg
So yes, you need to flash a new firmware version if you haven't
yet. Stock TinyG does not support OpenPnP well and you're missing
out on better speed control:
It is all linked in the Wiki, which leads you to my blog, where I
explain the extra TinyG commands, and how you can flash it.
Be sure to follow the guide carefully,
so you can reconstruct your settings after the flashing.
Unfortunately, some TinyG EEPROM settings tend to get lost.
https://makr.zone/tinyg-new-g-code-commands-for-openpnp-use/577/
_Mark
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/32885fef-9497-43b0-b7e2-76c95827f55dn%40googlegroups.com.
if I'm not mistaken, the $$ lists the $fv and $fb as well, so you have all the information. Just make sure to copy and save the information for later.
_Mark
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/7266907c-df83-4382-a325-da0308a13d79n%40googlegroups.com.
> My next hurdle looks like I somehow messed up the jogging for the z and c (or a) axes. I can jog fine for the x and y but the other two just stopped for some reason when I was putting in commands and settings. I have been looking for about an hour on what I missed and I will keep looking later as well. Either way I will post a list of my settings below in case something looks off and might be the issue.
See here:
This seems to be a very common misunderstanding for new users. If anybody has an idea how to make this more intuitive, please speak up. 😁
_Mark
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/8311609a-df5d-4f68-9f52-860f8d423e30n%40googlegroups.com.
Hi John,
> my C axis is moving at a snails pace
Are you sure you handled all the Issues & Solutions suggestions?
Have you set all the axis limits?
https://github.com/openpnp/openpnp/wiki/Machine-Axes#kinematic-settings--rate-limits
Also Issues & Solutions should have told you to
remove (set to 0) the driver limit,
so that only the axes are limited. This is especially
important for the rotation axis (a machine can usually be faster
in degrees than in millimeters).
Also Issues & Solutions should have told you to set the right Motions Control Type for TinyG (SimpleSCurve):
https://github.com/openpnp/openpnp/wiki/GcodeAsyncDriver#motion-control-type
> Also, I currently using a black mark on a white surface for a homing mark
Again, are you sure you used the Issues & Solutions
suggestion to set up Visual Homing? Have you set the Feature
Diameter right?
https://github.com/openpnp/openpnp/wiki/Visual-Homing#mounting-a-fiducial
If you want to re-visit, just set the Visual Homing method on the
Head to None. Then press Find Issues & Solutions
again.
https://github.com/openpnp/openpnp/wiki/Visual-Homing#method-for-new-machines
If this is setup is correct, the color should be of no concern.
The new algorithm is agnostic to inside/outside color, all that
counts is a contrast between the two and that it must be circular:
https://github.com/openpnp/openpnp/wiki/DetectCircularSymmetry
If in doubt, send the machine.xml
https://github.com/openpnp/openpnp/wiki/FAQ#where-are-configuration-and-log-files-located
_Mark
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/bb358263-f29d-4aef-a9a2-376ed56ceb30n%40googlegroups.com.
> Couldn't one disable the buttons if a tool is selected, that has a virtual axis?
No, the virtual axes must be movable.
But we could probably draw the Z and C letter in a different color to indicate they are virtual... 🤔
_Mark
Hi John,
when you say "dot" you do mean a printed circular feature, right? It has to be exactly circular, high color contrast and sharp edges are a bonus. Just a dot from a pen won't do!
> this may be because my paper isn't matte enough and is too reflective
Yes, this could be a cause. Also make sure you have a good light
diffuser, otherwise even quite matte paper might reflect some
pinprick highlights that break up the circular shape.
You cut out anything from your household: I'm looking at the mess on my desk now, and I see at least three good candidates from packaging, a booklet cover, etc.
If you have old PCBs you can cut out a fiducial.
> Perhaps there is a threshold function or somethin I could use in order to make the dot more clear?
No, the algorithm is self-tuning, as it compares the image to itself, that's the beauty of that detection method:
https://github.com/openpnp/openpnp/wiki/DetectCircularSymmetry
But that's also the reason it has to be truly circular. It is robust against imperfections along the contour, but the overall contour as such, must be circular, it must not be oval or whatever.
For example: these imperfections from a hole-punch confetti are
fine, as the overall contour is still very circular:
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/f8f42958-c617-475b-963f-4b29940fe8a0n%40googlegroups.com.
> I can also try to record a video as well of my multiple attempts with different fiducials if that will help.
As the behaviors is rather unexpected, yes that would probably help.
> I also can't find the setting for turning the corsshairs on for the camera for some reason.
Context menu (right mouse button) on the camera view.
> One other thing, my light bottom and light top are just always on
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/79438cce-7e60-4498-9911-88a1b8b8d858n%40googlegroups.com.
That image looks very good. Are you sure you set the diameter right?
Another thing to check is camera settling:
https://github.com/openpnp/openpnp/wiki/Camera-Settling
_Mark
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/e76833bc-8434-4245-a166-8658f638869an%40googlegroups.com.
> [4tr] m4 travel per revolution 360.0000 mm <-- should be 160.0000 mm (this is not a typo)
I case anybody is wondering: 160 instead of 360 is due to gear reduction on the Liteplacer (GT2-16 pulley drives GT2-36 pulley):
https://liteplacer.com/the-machine/assembly-instructions/pnp-head-step-9-place-z-low-limit-switch/
_Mark
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/cffbc844-f593-4cb2-8244-652ed779edcen%40googlegroups.com.
> I went into the machine.xml file
No need for that, Just go to Machine Setup / Drivers / your
Driver and set the timeouts in the Driver Settings tab.
_Mark
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/7009fe3b-ff21-4f4e-8184-90df9fb2cca4n%40googlegroups.com.
Hi everybody,
I'm not really sure if this is the issue for the OP.
But just to exclude what Clemens said, once and for all, I added a tiny extension to the GcodeDrivers and GcodeAsyncDriver.
There is now a $-Command Wait Time [ms] that pauses sending for that many milliseconds after each command starting with a $-sign.
I took the 50ms default from the Liteplacer Software source code.
You can see how the commands are staggered by 50ms:
This will now be added to any $-commands, regardless of whether
they write to the EEPROM or not. But I guess that's no problem in
practice, you can still send 20 commands a second.
See also:
https://github.com/openpnp/openpnp/pull/1433
Download as testing Version:
https://openpnp.org/test-downloads/
Please help with testing on real TinyG controllers that have $-commands in the CONNECT_COMMAND. 😎
Note: if some TinyG users feel adventurous, they can also test if TinyG works without Confirmation Flow Control, i.e. in truly asynchronous mode with the GcodeAsyncDriver. This is assuming it was only the $-commands that actually made that impossible so far. It would make operation slightly faster and make the TinyG a "first-class" controller. 😁
https://github.com/openpnp/openpnp/wiki/GcodeAsyncDriver#advanced-settings
_Mark
I leave that to the many TinyG users.
_Mark
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/828d5dc8-88ce-4d18-bc2e-c46d02787d51n%40googlegroups.com.
Tony,
thanks a lot for testing. Sounds good!
The serial flow control behavior (your second test) is a bit of a
mystery, though. I think for the moment I keep the Issues &
Solutions recommendation for Confirmation Flow Control in place
for TinyG. Power users can then override that setting if they
like, and perhaps we'll sort the serial flow control mystery out
in the future.
Thanks again.
_Mark
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/c8765c6a-99cc-431e-93a6-e7777b517920n%40googlegroups.com.
It would really be better to open a new thread. 😉
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/75ad9645-81c9-4231-961d-878c9e6859acn%40googlegroups.com.