Motion Library
Earlier articles

How-to
Setting a stepper drive to 200 steps per revolution
Yes. 200 steps per revolution is the drive's full-step point: set it in the drive's resolution setting, power-cycle, then divide the controller's pulse scaling constant by 100, because 20,000 divided by 200 equals 100. Skip that division and the axis travels a hundred times the commanded distance; full step buys pulse-rate headroom and gives up microstep smoothness and command resolution.

Explainer
What decides closed-loop pneumatic position control of a load
Closed-loop pneumatic position control of a hanging 700 lb platen is decided by three measured numbers: a 24.8 psi balancing pressure on the 6 in bore, about 45 SCFM of free air for the 0.7 s move, and an air-spring natural frequency near 3 Hz that caps loop bandwidth. Hold all three and the axis can position and repeat; push past any one and gain changes only add oscillation.

Explainer
Servo control loops in the drive or the controller
Keep the current and speed loops in the servo drive, and close the position loop in the drive too. A position loop implemented in the controller runs no faster than the fastest task-class cycle, typically 1 to 10 ms, versus tens of microseconds in a modern drive — at 500 mm/s and 4 ms of delay that is already 2 mm of transport error. Default to drive-closed loops; move the loop into the controller only for slow, non-registration axes after measuring.

Troubleshooting
Why a timer-driven stepper pulse train delivers the wrong step count
The count that decides this fault is the pulses your drive accepts at its pulse input, not the ladder counter's value. A timer-and-counter generator usually fails because the counter increments on a different event than the single edge the drive counts as one step, or the pulse rung fires one extra scan after target. Compare commanded steps, PLC counter, input transitions and shaft motion, in that order.

Explainer
How spring-loaded thrust bearings share pump axial thrust
The spring pack on a boiler feed pump never takes over from the balance disc. It holds a small, constant preload on the angular contact pair so the shaft stays loaded in one direction while the disc's hydraulic thrust varies with flow and pressure. Set preload, bearing orientation and both shim groups from the pump's own assembly drawing and measure the specified end float.

Selection guide
Sizing a hydraulic pump brake for an auger test stand
A shaft-driven pump throttled by a continuously rated relief valve works as the auger brake. At 5000 N·m and 165 rpm the shaft delivers a calculated 86.4 kW, so displacement, valve and cooler must be selected as one heat-rejection system of about 90 kW for 1-2 h, with a torque transducer because pressure alone is not torque.

Troubleshooting
Seed drill linear actuator section control: position over timing
Measure the real slider travel before buying anything: the drill discussed here needs 60 mm per section, not the 80 mm first assumed. Stop each actuator on measured position — adjustable travel limits or endpoint switches — because a 10-second timed command proves only that the controller asked. Nineteen sections with two relays each need 38 channels: two 16-channel relay modules plus one 8-channel module.

How-to
Wire draw absolute encoder scaling by measured endpoints
Capture the raw Ethernet count with every scale disabled, record R1 at the machine's 0 in mark and R2 at its 150 in mark, and scale in the program that owns the connection: position = (raw count - R1) × 150 / (R2 - R1). The datasheet figures - 262144 counts per revolution and a 1073741824-count range - only predict a nominal span near 2,594,204 counts over 3810 mm; that prediction is a diagnostic check, not the scale factor.

Explainer
What it takes to read an absolute encoder into discrete PLC inputs
Yes — a bit-parallel absolute encoder connects directly to discrete PLC inputs, with no special card, once four checks pass: output voltage matches the input card, one input is free for every bit, the logic converts Gray code to binary where needed, and the shaft stays under the scan-time speed limit. Networked Ethernet or Modbus encoders need documented protocol support in the PLC first.

Troubleshooting
Troubleshooting servo drive zero torque in CiA 402 torque mode
A servo drive that runs in position mode but holds torque actual value 6077 at zero in torque mode is stopped at one of four gates: 6061 not echoing the 6060 write, statusword 6041 short of Operation enabled, torque limits 60E0 or 60E1 at zero, or an ESI revision mismatch loading the wrong object dictionary. Read them in that order and write 6060 from a single source.

Troubleshooting
Why a gantry pattern will not unload the sub spindle only
You cannot fake a fixed gantry pattern into an unload-only cycle: it chains a main-spindle load, and its interlock demands the main chuck open, which would let a bar through the spindle shift. The real routes are a standalone unload command if your manual documents one, a user-written gantry-side program where the control accepts editable robot programs, or a vendor pattern change, and the gripper must hold the part before the sub chuck opens.

Selection guide
PLC to stepper drive interface options: pulse train or stored moves
For a repeated forward-X, back-X/2 move, give the profile to an intelligent drive with stored moves and handshake it with plain PLC I/O; use a step-and-direction drive only when the PLC's pulse-output hardware supports the speed, ramping and interface. The scale is pulses for one millimetre of travel, P = S x M x G / L, and the forward pulse count must be divisible by two.