<< Prev        Next >>

ID : 7370

MC_WriteWorkData

To set tool coordinates.

Graphic expression AOI category
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.
WorkData eRC_Coordinate -
Work coordinate
Specify a Work coordinate. Unit is millimeter.

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.
WorkNo Integer 1 to 7
Work coordinate number
Specify a work number.
WorkAttribute Integer 0, 1
Attribute
Specify an attribute value.
[0 : Standard]
[1 : FixedTool(Fix)]

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

To execute this AOI, AOI with the AOI category "Motion" needs to be made executable.
To make AOI with the AOI category "Motion" executable, use the AOI "MC_Power".

ID : 7370

<< Prev        Next >>