<< Prev        Next >>

ID : 7466

MC_ReadErrorID

To return an error code.

Graphic expression AOI category
Non motion

Input and Output Variable

Variable name Data type Valid range Conditions for Input and Output
AxesGroup eRC_AxesGroup -
Robot group
Specify a robot variable (structured type data : eRC_AxesGroup) of user-defined type.
ErrorIDExList ARRAY[1..10] of DINT For output
Error Code List
Displays 10 error codes from the latest.

Input Variable

Variable name Data type Valid range
Execute Boolean
  • TRUE : Start
  • FALSE : -
Execution start
When the variable is changed from FALSE to TRUE, this AOI is executed.
OffSet DInt 0 or larger
Error offset
Specify which error code from the latest one is displayed first.

Output Variable

Variable name Data type / Description
Done Boolean
Execution completion confirmation
TRUE : This AOI execution is completed.
FALSE : This AOI execution is not completed.
Busy Boolean
Processing status of this AOI
TRUE : Being executed.
FALSE : Not being executed.
Error Boolean
Error presence
TRUE: This AOI ended abnormally.
FALSE : This AOI ended successfully.
ErrorID Integer
Error location
2800 : The error occurred in the PLC program.
2801 : The error occurred in the robot controller.
ErrorIDEx DInt
Error Code
This is a number to identify the error description.
For details, refer to "Error code list".
ErrorCount Integer
Number of errors

Function Description

-

Attention

-

ID : 7466

<< Prev        Next >>