Explainer
Where a Gearbox Ratio Belongs in Servo Axis Simulation
Short answer
Put the gearbox ratio in the layer the simulation is testing: in the PLCopen factor for setpoint-only simulation, or in the simulated load system as the mechanical conversion when dynamics matter. Keep the motor and encoder data describing the real motor, and never divide application commands by hand. For a 1:8 reducer, one load revolution must show eight motor revolutions, and reflected inertia falls by 64.

On this page
- What a gearbox changes in the model
- Two simulation layers, two homes for the ratio
- Why the ratio cannot live in commands or motor data
- Reading the 1:8 marking before you enter it
- Worked example: the 8GP60090-008-R2-L4 as a 1:8 reducer on a rotary load
- Checks before you trust the simulated trace
- Questions asked
In a servo axis simulation the gearbox ratio has one correct home per test: the layer the simulation is testing. If the test only has to generate setpoints in application units, the ratio goes into the axis scaling — the PLCopen factor — configured exactly as on the real axis. If the test has to show how the machine moves under load, the ratio goes into the simulated load system as the mechanical conversion between motor and load. In both cases the motor and encoder data keep describing the installed 8LSA44.DB022D000-3 motor, and no application command is divided by hand. This page uses a concrete case throughout: ACOPOS P3 drives controlling 8LSA44.DB022D000-3 motors through an 8GP60090-008-R2-L4 gearbox marked 1:8, with ACP10 axis control simulated in B&R Automation Studio.
What a gearbox changes in the model #
A reducer sits between two shafts: the drive controls the motor shaft, and the application cares about the load shaft. Fix the definition first — R is the number of motor-shaft revolutions that produce one load-shaft revolution. An ideal reducer then does three things:
- divides position and speed: load position and load speed equal the motor values divided by R;
- multiplies torque: the load shaft feels R times the motor torque, before losses;
- divides reflected inertia: the motor feels the load inertia divided by R squared.
For the 1:8 marking read in its documented direction, R is 8, so position and speed divide by 8, torque multiplies by 8, and inertia divides by 8 squared. None of these relationships includes efficiency; enter a loss figure only when the gearbox documentation for the installed unit supplies one, never to make a trace look plausible. The reflected inertia is the number the drive's tuning loop actually feels, and the same relationship governs tuning a servo axis with a 6:1 inertia ratio on a ballscrew axis.
Two simulation layers, two homes for the ratio #
Automation Studio can simulate an ACP10 axis at two depths, and each depth answers a different commissioning question. Decide which question you are answering before entering any number, because the ratio's home depends on it.
| Simulation layer | What it verifies | Where the 1:8 belongs |
|---|---|---|
| Setpoint generation only | application units, commanded positions, direction, wrapping, sequencing, limits, motion-profile generation | the axis scaling: the PLCopen factor converts motor-side motion into load-side units, exactly as on a real axis |
| Complete load system | motor-to-load kinematics, acceleration response, motor-side load from the attached inertia | the simulated load system: the ratio is the mechanical conversion between motor and load, entered with the real load values |
Setpoint-only simulation is the right tool when the target is PLC logic and coordinate conversion. It carries no inertia and no gearbox dynamics, so it cannot show acceleration response, motor-side load or tuning behavior, and its traces are not evidence about the mechanics. For the complete model, start from the example the Automation Studio Online Help calls "Simulating a load system", which shows how the parameters of the simulated mechanics are set, instead of improvising a load. In either layer the encoder interface is configured as on the real axis, which is what keeps the motor-side data honest.
Why the ratio cannot live in commands or motor data #
Four homes for the ratio keep coming up, and all four distort the model:
- Dividing every application command in the program scatters the conversion across the logic. Commands, software limits, homing values and diagnostic displays then live in different units, and every value read back needs a hand conversion. The conversion belongs once, at the axis interface.
- Editing motor or encoder data turns the simulated machine into hardware that does not exist. A gearbox changes the relationship between two shafts; it does not turn the installed motor into a different motor, so the drive's motor model and feedback definition keep describing the real 8LSA44.DB022D000-3.
- Attaching the load inertia directly at the motor without the gear conversion feeds the drive an inertia wrong by the square of the ratio. The worked example below puts a number on that error.
- Enabling modulo because the mechanism rotates confuses wrapping with reduction. Modulo defines where a cyclic coordinate wraps and contains no ratio. Set it only when the commanded coordinate must wrap after a complete mechanical cycle, and leave it off an axis whose position accumulates — on a finite axis, modulo silently wraps targets that should keep counting.
Reading the 1:8 marking before you enter it #
The marking 1:8 by itself selects no multiplier, because ratio notations vary between documents and vendors. Convert it to the working definition: read the gearbox datasheet and confirm that eight motor-shaft revolutions produce one output-shaft revolution, which makes R equal 8 for this reducer. If the document defines the marking the other way round, invert every relationship on this page instead of forcing the reducer convention.
If no document is at hand, measure before coupling the machine load: mark both shafts, turn the motor by hand or at low speed, and count the motor-shaft revolutions while the output makes exactly one. That count is R.
Then read the field you are about to fill, in the axis factor or in the simulated load system, and establish whether it asks for motor-over-load, load-over-motor, input-over-output or output-over-input. An inverted entry is silent: it produces a repeatable eightfold position error at the factor, and in a load model a reflected inertia wrong by the square of that, while the traces still look plausible. On a real rotary axis the same conversion decides how degree commands map to motor revolutions; setting gear ratio for degree moves on a rotary servo axis walks through that mapping.
Worked example: the 8GP60090-008-R2-L4 as a 1:8 reducer on a rotary load #
Inputs, with units and sources:
- Reducer: 8GP60090-008-R2-L4 marked 1:8, read in the documented direction as 8 motor revolutions producing 1 load revolution, so R = 8. Source: the drive package in this application.
- Acceptance command: 1 load-shaft revolution, that is 360 degrees at the load. Source: the one-revolution test you will run on the simulated axis.
- Load inertia: 0.0800 kg·m² at the output shaft. Source: an illustrative example input, not a datasheet value — take the real number from your own load calculation or the component data.
- Motor speed: 3000 rpm. Source: an example setpoint, used only for the speed check.
The rule, in words: the load turns R times slower than the motor, the load shaft feels R times the motor torque, and the motor feels the load inertia divided by R squared.
The arithmetic:
- Motor travel per load revolution: 8 × 360 degrees = 2880 degrees of motor-shaft rotation.
- Load speed at the example setpoint: 3000 rpm ÷ 8 = 375 rpm at the load shaft.
- Reflected inertia: 8 × 8 = 64, and 0.0800 kg·m² ÷ 64 = 0.00125 kg·m² seen at the motor shaft.
- Ideal load torque: motor torque multiplied by 8, before losses. No efficiency is applied because no documented value for this gearbox is at hand; leave the losses out of the model until the gearbox data supplies one.
Result: the simulated motor must turn 2880 degrees for every commanded load revolution, the load shaft must show 375 rpm when the motor setpoint is 3000 rpm, and the load model must place 0.00125 kg·m² on the motor side.
Decision: in setpoint-only simulation, enter the factor so the axis coordinate counts load revolutions or degrees, then command one load revolution. If the simulated motor position shows anything other than 2880 degrees of travel, the factor is inverted — swap its numerator and denominator and repeat the test. In the complete load model, enter the same ratio in the simulated gear together with your real load inertia, and confirm the motor-side load changes when that value changes; a reflected inertia that lands wrong by the square of the ratio means the gear entry is inverted.
Checks before you trust the simulated trace #
Run these checks before a simulation result moves into commissioning:
- The motor and encoder configuration still describes the installed motor; nothing in it was edited to stand in for the reducer.
- No application routine multiplies or divides positions to compensate for the gearbox; the conversion lives once, at the axis interface or in the load model.
- One commanded load-side unit moves the simulated motor exactly R times that unit, in the correct direction.
- Wrapping behaves as designed: modulo is present only where the coordinate must wrap, and a finite axis keeps accumulating instead of jumping at a boundary.
- In the load model, changing the attached load value changes the motor-side load — proof that the mechanical conversion is live rather than decorative.
- On a multi-axis machine like this one, prove one axis first, then copy its configuration only after confirming every physical axis shares the same gearbox, load, units and feedback arrangement.
A simulation verifies logic, coordinates and mechanics on paper; it is not the machine. When the program moves to real hardware, first power-on belongs under the machine's guarding and lockout plan and its own risk assessment, not under the simulation's results.
Questions asked
Does the gearbox ratio change servo tuning in the simulation?
The ratio itself is not a tuning setting, but it changes what the drive feels. Reflected load inertia falls with the square of the ratio, so through a 1:8 reducer the motor sees one sixty-fourth of the inertia the load carries at its own shaft. Tune the loop against that reflected value in a complete load simulation. In setpoint-only simulation there is no load to tune against at all, so a tuning result taken from it proves nothing about the machine.
What if the gearbox document defines the 1:8 marking the other way?
Then the load would turn faster than the motor: the load position is the motor position multiplied by the ratio, the load torque divides instead of multiplying, and the reflected inertia grows by the square of the ratio instead of shrinking. Invert every relationship rather than forcing the reducer convention, confirm the direction from the gearbox datasheet or a shaft-rotation count, and only then enter the factor or the gear.
Can the gearbox be represented by changing the encoder scaling instead?
No. Encoder scaling describes how the feedback device reports motion of the motor shaft, and editing it makes the simulated motor-side position disagree with the real motor and encoder pair. The gearbox sits between two mechanical shafts, so its ratio belongs in the factor that converts motor motion into load units, or in the simulated load system as the mechanical conversion, never in the feedback definition.
When is setpoint-only simulation not enough for a geared axis?
Whenever the question involves force or response: the acceleration the motor must produce, torque headroom against the reflected inertia, tuning behavior, or an honest cycle time under real load. Setpoint-only simulation proves coordinates, limits, wrapping and sequencing, but it carries no inertia and no gearbox dynamics, so it cannot show a stall, an overload or an unstable tune. Build the load-system model for those questions, starting from the documented load-simulation example.