Cnv_RobotConveyor Function
Returns the conveyor being tracked by a robot.
Syntax
Cnv_RobotConveyor [ ( robotNumber ) ]
Parameters
- robotNumber
- Specify the manipulator number as an integer value.
Return Values
Integer conveyor number. 0 = no conveyor being tracked.
Description
When using multiple robots, you can use Cnv_RobotConveyor to see which conveyor a robot is currently tracking.
Note
This command will only work if the Conveyor Tracking option is active.
See Also
Cnv_MakePoint
Cnv_RobotConveyor Function Example
Integer cnvNum
cnvNum = Cnv_RobotConveyor(1)