Selection guide
Counting Real Axes Before Selecting a Gantry Motion Controller
Short answer
Count independent servos, not marketing axes: this machine is 13 controlled axes (1 X, 4 Y, 4 Z, 4 C), so the controller must coordinate 13. Size the payload forces first — 300 N horizontal and about 1,772 N accelerating up on Z — then use a PLC with integrated motion driving servos on one deterministic fieldbus unless robot-style kinematics or conveyor tracking saves real development time.
On this page
- Count the axes the controller must close
- Size force and energy before the controller
- Choose the architecture: PLC motion or a robot controller
- Conveyor tracking is five functions, not a checkbox
- Program it as a state machine, not G-code
- Shared axis, collision zones and vertical-axis safety
- Selection procedure in order
- Questions asked
Count what the controller has to close before you shortlist one. The machine in question — one X stage with 27,625 mm of travel, four Y stages at 6,015 mm each, four Z stages at 2,100 mm each and four ±180° C rotaries — is 13 independently driven servo axes, not a four-axis gantry. Four is the coordinate count per picking head; 1 + 4 + 4 + 4 = 13 is what the motion controller sees. With a PLC platform already standard in the plant, the decision for this machine is that platform's integrated motion commanding servo drives over one deterministic fieldbus; a robot-style controller earns its place only when its built-in conveyor tracking and teach-style programming remove more development time than they add in integration. Size the forces before you shortlist anything.
Count the axes the controller must close #
Build the axis schedule from the mechanical drawings, not from the machine's name. Each independently driven stage is one servo loop: one motor, one drive, one feedback channel, one homing sequence, one set of limits. The bill of material here lists one X, four Y, four Z and four C stages, so the controller must host 13 axes in the coordinated group that runs picks.
The count drops only when stages are mechanically ganged — two Y carriages bolted to a common beam driven by one motor. That is a drawing decision, not a software decision: if the drawings show 13 motors, budget 13 axes and buy a controller whose published capacity covers 13 in one coordinated group, with the worst simultaneous case in mind, which on this machine is all four heads picking at once while X indexes between them. A controller that tops out below the physical servo count is out of the running; do not plan to sequence around a short axis count on a machine whose whole point is concurrent picks.
The single long X beam hides one more trap: a 27-metre axis driven from both ends has two motors, and they must be geared into one electrical shaft so the beam cannot be wound up against itself — the same discipline as synchronizing two servo axes on one heavy lift. If that is the arrangement on your drawings, the count is 14, not 13.
Size force and energy before the controller #
Controller choice follows the load, not the other way round. Work the payload numbers first, then add everything that actually moves.
Horizontal, payload only, with payload mass m = 150 kg and rated acceleration a = 2 m/s²: F = m × a = 300 N. That is the floor — carriages, tooling, cable carriers, friction, process forces and design margin all raise it before motor sizing.
Vertical Z, payload only: gravity holds m × g = m × 9.81 m/s² = 1,471.5 N ≈ 1,472 N downward at standstill. Accelerating upward takes F = m × (g + a) = m × 11.81 m/s² = 1,771.5 N ≈ 1,772 N. The same peak appears when a downward move is decelerated, so treat it as the Z force requirement, then add the moving Z stage mass.
Energy at top speed: E = ½ m v², half the moving mass times the square of the top speed, which comes to 300 J for the payload alone. Every stop returns that energy to the drive bus, and a lowering Z axis returns gravity energy on top of it, so braking-resistor and drive thermal sizing come from the complete moving mass and the cycles per hour.
Stopping distance sets the geometry: braking from top speed v at the rated deceleration a, d = v² / (2a) = 1.0 m. Every axis needs that much room beyond the commanded end of travel for a controlled stop at rated deceleration, and faster stops cost proportionally more force and dumped energy.
These are calculated examples for the stated inputs, not measured results; final motor, drive and brake values come from the complete moving mass, which only the mechanical model gives you. At 27,625 mm of travel the X axis is belt or rack-and-pinion territory, and motor-reducer sizing there follows the same arithmetic as correcting rack and pinion speed and torque on a gantry retrofit.
| Quantity | Value for this machine | Basis |
|---|---|---|
| Controlled axes | 13 (1 X + 4 Y + 4 Z + 4 C) | Count of independently driven stages |
| X travel | 27,625 mm | Stated stage specification |
| Y travel | 6,015 mm × 4 | Stated stage specification |
| Z travel | 2,100 mm × 4 | Stated stage specification |
| C rotation | ±180° × 4 | Stated stage specification |
| Top speed / acceleration | 2 m/s / 2 m/s² | Stated machine rating |
| Payload | 150 kg | Stated; excludes tooling |
| Horizontal force, payload only | 300 N | 150 × 2, calculated example |
| Vertical force accelerating up, payload only | ≈1,772 N | 150 × 11.81, calculated example |
| Held load on Z, payload only | ≈1,472 N | 150 × 9.81, calculated example |
| Kinetic energy at 2 m/s, payload only | 300 J | ½ × 150 × 2², calculated example |
| Controlled stopping distance at rated decel | 1.0 m | 2² / (2 × 2), calculated example |
Choose the architecture: PLC motion or a robot controller #
| Situation | Decision |
|---|---|
| A PLC platform is already standard in the plant | Use its integrated motion instructions and servo drives on the plant's fieldbus |
| Kinematics are Cartesian plus one rotary per head | PLC motion; robot kinematics buy you nothing here |
| Conveyor tracking is required from day one | Demand a live demonstration on your hardware; a robot-style controller is the fallback if the PLC path cannot show it |
| Machine logic dominates: guards, lubrication monitoring, peripherals, sequences | PLC-centered keeps sequencing and motion in one control project |
For this machine the decision is PLC-integrated motion. The heads are Cartesian with a ±180° wrist each, so there is no articulated-arm kinematics to inherit, and keeping machine sequencing, interlocks, diagnostics and motion in one project removes the seam between robot program and PLC program that otherwise eats the commissioning budget.
The candidate controller must document four things at your axis count: axes per coordinated group, simultaneously interpolating axes, the network cycle time at that load, and the feedback types your drives speak — absolute encoders change both the homing story and the wiring. Treat axis capacity as a hard published number: 13 axes in one group is the entry ticket. A robot-style multi-axis controller remains the right call when your team already lives in teach-pendant programming and its conveyor tracking works out of the box; weigh that against the integration time it saves, and make the supplier run the tracking path end to end on your hardware before the purchase order.
Conveyor tracking is five functions, not a checkbox #
A picking gantry that tracks a conveyor performs five functions, and a datasheet bullet proves none of them:
- Capture the conveyor encoder position at the moment the sensor sees the box, with deterministic timing — a registration input or drive-level position capture, not an ordinary asynchronous input scan, whose position error grows with conveyor speed times scan time.
- Register that captured position against one box record, so each box is claimed by exactly one head.
- Transform the box position from conveyor coordinates into gantry coordinates.
- Predict the intercept point from conveyor velocity and the gantry's own travel times.
- Execute the pick as a tracking move synchronized to conveyor displacement, then release cleanly.
At its core the tracking move is a follower axis geared to a conveyor master — the same principle as following a master axis with a stepper traverse — but the registration capture and the coordinate transform are the parts that fail quietly at speed. If the vendor cannot demonstrate the whole path on the exact controller, drives, encoder, sensor and network you intend to ship, at your conveyor speed, that controller does not have conveyor tracking for your machine.
Program it as a state machine, not G-code #
No G-code is involved and none is needed; it is a CNC part-program convention, and this is a sequencer driving motion instructions. The structure that survives commissioning is a state machine with machine state, per-axis state, motion requests, motion completion, faults and recovery kept separate. Issue each move once, on a state transition, and advance only when the instruction reports completion. Interlock every new command against homed status, axis readiness, permitted zones, payload state and active faults. Keep positions, velocities and accelerations in named configuration data rather than constants scattered through routines, because the week after startup someone will ask for a faster cycle and the recipe is where that lives. At the sequence level it resembles robot programming — home, move, wait, pick, place, recover — but the coordinate handling, collision logic and exception recovery are yours to write, so budget them as real engineering.
Shared axis, collision zones and vertical-axis safety #
One X beam means no head owns its own X position: X commands come from one coordinator, or from one head at a time under an explicit arbitration flag, never from two heads on the same scan. Define collision zones between the four Y-Z-C heads riding shared rails, the permitted simultaneous move set, and the homing order — Z raised, C at a safe angle, Y separated, then X. Write down what each axis does on fault: which brakes engage, and what happens to a held load.
Each Z axis holds about 1,472 N of payload gravity with power applied before its own moving mass is counted, so every Z needs a brake rated for the full hanging mass, a guarded drop zone beneath it, and a lockout procedure that treats a raised axis as stored energy. The stopping, braking and holding functions must reach the performance level the machine's risk assessment assigns under ISO 13849 or the equivalent IEC 62061 route; that assessment validates them, not this article.
Selection procedure in order #
- Draw the axis schedule: 13 axes with motor, feedback, brake, travel, direction, gearing and every shared-mechanism relationship.
- Build the worst-case mass and inertia model: the full payload mass plus tooling, moving stage masses, cable carriers, friction and the payload offset on each C rotary.
- Derive the move profiles from the cycle: distance, the rated top speed and acceleration, dwell, and required picks per minute per head.
- Match the controller against 13 axes in one coordinated group, the simultaneous-move count, network cycle time at that load, feedback support, and the safety functions the risk assessment demands.
- Prove conveyor tracking on the target hardware at conveyor speed before purchase.
- Map limits, homes, brakes, permissives and collision zones into the state machine before writing production sequences.
Follow the order. Any controller narrowed down before the axis count and the mass model are known is a guess, and a 13-axis guess is costly to correct after the drives arrive.
Questions asked
Why is a gantry with four picking heads called four-axis when it has 13 servos?
Four-axis counts the coordinates one head uses: X, Y, Z and C rotation. The controller closes one loop per physical servo, and 1 + 4 + 4 + 4 = 13 for this machine. Only mechanically ganged stages reduce the count, such as two carriages bolted to one motor-driven beam, and the mechanical drawings decide that. Buy the controller for the servo count on the drawings, not the coordinate count in the machine's name.
Do I need G-code to program a gantry like this?
No. G-code is a CNC part-program convention, and nothing in this architecture calls for it. A PLC-based gantry runs motion instructions called from ladder or structured text inside a state machine: home, move, wait for completion, pick, place, recover. It resembles robot programming at the sequence level, but you write the coordinate handling, collision zones and fault recovery yourself instead of inheriting them from a robot controller.
How much braking energy does the gantry dump per stop?
Kinetic energy scales with the complete moving mass: the payload alone stores the 300 J calculated above at top speed, and every carriage, tooling mass and cable carrier adds to it. Each deceleration returns that energy to the drive bus, and a lowering Z axis returns gravity energy as well, so the braking resistor and drive thermal ratings come from the full moving mass and the cycles per hour, not from the payload figure alone.
Can the Z axes be held by the servo alone, or do they need brakes?
The payload alone puts about 1,472 N of gravity on each vertical axis before the moving Z mass is added. Servo drives hold that while enabled, but power-off and fault stops need brakes sized for the full hanging mass, and the drop zone under the gantry must be guarded. Whether a brake and stop function satisfy the required performance level is decided by the machine's risk assessment.