Explainer
Why a robot needs a servo controller between it and the motor
Short answer
A robot cannot drive a servo motor through its network port; the motor needs a drive and positioning controller in between. For indexed work — four preset positions, each complete before the robot cuts — the controller stores the positions, takes a trigger over a documented protocol such as Modbus/TCP, and reports confirmed position and completion. A successful connection proves transport, not motion.

On this page
- The three roles a robot port cannot fill
- Indexing versus coordinated motion
- The command sequence the robot runs
- Match the protocol, then match the role
- Three architectures, one decision
- The holding torque that sizes the axis
- Commissioning checks before the first cut
- The decision for each setup
- Questions asked
A robot controller cannot put an outside servo motor in position. Its network port moves bytes, not motor current, and its motion planner is built for its own arm, not for a workpiece stand bolted beside it. Between the robot and the motor sits a servo drive with positioning intelligence: it stores the preset positions, takes a trigger over a documented protocol such as Modbus/TCP, and reports the axis back as confirmed position and completion before the robot starts cutting. For four repeatable workpiece positions that design is indexing — rotate with the robot clear, confirm, then cut. Where the table must turn under the tool, the robot needs a supported external-axis package instead. This article walks through the roles, the command sequence, the protocol-role check, the architecture decision, and the holding-torque arithmetic that sizes the motor.
The three roles a robot port cannot fill #
A servo motor is a torque device. It produces torque only when a drive feeds it current, and it knows where it is only because an encoder reports position. Three functions therefore have to exist somewhere in the chain between the robot program and the shaft:
- A drive that turns a low-power command into motor current. No drive, no torque.
- Feedback — an encoder the drive closes its position and speed loops on.
- A positioning controller that stores the targets, profiles each move, runs the position loop, and reports busy, done, actual position and faults.
A robot controller supplies communication and program logic. It does not supply current, and unless the robot maker sells a supported external-axis package, it does not supply the positioning role either. Many servo drives now build that role in: the drive itself holds a table of preset positions and exposes it over a fieldbus, which is the design behind today's Modbus/TCP-ready stepper, servo and closed-loop drive controllers. Alongside the drive come its supply, braking and cabling, all sized from its own manual. Where a drive cannot hold presets, the positioning intelligence arrives as a separate box — see what an external motion controller does for servo drives for what that box owns — and the robot talks to the box, which talks to the drives.
Indexing versus coordinated motion #
Name the motion requirement before buying hardware. In indexing, the external axis moves while the robot stands clear, then holds while the robot works; preset commands plus status queries sequence it, and that is all four fixed cutting positions need. In coordinated motion, robot and axis travel together on one defined tool-to-workpiece trajectory, which requires the robot controller to own the external axis inside its own motion planner and geometry model. A network connection supplies neither. That shared-planner requirement is the wall retrofit projects keep hitting, and it is described from the conveyor side in what a conveyor tracking retrofit needs beyond an encoder.
Two definitions to lock down on paper. Four positions are not necessarily four equal steps: take each angle from the cutting geometry and record the approach direction for each, because backlash and fixture compliance make the approach part of repeatability. And decide how the two servos relate. Two independent positioners are two axes with separate command-and-completion sequences. Two motors rigidly coupled to one load are a single axis: they need a coordinated drive arrangement such as electronic gearing, because two independently triggered presets will drive the motors against each other.
The command sequence the robot runs #
The pattern has been stable for decades: the network sends target positions — never step pulses — and reads actual position back, while the drive's current and position loops run in real time inside the drive. A positioning controller serving Modbus/TCP exposes a small register set, and drive makers document it in short communication guides that walk through basic position mode. The roles the robot program uses, whatever the brand:
- preset selection — write the index of the stored target
- move request — a start bit or command word
- busy — the axis is executing
- in-position or done — the drive reached the target
- actual position — the value to compare against the target
- referencing state and fault words — axis readiness and alarms
One behavior matters more than the register map: how each move is accepted. Some drives act on a held level, some on an edge, some on a request-and-acknowledge exchange. Build the handshake from the manual before writing robot code, because a level-held start bit the program forgets to clear will repeat the last move on the next poll. Over RS-485 serial Modbus, smaller drives expose the same pattern with a register selecting absolute or incremental command mode — a legitimate lower-cost path when the run is short and polling is slow.
Match the protocol, then match the role #
Two devices can share a protocol name and still be unable to command each other, so match roles, not vocabularies. Modbus/TCP is client and server: the robot side must act as the client that writes the preset and start registers and polls the status ones, which integrators do routinely by scripting the robot's Ethernet exchanges against the drive's register map. A documented raw TCP socket also works, at the cost of message formatting, response parsing and explicit handling of lost or partial replies. EtherNet/IP needs a compatible originator and target; PROFINET needs a compatible controller and device. If the robot interface and the drive cannot take opposite roles in one of these, put a PLC or motion controller between them or pick a different supported interface — that middle box is a normal, boring solution, not a failure.
Three architectures, one decision #
The choice reduces to three architectures:
| Architecture | Robot interface | What you commission | It fits when |
|---|---|---|---|
| Supported external-axis package | Vendor plug-in configures the axis from the pendant | Axis setup, positions, status handling and the robot sequence inside the supported arrangement | The table must move under the tool, or you want the vendor behind the motion |
| Positioning drive with built-in controller | Modbus/TCP client writes; drive serves registers and status | Register map, handshakes, fault handling, mechanics | The drive already stores presets and reports completion — the least hardware for a four-preset job |
| Drive plus separate motion controller | Robot talks to the controller; the controller runs the drives | Two communication layers plus the controller's axis logic | The chosen drives cannot store positions themselves |
For four stored positions triggered before a cut, the middle row is the lean design, and the robot-side work is a documented register exchange rather than new hardware. Packages exist in two shapes: a plug-in that programs the axis from the pendant, and bridge tools that speak Ethernet to the robot and a real-time bus such as EtherCAT to the drives. Take the bottom row when the drives on hand cannot hold presets, and the top row when coordination or vendor-supported commissioning is part of the requirement.
The holding torque that sizes the axis #
Preset triggering simplifies the program, not the mechanics. The axis must accelerate the workpiece, stop it without a long settle, and then resist the cutting forces while stationary — and a stationary servo resisting torque still draws current and heats, so the hold is a continuous-duty question, not a peak one.
As a calculated example, for these example inputs only: cutting force 200 N acting perpendicular to a 150 mm arm from the rotation axis, an example 5:1 reducer, and a workpiece-plus-fixture taken as a 20 kg disc of 150 mm radius.
- Workpiece hold torque = force × arm = 200 N × 0.150 m = 30 N·m, resisting the cut.
- Reflected through the 5:1 reducer, ignoring efficiency: 30 N·m ÷ 5 = 6 N·m at the motor, held continuously while the robot cuts.
- For the move: load inertia J = ½ m r² = 0.5 × 20 kg × (0.15 m)² = 0.225 kg·m²; reflected through 5:1, 0.225 kg·m² ÷ 5² = 0.009 kg·m². A triangular 90° index (1.5708 rad) in 1.0 s needs α = 4θ ÷ t² = 4 × 1.5708 rad ÷ (1.0 s)² = 6.28 rad/s², so acceleration torque ≈ 0.009 kg·m² × 6.28 rad/s² = 0.06 N·m.
The comparison is the decision: for these inputs the 6 N·m hold, not the 0.06 N·m move, sizes the motor, so the selection check is continuous torque at zero speed against the datasheet of the exact motor and reducer — a peak rating says nothing about sitting under a cutting load. Redo both numbers with the real force, arm, mass and ratio for the actual part, and add the motor's own rotor inertia, which this example leaves out. Mechanically, the chain is short: the motor shaft meets the reducer input or table spindle through a flexible coupling, and everything between encoder and cutting point — backlash, coupling wind-up, fixture compliance — shows up as workpiece angle error that the done bit cannot see.
Commissioning checks before the first cut #
- Pull the positioning controller's communication manual and write down the supported protocol and its role (server, target, device).
- Confirm from the robot side's documentation that it can run the opposite role — client, originator, controller — or that a supported plug-in does.
- Mark the documented registers or messages for preset selection, move request, busy, in-position, actual position, referencing state and faults.
- Establish how a new move is accepted — held level, edge, request-and-acknowledge — and build the handshake to match.
- Set the communication-loss action from the drive's documented settings, then prove it: open the link during a move and again while the axis holds a positioned workpiece, and confirm the stop and the recovery.
- Verify completion at the workpiece, not only at the drive: measure or test-cut at all four presets and record the spread against the cutting tolerance.
- Treat the axis as part of the robot cell's risk assessment: its stop function, guarding and cable routing get specified against ISO 10218-2 and the stop categories of IEC 60204-1 and validated by whoever integrates the cell — that validation is not something an article can grant.
The decision for each setup #
The robot cuts a product that must present four fixed orientations: buy positioning in the drive or in a small controller, talk Modbus/TCP or a documented socket, trigger preset indexes, and gate every cut on a confirmed done bit and matching actual position. Size the motor on continuous holding torque against the cut, and verify the workpiece angle once at commissioning. The robot must also hold a toolpath while the table turns: none of that stack gets you there — that is a supported external-axis package, chosen at the start, because coordination lives in the robot's planner and cannot be bolted on with registers.
Questions asked
How does the robot know the axis really reached the preset?
It reads the drive's documented status over the same protocol it used to trigger: a completion or in-position bit, plus the actual position register compared against the target. Only when the position reads back within the tolerance the part needs does the robot start cutting. A link that answers a connection check proves the network, not the axis, so the sequence must test the drive's status, not the socket.
What should the axis do when the network drops mid-move?
Decide it in commissioning from the drive's documented communication-loss settings, then test it by opening the link during a move. Most drives can be set to stop and hold or stop and fault on link loss; what matters is that the axis never keeps executing a target its controller can no longer supervise, especially while the workpiece sits under the robot.
Does the drive's encoder guarantee the workpiece angle?
No. The drive closes its loop on the motor encoder, so a confirmed position is a motor-shaft position. Backlash in the coupling or reducer and compliance in the fixture sit between the encoder and the cutting point. Verify the workpiece angle at commissioning by measurement or test cuts at all four presets, and record the spread against the cutting tolerance.
Can preset triggering grow into coordinated motion later?
Not by adding registers. Coordination requires the robot controller to own the external axis inside its own motion planner and geometry model, which only a supported external-axis package provides. If the process may someday need the table rotating while the tool stays on path, plan for a supported package at the start, because preset-style hardware rarely converts into it.