12328

File is not opened

Fanuc · R-30iA R-30iB Controller

What does 12328 mean?

An attempted file operation failed because the specified file_id does not correspond to an opened file or one of the pre-defined files (CRT/KB, teach pendant, vision windows). This IO_STATUS error indicates an attempt to perform an operation on an inactive or non-existent file context. The program will abort if the file_id is invalid.

Common Causes

  • Attempting to perform an operation on a file that has not been explicitly opened using a KAREL file command.
  • The file_id used in the operation does not reference a currently active or valid pre-defined file.
  • A previous file operation might have failed, leaving the file in an un-opened state.

Repair Steps

  1. 1

    Verify that the file corresponding to file_id has been successfully opened before attempting any subsequent read/write operations.

  2. 2

    Ensure the file_id refers to a valid pre-defined file (e.g., CRT, KB, teach pendant window).

  3. 3

    Use the KAREL command READ file_id(cr) to clear any existing IO_STATUS error condition.

Browse all codes in this manual (31)
Verified technical data. Last updated: March 2026
Source: Fanuc R-30iA R-30iB Controller