Code 12300: [Channel %1: ] Block %2 call-by-reference parameter missing on subroutine call %3
Problembeschreibung & Sicherheitswarnung
Die Siemens SINUMERIK 840D CNC hat einen kritischen [Channel %1: ] Block %2 call-by-reference parameter missing on subroutine call %3-Alarm ausgelöst. Sofortige Aufmerksamkeit durch einen qualifizierten Bediener oder Wartungstechniker ist erforderlich, um Folgeschäden an der Ausrüstung oder verdorbene Teile während des Fertigungszyklus zu vermeiden. Stellen Sie immer sicher, dass standardmäßige Sicherheits- und LOTO-Verfahren befolgt werden, bevor Sie auf Schaltschränke zugreifen.
Offizielle Schritte zur Fehlerbehebung
Parameters: %1 = Channel number %2 = Block number, label %3 = Source string Definitions: In the subroutine definition, a formal REF parameter (call-by-reference parame ter) has been specified with no actual parameter assigned to it. The assignment takes place in the subroutine call on the basis of the position of the variable name and not on the basis of the name! Diagnostics Manual (DAsl), 03/2009 Example: Subroutine: (2 call-by-value parameters X and Y, 1 call-by-reference parameter Z) PROC XYZ (INT X, INT Y, VAR INT Z): M17 ENDPROC Main program: N10 DEF INT X N11 DEF INT Y N11 DEF INT Z: N50 XYZ (X, Y); REF parameter Z missing or N50 XYZ (X, Z); REF parameter Z missing! Reaction: Correction block is reorganized. Interface signals are set. Alarm display. Remedy: Press the NC Stop key and select the function "C orrection block" with the softkey PROGRAM CORRECT. The correction pointer positions on the incorrect block. Assign a variable to all REF parameters (call-by-r eference parameters) of the subroutine when calling. No variable must be assigned to "normal" formal parameters (call-by-value parameters), as these are defaulted with 0. Program Continuation: Clear alarm with NC ST ART or RESET key and continue the program.
Source: SINUMERIK 840D sl / 840Di sl / SINAMICS S120 Diagnostics Manual (DAsl, 03/2009)
Last reviewed: 2026-07-01 · Verified against the manufacturer’s official documentation.
Über Siemens SINUMERIK 840D CNC Alarme
Industriesteuerungen von Siemens verfügen über umfangreiche Diagnosesysteme zum Schutz der internen Schaltkreise und mechanischen Verbindungen. Wenn eine SINUMERIK 840D CNC einen Fehlercode wie 12300 ausgibt, deutet dies typischerweise auf eine Diskrepanz zwischen befohlenen Werten und tatsächlichem Sensor-Feedback hin.
Vollständige Alarmliste: 4014 Siemens SINUMERIK 840D CNC codes.
Have a better solution?
Help the industrial community by sharing your repair experience for code 12300.
Need a searchable reference for more Siemens SINUMERIK 840D CNC manuals?
We structure equipment manuals into searchable code, title, cause, solution, safety note, and source-reference data. Send a PDF and example searched codes when you need public pages, private search, or structured exports.
Space reserved for Google AdSense / Industrial Affiliate Links
Monetization target for 2026