SINUMERIK 828D / 840D sl Tool Management DB Quick Reference: DB4300 Bits, DB9900/9901/9902 Tables and Transfer/Ack Steps

When you commission a tool changer on an 828D, connect a third-party magazine or write a machine-builder PLC, the one thing you need is a DB bit table you can read straight against the online monitor – and the official manual is a PDF that cannot be searched or deep-linked. This page collects the DB4300 job/acknowledgment bits, the DB9900/9901/9902 transfer tables and the transfer-to-acknowledgment step numbers into a searchable reference with row-level anchors. One high-frequency error corrected first: in DB9901 it is DBW0 that holds the step number, while DBW2 holds the actual magazine location written back for that step – "DBW2 = step number" is wrong. All addresses and step numbers are subject to the corresponding version of the official manual and your machine's actual configuration.

Sister article: SINUMERIK 828D Tool Management NC-PLC Interface Explained: DB4300 Job/Acknowledge and Change Steps; related: 828D User Alarm Bits: DB1600, 828D Extended User Alarms: DB9913, 828D PLC Programming Tool: FB1/FB2/OB100.

19.1 DB4300 bit field: NCK-to-PLC job / PLC-to-NCK acknowledgment

DB4300 bit field

DB43xx is the interface block numbered by channel/magazine (DB4300 is the first group). A tool change is a handshake: NCK issues the job, PLC performs the motion, PLC returns the acknowledgment – the PLC does not change tools on its own. Addresses below come from the 828D commissioning manual section 9.8 milling-machine example.

广告

Table 1 DB4300 (DB43xx) job/acknowledgment bit field

AddressTypeMeaningWriter / Reader
DBX0.0BOOLJob bit; 1 means NCK has issued a tool-change jobNCK writes / PLC reads
DBB1BYTECommand bitsNCK writes / PLC reads
DBX1.2BOOLPrepare changeNCK writes / PLC reads
DBX1.1BOOLExecute changeNCK writes / PLC reads
DBX1.3BOOLWhether the active tool in the spindle is to be removed (T0)NCK writes / PLC reads
DBX1.4BOOLNo old tool in the tool holderNCK writes / PLC reads
DBW6INTStart of the new-tool source / old-tool target location rangeNCK writes / PLC reads
DBW8INTOfficial 9.8 example: new-tool location (source); field reports also write “new tool number” – see 19.4NCK writes / PLC reads
DBW20INTOfficial 9.8 example: old-tool target location; easily misread on the second change with drum magazinesNCK writes / PLC reads
DBX33.6BOOLField-reported “1:1 exchange request flag” – not directly verified in the original manual; drum-magazine cases say it must stay Lowfield reports, use with care

Reading rule: the xx in DB43xx follows the channel, so first confirm which group you are monitoring. Bit meanings change with the magazine type (umbrella/chain/gripper/turret) – 19.1 is an interface framework, not a bit table to copy blindly.

19.2 DB9900 / DB9901 / DB9902: the three transfer tables

Three transfer tables

All three tables live on the PLC side and carry “step – magazine – location – acknowledgment” between tool management (TOOLMAN) and the PLC: DB9900 constant transfer table / DB9901 variable transfer table / DB9902 response table. They define all possible states of tools or magazines.

Table 2 DB9900 / DB9901 / DB9902 roles

TableNameStructure (per 828D manual 9.8 / field notes)Typical use
DB9900Constant transfer tableStep number + source magazine + source location + target magazine + target location; steps 1-64, from DBW0/DBW2/DBW4/DBW6Fixed location mapping
DB9901Variable transfer tableSame structure; steps 101-164, from DBW0/DBW2/DBW4/DBW6Variable location transfer during a change
DB9902Response tableStep number + step to acknowledge (new tool) + step to acknowledge (old tool) + status; from DBB0/DBB1/DBB2PLC reports “this step is done”

★ Correction: do not swap DBW0 and DBW2 in DB9901

  • The official 9.8 example states: the target location is read from DB4300.DBW8 and written to DB9901.DBW2 (transfer step 101); in the DB9901/DB9902 tables the step-number column is DBW0 (value 101, etc.).
  • So: DBW0 = step number (101); DBW2 = the actual location number (n not 0) written by the PLC for that step. Reading DBW2 as “the step number” misreads the column and is a common field misjudgment.
  • Column offsets differ slightly between manual versions – check section 9.8 of the manual for your own version.

The actual location write-back happens at DB9901.DBW2: the PLC writes the real magazine location after positioning, and TOOLMAN updates the magazine view from it.

19.3 ★ Transfer step number to acknowledgment step number

Transfer and acknowledgment steps

Every change step is a pair of “request step number + acknowledgment step number”. The table is taken from the 828D commissioning manual 9.8 milling-machine example, with row-level anchors for direct citation.

Table 3 Transfer steps to acknowledgment steps (example values, subject to your manual)

Request stepMeaningAcknowledgmentNote
101New-tool source location to change point (magazine positions at the new tool)Acknowledgment step 4, bit DB4200.DBX0.4DB4300.DBW8 written to DB9901.DBW2
204Old-tool-related transfer step (appears as the old-tool transfer number in the example)Paired with acknowledgment step 4Do not write the new-tool number here
324Step number often listed in field checklistsWarning: its independent definition was not directly verified in the official manual excerpt this roundCheck your own manual, do not copy
4Acknowledgment stepAcknowledged by DB4200.DBX0.4, sync or asyncReturned to TOOLMAN after positioning

Pairing rule: always read the transfer number and its acknowledgment together; when you see “step 4 acknowledged”, confirm whether it answers 101 or another request. The “step to acknowledge (new tool / old tool)” columns in DB9902 are the discriminator.

19.4 1:1 exchange versus two-step change: signal differences

1:1 exchange vs two-step change
  • 1:1 direct exchange: source location equals target location (new-tool source = old-tool target); the old tool is set down at the new tool’s location in one step. Common on gripper magazines.
  • Two-step change: source differs from target; the magazine first positions the old-tool location at the change point to set the old tool down, then brings the new tool to the spindle. Common on drum/umbrella magazines.
  • DBX33.6: field notes call it the 1:1 exchange request flag – drum magazines are reported to require it Low throughout. This bit was not directly verified in the original manual – check your own manual.
广告

Table 4 1:1 versus two-step criteria (per your magazine type)

Drum-magazine second-change trap: a field case (third-party compilation) reports that on the second change DBW8 and DBW20 were both written with the new-tool number, DBX33.6 toggled falsely and the event was misread as a 1:1 exchange; the reported root cause was the NCK tool-change state machine entering an unexpected state after the first change, and that changing MD22550 does not fix state tracking – MAG_CONF.MPF must be run to reinitialize. This is a field-reported case to cross-check against your own manual, not an original-manufacturer conclusion.

19.5 Related machine data index (what it governs only; no bit definitions)

Machine dataWhat it governs
MD22550 $MC_TOOL_CHANGE_MODETool-change mode / M-function enable; meaning varies with magazine type
MD18080 $MN_MM_TOOL_MANAGEMENT_MASKTool management function mask (bit-coded); related bits also in MD20310
MD22560 / MD22562Tool-change M function code (e.g. M206); values per machine
MD10715 / MD10716M code / subprogram name that calls the change subprogram (e.g. L6)
MD20310 $MC_TOOL_MANAGEMENT_MASKChannel-level tool management mask (T = location programming, PLC simulated acknowledge, etc.)
MD52270 $MCS_TM_FUNCTION_MASKTool management function mask (create tool, hide relocate, hide magazine positioning, etc.)

Table 5 Related machine data index (bit definitions vary by magazine type – check your own manual)

No hard-coded bit values: MD18080 / MD20310 / MD52270 are all bit-coded and their meanings vary by software version and magazine type. This page lists only “what it governs”; the specific bits are per your own manual.

19.6 Sources and compliance note

  • Sources: Siemens “SINUMERIK 828D Tool Management Function Manual” (A5E48765003F) and “SINUMERIK 828D Commissioning Manual” section 9.8 milling-machine example (publication 6FC5397-3DP40-5BA3).
  • Compiled by this site on 2026-11-19. Step numbers and bit definitions are subject to the official manual of the corresponding version; DBX33.6 and “DBW8 = new tool number” are field-reported claims, flagged individually and not original-manufacturer conclusions.
  • Compliance: interface definitions and step numbers are quoted for troubleshooting reference only; no manual body text is reproduced and no Toolbox image or download link is provided. For official software and manual entry points see related articles above.

Frequently Asked Questions

Which DB blocks must the PLC implement for 828D tool management, and what does each do?

The core is a DB43xx job/acknowledgment interface block (e.g. DB4300, the NCK-to-PLC handshake) plus three transfer tables: DB9900 constant transfer table, DB9901 variable transfer table and DB9902 response table. Addresses and bit definitions vary by magazine type and software version – check your own manual.

Where are the job bit and acknowledgment bit in DB4300?

The job bit is DBX0.0, and the command byte is DBB1 (including DBX1.2 prepare change and DBX1.1 execute change); PLC acknowledgment returns to tool management via bits such as DB4200.DBX0.x. The xx in DB43xx follows the channel, so confirm which group you are monitoring.

How do transfer step numbers pair with acknowledgment step numbers?

Transfer numbers (e.g. 101 new-tool positioning, 204 old-tool related) come in pairs with acknowledgment numbers; in the example acknowledgment step 4 is given by DB4200.DBX0.4. The “step to acknowledge (new tool / old tool)” columns in DB9902 are the discriminator. Warning: DBW0 in DB9901 is the step number and DBW2 is the written-back location – do not swap them; example step values are subject to your own manual.

Last updated: 2026-11-19

Beyond the DB quick reference: tool management NC-PLC interface explained

Where to go next

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

© 版权声明
THE END
喜欢就支持一下吧
点赞14赞赏 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容

CNC电气调试问题解答 | 数控机床电气工程师资料共享屋
CNC电气调试问题解答 | 数控机床电气工程师资料共享屋
CNC电气调试问题解答 | 数控机床电气工程师资料共享屋
CNC电气调试问题解答 | 数控机床电气工程师资料共享屋
CNC电气调试问题解答 | 数控机床电气工程师资料共享屋
CNC电气调试问题解答 | 数控机床电气工程师资料共享屋
图片-CNCShare | 数控电气技术中心
图片-CNCShare | 数控电气技术中心
图片-CNCShare | 数控电气技术中心
图片-CNCShare | 数控电气技术中心
图片-CNCShare | 数控电气技术中心
图片-CNCShare | 数控电气技术中心
SINUMERIK Servo Alarms 25000, 25010 and 25201: Which Layer to Troubleshoot First-CNCShare | 数控电气技术中心
828D / 840D sl 伺服报警 25000 / 25010 / 25201 怎么分层?先看 NC 报警还是 F 码-CNCShare | 数控电气技术中心
Mitsubishi MT Works2 / MR Configurator2: Official Download Path, Modules and Servo Parameters-CNCShare | 数控电气技术中心
三菱 MT Works2 / MR Configurator2 哪里下载?伺服调参上位机三大模块、怎么连 MR-J4/J5、能改哪些参数与三大下载坑-CNCShare | 数控电气技术中心
SINUMERIK 828D Tool Management NC-PLC Interface Explained: DB4300, Three Tables and the Drum-Magazine Wrong-Tool Case-CNCShare | 数控电气技术中心
SINUMERIK 828D 刀具管理 NC-PLC 接口详解:DB4300 任务/应答 + 三张表 + 换刀步骤与圆盘刀库取错刀号复盘-CNCShare | 数控电气技术中心
SINUMERIK 828D / 840D sl Tool Management DB Quick Reference: DB4300 Bits, DB9900/9901/9902 Tables and Transfer/Ack Steps-CNCShare | 数控电气技术中心
SINUMERIK 828D / 840D sl 刀具管理 DB 接口速查表:DB4300 位域 × DB9900/9901/9902 三表 × 传输/应答步骤号-CNCShare | 数控电气技术中心
FANUC M98 / M99 Subprogram Calls: P Numbers, Nesting Limits and How to Troubleshoot Alarms 076 / 077 / 078-CNCShare | 数控电气技术中心
FANUC M98 / M99 子程序怎么调用?P 号规则、嵌套上限与 076 / 077 / 078 三个报警怎么查-CNCShare | 数控电气技术中心
Inductive Proximity Switches for CNC Machines: NPN vs PNP vs NAMUR and Their Roles as Hard Limits, Reference Switches and Tool Presence Sensors-CNCShare | 数控电气技术中心
接近开关 NPN / PNP / NAMUR 到底怎么选怎么接?机床三大角色(硬限位 / 原点 / 刀位检测)的不同选法 + 常闭优先的失效安全 + 误动作四查-CNCShare | 数控电气技术中心
文章精选
专心做好一件事
打造更优雅的WordPress主题-CNCShare | 数控电气技术中心
专心做好一件事
打造更优雅的WordPress主题