Homing flowchart of a transfer unit — Raise Z before returning X, checking one axis at a time (sample)

Last updated: 2026-09-23 / Category: Samples, flowcharts

The homing of a transfer unit made of a vertical Z (double-solenoid air cylinder), a horizontal X (servo) and a chuck. Drawn for anyone who sent "all axes to home" at once and hit something on the way back: Z is raised fully before X returns.

Open this sample in the editor Download the JSON

The free browser editor opens in a new tab with this flowchart loaded. No installation, no sign-up, and nothing you enter is sent anywhere. Editing it does not change the sample on this page. The JSON is the source data for reopening it in the editor or handing it to an AI (format: JSON data format).

Homing flowchart of a transfer unit. It starts with the homing button; if power and air are not on, show "Power or air is off" and abort. If Z cannot rise without pulling the part, show "Open the chuck or the jig by hand" and abort. Raise Z (limit 3 s); if the Z up end does not turn ON, show "Z does not rise" and abort. Return X to home (limit 30 s); if it does not arrive, show "X does not return to home" and abort. If the chuck is not empty, show "Remove the part" and abort. If empty, turn homing complete (bHomeDone) ON and go to the home position (waiting for start).
After an abort, remove the cause and press the homing button again. An axis already in place is only checked and passes straight on.

1. Each stage: check power and air before moving, and give each axis a limit

Signals in this chart — complete (bHomeDone) and at home (bAtOrigin) are separate signals

NameDirectionMeaning
bHomeBtnInputHoming button
bPowerOnInputPower is on (safety relay auxiliary contact)
bAirOKInputSupply pressure is on (pressure switch)
bChuckOpenEnd / bChuckCloseEndInputChuck open end / closed end
bJigClampEndInputJig clamp closed end
bZUpSol / bZDownSolOutputZ raise / lower SOL
bZUpEnd / bZDownEndInputZ up end / down end
bXHomeReqOutputCommand to return X to home (search for home, or position to the home position)
bXAtHomeInputX's current position is within the home tolerance and positioning is complete. Different from the amplifier's or positioning unit's "homing complete", which marks that the reference is established and usually stays ON after leaving home
bHomeDoneInternalHoming done and position not lost (stays ON during automatic operation)
bAtOriginInternalAt the home position now (bZUpEnd and bXAtHome both ON; computed every scan)

2. Why this order: to avoid collisions, raise Z fully, then one axis at a time

Homing is the procedure that returns the machine to the home position (where automatic operation starts) without a collision, wherever it stopped. It is the "return to home position" of How to draw a PLC control flowchart. Send "all axes to home" at once and, depending on where it stopped, something collides on the way. So the order is decided first.

  1. Raise Z fully before moving X With Z down, the chuck or the gripped part hits the jig or the conveyor. The machine is built so that, with Z at its up end, X can go anywhere without hitting anything, even holding a part. That up end is the condition for moving X, in automatic and manual operation as well as in homing.
  2. One axis at a time, confirming arrival before the next Moving both at once, X collides if Z stops partway. Moving Z and X together is faster, but homing is rare, so certainty wins over speed. A homing speed lower than automatic operation also limits the damage if something does collide.
  3. The chuck is not opened during homing Opening it drops the gripped part. If a part is left, show a message and stop; homing is repeated once it has been removed. How it is removed (open the door and take it by hand, or open the chuck in manual mode) is decided per machine.
  4. Faults say which axis stopped A plain "homing fault" means investigating all over again on site. Split by axis, the place to look is obvious: air pressure and sensors for Z, the amplifier alarm for X.

3. The specification states the order, the conditions to move on, the limits, and what is not moved

More axes are drawn the same way: decide the collision-free order first, then line up "move → arrived?" in that order.

Once open in the editor, double-click a symbol to change its text.

The tools this sample was made with

  • Flowchart Editor — The figure above and the sample JSON were made and exported with this editor.
  • Timing Chart Editor — The order of the homing command and completion signals for X can be drawn as a timing chart.

Related articles

yk.builds