OpenPnP Setup
Both the feeder slots, and the Photon Feeders themselves have unique identifiers that OpenPnP will use to keep your components organized easily. Even if you rearrange your feeders, OpenPnP will remember which component was loaded onto it. And since OpenPnP will remember where each feeder slot is located, the picking location will already be set for you!
If you'd like to start with a fresh config, you can download the openpnp-config-vX.X.X.zip
file from the most recent release.
To get started the first time with your new feeders, you'll need to attach them all to your LumenPnP, and let OpenPnP scan them to save their information.
Preliminary Steps
If you have a v2 LumenPnP, the default Z height of your nozzle could cause a collision with feeders. We recommend printing and installing updated Z-gantries (shown below) and nozzle rack, which moves your nozzles up 13mm preventing a collision. You can download them here.
If you have a single nozzle setup, you can also just edit the Safe Zone values in your Z axis configuration in OpenPnP to prevent a collision.
Also, double-check your GcodeDriver settings. Make sure to uncheck both Remove Comments?
and Compress Gcode?
, and confirm you're using the typical GcodeDriver
instead of a GcodeAsyncDriver
.
Finding Feeders
You'll need to do these steps whenever you have brand new feeders.
-
Power on your LumenPnP and connect to it.
-
Mount all of your new feeders to your machine. They can be in any slot.
-
Click the
Search
button. OpenPnP will now scan for any feeders attached. This will take a minute, and you'll see the progress showing which slots have feeders in them. -
Once the search has completed, each physically inserted feeder will be listed. The name will be the feeder's unique ID number, followed by the slot it's in. In this example, there are two feeders inserted.
Test Setup
To finish setting up your new feeders, we need to mark where they're located on your LumenPnP. As mentioned above, the locations of each feeder slot will be saved and reused, so you shouldn't need to do this every time you remove and replace a feeder.
-
Use the machine controls to position your camera over the feeder. This will be more precise later after you load components into the feeder, so a rough estimate is fine for now.
-
Save the rough feeder position with the "Capture Camera Location" button. For now, save it for both the
Slot Location
andPart Offset
. -
Press the feed button to test that the feeder responds to the LumenPnP.
Next Steps
You'll need to fine-tune the position of the pick location—especially the z-height. This is easiest with tape loaded into the feeder.
Moving Feeders
If you remove a feeder from your machine and reinsert it into another feeder slot, you'll need to tell OpenPnP to update its location. To do this, click the Find
button in that feeder's menu. You'll see the slot number update to reflect the feeder's new slot, and its location will update accordingly!