|
V+ 12.4 Release Notes |
INRANGE (location)
Return a value that indicates whether a location can be reached by the robot and, if not, why not.
The INRANGE function returns information for the robot selected by the task executing the function.
location Transformation function, variable, or compound that specifies a desired position and orientation for the robot tool tip.
Returns system error bits that indicate whether the given location can be reached by the robot. A value of zero indicates the specified location can be reached.
If the location cannot be reached, the returned value is a coded binary number that identifies the error. A bit equal to 1 in the value indicates that the corresponding robot constraint has been violated as shown in the table below:
If your motion system is configured to return motor as well as joint limit errors, bit 16 indicates whether a joint or motor is limiting the motion device move to location. If bit 16 is set, a motor is limiting. Otherwise, a joint is limiting. Since joints are checked first for limiting conditions, if bit 16 is set, all joints passed the limit checks and a motor is the limiting factor.
The mask values indicated above can be used with the BAND operator to determine if a corresponding bit is set.
INRANGE(pallet:hole)Returns a zero value if the robot can reach the location defined by the compound transformation pallet:hole.
If both joints 2 and 3 prevent the motion from being made, the value returned will be 6.
... value BAND value ... (operator)
SELECT (device_type, mode) (program instruction and real-valued function)
|
Please submit comments to: techpubs@adept.com |