OpenPnP Sample Config and Guide

Post Reply
User avatar
psychogenic
Posts: 14
Joined: Sat Nov 09, 2019 9:23 pm
Location: Montreal, QC, CA
Contact:

OpenPnP Sample Config and Guide

Post by psychogenic »

Hello,

I've been using my liteplacer with openpnp for a few months and produced many boards successfully. After fielding a number of questions on the process, I've summarized my own HOWTO and posted the machine.xml file as a starting or comparison point. See it/get it at:

https://inductive-kickback.com/2020/09/ ... and-place/

I hope this may be helpful to you, feel free to reach out with any questions through my blog contact, or here.

Cheers,
P
twong
Posts: 1
Joined: Fri Sep 18, 2020 1:37 am

Re: OpenPnP Sample Config and Guide

Post by twong »

Hey, first off thank you so much for sharing your config, it helps a lot.
I'm still slowly trying to set up the machine with OpenPnP.

One question I have is that,
why do you have "$ME" in the Connect command?
It makes the motor whining like crazy every time the machine starts up.
I know it's normal to hear whining noise when the stepper is just holding position,
but for whatever reason the whining is crazy before homing.
Once it's homed the noise goes to a normal level.
To me it's much better to leave the motor de-energise during start-up.

What is the reason to "pre-energise" the motor?
davidglass
Posts: 1
Joined: Sat Mar 13, 2021 5:59 pm

Re: OpenPnP Sample Config and Guide

Post by davidglass »

Hi Everyone,

I have a LitePlacer kit built and working with the official LitePlacer software and I have been trying to migrate to OpenPnp but am failing at the first hurdle of getting the settings for my TinyG and the Machine.xml file in order. I have been failing for two weeks now! So far I have managed to get my machine to mechanical home but then it times out and refuses to jog or anything else. I am on firmware 440.20 and using openpnp2. The problem is that any example file just does not seem to work with the latest software and the guide jumps around and takes you in circles and I suspect skips vital steps and assumes programming expertise. Does anyone have a simple linear step-by-step guide or even better still a Machine.xml and any commands I need to issue to configure my TinyG? If you are running a standard LitePlacer on the latest OpenPnP software could you share your machine.xml file I realize that the tool changer etc will crash the head and should not be used just need to get onto the first rung of the configuration ladder..
infinitemach
Posts: 17
Joined: Mon Sep 13, 2021 5:39 pm

Re: OpenPnP Sample Config and Guide

Post by infinitemach »

I am in the process of migrating my LitePlacer to OpenPnP and I'm now at the point where I can reliably place parts on a PCB. The bottom vision is working well, and part placement is very accurate.

I don't think that taking on someone else's machine.xml is really going to work well for you. You need to start from the ground up configuring your setup.

My recommendation is to visit the Google group for OpenPnP, https://groups.google.com/g/openpnp, read what other folks are doing and ask questions there.

Also make sure you are using the test release of OpenPnP, https://github.com/openpnp/openpnp/tree/test. It has numerous improvements and is very stable. Also, in my efforts to configure OpenPnP a bug (sort of a bug) in the TinyG firmware was discovered that was causing the vacuum to shut off before placing a part. This has been fixed with a new firmware update that was just released last week. https://makr.zone/tinyg-new-g-code-comm ... p-use/577/

The newest version of the test branch has an excellent Issues and Solutions interface which will guide you through the configuration process. I recommend you use that as a start.
Post Reply