12333
Illegal ASCII string for read
Fanuc · R-30iA R-30iB Controller
What does 12333 mean?
An attempt to read an ASCII string from a file encountered invalid or malformed data that does not conform to the expected ASCII string format. This IO_STATUS error signifies data corruption or an incorrect file format when attempting string conversion. The program will abort if the file_id is invalid.
Common Causes
- The file contains non-ASCII characters or binary data where an ASCII string is expected by the read function.
- The string data in the file is malformed, truncated, or lacks proper terminators.
- The file_id used does not correspond to a valid opened file.
Repair Steps
- 1
Examine the contents of the data file using a text editor or hexadecimal viewer to verify the ASCII string format.
- 2
Ensure the KAREL read operation is targeting the correct data type (e.g., STRING) for the file content.
- 3
Use the KAREL command READ file_id(cr) to clear any existing IO_STATUS error condition.
Verified technical data. Last updated: March 2026
Source: Fanuc R-30iA R-30iB Controller