omron — ROBOT.OPR program instruction

ROBOT.OPR program instruction ROBOT.OPR program instruction Syntax ROBOT.OPR (function_code) exp1, exp2, ..., expn Function Execute operations that are specific to the currently selected robot or robot module. Usage Considerations ROBOT.OPR is a general-purpose instruction whose interpretation varies from one robot type to another. The instruction is ignored if there is no robot attached. An error is reported if the robot is tracking a belt or if ALTER is active. Parameters function_code Optional real value that specifies a function for the selected robot module. exp1, exp2, ..., expn Optional expressions whose interpretation is determined by the selected robot module. NOTE:

An *Invalid argument* error is returned if the "function_code" value used is not valid. The same error is returned if an "exp" value exceeds its allowable range. The valid "function_code" and "exp" values are described in the device module documentation for your robot. See the Adept Robot Device Modules menu in the Adept Document Library to access the device module for your robot. Details This instruction executes operations that are specific to the currently selected robot or robot module. If the selected robot does not support any special operations, this instruction has no effect. The following table shows the "function" and "exp" values for the supported robot modules.

For additional details about the applicability and use of this instruction, refer to the documentation for your specific robot module. See the Adept Robot Device Modules menu to access the documentation for the device module for your robot. NOTE: Only device modules for non-Omron Adept robots are documented. eV+Language Reference Guide, v2.x, 18319-000 Rev A Page 441