Overview: Why Home Position Matters on Motoman Robots
Every Motoman (Yaskawa) articulated robot stores its absolute mechanical zero in a multi-turn absolute encoder backed by a backup battery. When the absolute pulse counter (APOS) data is lost - typically after encoder battery depletion, an S-axis, L-axis, U-axis, R-axis, B-axis, or T-axis motor swap, or a controlled-power-down longer than the controller's battery retention window - the controller raises a "3170 Absolute Data Lost" or similar alarm and refuses to enter play mode until the affected axis is re-mastered.
Home position calibration (also called "absolute reset," "mastering," or "zeroing") re-establishes the relationship between the motor shaft pulse count and the mechanical alignment marks. The Yaskawa Motoman ecosystem offers three escalating accuracy tiers:
- Mechanical arrow alignment - using the cast alignment marks and red arrow stickers on each axis joint.
- Per-model mastering pin / knockout pin set - mechanical fixtures that constrain the axis to a precise datum, used when red arrows alone are unreliable.
- MotoCalV-EG / MOTOCAL software-based calibration - computer-assisted absolute accuracy correction, TCP measurement, and cell-level compensation.
Absolute Encoder System and Pulse-Count Drift
Each Yaskawa Sigma-series servo used in Motoman robots contains a 20-bit single-turn resolver plus a multi-turn counter. The multi-turn counter is sustained by a 3.6 V lithium backup battery pack (commonly ER14505 or a 2-cell equivalent, located inside the manipulator base or inside the battery box on the controller cabinet door, depending on the generation). Typical retention is rated for approximately 5 years with the controller powered off, but ambient temperature above 45 °C and shorted cells can collapse this to under one year.
After a battery event, the operator typically sets the home position by manually aligning the red arrows, then selecting ROBOT → HOME POSITION and writing the new pulse count. Field observation shows that even when the arrows are perfectly lined up, the recorded pulse value for the same axis can vary by several counts between attempts if the battery has not been replaced first. The root cause is residual charge in the backup circuit: the absolute counter is latching a non-zero offset each time power is removed. The corrective action is always replace the absolute-data backup battery first, then perform mastering - never the other way around.
Typical Pulse Value Drift Symptoms
| Symptom | Likely Cause | Action |
|---|---|---|
| APOS value shifts by 1-5 counts between successive mastering attempts | Weak or partially discharged backup battery | Replace battery, re-master |
| APOS value shifts by 50-500 counts and the red arrow does not reach the cast mark | Mechanical flex in the joint, backlash, or stamped arrow mis-located on a serviced unit | Use mastering pin set or consult MOTOCAL |
| Alarm 3170 (Absolute Data Lost) on one axis only | Encoder cable or connector fault on that axis | Inspect cable, then re-master |
| Alarm 3170 on all axes after long shutdown | Centralized battery discharged | Replace battery, re-master all axes in sequence |
Mechanical Mastering: Red Arrow Alignment Method
The red arrow method is the factory-default mastering technique and is documented in the controller's operator manual. It is also the method most often performed first on a service call because it requires no special tooling beyond a standard teach pendant and a 6 mm hex key for unlocking the brakes.
Step-by-Step Red Arrow Procedure (DX200 / FS100 / YRC1000)
- Place the controller in TEACH mode and select
ROBOTon the main menu, thenHOME POSITIONto open the HOME POSITIONING window. Confirm the menu path on the knowledge base article: Home Position Calibration - Yaskawa Knowledge Center. - For each affected axis, release the brake using the pendant's
ENABLE+ axis-direction deadman and manually rotate the joint until the painted red arrow on the arm lines up with the cast (machined) reference arrow on the next link. - Once aligned, press
MODIFY(DX200 / FS100) orEDIT(YRC1000) to overwrite the absolute pulse data. The controller will display a confirmation prompt. - Cycle controller power. The 3170 alarm should clear and the robot should re-enter PLAY mode.
ROBOT → HOME POSITION → select the individual axis, as shown in the Yaskawa KB article DX200 - How To Set Home Position For An Individual Axis. For HC-series controllers, an additional "Second Home Position" can be defined to carry a tool number alongside positional data, allowing the controller to switch payload transforms automatically. See HC Series Second Home Position - Yaskawa Knowledge Center.Mechanical Mastering: Per-Model Pin and Jig Sets
Red arrow alignment is only as accurate as the stamped paint line. On units that have been overhauled, repainted, or where the arrow sticker has migrated out of the casting recess, the visible arrow is not trustworthy. Motoman therefore offers model-specific mastering pin sets that mechanically constrain the joint to a datum machined into the link itself, independent of paint.
Tooling Scope by Series (Reference: Service Manual Set)
| Robot Series | Pin Count | Jig Count | Knockout Pin Count | Notes |
|---|---|---|---|---|
| UP165 (and similar payload class) | 1 | 2 | 2 | Single mastering pin, plus two locating jigs and two knockout pins for S/U axes |
| UP200 (and similar higher-payload class) | 3 | 2 | 2 | Three pins required for S, L, U - jigs and knockout pins for fine alignment |
| MH / HP / GP series (6-axis, payload 6-800 kg) | Series-specific | Series-specific | Series-specific | Tooling unique per payload class - cross-fit is not possible |
| HC-series collaborative (10-20 kg) | Not required | Not required | Not required | Absolute data is recovered via internal sensor / software function, not a pin |
When to Use the Pin Method
- The red arrow paint is damaged, repainted, or missing.
- Multiple absolute data lost events have occurred on the same axis within 12 months (indicates the pin is the only reliable datum).
- A motor swap has been performed - the S-axis absolute count must match the new encoder's first-turn zero to within ±1 count.
- The joint was disassembled for a harmonic-drive replacement.
Sensor-Based Zeroing (Factory-Option)
Yaskawa offers a sensor-based zeroing function on certain robot models. A limit or proximity sensor is mounted to the link and detects a reference feature (lug, boss, or flag) on the adjacent link as the axis rotates. The robot's jog routine drives the axis through the sensor transition, and the controller rewrites the absolute data automatically. This is the closest functional equivalent to KUKA's Electronic Mastering tool.
Crucially, this sensor is not a field-installable upgrade. The sensor bracket is part of the link casting, and the cable routing is pre-engineered with the controller harness. If a robot was ordered without the zeroing option, the castings, cable channels, and software parameters required are absent. Retrofit is not supported. Order the option at the time of purchase if the application involves frequent motor swaps, battery service, or field-recoverable error conditions.
MotoCalV-EG Software Calibration
For applications requiring absolute positioning accuracy better than ±0.5 mm at the TCP, or for cells where mechanical arrow drift cannot be eliminated, Motoman provides the Robot Calibration Software - MotoCalV-EG toolset. The "EG" suffix denotes the Enhanced Graphics / Ethernet Generation release that communicates with the controller over Ethernet rather than the legacy RS-232 maintenance port.
MotoCalV-EG bundles five calibration utilities that improve absolute positioning accuracy, tool center point (TCP) data, and base-frame alignment:
- Leveling calibration - corrects base-frame tilt when the robot is mounted on a non-ideal surface.
- Zero-point master calibration - rewrites the absolute pulse counts for all six axes in a single coordinated procedure, eliminating the per-axis drift issue observed with arrow-only mastering.
- TCP / tool-frame calibration - measures each tool's XYZ and orientation to sub-millimeter accuracy using a 4- or 5-point reference procedure.
- Payload identification - runs an automatic inertia routine to characterize the mass, CoG, and moments of inertia of the current end-effector + workpiece, and writes these into the controller's payload table.
- Cell-level kinematic compensation - applies a DH-parameter correction map that improves absolute accuracy throughout the working envelope, not just at the home position.
192.168.1.X/24 on the maintenance interface, or a configured port in the controller's FC91 setup).HC-Series Second Home Position
For HC-series (collaborative) controllers, the home position is supplemented by a "Second Home Position" that pairs a positional datum with a tool number. When the operator commands FORWARD to the Second Home Position, the controller moves to the stored configuration and automatically applies the corresponding tool frame, user frame, and payload parameters. This is documented in HC Series Second Home Position - Yaskawa Knowledge Center and is intended for collaborative cells that swap between two tooling configurations without operator intervention.
The Second Home Position is also affected by absolute data loss. If the master pulse data is corrupted, the Second Home Position must be re-taught after the underlying home position is re-mastered - the controller will not re-derive one from the other.
Troubleshooting Matrix
| Alarm / Symptom | Affected Hardware | Root Cause | Recommended Action |
|---|---|---|---|
| 3170 Absolute Data Lost (single axis) | One servo / encoder | Battery on that axis, encoder cable, or motor swap | Replace battery, inspect cable, re-master that axis with red arrow or pin |
| 3170 on all axes | Central battery | Discharged central battery pack | Replace battery, re-master all axes in S→L→U→R→B→T order |
| 4110 Servo Tracking Error during manual mastering | Joint mechanics | Axis driven past mechanical limit without releasing brake, or jammed harmonic drive | Reverse direction, verify brake release current, free joint manually |
| APOS pulse value varies between mastering attempts | Battery circuit | Battery not replaced before mastering | Replace battery, wait 5 minutes for capacitor discharge, re-master |
| Cannot re-master in PLAY mode | Mode / safety | Mastering requires TEACH mode and specific enable sequence | Switch to TEACH, enable deadman, retry |
| Mastered position drifts over hours/days | Encoder, cable, EMI | Loose encoder connector, broken conductor, or VFD-induced EMI | Tighten connectors, replace cable, segregate from VFD cabling |
Safety Considerations During Mastering
Mastering is performed with the brake released, the joint driven by hand, and the controller in TEACH mode. The following constraints are non-negotiable:
- Verify the work envelope is clear of personnel. A free-spinning axis can pinch or strike a hand caught in the joint.
- Lock out energy to end-effectors and external axes. A gripper closing during mastering is a common cause of finger injuries.
- Use the hold-to-run / deadman switch as a fail-safe. If anything unexpected occurs, releasing the deadman will engage the brake.
- Never bypass a 3170 alarm with a software tool or by writing a "known good" pulse value from a backup. The encoder is the source of truth.
Verification Procedure After Re-Mastering
- Cycle controller power; confirm no alarms on startup.
- In TEACH mode, jog the robot to a known reference fixture (a dowel pin in a master plate is standard) and record the X/Y/Z position. The values should match the as-built reference within ±0.1 mm for high-accuracy cells.
- Command a
HOMEmove from PLAY mode. The robot should move smoothly to the calibrated zero without audible cogging or servo following errors. - Run a representative production program for at least 30 minutes to confirm thermal stability - harmonic drive backlash shifts with temperature, and a hot robot's home position can differ by 1-2 encoder counts from a cold robot.
- Save a backup of the controller image (all + parameters) to external media. This is the post-mastering reference; if a second mastering is required in the future, the saved pulse values are a useful sanity check.
FAQ
Does Motoman have an equivalent of KUKA's Electronic Mastering tool?
Yes, but only as a factory-ordered option. Yaskawa's sensor-based zeroing function is installed at robot manufacture and uses a sensor mounted to each axis to detect a reference feature during a controlled jog. It cannot be retrofitted to a robot that was not ordered with the option.
What alarm indicates lost absolute encoder data on a Motoman robot?
Alarm code 3170 "Absolute Data Lost" appears when the multi-turn counter is no longer trustworthy - typically after backup-battery depletion, a motor swap, or a long uncontrolled power-down. The affected axis is identified in the alarm detail line.
Why does the recorded APOS pulse value change between mastering attempts?
If the absolute-data backup battery has not been replaced first, residual charge in the backup circuit latches a non-zero offset on each power cycle, causing the same mechanically-aligned home position to read different counts. Always replace the backup battery before re-mastering, then wait approximately five minutes for the bulk capacitor on the absolute-data board to discharge.
What tools are required to master a UP165 versus a UP200?
The UP165 service procedure requires one mastering pin, two locating jigs, and two knockout pins. The UP200 requires three mastering pins, two locating jigs, and two knockout pins. Tooling is model-specific and not cross-compatible between these two payload classes.
What is MotoCalV-EG and when is it preferred over the red arrow method?
MotoCalV-EG is Yaskawa Motoman's software-based calibration suite, available on the product page at motoman.com/robot-calibration. It bundles five utilities for leveling, zero-point mastering, TCP, payload identification, and cell-level kinematic compensation. It is the preferred method when sub-millimeter absolute accuracy is required, when the mechanical arrow marks are damaged or repainted, or when a coordinated multi-axis re-master is needed after a major service event.