12367

Bad base in format

Fanuc · R-30iA R-30iB Controller

What does 12367 mean?

An invalid or unrecognized numeric base was specified within a format string during an I/O operation (e.g., for numeric conversions to or from strings). This IO_STATUS error typically occurs when parsing or formatting data, indicating a syntax error in the format specification. The program will abort if the file_id is invalid.

Common Causes

  • An incorrect or unsupported numeric base (e.g., binary, octal, hexadecimal, decimal) was specified in a format string within the KAREL program.
  • A syntax error exists in the format string used for an I/O operation, leading to misinterpretation of the base.
  • The file_id used does not correspond to a valid opened file.

Repair Steps

  1. 1

    Review the format string used in the KAREL I/O operation to ensure a valid numeric base is specified (e.g., 'H' for hexadecimal, 'D' for decimal).

  2. 2

    Correct any syntax errors within the format string, paying close attention to character placement and delimiters.

  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