<< Prev        Next >>

ID : 7476

MC_ReadAxisDistance

To read the motion distance of each axis.
If the target is a rotary axis, the rotation count is obtained. If the target is a linear axis, the motion distance is obtained.

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.
AxisDistance eRC_Joint For output
Motion distance of each axis

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.

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".

Function Description

-

Attention

-

ID : 7476

<< Prev        Next >>