KUKA Robot codes
KUKA RobotSystemBasic

KRC0978

KUKA Robot KRC0978 - NO FILE NAME SPECIFIED 2315

NO FILE NAME SPECIFIED 2315

This alarm indicates that a file operation was attempted without specifying a valid filename. The system cannot proceed with the requested file access, read, write, or manipulation operation because the filename parameter is missing or empty. This typically occurs in KRL programs when file I/O functions are called with null or undefined filename arguments.

Common Causes

  • Filename variable or parameter was not initialized before being passed to a file operation function
  • String variable containing the filename is empty or contains only whitespace characters
  • File path was constructed incorrectly or concatenated with an empty string variable
  • Function call missing the required filename argument or passed a null/void reference
  • Incorrect use of file I/O API where the filename parameter was omitted

Troubleshooting Steps

  1. 1Review the KRL program source code around the file operation that triggered the alarm and verify all filename variables are properly declared and initialized
  2. 2Check that all string variables used as filenames contain valid non-empty values before passing them to file functions
  3. 3Verify the complete file path syntax is correct and includes the directory structure and file extension (e.g., '/PATH/filename.txt')
  4. 4Ensure all required parameters are being passed to the file I/O function call in the correct order
  5. 5Add debug output statements to log the filename variable value before the file operation to confirm it is not empty or null
  6. 6Consult the KUKA KRL documentation for the specific file I/O function being used and confirm proper argument requirements and syntax

Seeing Multiple Alarms?

Seeing another alarm with this one? Enter the code.

Get machine-aware diagnosis

AxisMD logs alarms against your actual machines, tracks patterns, and gives AI context your manual doesn't have.

Start free

Was this guide helpful?

Always verify with your machine manual or a certified technician before performing service procedures.