56A.1 No G31 here: MEAS is an interpolation attribute
Start by correcting a common assumption: on SINUMERIK you will not find a standalone jump G-code used exactly like FANUC G31. The probe-trigger interface is the MEAS measuring function. It is not an independent motion command but an attribute attached to an interpolation command such as G1 – during interpolation it watches the probe input, and when the signal arrives it deletes the remaining travel and records the position.
Standard form: MEAS=1 G1 Z-50 F300 – use probe 1, detect the rising edge, feed toward Z-50, stop and record on contact.
The system has two layers: the MEAS / MEAW bottom layer listens for the trigger, and the CYCLE971-998 measuring cycle library handles calibration, measurement and compensation end to end. The cycles ship built in (comparable to Mitsubishi NAVI MILL), so no external macro package is required.

56A.2 MEAS syntax and rising / falling edges
| Form | Meaning | Typical use |
|---|---|---|
MEAS=1 | probe 1, rising edge | standard touching, edge finding |
MEAS=-1 | probe 1, falling edge | take the point when leaving the workpiece |
MEAS=2 / MEAS=-2 | probe 2, rising / falling edge | dual-probe systems |
MEAW=1 | probe 1, finish remaining travel after trigger | when the probe must exit an interference zone |
The programmed edge must match the actual probe output: if the device outputs a rising edge but the program writes -1, the control waits for a falling edge and never captures the trigger. The edge sign is written in the program; the output is hardware behaviour; they must align first time.
Trigger positions are read through system variables (such as $AA_MM[axis] machine-coordinate actual values – confirm variable names against your version manual); tool compensation data lives in variables such as $TC_DP6. This is a different system from FANUC, which places trigger coordinates in macro variables #5061-#506n.
56A.3 MEAW vs MEAS: stop at the trigger or finish the path
This is the key choice:
- MEAS: deletes the remaining travel and stops as soon as the probe triggers. Right for routine measurement – touch, stop, read.
- MEAW: keeps the remaining travel and continues to the programmed endpoint after the trigger. Right for exiting an interference zone – for example measuring the bottom of a deep cavity, where stopping at the trigger leaves the probe trapped in the pocket.
Memory hook: MEAS deletes the remaining travel, MEAW does not. Choosing wrong produces no alarm; the probe simply stops where you did not want it – at best a shifted reading, at worst a probe damaged by being dragged inside the cavity.
Extended functions MEASA / MEAWA / MEAC are options in some software versions (for example from SW4) supporting multiple trigger events and continuous measurement. Availability depends on the machine options; do not assume they are installed.

56A.4 CYCLE971-998 measuring cycle library by category
Table 56A-1 Common measuring cycles by purpose (confirm against your cycle manual and option status)
| Cycle | Purpose | Note |
|---|---|---|
| CYCLE971 | Milling probe calibration and tool measurement | common entry point |
| CYCLE972 | Tool setter calibration, turning tool measurement | officially superseded by CYCLE982 |
| CYCLE973 | Calibrate workpiece probe at a reference slot or surface | calibration stage |
| CYCLE977 | Hole / boss measurement | workpiece measurement |
| CYCLE978 | Plane / edge measurement | workpiece measurement |
| CYCLE982 | Calibrate tool setter and tools | supersedes CYCLE972 |
| CYCLE998 | 3D alignment of planes and edges | spatial compensation |
The library covers probe calibration, workpiece measurement and 3D compensation end to end. Note that two routes coexist: Renishaw L98xx macros plus native Siemens cycles, or Renishaw GoProbe for Siemens using L9921 with R0=21/22/23 calling subprograms. Decide which route first – the call entry and result-return locations differ.
56A.5 Cross-brand mapping: FANUC G31 / Heidenhain TCH PROBE vs Siemens MEAS
| Brand | Trigger mechanism | Result read from | System character |
|---|---|---|---|
| FANUC | G31 jump command (can stand alone as a motion command) | #5061-#506n macro variables | often paired with O9000 macro chains |
| Heidenhain | TCH PROBE cycles | cycle parameters / Q parameters | iTNC530 uses MP, TNC640 uses Cfg |
| SINUMERIK | MEAS interpolation attribute | $AA_MM[axis] and other system variables | built-in CYCLE971-998 library |
For FANUC tool setter calibration see Fanuc Tool Setter / Probe Calibration; for Heidenhain see Heidenhain Touch Probe Calibration; for parameter-location differences across three controls see SINUMERIK 828D / 840D sl vs FANUC vs Mitsubishi M80 Parameter Cross-Reference.

56A.6 Six pitfalls: override, probe number, edge direction
- Override off 100%: keep feed override at 100% during measuring cycles, otherwise speed and trigger criteria diverge and readings drift.
- Wrong probe number:
MEAS=1andMEAS=2map to different inputs; wiring on input 2 but writing 1 means no signal is ever seen. - Wrong edge direction: hardware outputs a rising edge, program writes a negative value – the trigger is never captured.
- MEAS / MEAW mixed up: using MEAS where the probe must exit an interference zone leaves it trapped in the cavity.
- Cycle option inactive: the cycle number is programmed but the option is not installed on the machine – alarm or skip.
- Variable version differences:
$AA_MMand axis position variable syntax vary by software version; copying another machine’s program can read the wrong coordinate.
Verify any measuring program in dry run or at reduced feed first, and back up parameters and tool offsets before running. Return override to 100% for the actual measurement.
56A.7 Implementation order: from calibration to part measurement
Work in this order so problems localise easily:
- Confirm probe wiring and the signal input number (matching the programmed probe number).
- Calibrate with CYCLE973 / CYCLE971 and confirm the trigger edge direction.
- Single-block test
MEAS=1 G1 Z-50 F300; observe the trigger point and the system variable reading. - Switch to MEAW where the probe must clear an interference zone.
- Move on to CYCLE977 / 978 / 998 for part measurement and 3D compensation.
- Keep override at 100% throughout; back up before changing parameters.

Frequently Asked Questions
Can MEAS stand alone as a motion line?
No. It must be paired with an interpolation command such as G1 and listens for the probe during interpolation. This differs from FANUC G31, which can act as a standalone jump command.
How do I choose between MEAS and MEAW?
Use MEAS when you need an immediate stop at the trigger (routine measurement). Use MEAW when you need to finish the path and exit an interference zone. Memory hook: MEAS deletes the remaining travel, MEAW does not.
Does the 828D support CYCLE971?
The 828D and 840D sl cycle interfaces are broadly consistent, but availability depends on the machine software version and installed options. Confirm against your own manual. CYCLE972 is officially superseded by CYCLE982.
Last updated: 2026-12-03
Where to go next
- FANUC Troubleshooting — the full guide library: alarms, diagnosis numbers, servo, spindle, PMC and electrical faults, organised by symptom.
- CNC Repair Tools — which instrument measures what: multimeters, clamp meters, insulation testers and oscilloscopes, with the specification that actually matters.
- Remote Technical Support — have the readings reviewed with you: alarm reverse lookup, PMC ladder analysis and servo tuning advice by call. Repair companies and integrators welcome.
- Buying & Ownership Decisions — refurbished vs new, used-machine checks, software licensing and manuals: spend with the field facts in hand.
Read the guide, get the right instrument, or walk the diagnosis through with someone — pick whichever you need.
The original Chinese version — same procedure, with the full field notes.







































暂无评论内容