New to OpenPnP? This beginner's OpenPnP tutorial walks you through everything you need to run a DIY or desktop pick and place machine: how the OpenPnP interface works, how to import your PCB, how to set up feeders and vision, and how to build and run your first job for a single PCB or a panel. It is written for OpenPnP 2.6 and illustrated with real screenshots from an AFARCO PnP desktop pick and place machine with AF Feeders, but almost everything applies to any machine that runs OpenPnP.
The guide focuses on daily use. Installing and calibrating a machine is a separate topic, covered in our OpenPnP calibration guide.
In this OpenPnP guide you will learn how to:
- Find your way around the OpenPnP main window, menus and tabs
- Jog the machine, read the DRO and use the top and bottom cameras
- Import placements from KiCad, Altium, EAGLE, DipTrace, Proteus or CSV
- Set up parts, packages and nozzle tips so every placement is Ready
- Load automatic AF Feeders, cut tape strips and trays
- Tune bottom vision and fiducial recognition
- Create a job for a single PCB, a 2 × 2 panel and a mixed panel, and skip a bad board (X-out)
- Run your first job safely and fix the most common errors
Every screenshot was captured from OpenPnP 2.6 running the AFARCO configuration, with the machine switched off. That is why the camera views show a red X and some buttons are greyed out. The orange numbers on each image match the notes below it. Button names are kept in English exactly as they appear on screen.
What is OpenPnP?
OpenPnP is free, open-source software that controls SMT pick and place machines. It runs on Windows, macOS and Linux, drives the machine's motion controller with G-code, and uses cameras to find the board and to align every part before placing it. It is widely used for DIY pick and place builds and also runs a number of commercial desktop pick and place machines.
A desktop pick and place machine is a small SMT assembly machine that fits on a bench. A vacuum nozzle picks surface-mount parts from tape feeders, a camera checks each part, and the machine places it on a PCB that already has solder paste printed on it. Engineers, makers and hardware startups use them to assemble prototypes and small batches in-house instead of placing parts by hand or waiting for an assembly house; see why every electronics lab needs a desktop pick and place machine. The AFARCO PnP used in this guide is a desktop OpenPnP machine with two nozzles, a top and a bottom camera, and 40 slots for automatic AF Feeders.
How an OpenPnP job comes together
OpenPnP has no "do everything" button. To place a board you prepare the data in the order below; the board itself should already have solder paste printed on it, for example with a desktop SMT stencil printer. Each step has its own section in this guide.
- Export the position file. From your PCB tool (KiCad, Altium, EAGLE…), export the file with the position, rotation and side of every part. (.pos · .csv)
- Create a board and import placements. On the Boards tab, create a board and import the file. OpenPnP builds the placement list and can create missing parts. (.board.xml)
- Finish parts and packages. Enter a height for every part and choose suitable nozzle tips for every package. (parts.xml · packages.xml)
- Load the AF Feeders. Load a reel, set the feeder address to its slot number, assign the part in OpenPnP, then test Feed and Pick. (machine.xml)
- Create the job: single PCB or panel. On the Job tab, add a board, or a panel built on the Panels tab. Put the board on the machine and tell OpenPnP where it is with the camera and fiducials. (.job.xml · .panel.xml)
- Run and watch. Press Start, step through the first parts, and handle errors if the machine stops.
Where does vision fit? Vision is not a separate step. The machine uses it in step 5 to find fiducials and in step 6 to align each part over the bottom camera. You usually only touch it when recognition fails.
Practise on the simulator. On a PC without the AFARCO configuration, a fresh OpenPnP install runs a simulated machine with virtual cameras and a sample job (see Help › Quick Start). New operators can practise most of this guide there without touching the real machine.
1. OpenPnP core concepts for beginners
Most confusion comes from names that look alike: Part vs Package, Board vs Job, Nozzle vs Nozzle tip. Once these are clear, every tab makes sense.
The top row belongs to each product; the bottom part belongs to the machine. Jobs and boards are files you open and save per product. Parts, packages, feeders and vision live in the machine configuration and are shared by every job, so changing a part's height changes it for every job that uses that part.
| Term | Meaning | Example |
|---|---|---|
| Machine | The whole pick and place machine: axes, head, cameras, feeders. Stored in machine.xml. | — |
| Head | The assembly that moves in X and Y and carries the nozzles and usually the top camera. | H1 |
| Nozzle | The vacuum spindle on the head; moves up and down (Z) and rotates (C). | N1, N2 |
| Nozzle tip | The tip fitted to a nozzle, the part that touches the component. Chosen by component size; changed by hand on the AFARCO PnP. | 1-N1-065, 5-N2-220 |
| Top camera | Mounted on the head, looking down. Used to aim at the board, find fiducials and check feeder pick positions. | TOP |
| Bottom camera | Fixed, looking up. Photographs the part on the nozzle to measure offset and angle before placing. | BOTTOM |
| Actuator | Anything that can be switched: vacuum valves, lights, feeder commands. | VC1, LED TOP |
| Part | One specific component, usually one stock code. | R0603-1K |
| Package | The physical body and size. Many parts share one package. | R0603, RES-SMD-0402 |
| Footprint | The pad layout of a package. Vision uses it to check part size and to recognise fiducials. | — |
| Feeder | Where parts come from: tape, tray, tube or automatic feeder. Each feeder supplies one part. | Feeder "4" |
| Board | One PCB and its placement list. | .board.xml |
| Panel | Several boards on one sheet, identical or different. | .panel.xml |
| Placement | One spot to place a part: reference, part, X, Y, rotation, side. | R1, C3, U2 |
| Fiducial | A copper mark on the board used to find its exact position and angle. | F1, F2 |
| Job | One production run: which boards or panels to place and where they sit on the machine. | .job.xml |
Two different save commands. File › Save Job saves only the job file. Parts, packages, feeders and any board or panel files you edited are saved by File › Save Configuration; for each edited board or panel file OpenPnP asks whether to save it, and you should answer Yes. The machine configuration lives in the user's
.openpnp2folder (C:\Users\<name>\.openpnp2on Windows).
The AFARCO PnP inside OpenPnP
Every part of the machine has a name in OpenPnP. You will meet these names in the tool selector, the Actuators tab, the Feeders tab and the Packages tab.
N1 and N2 share one belt-driven Z motor. In the configuration, N1's Z axis is the inverse of N2's: as far as N1 goes down, N2 goes up, and vice versa. Each nozzle has its own rotation motor. The TOP camera rides on the head with the nozzles.
| Component | Name in OpenPnP | Notes |
|---|---|---|
| Head | H1 | Carries both nozzles and the TOP camera. |
| Two nozzles | N1, N2 | One belt-driven Z motor: N1 up means N2 down. Separate rotation on C1 and C2. |
| Nozzle tips | 1-N1-065, 2-N1-220, 3-N1-400, 4-N2-065, 5-N2-220, 6-N2-400 | Samsung CP45 style, three sizes per nozzle, changed by hand (section 6). |
| Top camera | TOP | Looks down: fiducials, feeder pick positions. |
| Bottom camera | BOTTOM | Looks up, fixed: aligns the part before placing. |
| Vacuum | H1:VC1, H1:VC2, PUMP | Vacuum valves on the head and the vacuum pump. |
| Lights, fan | LED TOP, LED BOT, FAN | Ring lights of both cameras; cooling fan. |
| AF Feeders | Feeders "1" … "40" | Type ReferenceAutoFeeder; 20 front and 20 rear slots. Feed commands go through the AF FEEDER actuator (section 7). |
| Controller | GcodeAsyncDriver | Smoothieboard-style controller over USB. |
| Feeder bus | Driver AF FEEDER | Separate USB–RS485 adapter for the AF Feeders. |
Do not delete. The part and package
FIDUCIAL-HOME(description "DO NOT DELETE") belong to the machine, not to any board. Keep them when you tidy up the Parts or Packages tab.
2. The OpenPnP main window explained
The window has two halves. The left half is the machine: camera views and the controls that drive it. The right half is the data: ten tabs, each managing one kind of information. The screenshot shows the example job VI DU 1 - PCB DON from section 9 ("VI DU" means "example" in Vietnamese).

- Menu bar: File, Edit, View, Job, Machine, Scripts, Window, Help (table below).
- Cameras: the live camera image. A red X means there is no image yet, for example when the machine is off or the camera USB is unplugged.
- Machine Controls: tool selector, power, Home and jogging (section 3).
- Tabs: Job, Panels, Boards, Parts, Packages, Vision, Feeders, Machine Setup, Issues & Solutions, Log. The blue dot next to Issues & Solutions means there is something to review.
- Job toolbar: run the job, add boards or panels, locate boards (section 9).
- Board/panel table: the boards in the job and where they sit on the machine.
- Placements toolbar and Search box.
- Placement table of the selected board, with a Status column showing whether each line is ready.
- Status bar: OpenPnP messages, placements done out of the total, and a progress bar.
- DRO: X, Y, Z and C of the selected tool.
Real screenshot, machine off. Table columns were widened for readability. Drag the divider between the two halves to give more room to the camera or to the tables; OpenPnP remembers the width.
The menus
From left: File, Edit, View, Job, Machine, Help. Greyed items are not available in the current state, for example Job › Start while the machine is off.
| Menu | Items | Use it to |
|---|---|---|
| File | New Job Ctrl+N, Open Job… Ctrl+O, Open Recent Job…, Save Job Ctrl+S, Save Job As…, Save Configuration, Import Placements, Exit | Open and save jobs; save the machine configuration and edited board/panel files. Import Placements is only enabled while a board is selected. |
| Edit | Undo Ctrl+Z, Redo Ctrl+Shift+Z, Add Board/Panel ›, Remove Board(s)/Panel(s), Capture Tool Location | Undo; add or remove boards and panels in the job (enabled on the Job tab). |
| View | System Units ›, Selections in Tables › (Unlinked / Linked), Language › | Switch mm/inch. With Linked, selecting a row on one tab also selects the related rows on other tabs. |
| Job | Start, Step, Stop, Reset All Placed | Run the job. Reset All Placed clears the "placed" marks before the next board. |
| Machine | Home Ctrl+` , Start Ctrl+E | Switch the machine on (Start becomes Stop while it is on) and home it. |
| Scripts | Examples ›, Refresh Scripts, Open Scripts Directory, Clear Scripting Engine Pool | Run automation scripts. Rarely needed by operators. |
| Window | Multiple Window Style, Change Appearance… | Split cameras and controls into separate windows on two monitors; light or dark theme. |
| Help | About, Quick Start, Setup and Calibration, User Manual, Change Log, Submit Diagnostics, Check For Updates… | Open the official OpenPnP documentation. |
3. Machine controls, jogging and cameras
Machine Controls is where you drive the machine by hand: switch it on, home it, move the head to aim, lower a nozzle to touch, and capture coordinates. Almost every job preparation step starts here.

- Selected tool. Here it is
Nozzle: N1 - 1-N1-065 (Head: H1): nozzle N1 currently fitted with tip 1-N1-065. Jog buttons and the DRO always apply to this tool. - Tabs: Jog, Special, Actuators, Safety.
- Home. Grey: machine off. Yellow: not homed. Black: homed, click to re-home.
- Power (
Ctrl+E): connect and enable the machine. Do this before anything else. - X/Y: arrows move the head. The P in the middle parks the head.
- Z: raise or lower the nozzle. P raises Z to the park height.
- C: rotate the nozzle either way; P returns to the park angle.
- Distance: how far each click moves, from 0.01 to 100 mm (or degrees). Hold
Shiftwhile clicking to move 100 times less. - Speed: jog speed as a percentage of maximum.
- Two positioning buttons. Top: move the selected tool (nozzle) to where the camera is looking. Bottom: move the camera to where the tool is.
Jog tab with the machine off. While learning, keep Distance at 1 or 10 mm and Speed low. A 100 mm step can easily crash into something.
On the AFARCO PnP: both nozzles share Z. N1 and N2 share one belt-driven Z motor, so when you jog Z for the selected nozzle the other nozzle moves the opposite way. Always select the right nozzle before lowering onto a board or feeder. The Z on the DRO is the selected nozzle's Z.
Selecting a tool and a camera
Top: the tool selector. Bottom: the camera selector at the top of the Cameras panel. The name in brackets is the tip currently fitted: N1 carries 1-N1-065 and N2 carries 5-N2-220. Show All Horizontal or Show All Vertical displays TOP and BOTTOM together.
The other three Machine Controls tabs
Special, Actuators and Safety. The buttons are grey because the machine is off.
| Tab | Contents |
|---|---|
| Special | Head Safe Z raises every tool to safe height. Discard drops the part on the nozzle in the discard location (since 2.6 it always performs the discard, even if OpenPnP believes the nozzle is empty). Recycle returns the part to its feeder; AF Feeders do not take parts back (Recycle supported is off), so use Discard instead. |
| Actuators | One button per actuator, each opens an on/off dialog: LED TOP, LED BOT (camera lights), PUMP, FAN, AF FEEDER (sends a feed command to one feeder address), and the head valves H1:VC1, H1:VC2, H1:PUMP. |
| Safety | Board Protection blocks moves that could crash into the board. Keep it on. |
Start-of-shift routine
- Power the machine. Each AF Feeder lights its LED display and shows its address.
- Enable it in OpenPnP. Click the power button, or Machine › Start (
Ctrl+E). OpenPnP connects to the controller and to the feeder bus (driver AF FEEDER) at the same time. If it reports a COM port error, check the USB cables of the controller and of the USB–RS485 adapter. - Home. Click Home (
Ctrl+`) and wait until the machine has finished. The Home icon turns from yellow to black. - Check the cameras. The red X must disappear. If the image is dark, switch on LED TOP or LED BOT on the Actuators tab.
- Open the job. File › Open Recent Job… reopens the job you were working on.
Always home again after switching on, after an emergency stop, or if the motors were de-energised while idle. Without homing the coordinates cannot be trusted and parts will be placed off target.
Reading the DRO
The DRO is the green box at the right of the status bar. It shows the position of the selected tool, for example X:-21.953 Y:-54.446 Z:0.000 C:0.000. On the AFARCO PnP X and Y are usually negative; that is how the machine is configured, not an error. These are the tool's own coordinates (head position plus the tool's offset), so at the same head position N1 and the camera show different numbers.
Left-click the DRO to set a temporary zero, handy for measuring on the board; click again to return to machine coordinates. Right-click to copy the position.
Camera view
- Right-click the image to choose a reticle. Crosshair is the easiest to start with.
- Shift + left-click a point on the image to move the machine so that point is centred. This is the fastest way to aim precisely at a pad or fiducial.
- Mouse wheel zooms the camera view.
Button colours
Next to most coordinate fields you will find camera or nozzle buttons. Their colour tells you what they do:
- Blue: capture. Reads the current camera or nozzle position into the fields. The machine does not move.
- Red: move. Moves the camera or nozzle to the coordinates in the fields. The machine moves, so mind your hands and obstacles.
Since OpenPnP 2.6, machine-moving keyboard shortcuts are blocked while the cursor is in a text field, so typing never moves the machine by accident. Shortcuts are listed in the appendix.
4. The ten OpenPnP tabs at a glance
You will not use all ten tabs. Operators mostly work with the first five rows below; the others are for whoever set up the machine, or for troubleshooting.
| Tab | Contains | Operators open it when |
|---|---|---|
| Job | Boards and panels in the job, their position on the machine, all placements. Start, Step, Stop. | Every production run. |
| Boards | Board definitions: size and the placement list imported from the PCB file. | A new product arrives. |
| Parts | Parts: package, height, speed, vision settings. | A new part, or a part that picks badly. |
| Packages | Packages: compatible nozzle tips, footprint, vision settings. | A new package type. |
| Feeders | Feeders, the part each supplies, pick position, priority and fault count. | Every time reels are loaded. |
| Vision | Image recognition settings: bottom vision for parts, fiducial vision for marks. | Recognition goes wrong. |
| Panels | Panel definitions: which boards sit where on the sheet, panel fiducials. | Producing in panels (section 9). |
| Machine Setup | The hardware tree: axes, head, nozzles, cameras, drivers, job processor. | Rarely; usually the machine installer. |
| Issues & Solutions | An assistant that reviews the configuration and suggests fixes. | Strange errors, or after hardware changes. |
| Log | A detailed log of everything OpenPnP does. | You need to know why a job stopped. |
Board vs job. The Boards tab holds the drawing of the board, the same for every production run. The Job tab holds this run: where the board sits on the machine and how many parts have been placed. One board can appear in many jobs, or several times in one job.
5. Importing your PCB into OpenPnP (KiCad, Altium, EAGLE)
A board is the drawing of one product: its width and length and where every part goes. You create a board once per product and reuse it in as many jobs and panels as you like.

- Board toolbar: add (Create New Board… or Existing Board), remove from the list, copy a board, and the broom to clean up boards no longer used by any job.
- Board list with Width and Length. The two example boards are set to 100 × 100 mm.
- Import placements from CAD files into the selected board.
- Board viewer for the selected board.
- Placement table: Enabled, ID, Part, Side, X, Y, Rot., Type, Error Handling, Rank, Comments.
The Boards tab holds the drawing of the board. Where the board sits on the machine belongs to the Job tab.
Exporting the position file
This file is also called a centroid, pick-and-place or position file. Each line is one part: reference, value, footprint, X, Y, rotation and top or bottom side.
| PCB tool | How to export | Importer in OpenPnP |
|---|---|---|
| KiCad | File › Fabrication Outputs › Component Placement. Format ASCII, units millimetres, one file per side. | KiCAD .pos |
| Altium | Export Pick and Place as CSV. | Altium .csv |
| DipTrace | Export Pick and Place as CSV. | Diptrace .csv |
| EAGLE | Use the .brd file directly, or run mountsmd.ulp. | CadSoft EAGLE Board or EAGLE mountsmd.ulp |
| Proteus | Export the .pkp file. | Labcenter Proteus .pkp |
| Other tools | CSV with a header row and columns such as Designator, X, Y, Rotation, Layer. | Reference CSV |
Set the origin before exporting. OpenPnP measures every part from the origin in the file. Put the origin at the lower-left corner of the board. In KiCad, place the Drill/Place File Origin at the lower-left corner and tick Use drill/place file origin when exporting. In section 9 this is exactly the point you aim the camera at.
Every placement is measured from the board origin. Viewed from the top, X increases to the right and Y upwards, even for parts on the bottom side. Put fiducials far apart, near the corners. Two marks give position and angle; three also compensate for board stretch.
Creating a board and importing placements
- Create the board. On the Boards tab click + › Create New Board… and name the file, for example
PCB-DEMO-0402.board.xml. Keeping the board file next to the PCB project is a good habit. - Enter the size. Double-click the Width and Length cells, type the size in mm, press Enter. The size is needed for panels and for bottom-side parts.
- Open the importer. Select the board and click Import placements from CAD files (red arrow on the Placements toolbar) or File › Import Placements, then choose the format.
- Choose files and options. Pick the top-side file, and the bottom-side file if there is one. Keep Assign Parts and tick Create Missing Parts so OpenPnP creates any missing parts and packages.
- Import and save. Click Import; the placements appear in the table. Save the board with File › Save Configuration and answer Yes when asked to save the board file.
Step 1: the + button on the Boards tab.
Step 3: the seven importers in OpenPnP 2.6.
Step 4: (1) top and bottom files, (2) options, (3) Import. "Use only Value as PartId" names parts by value only (for example 10k); usually leave it off.
How parts get their names. On import OpenPnP usually builds the part name from footprint and value, for example
R0603-1K, and creates a package named after the footprint. Parts with the same footprint and value share one part, so they need only one feeder.
Reviewing the placement table
New operators skip this step most often, yet most job errors start here. Go through every column:
| Column | Meaning | What to do |
|---|---|---|
| Enabled | Whether this part is placed. | Untick do-not-place parts, through-hole parts and connectors you solder by hand. |
| ID | Reference on the board: R1, C3, U2, F1… | — |
| Part | The part assigned to the placement. | Look for duplicate or wrong-value parts. |
| Side | Top or Bottom. | Check the side you are about to run. |
| X, Y, Rot. | Position and rotation from the board origin. | Do not edit unless the source file was wrong. |
| Type | Placement places a part; Fiducial is a locating mark (shown in blue). | Set fiducial marks to Fiducial. |
| Error Handling | Default follows the job setting; Alert stops and waits; Defer skips and reports at the end. | Leave Default at first. |
| Rank | Placement priority (new in 2.6). 0 lets OpenPnP decide; use it when part A must go down before part B. | Leave 0. |
| Comments | Free text. | — |
Bulk edits. Select several rows (
ShiftorCtrl), right-click and choose Set Type, Set Side, Set Enabled or Set Error Handling. On the Job tab the menu also has Set Placed; if Set Type or Set Side is greyed out there, change it on the Boards tab.
Fiducials need a part too. Each fiducial needs a part whose package footprint is a single round pad matching the mark on the board. The AFARCO configuration includes
FIDUCIAL-1X2-FIDUCIAL1X2(package FIDUCIAL-1X2) for 1 mm marks; for 2 mm marks create a part using packageFIDUCIAL-2X2. If a fiducial is left as Type Placement, the machine will try to pick a part and place it on the mark.
6. Parts, packages and nozzle tips
A part answers what is this component; a package answers what shape is it. A 1 kΩ and a 4.7 kΩ 0603 resistor are two parts that share the package R0603. Settings that depend on shape (nozzle tips, footprint) belong to the package. Settings specific to one component (height, speed) belong to the part.

- Toolbar: new part, delete, Pick (feed and pick the selected part from the first available feeder), copy the part to the clipboard, create a part from the clipboard.
- Height: component height in mm. Never leave it at 0.
- Package: the part's package. Change it here if the import picked the wrong one.
- Placements, Feeders: how many placements in the open boards use this part, and how many feeders supply it.
- Part sub-tabs: Settings (feed and pick retry count), Bottom Vision Settings, Fiducial Vision Settings.
One row per part. Here R0603-1K is 0.5 mm high, uses package R0603, appears in 302 placements of the open boards and has 2 feeders.
| Column | Meaning |
|---|---|
| ID | Part name, created automatically on import. |
| Description | Free text to make the part easy to recognise. |
| Height | Height above the board in mm. The machine uses it to know how far to lower the nozzle when placing. Never 0: the placement shows status Part Height and the job will not run. |
| Through-Board Depth | Anything sticking out below the board (through-hole pins, locating pegs). OpenPnP adds it when computing safe height while carrying the part. 0 for normal SMD parts. |
| Package | The part's package. |
| Speed % | Motion speed while the nozzle carries this part. Lower it for heavy or large parts so they do not slip on the tip. |
| BottomVision · FiducialVision | Part-specific vision settings. Empty means the package's or the default settings are used (section 8). |
| Placements · Feeders | Read-only counts. |
Where to find the height. Check the datasheet, usually as H or T. Typical values: 0603 resistor about 0.45 mm, 0603 ceramic capacitor about 0.8 mm, SOIC-8 up to about 1.75 mm. Always check the datasheet of the exact part you use.
Packages and their six sub-tabs

- Selected package: R0603.
- Six sub-tabs: Nozzle Tips, Settings, Footprint, Vision Compositing, Bottom Vision Settings, Fiducial Vision Settings.
- Compatibility ticks: the tips allowed to pick this package. For R0603 these are
1-N1-065and5-N2-220.
A missing tick here is the most common reason a job stops with "no compatible nozzle tip".
| Sub-tab | Used for |
|---|---|
| Nozzle Tips | Tick the tips that can pick this package, on both N1 and N2. |
| Settings | Other package options. |
| Footprint | Body size and pad list. Vision uses the footprint to check part size and to recognise fiducials. |
| Vision Compositing | For parts larger than the bottom camera's view: the machine takes several shots and combines them. Not needed for small parts. |
| Bottom Vision Settings · Fiducial Vision Settings | Vision settings shared by every part with this package. |

- Units, Body Width, Body Length: the component body size.
- Generate: buttons that build a pad table from the values in (3); the last one carries the KiCad logo. Hover each button to see its name.
- Generator inputs: outside and inside dimension, pad count, pitch, pad-to-pad distance, roundness.
- Pads table: each pad's position, size and angle. The Mark column flags pad 1.
The R0603 footprint on this machine is empty. Parts still pick and align with the default bottom vision, but to use Part size check (section 8) you need Body Width and Body Length.
Nozzle tips on the AFARCO PnP
The machine uses Samsung CP45 style tips in three sizes: 065, 220 and 400. In OpenPnP each nozzle has its own set, so each size appears twice: 1-N1-065, 2-N1-220, 3-N1-400 belong to N1; 4-N2-065, 5-N2-220, 6-N2-400 belong to N2. Tips are changed by hand, and then you tell OpenPnP.
| Size | Suggested for |
|---|---|
| 065 | Small parts: 0402, 0603, 0805, SMD LEDs, SOT-23. |
| 220 | Larger parts: 1206, 2512, SOT-223, SOIC, tantalum capacitors. |
| 400 | Large ICs and heavy parts: QFP, PLCC, SMD connectors. |
This table is only a starting point. The best size grips firmly without touching neighbouring parts, so always test a pick before running a job.
Machine Setup tab. (1) N1 and N2 live under Heads › H1 › Nozzles. (2) The six tips are in the Nozzle Tips group. Tick Expand at the top to open the whole tree.
Nozzle N1, Nozzle Tips sub-tab. (1) Compatible?: which tips can be fitted to N1 (its three tips). (2) Loaded?: which tip is on N1 right now (1-N1-065).
- Fit the tip to N1 or N2.
- Tell OpenPnP. On Machine Setup, select ReferenceNozzle N1 (or N2), sub-tab Nozzle Tips: tick Loaded? for the tip you fitted (click Apply if it lights up). The tool selector in Machine Controls then shows the new tip in brackets.
- Assign it to packages. On Packages, select the package, sub-tab Nozzle Tips: tick the fitted tip on both N1 and N2 if both can pick that package.
Keep both nozzles busy. If a package only has a tip ticked for one nozzle, only that nozzle can pick it and you lose two picks per cycle. Package
R0603is ticked for both1-N1-065and5-N2-220, matching the two fitted tips: N1 picks with the 065, N2 with the 220.
Common mistake with a new board. After importing a new board, review the Packages tab. Every new package needs at least one ticked tip, and that tip must be marked Loaded? on N1 or N2.
7. Setting up feeders: AF Feeder, strips and trays
A feeder tells OpenPnP where to take a part from and how to present the next one. Each feeder supplies exactly one part. If a part in the job has no enabled feeder, its placements show Missing Feeder.
The AFARCO PnP uses AF Feeders: electric feeders that advance the tape and peel the cover tape automatically, in three sizes (AF8, AF12, AF16) for 8, 12 and 16 mm tape. The machine has 40 slots, 20 at the front and 20 at the rear. An AF8 takes one slot; AF12 and AF16 take two.
How OpenPnP commands an AF Feeder
The feeder number in OpenPnP must match the AD address set on the feeder. OpenPnP does not know which slot a feeder is plugged into; it only sends an M command with the address on the RS485 bus, and the feeder with that address runs. The pick location is stored per feeder in OpenPnP, so the AF Feeder must sit in the slot whose location was taught.
Convention: address = slot number
The AFARCO configuration comes with feeders named "1" to "40". Each feeder's Actuator Value equals its name, and its location is taught for the matching slot (adjacent slots are 23 mm apart in X). The simplest rule is set the AF Feeder's AD address to the slot number you plug it into. Feeder 7 in OpenPnP is then slot 7 and address 07, and you rarely need to re-teach the pick position.
AF12 and AF16 take two slots: use one of the two slot numbers as the address and adjust that feeder's location to the actual pick window.
Never duplicate an address. Two feeders with the same address both advance on one command, dropping parts and losing step. Before each run, check that every feeder on the machine has a unique address.
Settings on the AF Feeder front panel
The front panel has three buttons, UP, DOWN and MODE, and a 7-segment display. At power-up the display shows the feeder's address.
| Item | Meaning | Recommended |
|---|---|---|
| AD | RS485 address, 01 to 99. | The slot number. |
| St | Tape advance per feed in mm: 2, 4, 8, 12, 16 or 24. | The part pitch on the tape: 4 mm for most 0603, 0805, 1206 and SOT-23 on 8 mm tape; 2 mm for 0402. |
| PE | Cover tape peel time; real time (ms) = PE × 10. Default 5. | Increase if the cover tape does not peel in time; decrease if it pulls too hard. |
| Rt | 0: reply OK as soon as the motor starts. 1: reply OK after advancing and peeling. | 1, so the machine never picks while the tape is still moving. |
- Enter the menu: hold MODE for 5 seconds.
- Select and change: press MODE to step through AD → St → PE → Rt; use UP and DOWN to change the value.
- Save and exit: hold MODE for 5 seconds. The display returns to the address.
To test by hand on the home screen: UP advances the tape 2 mm, DOWN advances exactly one St step.
Leave every feeder on its home screen. An AF Feeder only accepts commands from OpenPnP while it shows its address. A feeder left in its settings menu will not move when the job calls it.
The Feeders tab

- Toolbar: new feeder, delete feeder, Pick (feed then pick), Feed (feed only), move the camera to the pick location, move the nozzle to the pick location.
- Search: type a slot number or part name to filter.
- Priority, Faults (new in 2.6). Priority Low/Normal/High: when several feeders supply one part, the highest priority is used first, and among equal priorities the nearest one. Faults records recent failed picks for the feeder.
- Enabled: switch the feeder on or off directly in the table. A greyed box means the feeder has no valid part yet.
- General Settings: the part, and how many times to retry feeding (Feed Retry Count) and picking (Pick Retry Count) on error.
- Pick Location: X, Y, Z and rotation at the pick window. The four buttons on the right follow the colour rule from section 3: the two red ones move the camera or nozzle to the location, the two blue ones capture the current camera or nozzle position.
- Actuators: Feed uses the actuator AF FEEDER; Actuator Value is the feeder address (1.000 means address 01). Test feed sends one feed command.
Feeder 1 is disabled and feeder 4 is enabled; both supply R0603-1K. After editing any field in the configuration area, click Apply at the bottom.
Scroll to the end of the configuration. Move before feed: the head moves to the pick location first, then the feed command is sent. Recycle supported is off because AF Feeders do not take parts back, which is why the Recycle button is always greyed out.
A feeder switching itself off mid-job. Since OpenPnP 2.6 each feeder keeps a tally of its picks. With this machine's settings, 3 failures in the last 6 picks makes OpenPnP untick that feeder's Enabled box. Fix the cause (jammed tape, offset location…), then tick Enabled again.
Loading a new reel
- Pick a feeder for the tape width: AF8 for 8 mm, AF12 for 12 mm, AF16 for 16 mm.
- Fit the reel and thread the tape: fit the reel, thread the tape and attach the cover tape to the peeler as described in the AF Feeder instructions.
- Set address and step: in the menu, set AD to the slot number and St to the tape pitch. Save and return to the home screen.
- Bring the first part to the window: press UP until the first part sits in the pick window and the cover tape is peeled past it.
- Plug it in: insert the feeder into the right slot and check the RS485 cable is seated.
- Assign the part in OpenPnP: on Feeders, type the slot number in Search (for example 7) and select that row. In the configuration choose the part, check Feed is AF FEEDER with the right Actuator Value, click Apply. Tick Enabled in the table.
- Test feeding: click Test feed (or Feed on the toolbar). The feeder must advance one step. If nothing happens, see the error table in section 10.
- Check the pick location: move the camera to the pick location. The crosshair must sit in the middle of the part. If not, jog the camera to the centre of the part, click the blue camera-capture button under Pick Location, then Apply. Z rarely needs changing (most slots are set to −33 mm); adjust it only if picks fail.
- Test a pick: click Pick. The nozzle must pick and hold the part. Drop it with Discard on the Special tab.
- Save: File › Save Configuration.
When you remove a feeder, do not delete it in OpenPnP: it holds the pick location of that slot. Just untick Enabled. In this configuration, unused slots 21 to 40 carry the placeholder part
FIDUCIAL-1X2-FIDUCIAL1X2and are disabled; leave them off.
Other feeder types
| Type in OpenPnP | Use for |
|---|---|
| ReferenceAutoFeeder | AF Feeders in the 40 slots. Already created; just assign parts. |
| ReferenceStripFeeder | Short cut strips of tape on a strip holder, for parts used in small quantities. |
| ReferenceTrayFeeder | IC trays or trays of large parts. |
| ReferenceTubeFeeder | Parts in tubes. |
OpenPnP offers many other feeder types (DragFeeder, PushPullFeeder, BlindsFeeder, PhotonFeeder…), but they are not used on the AFARCO PnP.
Cut tape strips (ReferenceStripFeeder)
OpenPnP uses two sprocket holes as references: the Reference Hole at the start next to the first part, and the Last Hole far down the strip to find its direction. From those holes plus Tape Width and Part Pitch it calculates every part position.
- Fix the tape and create the feeder: lay the strip straight and peel the cover. Feeders › + › ReferenceStripFeeder › Accept, then choose the part.
- Enter the tape data: Tape Width and Part Pitch (4 mm for 0603/0805 on 8 mm tape, 2 mm for 0402).
- Teach the two holes: jog the camera to the centre of the Reference Hole and click the blue capture button; repeat for the Last Hole. Or try Auto Setup.
- Set Z and angle: lower the nozzle until it just touches a part and record Z. Rotation in Tape is the part's angle relative to the tape.
- Test and save: tick Enabled, Feed, Pick, Discard, then File › Save Configuration.
When picks miss, the most common cause is a feeder Z set too high so the tip does not seal. Lower Z by 0.1 mm at a time. If the machine reports Unable to locate reference hole, check the lighting, which end of the strip is the Reference end, and whether the tape is dirty.
Tray feeders
For a ReferenceTrayFeeder you only need the first pocket's location, the pocket spacing in X and Y, and the number of rows and columns. The machine picks pocket by pocket. When the tray is empty, load a new one and reset Feed Count to 0.
8. OpenPnP vision: bottom vision and fiducials
OpenPnP uses the cameras in two places for two purposes:
- Fiducial vision (top camera): finds the fiducial marks to learn exactly where the board is and how much it is rotated. It runs when you press the fiducial check button, or at job start if the board has Check Fids? ticked.
- Bottom vision (bottom camera): after picking, the nozzle carries the part over the bottom camera. OpenPnP measures how far off-centre and how rotated the part is on the tip and corrects for it when placing.
OpenPnP asks the part first, then the package, and only then uses the machine default. Empty on the part means "use the package"; empty on the package means "use the default". Only create specific settings when a component really needs them.

- Type: show BottomVision settings (part alignment) or FiducialVision settings (fiducial finding).
- Settings list; the Assigned To column shows where each set is used. The selected set is the machine default.
- Manage Settings: Specialize creates a copy for one part/package, Generalize merges back to shared settings, Reset to Default restores the original values.
- Enabled?, Pre-rotate, Rotation, Part size check, Size tolerance (%): the main bottom vision fields (table below).
- Pipeline: Edit opens the image processing chain, Reset restores the default. Beginners do not need to edit it.
The configuration continues further down with the recognition sliders and Test Alignment.
| Field / button | What it does |
|---|---|
| Enabled? | Turns bottom vision on or off for parts using this set. |
| Pre-rotate | Rotates the part to its placement angle before the shot, for better accuracy. Default follows the machine setting (pre-rotate is on for the AFARCO PnP). |
| Rotation | How the measured angle is applied. Leave it at Adjust. |
| Part size check · Size tolerance (%) | Compares the measured size with the footprint (Body Width and Body Length, section 6) to catch tilted picks, double picks or wrong parts. Currently Disabled. |
| Sliders | For example Min. Detail Size; scroll down to see them. Adjust when the detected outline does not hug the part body. |
| Test Alignment | With a part on the nozzle, takes a test shot. Placement Angle is the assumed placement angle; Center After Test centres the part over the camera after the test. |
Scroll to the bottom of the configuration to find (1) Test Alignment.
The AFARCO PnP comes with the following setting sets. If a part recognises poorly with the default, try assigning another set to its package before tuning parameters.
| Setting set | Used for |
|---|---|
- Default Machine Bottom Vision - | Default for every part without its own settings. |
- Stock Bottom Vision Settings - | OpenPnP's original set: finds the rectangle around the part. |
- Rectlinear Symmetry Bottom Vision Settings - | Recognition based on the symmetry of leads and pads. |
- Whole Part Body Bottom Vision Settings - | Recognition based on the whole part body. |
| Fiducial sets | Switch Type to FiducialVision to see them, for example - Footprint Fiducial Vision Settings - assigned to package FIDUCIAL-2X2. |
Testing bottom vision on a part
- Pick a part: on the Feeders tab select the part's feeder and click Pick.
- Take a test shot: open the bottom vision set used by the part (Vision tab, or the part/package Bottom Vision Settings sub-tab), scroll down and click Test Alignment.
- Check the result: on the BOTTOM camera view the detected outline must hug the part body.
- Adjust if wrong: if the outline is off or nothing is found, adjust sliders such as Min. Detail Size and test again.
- Drop the part: Discard on the Special tab.
Lighting matters more than any parameter. Turn off the camera's auto exposure and set it so the brightest area is not blown out. Many recognition errors disappear after this. The ring lights are the actuators LED TOP and LED BOT on the Actuators tab; check they are on before tuning anything.
Fiducials are what make a desktop machine accurate; read more in why OpenPnP fiducial recognition is a game-changer. For fiducials, the fiducial package needs a footprint that is one round pad of the mark's diameter (usually 1 mm). If a fiducial check fails, move the camera to each fiducial (red camera button on the Placements toolbar) to see whether the mark is inside the view, then check the lighting.
Each vision setting set contains a pipeline: a chain of image processing steps such as blur, colour filtering, thresholding, contour finding and bounding rectangle. Beginners do not need to edit it; the sliders in the settings expose the parameters most often adjusted.
9. Creating an OpenPnP job: single PCB and panelization
A job tells the machine which boards to place this time and where each one sits on the table. Boards can go on the machine in three ways:
- Single PCB: one board at a time; the job holds one board. To run several loose boards at once, add the same board several times, each at its own position.
- Panel of identical boards: several copies of one board on a sheet, for example 2 × 2. You only locate the sheet; each board's position is computed from the panel.
- Mixed panel: different boards on one sheet, for example the power and control boards of one product.
The three examples in this section were built in OpenPnP on the AFARCO PnP without switching the machine on ("VI DU" in the file names means "example"):
| File | What it is |
|---|---|
PCB-DEMO-0402.board.xml | A demo board with 151 R0603-1K resistors and 11 fiducials, sized 100 × 100 mm. |
PCB-DEMO-1K.board.xml | A second demo board with a different layout, also 100 × 100 mm. |
VI DU 1 - PCB DON.job.xml | Example 1: a job with one single PCB. |
PANEL-2x2-DEMO-0402.panel.xml | Example 2: a 2 × 2 panel of the same board. |
VI DU 2 - PANEL 2x2.job.xml | Example 2: a job containing that panel, with one board skipped (X-out). |
PANEL-GHEP-0402-1K.panel.xml | Example 3: a mixed panel of two different boards. |
The Job tab toolbars

- Start: run the job. While running it becomes Pause.
- Step: run one step, then pause.
- Stop: stop the job.
- Job error mode. Bell: alert immediately (Alert) for placements whose Error Handling is Default. Click to switch to Defer: skip errors and report them at the end.
- Add a new or existing board or panel.
- Remove the selected boards/panels from the job (files are not deleted).
- Move the camera to the selected board/panel origin.
- Move the camera to the next board's origin.
- Move the nozzle to the board origin.
- Set X, Y, Rot. of the board from the current camera position.
- Set Z of the board from the nozzle's current Z.
- Locate with several placements: aim the camera at a few parts to compute board position and angle.
- Fiducial check: the camera finds the fiducials and corrects board position and angle.
- Job Viewer: a drawing of the boards in the job.
Buttons 1–3 are grey while the machine is off. The move and capture buttons (7–13) only work once the machine is on and homed. The descriptions are translated from OpenPnP 2.6 tooltips; hover a button to see its own.

- Add a placement to the board.
- Delete the selected placements.
- Move the camera to the selected placement.
- Move the camera to the next placement.
- Move the nozzle to the placement.
- Set the placement location from the camera position.
- Set the placement location from the nozzle position.
- Open the feeder of the placement's part; very handy for fixing Missing Feeder.
Example 1: a single PCB job
- New job: File › New Job (
Ctrl+N). The window title becomesUntitled.job.xml. - Add the board: on the Job tab click + › Existing Board…. The dialog lists the boards OpenPnP already knows; select one and click OK, or click Browse to find a
.board.xmlfile. Here we choosePCB-DEMO-0402.board.xml. - Check the side and tick Check Fids?: Side is Top. Tick Check Fids? so the machine looks for fiducials at job start.
- Locate the board on the machine: capture X, Y, Z and rotation as described in Locating the board below. The example uses X −437.693, Y −430.657, Z −32, Rot. 0.182, taken from a real demo job on this machine.
- Check the Status column: every placement must be Ready or Disabled. The status bar reads
Placements: 0 / 151 Total: 151 parts will be placed; fiducials are not counted. - Save: File › Save Job As…, for example
VI DU 1 - PCB DON.job.xml.
Step 2: the + button on the Job tab adds boards or panels.
The Add existing board to job dialog: (1) boards OpenPnP already knows, (2) Browse for another file.

- Board in the job: Brd1 is the ID of this instance; Name is the board file.
- X, Y, Z, Rot.: the board origin on the machine table.
- Enabled? whether to run this board; Check Fids? whether to look for fiducials.
- Type: F1–F11 are Fiducial (blue), R1 onwards are Placement.
- Status: Ready (green) or Disabled (grey). Fiducials F3–F9 are disabled.
- Enabled per placement.
Example 1 after saving. The window title shows the job name; an asterisk before it means unsaved changes.
Job Viewer (button 14). Tick Fiducials and Placements to see every part; scroll to zoom and drag to pan. It is the quickest way to spot a board that is rotated or set to the wrong side.
Locating the board on the machine
This needs the machine switched on and homed. For a panel do exactly the same on the panel row: the panel origin is the lower-left corner of the sheet.
- Fix the board firmly and flat on the table.
- Capture X and Y: select the board row. Jog the camera (or Shift + click on the image) until the crosshair sits on the board origin, the lower-left corner. Click button 10: X and Y are filled in.
- Capture Z: select a nozzle, lower it slowly until the tip just touches the board surface, click button 11. Raise the nozzle again (P on the Z column). Remember that N1 and N2 move in opposite directions.
- Locate precisely: click button 13 (fiducial check): the camera finds each fiducial and corrects X, Y and Rot. For boards without fiducials use button 12: OpenPnP guides you under the camera view to aim at a few placements in turn.
- Check by eye: select a few placements spread over the board and click button 3 on the Placements toolbar. The crosshair must be in the middle of the footprint.
The fiducial check needs a roughly correct origin. It only searches around the predicted position. If the origin is off by more than a few millimetres the camera will not see the marks, so do step 2 carefully first.
Example 2: a 2 × 2 panel of one board
Panels are built on the Panels tab and then added to a job. Panel coordinates are also measured from the lower-left corner of the sheet, viewed from the top. In the example the sheet is 215 × 215 mm with four 100 × 100 mm boards, a 5 mm border and 5 mm gaps.
- Create the panel: Panels tab, + › Create New Panel…, name it
PANEL-2x2-DEMO-0402.panel.xml. - Enter the sheet size: double-click the panel's Width and Length: 215 and 215.
- Add the first board: in the Children area click + › Add Existing Board… and choose PCB-DEMO-0402. Set X = 5, Y = 5: the board's lower-left corner is 5 mm from the sheet corner.
- Turn it into an array: select the board you just added and click Create an array of children. Enter Columns 2, Rows 2, Step 105 and 105 (100 mm board + 5 mm gap). The preview shows the four boards immediately. Click OK.
- Panel fiducials: click Use children's fiducials/placements for panel alignment, then Auto Select: OpenPnP picks four fiducials at the four corners of the sheet. If the sheet has its own fiducials on the rails, use + (Add a fiducial to this panel) and enter their coordinates instead.
- Check with the Panel Viewer: the eye button of the Children area. Choose Viewing All Descendants and tick Fiducials and Placements.
- Save the panel file: File › Save Configuration. OpenPnP asks whether to save the changes to the panel file: answer Yes.
Step 1: the + button on the Panels tab.
Step 3: a panel can hold boards, or even other panels.

- Count and Step: number of columns (X) and rows (Y), and the distance between the origins of neighbouring boards.
- Preview: solid outline for the sheet, dashed outlines for the boards.
- Board/Panel Locations: shows each board origin (red cross).
The Panel Array Generator. The two "Alternate rows have" lines are for staggered panels; leave them at their defaults for a normal grid.
![OpenPnP Panels tab, finished: panel PANEL-2x2-DEMO-0402, 215 × 215; Children lists Brd1[1,1], Brd1[1,2], Brd1[2,1], Brd1[2,2] at X 5 or 110 and Y 5 or 110; Alignment Fiducials/Placements lists four fiducials borrowed from the boards.](https://res.cloudinary.com/ua7xyaql/image/upload/openpnp-guide-panels-tab.png)
- Panel toolbar: add, remove, copy a panel, clean up unused panels.
- The selected panel.
- Width, Length of the sheet.
- Add/remove children (boards or panels).
- Create an array of children from the selected child.
- Panel Viewer.
- Children: IDs in the form
Brd1[row,column], X and Y within the sheet, Enabled? and Check Fids? for each board. - Add a panel fiducial, or borrow fiducials from the child boards.
- Alignment Fiducials/Placements: the points the machine uses to locate the whole sheet.
Step 5. (1) Hull Only shows only the outermost marks. (2) Auto Select picks a good set. (3) The four selected marks sit at the four corners of the sheet.
Step 6: the Panel Viewer. Four identical boards, all facing the same way.
Step 7. Panel and board files are only written to disk when you answer Yes here. Save Job does not write them.
Adding the panel to a job and skipping a bad board
- Add the panel: File › New Job, then Job tab › + › Existing Panel… and choose the panel.
- Locate the panel: follow Locating the board on the machine on the
Pnl1row, aiming at the lower-left corner of the sheet. The four child boards are positioned automatically. The example puts the panel at X −450, Y −460, Z −32. - Choose the fiducial check: tick Check Fids? on the panel row to locate the whole sheet with the four selected marks. Also tick it on each board if you want every board checked; more accurate, but slower.
- Skip a bad board (X-out): untick Enabled? for that board in the job, here Brd1[2,2]. The total drops from 604 to
453 Total(3 boards × 151). This is stored in the job only; the panel file is unchanged. - Save the job: File › Save Job As… ›
VI DU 2 - PANEL 2x2.job.xml.
![Board table of example 2: the panel row Pnl1, 215 × 215 at X -450, Y -460, Z -32 with Check Fids ticked; four indented child boards with computed positions; Brd1[2,2] has Enabled unticked.](https://res.cloudinary.com/ua7xyaql/image/upload/openpnp-guide-job-panel-xout.png)
- Panel row, with the grid icon.
- Child boards, indented; X and Y are machine coordinates computed from the panel.
- X-out: Brd1[2,2] is disabled.
- Check Fids? on the panel row.
Example 3: a mixed panel of two different boards
Same as example 2, except you add each board by hand instead of generating an array.
- Create the panel: Panels › + › Create New Panel… ›
PANEL-GHEP-0402-1K.panel.xml, size 215 × 110. - Add the first board: Children › + › Add Existing Board… › PCB-DEMO-0402 at X 5, Y 5.
- Add the second board: repeat, using Browse to choose PCB-DEMO-1K, at X 110, Y 5.
- Fiducials, check and save: Auto Select the panel fiducials, check the Panel Viewer, then Save Configuration › Yes.
Two different boards in one panel. Each has its own ID (Brd1, Brd2) and points to its own board file.
The mixed panel in the Panel Viewer. Left and right boards have different layouts and run in the same job.
Boards on the bottom side or rotated within a panel. Each child has its own Side and Rot. columns. The sample panel
pnp-test.panel.xmlin OpenPnP'ssamples\pnp-testfolder includes a board on the bottom side rotated −90°; open it to see how that is declared.
Fixing statuses that are not Ready
| Status | Meaning | Fix |
|---|---|---|
| Ready | Ready to place. | — |
| Missing Part | The placement has no part. | Assign a part in the Part column (Boards tab). |
| Missing Feeder | No enabled feeder supplies the part. | Enable or assign a feeder (section 7). Button 8 on the Placements toolbar jumps straight to it. |
| Part Height | The part's height is 0. | Enter the height on the Parts tab (section 6). |
| Disabled | The placement is off and will be skipped. | Normal for do-not-place parts. |
Right-click for bulk edits. Left: placement table. Right: board/panel table.
Linked tables. With View › Selections in Tables › Linked (the machine is set to Linked), selecting a placement on the Job tab also selects its part and feeder on the other tabs.
Saving everything
| Command | What it writes |
|---|---|
File › Save Job (Ctrl+S) | Only the .job.xml: which boards/panels, where, which boards are disabled, which placements are done. |
| File › Save Configuration | The machine configuration (machine, parts, packages, vision), and it asks about each edited .board.xml and .panel.xml: answer Yes to write them. |
A good habit. After editing a board or panel (size, placements, fiducials), always run File › Save Configuration and answer Yes. With Save Job alone those edits stay in memory and can be lost if the PC shuts down unexpectedly.
10. Running your first job and troubleshooting
What happens when you press Start
The loop on the bottom row runs until every placement is done. Pause stops after the current step, Step runs exactly one step, Stop ends the job and discards the part on the nozzle. Placed marks are kept, so a restarted job only does what is left. The AFARCO PnP has two nozzles, so each Plan cycle chooses up to two placements: N1 and N2 both pick, then visit the bottom camera, then place. The job order is by part height (Job Order is PartHeight), so low parts are placed first.
The first run
- Prepare: home the machine, check the board has Check Fids? ticked, go through the checklist in the appendix.
- Press Start: or
Ctrl+Shift+R. Let the machine finish the fiducial check. - Pause, then Step: pause and use Step to walk through the first few parts: watch the pick, the bottom camera image, and the placement.
- Continue automatically: when you are confident, press Start (now Resume).
- Next board: swap in a new board, choose Job › Reset All Placed, re-run the fiducial check if the board position may have shifted, then Start.
Safety. During the first run keep your hand near the machine's emergency stop. The software Stop button stops the job, but it is no substitute for the hardware emergency stop.
Common problems
| Symptom | Usual cause | Fix |
|---|---|---|
| Job will not start, placements show Missing Feeder | The part has no enabled feeder. | Create or enable a feeder; check it has the right part. |
| Safe Z error on the first pick | The part height is 0. | Enter the part height. |
| No compatible nozzle tip | The package has no tick for the tip fitted on N1 or N2, or Loaded? does not match the tip actually fitted. | Packages › Nozzle Tips; check the fitted tips (section 6). |
| Missed picks, the nozzle does not hold the part | Feeder Z too high; dirty or blocked tip; pick location off. | Lower feeder Z by 0.1 mm at a time; clean the tip; move the camera to the pick location and re-teach it (Feeders tab). |
| Part sticks to the tip when placing | Board Z too high; place dwell time too short. | Re-capture board Z. If it persists, ask the installer to increase the nozzle's Place Dwell Time. |
| Bottom vision cannot find the part | Lighting or exposure not right; recognition settings do not suit the part. | Test Alignment and adjust the recognition sliders (section 8). |
| Fiducial check fails | Board origin far off; dirty marks; fiducial footprint has the wrong diameter. | Re-capture the board origin; check the fiducial package. |
| AF Feeder does not advance on Feed or during the job | AD address differs from OpenPnP; feeder left in its menu; loose RS485 cable; AF FEEDER driver not connected. | Check the feeder display, return it to the home screen, check the cable, switch the machine off and on again in OpenPnP. |
| Two feeders advance together | Duplicate addresses. | Set a new AD on one of them. |
| Picks drift with every feed | St does not match the part pitch on the tape. | Set St correctly (2, 4, 8… mm). |
| Cover tape does not peel in time, parts get dragged | PE too small, or Rt is 0 so the machine picks while the tape moves. | Increase PE; set Rt = 1. |
Unable to locate reference hole | Strip feeder cannot see the sprocket holes. | Check lighting and strip direction; re-teach both reference holes. |
| A feeder switches itself off mid-job | Repeated pick failures. With this machine's settings, 3 failures in the last 6 picks disables the feeder. | Fix the feeder, then tick Enabled again. |
| All parts offset in one direction | Machine not homed; board origin wrong. | Home; re-capture the origin; run the fiducial check. |
When the machine stops on an error
For a deeper look at how OpenPnP detects and recovers from pick errors, see OpenPnP error handling: bottom vision vs vacuum sensing.
In Alert mode the job pauses and shows a message. Read it, fix the cause (for example re-teach a feeder), then press Start to continue from where it stopped. In Defer mode the machine skips the failing placement and carries on. At the end, review the placements whose Placed box is still unticked.
Issues & Solutions and the Log
The Issues & Solutions tab. (1) Find Issues & Solutions reviews the configuration. (2) Accept applies the selected fix. On the first row, Accept would home the machine, which means the machine moves.
Issues & Solutions: each row has a Subject (component), Severity, Issue, Solution and State. Select a row to read the explanation below; Accept applies the fix, Dismiss hides it, and the i button opens the help page. On the AFARCO PnP most open rows are camera and nozzle calibration suggestions meant for the installer. Operators should ask the installer before accepting any suggestion.
Log: the Log tab records everything OpenPnP does. When a job stops with an unclear message, open the Log and look for ERROR or WARNING lines around that time. For example, with a camera unplugged the Log shows No camera found with ID…. When you ask for help, include that part of the log.
OpenPnP FAQ for beginners
Is OpenPnP free?
Yes. OpenPnP is free, open-source software. You can download it from openpnp.org and run it on Windows, macOS or Linux.
Can I learn OpenPnP without a pick and place machine?
Yes. A fresh OpenPnP install starts with a simulated machine, virtual cameras and a sample job (Help › Quick Start). You can practise the interface, board import, parts, packages and job creation from sections 2 to 6 and 9 of this guide before you touch real hardware.
What do I need to start with a DIY or desktop pick and place machine?
A machine with a vacuum nozzle, a top (down-looking) camera, a bottom (up-looking) camera and feeders; a PC running OpenPnP; the position file exported from your PCB design tool; and boards with solder paste already printed, for example with a stencil printer. The machine must be calibrated once before production; see the OpenPnP calibration guide.
Which PCB design tools can OpenPnP import from?
OpenPnP 2.6 imports KiCad .pos files, Altium and DipTrace CSV files, EAGLE boards and mountsmd.ulp output, Labcenter Proteus .pkp files, and generic CSV files with a header row (Reference CSV). See section 5.
Does OpenPnP support PCB panels?
Yes. Since 2023 OpenPnP has a dedicated Panels tab. You can build a panel of identical boards with the array generator, combine different boards on one panel, use the boards' own fiducials to locate the whole panel, and skip a bad board (X-out) in the job. Section 9 walks through all three cases.
What is the difference between a part and a package in OpenPnP?
A part is one specific component, such as a 1 kΩ 0603 resistor. A package is its physical body, such as 0603. Many parts share one package. Nozzle tips and footprints are set on the package; height and speed are set on the part (section 6).
Which feeders work with OpenPnP?
OpenPnP supports many feeder types: cut tape strips, trays, tubes, drag feeders and automatic electric feeders. Automatic feeders such as the AF Feeder are driven by commands sent from OpenPnP, so the machine advances the tape and peels the cover tape by itself (section 7).
Why does my placement say Missing Feeder or Part Height?
Missing Feeder means no enabled feeder supplies that part; Part Height means the part's height is still 0. Both are fixed before the job starts; see Fixing statuses that are not Ready in section 9.
Put OpenPnP to work on your bench
Once you can build a job for a single PCB and for a panel, you have covered the core of OpenPnP. If you are looking for a ready-made desktop OpenPnP machine rather than a scratch-built DIY pick and place, take a look at the AFARCO PnP and AF Feeder range, or start with an AF Feeder starter kit.
Appendix: OpenPnP shortcuts, checklist and further reading
Keyboard shortcuts
On Windows and Linux use Ctrl; on macOS use Cmd for the letter shortcuts. Jog shortcuts do not work while the cursor is in a text field.
| Keys | Action |
|---|---|
Ctrl + arrows | Jog X/Y |
Ctrl + ' · Ctrl + / | Z up · Z down |
Ctrl + , · Ctrl + . | Rotate C+ · C− |
Ctrl + - · Ctrl + = | Smaller · larger jog step |
Ctrl + Shift + F1…F5 | Jog step 0.01 · 0.1 · 1 · 10 · 100 mm |
Ctrl + ` | Home (the backtick key below Esc) |
Ctrl + E | Machine on / off |
Ctrl + Shift + R | Start · Pause · Resume job |
Ctrl + Shift + S | Step |
Ctrl + Shift + A | Stop job |
Ctrl + Shift + P · L | Park X/Y · Park Z |
Ctrl + Shift + Z | Raise to Safe Z |
Ctrl + Shift + D | Discard the part on the nozzle |
Ctrl + O · N · S | Open · new · save job |
Shift + click on the camera image | Move the camera to that point |
Checklist before pressing Start
- The machine is on and homed.
- The board is fixed firmly, flat, with the right side up.
- Every placement is Ready or Disabled.
- Fiducials have Type Fiducial and the fiducial check succeeded.
- You moved the camera to a few placements and the crosshair sits on the footprint.
- Every feeder used by the job is enabled, loaded, with the cover tape peeled.
- Every AF Feeder is on its home screen showing the right address, with no duplicate addresses.
- The tips fitted on N1 and N2 match Loaded? in OpenPnP and are ticked for the job's packages.
- Every new feeder has been test-picked at least once.
- The job is saved (Save Job) and so is the configuration (Save Configuration, Yes for board/panel files).
- Board Protection on the Safety tab is on.
- Your hand is near the emergency stop.
Files you will meet
| File | Contains | Saved by |
|---|---|---|
*.job.xml | The job: boards/panels and where they sit on the machine. | File › Save Job |
*.board.xml | A board: size and placements. | File › Save Configuration, Yes when asked |
*.panel.xml | A panel: which boards sit where, sheet fiducials. | File › Save Configuration, Yes when asked |
machine.xml | Hardware, nozzles, cameras, feeders. | File › Save Configuration |
parts.xml · packages.xml | Parts and packages. | File › Save Configuration |
Back up first. Before trying anything new in Machine Setup, copy the whole
.openpnp2folder somewhere safe. If something breaks, copy it back and the machine is as it was.
Further reading
- AFARCO: the AFARCO PnP, AF Feeder, specifications and videos.
- AF Feeder: specifications, sizes and the AD, St, PE, Rt menu.
- AFARCO on YouTube: machine introductions and operation videos.
- OpenPnP User Manual: the official user manual.
- OpenPnP Quick Start: try the simulator with a sample job.
- Importing Centroid Data: position file formats and CSV columns.
- Panels: building panels in OpenPnP 2.x.
- Feeders: every feeder type, each with its own page.
- Bottom Vision and Fiducials: part and mark recognition.
- Job Processing: the steps the machine runs and the ordering options.
- Issues and Solutions: using the configuration assistant.
Screenshots captured from OpenPnP 2.6 (build of 1 March 2026) on the PC that runs an AFARCO PnP. Some buttons or column names may change in later OpenPnP releases.
shareShare this article
