Fanuc R-30iA R-30iB Controller

31 fault codes documented

12328

File is not opened

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.

12329

Cannot write the variable

An attempt to write a KAREL program variable to an opened file failed. This IO_STATUS error indicates a problem during the variable writing process, possibly due to data incompatibility or file access issues. The program will abort if the file_id is invalid.

12330

Write file failed

A general failure occurred during a file write operation. This IO_STATUS error suggests an underlying issue that prevented data from being successfully written to the file associated with the file_id. The program will abort if the file_id is invalid.

12331

Cannot read the variable

An attempt to read a KAREL program variable from an opened file failed. This IO_STATUS error indicates an issue during the variable reading process, possibly due to file corruption or incorrect data type matching. The program will abort if the file_id is invalid.

12332

Read data is too short

During a file read operation, the amount of data read was less than expected or required for the variable. This IO_STATUS error often indicates a truncated file, end-of-file condition, or a mismatch between the expected data size and available data. The program will abort if the file_id is invalid.

12333

Illegal ASCII string for read

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.

12334

Read file failed

A general failure occurred during a file read operation. This IO_STATUS error indicates an underlying issue that prevented data from being successfully read from the file associated with the file_id. The program will abort if the file_id is invalid.

12335

Cannot open pre_defined file

An attempt to open a pre-defined KAREL file (such as CRT/KB, teach pendant, or vision windows) failed. This IO_STATUS error indicates an issue with accessing these standard system I/O channels. This could be due to resource contention or system misconfiguration.

12336

Cannot close pre_defined file

An attempt to close a pre-defined KAREL file (such as CRT/KB, teach pendant, or vision windows) failed. This IO_STATUS error indicates an issue preventing the proper release of these standard system I/O channels. This could leave the resource in an indeterminate state.

12338

Close file failed

A general failure occurred during a file close operation. This IO_STATUS error indicates an underlying issue that prevented a file associated with the file_id from being properly closed and its system resources released. The program will abort if the file_id is invalid.

12347

Read I/O value failed

An attempt to read an I/O value from an external device or internal register failed. This IO_STATUS error indicates a problem accessing or retrieving data from an I/O device or address. The program will abort if the file_id is invalid.

12348

Write I/O value failed

An attempt to write an I/O value to an external device or internal register failed. This IO_STATUS error indicates a problem sending data to an I/O device or address, preventing control signals or data from being sent. The program will abort if the file_id is invalid.

12358

Timeout at read request

A read request to an I/O device or file timed out before the operation could complete, indicating that the system waited longer than the allowed period for a response. This IO_STATUS error suggests a communication issue, a slow device, or an unresponsive file system. The program will abort if the file_id is invalid.

12359

Read request is nested

A read request was initiated while another read request was already active for the same resource or file_id. This IO_STATUS error indicates an attempt to perform concurrent read operations which is not supported or allowed for the specific resource. The program will abort if the file_id is invalid.

12367

Bad base in format

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.

2002

FILE-002 Device is Full

The PROG_BACKUP operation failed because the required disk space to backup programs exceeded the available space on the target device. This results in a 'Device is Full' error, and a partial backup may exist. The return status for the PROG_BACKUP routine will be 2002.

XML_ATTRMATCH

No value for attribute

This fault occurs when an XML attribute is defined within a tag but is not assigned a corresponding value. All attributes must have a value in valid XML, and its absence will lead to parsing errors.

XML_ATTR_SIZE

Attribute too long

This error indicates that an attribute (either its name or value) within an XML tag in the file being parsed has exceeded its maximum permissible length. This will disrupt the XML parsing process and data extraction.

XML_BADEXCHAR

Unknown character &xxx;

This fault arises when an unrecognized or invalid XML entity reference (e.g., &xxx;) is encountered in the XML file. Valid entity references are either predefined (e.g., <, &) or declared in a DTD/schema, and unknown ones stop parsing.

XML_COMMENT

Error in comment

This error indicates that there is a syntax problem within an XML comment block in the file. XML comments must start with <!-- and end with --> and cannot contain the sequence -- within the comment text itself.

XML_FUNCTION

Function code return

This fault indicates that an underlying internal function called during XML processing returned an error code. This is a generic indicator of a problem within one of the XML library's internal operations, preventing further parsing.

XML_INVATTR

Invalid character in attribute

This fault indicates that an XML attribute contains characters that are not permitted within attribute names or values according to XML rules. Such characters disrupt the parsing of attribute information.

XML_INVEOF

Unexpected end of file

This fault occurs when the XML parser reaches the end of the file unexpectedly, often indicating an incomplete or truncated XML document. This typically means an XML element or structure was left unclosed.

XML_INVTAG

Invalid character in tag

This error indicates that an XML tag contains characters that are not allowed by XML naming conventions. XML tags must adhere to a strict set of character rules to be considered valid and parsable.

XML_NOFILE

Cannot find file

This error signifies that the XML parser could not locate the specified XML file at the given path. This prevents any XML data from being loaded or processed by the system.

XML_NOSLASH

Invalid use of / character

This fault signifies an incorrect or misplaced use of the '/' character within the XML file structure. Proper XML syntax dictates specific locations for this character (e.g., self-closing tags, end tags), and its misuse will cause parsing to fail.

XML_SCANLIM

Scan limit exceeded

This error indicates that the XML file being processed is too large to be handled in a single parsing request. The XML scan routine has a defined limit for the amount of data it can scan at once, preventing complete processing in one go.

XML_TAGMATCH

End tag with no matching start

This error means an XML end tag was encountered without a corresponding opening tag. This indicates an imbalance in the XML document structure, preventing proper parsing and hierarchical understanding of the data.

XML_TAGNEST

Tag nesting level too deep

This fault occurs when the hierarchical nesting of XML tags in the file exceeds the maximum allowed depth for the parser. Deeply nested XML structures can consume excessive resources or violate internal processing limits, leading to parsing failure.

XML_TAGNFND

Tag not found

This error indicates that a specific XML tag that was expected or searched for by the parsing routine was not found in the input XML file. This prevents the system from extracting anticipated data.

XML_TAG_SIZE

Tag too long

This error occurs when an XML tag within the parsed file exceeds the maximum allowed length, preventing the XML parsing process from completing successfully. This limitation helps manage memory and processing resources.