Fanuc Tool Breakage Detection Without Extra Hardware: Spindle Load via PMC Window Function 153

On an unmanned production line, a broken tool that does not raise an alarm means scrap parts or a crash. A tool setter, vibration or acoustic-emission sensor all work – but cost money and machine modification. Fanuc already exposes spindle-motor load data inside the control; read it with the PMC window function and you can detect breakage and wear with zero added hardware.

Read the red line first: the D/R addresses and alarm numbers in published examples (D2000, D1070, D2148, R9000.1, OPM170, etc.) are addresses the authors allocated in their own ladder programs – they are not fixed Fanuc addresses. Copying them will fail. What is genuinely portable is the method, function code 153, parameter 4127 and the load formula; those agree across sources.

42.1 Three failure types have different load signatures

FailureLoad signatureDetection direction
Wear / chippingload rises progressively away from baselineupper-limit factor
Complete break (missing tool)load falls to roughly air-cut levelfixed lower limit
Partial breakair-cut before engagement, then an unstable spikepeak plus variation, multiple samples
广告

So the threshold must be two-sided: an upper limit alone misses the most common case, where the tool breaks and the load collapses. Sources stress that the air-cut load after breakage is not zero – it is the percentage corresponding to idle motor current. The trip point must sit between the maximum air-cut load and the minimum normal cutting load; if those bands overlap, the method cannot decide reliably.

Three failure types and the two-sided load limits

42.2 Why spindle load: no hardware, fast refresh, already in the control

  • Zero hardware cost: the load data is already in the CNC; the PMC just reads it.
  • Fast refresh: load tracks cutting force, sampled at second-level or faster – closer to real conditions than time-based tool changes.
  • Complements tool-life management: TM counts parts/time and changes on schedule but cannot know a tool broke mid-cycle; load detection fills that gap – see Fanuc tool life management (TM).

Caveat: on low-load operations (tapping, small-diameter finishing) the air-cut and cutting bands can be only a few percentage points apart, near the meter’s resolution. There, use a tool setter or external power monitor instead of forcing this method.

42.3 The core: PMC window function SUB51 WINDR, function code 153

Fanuc PMC reads/writes CNC data through the “window function”: read with SUB51 WINDR, write with WINDW. For spindle load, the control-data block contains:

Control fieldValueNote
Function code153read spindle-motor load (consistent across sources)
Data number N0first spindle
Data attribute0example value
Data length2 bytesunsigned binary
Destinatione.g. R2010 or R1212-R1213custom, not fixed

The slow window function needs more than two scan cycles; its enable must be turned off before the next read, otherwise you read stale values. The fast variant completes in one scan.

Load formula (consistent across sources):

Load(%) = (L / 32767) x lambda

where L is the 2-byte raw value and lambda is parameter 4127 (the spindle load meter’s full-scale display value, machine-specific). A published example with lambda=143 scales the result by 100 for the host PC and reads 301, giving a real load of 3.01%. Use your own machine’s parameter 4127, not someone else’s 143.

SUB51 window read of spindle load, end to end

42.4 Build the baseline: D data table and sampling

The idea is to teach the machine what “normal” looks like, then let it judge abnormalities:

  1. A panel toggle sets preset / monitor mode.
  2. Sample about once per second after spindle speed is reached – only inside a window where the cutter is actually engaged, not during acceleration, rapid traverse or air moves.
  3. Repeat sampling over many parts to cover material variation and early wear; one sample as a baseline produces many false alarms.
  4. Store samples in a D data table indexed by tool number. Table capacity, start address and table-internal number are planned in your own ladder; one example uses D0006=24 for capacity, D2000 as start address and index 0-23 for tools 1-24.

Consult your PMC programming manual for the data-table concept, byte structure and the ladder instruction numbers (XMOVB, COMP) used on your control series – instruction numbers differ between Fanuc PMC generations, so do not copy them from another machine.

42.5 Compare and update: COMP + XMOVB, do not invert the logic

  • COMP compares the current sample with the stored baseline and drives an internal relay (examples use an R9000.x address; yours will differ).
  • XMOVB moves data between the D table and the R work area by table index.

The single most damaging mistake: update the table only when the current value is GREATER than the baseline, so the higher value (wear trend) refreshes the baseline. If you invert it, an abnormal low value (air-cut after a break) poisons the baseline toward zero and every tool will false-alarm afterwards. Check the comparison direction first during commissioning.

42.6 Two-sided limits and alarm action

The upper limit is baseline x an upper-factor (an example stores 120, meaning 120% of baseline, in D2148); the fixed lower limit sits between air-cut and normal cutting load (example D2100). Never copy these numbers – measure the air-cut floor with the part removed, then record min/max cutting load over 10-20 parts and place the trip point between the bands.

On a limit breach: trigger feed hold (or a safe stop) and raise a clearly worded custom alarm stating which tool and what fault. Alarm numbers in examples (e.g. OPM170) are project-specific; check your machine’s alarm table. Add a 200-500 ms ON-delay and require the condition to persist within a defined cutting window so acceleration and entry/exit transients do not trigger it.

42.7 Three false-alarm sources and the fixes

广告
SourceSymptomFix
Material / stock variationsame tool load oscillatesmultiple samples, envelope, margin on upper limit, fixed sampling window
Air cut, no engagementload drops to idle, read as a breakgate sampling with an in-cut signal; use a sensible lower limit, not zero
Coolant impact / tool-change transientload spikeON-delay debounce; do not judge on spikes

Mandatory verification: remove a tool or fit a deliberately broken one and run the block; confirm the alarm appears at the expected point and feed actually holds. Then run several good parts with zero false alarms. A break-detection system that has never had a forced fault injected is a gamble.

Three false-alarm sources and their fixes

42.8 Where this fits with TM, tool setters and sensors

MethodBasisCostCatchesMisses
Load method (this article)deviation from baselineno hardware, ladder work onlybreak, chipping, wear trendlow-load operations, high material variation
Tool life management (TM)part/time countno hardware, built inscheduled replacement at end of lifeunexpected mid-cycle break
Tool setter / laserpost-cut measurement of length/diameterhardware costquantified break/wearin-process intervention
CT / vibration / acoustic emissionexternal signal featureshardware and integration costearly wear, fine chippingneeds site calibration, hard to tune

The usual answer is a combination: TM changes tools that reach their life, the load method stops immediately when a tool breaks early, and a tool setter spot-checks critical operations. See Fanuc tool life management and Fanuc servo load meter explained.

42.9 Commissioning checklist

  1. Confirm window-function instruction, control-data format and function code 153 in your PMC manual.
  2. Allocate free D area (control data + table) and R area (results + compare flags) in your ladder.
  3. Confirm parameter 4127 and write the load formula for your machine.
  4. Add the preset/monitor toggle and a sampling gate signal.
  5. Measure the air-cut floor.
  6. Sample normal cutting repeatedly to build the baseline table.
  7. Set two-sided limits from measured values.
  8. COMP + XMOVB – verify the “greater than updates” direction.
  9. Add debounce timer, feed hold, and a custom alarm text/number.
  10. Force a fault and verify, then confirm zero false alarms on good parts.

All addresses and alarm numbers are to be filled in from your own machine; the numbers here only illustrate the method.

Ten-step commissioning checklist

Frequently Asked Questions

How can I tell a tool broke without adding any sensor?

Fanuc already has spindle-motor load data. Read the raw 2-byte value with the PMC window function (SUB51 WINDR, function code 153) into an R area, convert to percent with Load(%) = L/32767 x parameter 4127, and compare with a pre-built baseline: a collapse toward the lower limit means a broken or missing tool, while exceeding the upper limit means wear or chipping. No extra hardware is needed.

How do I set the spindle-load threshold – what percent is abnormal?

There is no universal percentage. Measure the air-cut floor (same block, part removed, same speed and feed), then record min/max cutting load over 10-20 parts and put the trip point between the maximum air-cut load and the minimum cutting load. The upper limit is often a percentage factor of the baseline (an example uses 120%) and the lower limit is a fixed value between idle and normal cutting. If the two bands differ by only a few percent near the meter resolution, use a tool setter or external power monitor instead.

How does this differ from tool life management (TM), and which should I use?

TM changes tools on a part/time count – preventive, but blind to a mid-cycle break. The load method judges actual state and can catch breaks, chipping and wear trends. They are complementary: TM changes tools that reach their life on schedule, while the load method stops immediately when a tool breaks early; a tool setter can spot-check critical operations. TM setup is covered in the linked article.

Last updated: 2026-11-24

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: FANUC 怎么自动判断刀具断了?主轴负载 + PMC 窗口指令 153 + D 数据表:零硬件成本方案(含负载公式与误报对策)
The original Chinese version — same procedure, with the full field notes.
© 版权声明
THE END
喜欢就支持一下吧
点赞7赞赏 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容

CNC电气调试问题解答 | 数控机床电气工程师资料共享屋
CNC电气调试问题解答 | 数控机床电气工程师资料共享屋
CNC电气调试问题解答 | 数控机床电气工程师资料共享屋
CNC电气调试问题解答 | 数控机床电气工程师资料共享屋
CNC电气调试问题解答 | 数控机床电气工程师资料共享屋
CNC电气调试问题解答 | 数控机床电气工程师资料共享屋
图片-CNCShare | 数控电气技术中心
图片-CNCShare | 数控电气技术中心
图片-CNCShare | 数控电气技术中心
图片-CNCShare | 数控电气技术中心
图片-CNCShare | 数控电气技术中心
图片-CNCShare | 数控电气技术中心
FANUC Touchscreen / Display Unit Black or Flickering? A02B / A61L Part Numbers, 8 Faults and Replacement Steps-CNCShare | 数控电气技术中心
FANUC 触摸屏/显示单元黑屏、花屏、触摸失灵怎么修?A02B / A61L 件号怎么读 + 8 类故障速判 + 更换实操-CNCShare | 数控电气技术中心
海德汉 TNC 编程站(Programming Station)哪里下载?官方入口、版本对应、数字孪生与迁移到机床的完整流程-CNCShare | 数控电气技术中心
Fanuc G54.1 Additional Work Coordinates: P1-P48 / P1-P300, G10 L20, G52 and the Three PS0030 Boundaries-CNCShare | 数控电气技术中心
FANUC G54.1 附加工件坐标系怎么用?P1–P48 / P1–P300、G10 L20、G52 与 PS0030 三条边界-CNCShare | 数控电气技术中心
Fanuc Wire EDM / Sinker EDM: A-1ic Reverse Alarm Is Not Cutter Comp, and 317 Is an APC Battery-CNCShare | 数控电气技术中心
FANUC 线切割 / 电火花专机怎么修?A-1ic 反向报警真因不是刀补,317 是 APC 电池,接地门槛别照抄-CNCShare | 数控电气技术中心
Fanuc 16A/16B/18A/18B Legacy Machines: Alpha SVM/SPM Alarms and Obsolete Spare Strategy-CNCShare | 数控电气技术中心
FANUC 16A/16B/18A/18B 老系统伺服报警怎么查?Alpha 时代 SVM/SPM 放大器、报警对照与停产备件替代思路-CNCShare | 数控电气技术中心
Fanuc P/S Alarm 5560 and Beyond: PS5560, the 45xx Macro Family and the Official PS5523 Route-CNCShare | 数控电气技术中心
FANUC P/S 报警 5560 以后怎么查?中文补齐:PS5560 两种现场文本、45xx 宏调用族、PS5523 官方上报路径-CNCShare | 数控电气技术中心
Fanuc Tool Breakage Detection Without Extra Hardware: Spindle Load via PMC Window Function 153-CNCShare | 数控电气技术中心
文章精选
专心做好一件事
打造更优雅的WordPress主题-CNCShare | 数控电气技术中心
专心做好一件事
打造更优雅的WordPress主题