2.2 Program Creation & Tuning
A pick-and-place machinemachine's performance is onlygoverned as good asby the program that drives it. From the moment CAD data is imported, everydecisions decision—howregarding rotations are defined, howrotations, vision isteaching, taught,feeder howlayout, feedersand areplacement laidsequence out—shapesdetermine whether the line runsachieves smoothlymaximum throughput or stumblessuffers intofrom delays.constant Goodstoppages. programmingDisciplined turnsprogram chaoscreation intoensures consistency:consistency machinesacross recognizeshifts, partsminimizes instantly,setup nozzles travel efficiently,time, and operators seemaintains the samemaximum “truth”theoretical shiftComponents afterPer shift.Hour With disciplined setup and verification, programs transform from fragile one-offs into stable, reusable assets that sustain both speed and quality.(CPH).
2.2.1 StartData withIntegrity: cleanStandardized inputs (CAD/centroid → program)Inputs
Before youplacing placethe first part, the foundation must be built on clean, consistent data. Errors here force time-consuming manual fixes later.
- Input Standardization: All data imports must use consistent units (mm), a single
part,originmakeforthe data boringtop andconsistent:bottomWhat you import (and freeze):Units & origin:mm, one origin fortopsides, andbottom, and θ definedCCW.rotation convention.SidePart&Libraryrotation:Match:explicitAll“Top/Bottom”importedper refdes, rotation as seen fromtop view(bottom side mirrored in software).Package names & heights:match yourPnP librarypackage names and Z-heights—noheightsone-offmustaliases.Polarity/pin-1 & fiducials:strictly match theassemblyPnPdrawing,machinewithlibraryglobalnames.+Avoid using one-off aliases that require translation.- Fiducials: Global and local fiducials
listed.must be clearly defined in the data package and used consistently for board alignment and large component correction. - Golden Data Pack: The final, verified set of placement data, machine offsets, and rotation tables must be archived as the single source of truth for the entire run.
Audit Tell:
outputPuttheseIfrulesainprogram requires bulk rotation or coordinate offsets after import, theGoldenlibraryData Packconventionsso every line loadsor thesameCADtruth.Quickaretell:misaligned.ifThisyourmustfirstbeimportfixedneeds bulk “+90°” fixes, your rotation convention isn’t aligned—fixat thelibrary,source, not in the program.2.2.2 Vision
teachingand(makeComponent DefinitionComponent recognition
effortless)mustBuildbelibrariesrobustthatandtheinstantaneouscameratocan’tpreventmisread:vision retries and slowdowns.ClearTeachingfeatures:and Locking:useDefinepackagesandwithlockobviousone golden image per package family in the machine library. This image must feature clear pin-1/polarity markers and bodyedges (your land-patterns and silks did this back in 3.2–3.3). Teach one good part per package, then lock it.edges.Nozzle/pickPickpoint:Point Consistency:centerThe nozzle pick-up point must be centered onflat,the flattest, most repeatablesurfaces;surfaceavoidof the component. Areas with embossed logos ordomes.irregular domes must be avoided.Lighting/algorithms:Algorithm Selection:pickChoose the simplest vision algorithm thatpasses—fastachievesbeatsstable recognition. Stability and speed are prioritized over high-fancywhenrecognitionit’salgorithmsstable.that may be sensitive to slight component variation.Golden images:keep a small photo set per package so night shift can compare “good vs weird” quickly.
2.2.3
RotationFeedersanityOptimization:(catchMinimizing0/90/180/270° traps early)Travel
distanceDoTheaphysical arrangement of feeders is the primary driver of machine speed.rotationFeederauditoptimizationbeforeaims to minimize thefirsttravelpanel:Buildofa one-pagerotation tableper package family (what “0°” looks like ontop, and howbottomis mirrored).Dry-runthe placementon screen and print a “rotation heat-map” (count of 0/90/180/270). Spikes at 90/270 on parts that “should be 0°” = library drift.On the bench, checkpin-1/A1for BGAs/QFNs andpolarityfor diodes/LEDs on yourFirst Articleroutine (see 8.5).
2.2.4 Feeder optimization (travel less, place more)Your program is only as fast as itsfeeder map:head.- Permanent
banks:Banks:park high-High-runnerpassivescomponents (e.g.,0100501005–0603)–in0603 passives) should be assigned to fixed feeder slots acrossproductsallsoproductchangeoversprograms.don’tThistouchmassivelythem.reduces changeover time. - Shortest
paths:Paths:place theThe highest-hit partsfrommustfeedersbe placed in feeder slots closest to thehead’head's home position;cluster(orbythenozzlecenterfamilyoftothecutplacementswaps.area). Splice-friendlyNozzlelanes:Grouping:assignFeedershigh-runnershouldreelsbetoclusteredfeedersbyyouthecanrequiredsplicenozzleinsize/type.place;Thisavoid starvingminimizes theconstraintnumbermachine.of(Morerequiredintool8.3.)changes during the placement sequence, improving efficiency.- Tray
parts last:Management:bigLargeBGAs/QFNsBGAs, QFNs, and odd-form parts (sourced fromtraystrays)costrequiretime—sequencemore time and head travel. Sequence themafterlastchiptostorms soensure theheadhigh-speedisn’tplacementjoggingofacrosschips is not interrupted.
2.2.4 Path Sequencing and Load Balancing
The sequence of placement determines the
worldcyclemid-run.
and whether parallel machines operate efficiently.
2.2.5 Path & sequencing (seconds live here)
Zones,Placementthen details:Order: The general rule is to place chips first (densechip fields first (short headfield moves), thenICs,ICs,thenand finally tall/odd-formlast.components that might interfere with head travel.SideLoadstrategy:Balancing in Tandem:ifIfyourunningruntandem mounters (Chapter 2.1), the placement program must be splitbytoeffortensure(chips vs ICs) sothe cycle timesmatchof both machines are balanced (within~±10%—otherwise).oneThemachinesplitidles.must be by effort (8.1e.g.,coversfastload-leveling.)chips on PnP A, slow ICs on PnP B) to avoid bottlenecks.
2.2.65 First Article steps(FA) (and Program Freeze
The First Article procedure is a short, scripted audit used to prove the program,program's thenintegrity freeze)before
Runproduction a quick, scripted FA on the first panel:release.
- Alignment Check: Teach three fiducials
;confirmand verify the global X/Y/θ.θ alignment. - Witness Placement: Place witness parts for each package family near a board
edge;edge.checkInspect these parts under a microscope to confirmorientation/orientation, polarity,heights,height,offsetsand offsetunderare correct. - Log Audit: Review machine pickup logs. Any high rate of misses/retries indicates a vision or nozzle parameter issue that must be fixed.
- Recipe Freeze: After successful verification, the
scope. Review pickup logs (miss/retry rates) and tweak vision/nozzle for the worst offender.Save themachine recipe andgenerateprogramthemust be locked and a Golden Board photo setforcaptured.thisThisrevfreeze(usedpreventsagainunauthorizedinchanges8.5).that could compromise production.
2.2.6
Key Performance Metrics
2.2.7metrics Metricsmust be monitored on the machine dashboard to watchtrack (keepefficiency tuningand small)
flag drift.
- Placement
timeTimeperPerboardBoard: The time consumed for the placement routine (ex-excluding conveyor/buffer travel).andThis is the key measure of program efficiency.CPH vs spec PickupMiss/RetrymissesRates:/The count of visionretriesfailures or pickup errors, tracked by partfamilyfamily. This directly indicates a feeder or vision library problem.- Nozzle
swapsSwaps Per Board:perMeasuresboardthe(aimefficiencylow—groupofpartsthebyfeedernozzlegrouping.size)Higher numbers indicate poor clustering and wasted time. StarvationCPHeventsvs. Theoretical:(countTheofachieved“noComponentspart”Perwaits;Hoursplicemustearlierbeiftrackedrising)against the machine's maximum theoretical CPH to calculate overall utilization.
Program Setup Checklist
Phase | Non-Negotiable Item |
Data & Library |
|
Vision & | One |
| High- |
Sequencing | Chips first, trays last; tandem |
First Article | Witness |