Dispenser Toolkit Manual · Chapter 4
Head Setup
A studio-only window that defines what makes up each head — motors, valve, Z direction and default set. Open it with the [Head settings...] button at the top of the studio [Data Editor Pages → Dispense Heads] screen. It does not open in machine mode.

Head settings window
- Each row of the table is one head. Row order is the Index (the
HeadIndexnumber of design controls), so deleting a row moves the numbers of the heads after it. Rows cannot be reordered. - [Add] · [Delete] · [Save] · [Reload], and [Close] at the bottom. Closing with unsaved edits asks whether to save (Esc also closes). Use
.as the decimal point in number boxes (with,the value is not saved). - Click or hover a box in the form to see its picture and description on the right.
- The Driver · Axes · Coord · LinkState columns at the right of the table are link results (read-only). When linking fails, LinkState shows the reason.
Items
The form has four groups (④ from 4.0.26). 'File name' is the name saved in Heads.json.
① Setup (required)
| Item (screen) | File name | Default | Description |
|---|---|---|---|
| Name | Name | Scripts (DISPENSE["name"]), patterns and design controls find the head by this name. If you rename it, change those places too. Empty names and characters not allowed in file names or quotes cannot be used (message 18003). | |
| Comment | Comment | Free note. It does not affect operation. | |
| X motor · Y motor | MotorX · MotorY | Motors that move the head left-right and front-back. Different motors on the same driver (chapter 3). | |
| Z motor | MotorZ | Raises and lowers the needle. Leave empty on a machine without Z. | |
| Z direction | ZUpSign | 1 | 1 : + is up / -1 : + is down. Whether moving Z in + raises the needle. Dispense and approach heights are calculated in this direction. |
| Valve (output IO) | Valve | Choose it in the IO search dialog opened with [Search…] (digital outputs only). [✕] clears the valve; double-clicking the Valve cell in the table also opens the search dialog. |
These are two of the pictures shown at the right of the form. The head overview appears for the name, comment, motor and valve boxes, and the Z direction picture for the Z direction box.


② Default dispense settings
| Item (screen) | File name | Default | Description |
|---|---|---|---|
| Default set | Defaults | Default | Parameter set used when an element or line does not name one. Values left empty in a set also follow this set (inheritance). The values are edited on the [Parameter Sets] tab. |
| Pause between cells | PauseBetweenCells | On | When the machine is stopped (STOP) while a sequence runs an array pattern, the head raises Z between cells and waits, then goes on from the next cell on START (chapter 13, 4.0.27~). Off: as before, it draws the whole array and then stops. On (the default) is not written to Heads.json. |
③ Advanced — change only after measuring
Expand with [Show advanced ▾].
| Item (screen) | File name | Default | Description |
|---|---|---|---|
| Poll interval | PollIntervalMs | 1 ms | How often the current segment number is read from the driver while running. Shorter switches the valve more accurately but uses more CPU. |
| Max segments | MaxSegments | 200 | How many segments are queued to the driver at once. If the driver reports its own limit, that is used instead. |
| Node index base | NodeIndexBase | -1 | Whether the driver counts the first segment as 0 or 1. -1 detects it automatically when running. WMX3 counts from 0. |
④ Process automation
Open with [Show process automation ▾] (4.0.26~ — how to use: chapter 10 Process Automation). Default values are not written to Heads.json.
| Item (screen) | File name | Default | Description |
|---|---|---|---|
| Pot life · Shot limit | PotLifeMin · MaterialShotLimit | 0 · 0 | Real dispensing is refused beyond them. 0 = off (10.3). |
| Idle purge · Purge every | IdlePurgeSec · PurgeEveryRuns | 0 · 0 | IsPurgeDue() conditions (seconds · runs). 0 = off. |
| Tip sensor | TipSensor | Digital input of needle Z calibration. Choose it with [Search…] (10.4). | |
| Search distance · Search speed · Z correction limit | TipSearchDistance · TipSearchSpeed · TipCalLimit | 5 mm · 2 mm/s · 1 mm | Distance and speed of the sensor search (second pass at 1/5); no correction when the difference from the reference needle is larger. |
| Calibration align · Dot set | NeedleCalAlign · NeedleCalSet | Camera of needle XY calibration (an align using a mark method — mark 1 = dot shape) and the set used for the dot (empty = head default set). | |
| Dot pitch · Dots per plate · XY correction limit · Plate height | NeedleCalPitch · NeedleCalCount · NeedleCalLimit · NeedleCalSurfaceDZ | 2 mm · 20 · 0.5 mm · 0 | Dot layout on the plate and limits. Plate height = Z difference when the same needle touches the plate and the work surface. |
| Height sensor | HeightSensor | Communication object or analog input IO (10.5). | |
| Sensor scale · Height limit · Settle time · Samples | HeightScale · HeightLimit · HeightSettleMs · HeightSamples | −1 · 1 mm · 100 ms · 1 | Surface Z calculation, limit and reading. |
| Scale | Scale | Scale communication object (SC_Balance — 10.6). | |
| Shot time · Shots · Target weight · Ratio limit · Scale timeout | WeightShotMs · WeightShots · WeightTargetMg · WeightMaxPct · WeightTimeoutMs | 500 ms · 3 · 0 · 30 % · 10000 ms | Test shots and judgment of weight calibration. |
Saving
- Saving links the heads again with the new definition at once, so test runs and scripts can use them right away. Script corrections (
SetWorkOffset·SetSurfaceZ·SetMode·SetAlign) and the last completed element and cell are kept (a renamed head counts as a new head). The formal link that reports errors to the error list and the head name check of scripts are done at build. - Saving is not possible while a head is running (18002) or while the machine is running (18011).
- Set the heights, needle offset and purge position of a newly added head on the calibration screen after closing the window.