SINUMERIK Measuring Cycles Explained: MEAS / MEAW Mechanics, CYCLE971-998 Library, and How They Differ from FANUC G31 (828D / 840D sl)

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.

MEAS is an interpolation attribute not a standalone G-code

56A.2 MEAS syntax and rising / falling edges

FormMeaningTypical use
MEAS=1probe 1, rising edgestandard touching, edge finding
MEAS=-1probe 1, falling edgetake the point when leaving the workpiece
MEAS=2 / MEAS=-2probe 2, rising / falling edgedual-probe systems
MEAW=1probe 1, finish remaining travel after triggerwhen 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.

MEAS versus MEAW post-trigger behaviour

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)

CyclePurposeNote
CYCLE971Milling probe calibration and tool measurementcommon entry point
CYCLE972Tool setter calibration, turning tool measurementofficially superseded by CYCLE982
CYCLE973Calibrate workpiece probe at a reference slot or surfacecalibration stage
CYCLE977Hole / boss measurementworkpiece measurement
CYCLE978Plane / edge measurementworkpiece measurement
CYCLE982Calibrate tool setter and toolssupersedes CYCLE972
CYCLE9983D alignment of planes and edgesspatial 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

BrandTrigger mechanismResult read fromSystem character
FANUCG31 jump command (can stand alone as a motion command)#5061-#506n macro variablesoften paired with O9000 macro chains
HeidenhainTCH PROBE cyclescycle parameters / Q parametersiTNC530 uses MP, TNC640 uses Cfg
SINUMERIKMEAS interpolation attribute$AA_MM[axis] and other system variablesbuilt-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.

广告
Three-brand measurement system comparison

56A.6 Six pitfalls: override, probe number, edge direction

  1. Override off 100%: keep feed override at 100% during measuring cycles, otherwise speed and trigger criteria diverge and readings drift.
  2. Wrong probe number: MEAS=1 and MEAS=2 map to different inputs; wiring on input 2 but writing 1 means no signal is ever seen.
  3. Wrong edge direction: hardware outputs a rising edge, program writes a negative value – the trigger is never captured.
  4. MEAS / MEAW mixed up: using MEAS where the probe must exit an interference zone leaves it trapped in the cavity.
  5. Cycle option inactive: the cycle number is programmed but the option is not installed on the machine – alarm or skip.
  6. Variable version differences: $AA_MM and 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:

  1. Confirm probe wiring and the signal input number (matching the programmed probe number).
  2. Calibrate with CYCLE973 / CYCLE971 and confirm the trigger edge direction.
  3. Single-block test MEAS=1 G1 Z-50 F300; observe the trigger point and the system variable reading.
  4. Switch to MEAW where the probe must clear an interference zone.
  5. Move on to CYCLE977 / 978 / 998 for part measurement and 3D compensation.
  6. Keep override at 100% throughout; back up before changing parameters.
Six-step measurement implementation order

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

Read the guide, get the right instrument, or walk the diagnosis through with someone — pick whichever you need.

Also available in Chinese: 西门子 SINUMERIK 测量循环怎么用?MEAS / MEAW 底层机制 + CYCLE971–998 循环库 + 与 FANUC G31 的本质区别(828D / 840D sl)
The original Chinese version — same procedure, with the full field notes.
© 版权声明
THE END
喜欢就支持一下吧
点赞14赞赏分享
评论 抢沙发

请登录后发表评论

    暂无评论内容

CNC电气调试问题解答 | 数控机床电气工程师资料共享屋
CNC电气调试问题解答 | 数控机床电气工程师资料共享屋
CNC电气调试问题解答 | 数控机床电气工程师资料共享屋
CNC电气调试问题解答 | 数控机床电气工程师资料共享屋
CNC电气调试问题解答 | 数控机床电气工程师资料共享屋
CNC电气调试问题解答 | 数控机床电气工程师资料共享屋
图片-CNCShare | 数控电气技术中心
图片-CNCShare | 数控电气技术中心
图片-CNCShare | 数控电气技术中心
图片-CNCShare | 数控电气技术中心
图片-CNCShare | 数控电气技术中心
图片-CNCShare | 数控电气技术中心
机床强电故障三件套:接触器吸合不上 / 空开跳闸 / 热继误动作——逐级排查顺序 + 判据 + 与 CNC 侧报警的对应关系-CNCShare | 数控电气技术中心
FANUC Tool Life Management (TM) Advanced: Three Counting Methods, Sibling-Tool Rotation, Expiry Alarms, PMC Interlocks and the O9001 Macro-CNCShare | 数控电气技术中心
FANUC 刀具寿命管理(TM)进阶:按时间/次数/件数三种计数 + 刀组与兄弟刀轮换 + 寿命到期报警与 PMC 联动 + 换刀宏 O9001 配合(8132#0 / 6800 / 13203)-CNCShare | 数控电气技术中心
FANUC 4th Axis / Rotary Axis Advanced Diagnostics: FSSB Allocation, Axis Parameters, Gear Ratio, Homing, Five Fault States and Acceptance Checks-CNCShare | 数控电气技术中心
FANUC 第四轴/旋转轴追加配置进阶:FSSB 轴分配 + 1023/987 轴数 + 伺服初始化 + 2084/2085 齿轮比 + 回零设定 + 五种故障态与五项验收-CNCShare | 数控电气技术中心
数控机床电气调试从零怎么做?上电前十项接线检查 + 相序/接地/绝缘判据 + 逐级上电顺序 + 十大高频接线错误整改-CNCShare | 数控电气技术中心
SINUMERIK Measuring Cycles Explained: MEAS / MEAW Mechanics, CYCLE971-998 Library, and How They Differ from FANUC G31 (828D / 840D sl)-CNCShare | 数控电气技术中心
西门子 SINUMERIK 测量循环怎么用?MEAS / MEAW 底层机制 + CYCLE971–998 循环库 + 与 FANUC G31 的本质区别(828D / 840D sl)-CNCShare | 数控电气技术中心
SINUMERIK 828D vs 840D sl: Same Panel, Different Core - PLC (S7-200 vs S7-300 Instruction Set), Hardware Architecture, S120 Drive Interchangeability and Spare-Parts Checklist-CNCShare | 数控电气技术中心
SINUMERIK 828D 和 840D sl 到底差在哪?面板一样、内核完全不同:PLC(S7-200 指令组 vs S7-300 指令组)、硬件架构、S120 驱动通用性与选型备件清单-CNCShare | 数控电气技术中心
Third-Party Servo Alarm Code Cross-Brand Reverse-Lookup Matrix: Mitsubishi AL / Yaskawa A / Delta AL / Inovance Er / Panasonic Err - Five Categories x Five Brands (Printable)-CNCShare | 数控电气技术中心
第三方伺服报警码跨品牌反查总表:三菱 AL / 安川 A / 台达 AL / 汇川 Er / 松下 Err — 过流·过载·编码器·母线·通讯五类 × 五品牌矩阵(可打印)-CNCShare | 数控电气技术中心
文章精选
专心做好一件事
打造更优雅的WordPress主题-CNCShare | 数控电气技术中心
专心做好一件事
打造更优雅的WordPress主题