4. Run a Job¶
Put the board on the plate¶
- Put the board against the fixed PCB mount, slide the adjustable mount up and tighten.
- Put it in roughly the same place and orientation as last time: the machine looks for alignment pad A where it last found it and searches a few mm around.
Board in a new place?
Centre the down camera on pad A by eye (Mainsail jog, Z 30 or higher), then run
python -m pnpvision align-board "jobs/<job>.job.json" --rot 90 once. Every job after that
finds the board by itself.
Start¶
- Touchscreen -> Pick & Place -> Job, tap the job.
- Check the details: parts to place, which feeder holds each package (a package with NO FEEDER is skipped unless No feeders is on), the estimate.
- Options: Align first on (recommended), No feeders off, Dry run off.
- Start -> confirm. The nozzle must be empty and the up light on.
What the machine does¶
- Vision home if needed.
- Align: the down camera visits pads A, B, C, fits the board's position and rotation, and reports the worst pad error. (Not counted in parts-per-hour.)
- For each part: feed, pick, check over the up camera, turn, place.
- Rejects (wrong size, empty nozzle, on its side, upside down) go to the reject bin, and the part is picked again - up to 3 tries, then the job stops and asks you.
- At the end: placed / failed and parts per hour, on the screen and in
results/job_<time>.json.
During the job¶
- The red JOB RUNNING line means: hands out of the work area.
- Long runs: wear hearing protection (compressor and vacuum exhaust).
- Questions (load a part, swap a tip, retry?) open as dialogs: answer on the screen.
- Stop job (two taps): ends cleanly after the current part.
- EMERGENCY STOP: stops everything now (Safety).
- Don't jog or run other macros: other PnP buttons refuse while a job runs.
Dry run¶
With Dry run on, no parts are picked: the down camera visits every placement and saves a photo
with a crosshair on the target, in job_<time>/. Use it for a new board or after re-calibrating.
From Mainsail or SSH¶
RUN_JOB JOB=Test_PCB-top-0603 ALIGN=1 (Mainsail console; spaces as _)
python -m pnpvision run-job "jobs/Test PCB-top-0603.job.json" [--dry-run] [--only R1 R2] [--no-feeders]
Next: After the job.