V+ Operating System Reference Guide


SELECT monitor command

Syntax

SELECT device_type = unit

Function

Select a unit of the named device for access by the current V+ monitor.

Usage Considerations

The SELECT command needs to be used only if there are multiple devices of the same type connected to your system controller. That capability is available only if your Adept system has the V+ Extensions option installed.

The SELECT command affects only the robot selection for the V+ monitor (i.e., for subsequent monitor commands, such as HERE and WHERE). If you want to change the selection for a program task, you must execute the SELECT program instruction in that program task -- either within a program, or by using the DO monitor command. For example, DO @1 SELECT ROBOT = 2 changes the robot selection for program task 1).

Parameters

device_type Keyword that identifies the type of device that is to be selected. Currently, the only valid device types are "ROBOT", "VISION", and "FORCE" (which must be specified without quotes). The device-type keyword can be abbreviated.
unit Real value, variable, or expression (interpreted as an integer) that specifies the particular unit to be selected. The values that are accepted depend on the configuration of the system.

Details

In a multiple-robot system, the SELECT monitor command specifies which robot the V+ monitor is to access.

In a system with multiple vision systems, the SELECT monitor command specifies which vision system the V+ monitor is to access.

In a system with multiple force sensors, the SELECT monitor command specifies which force sensor the V+ monitor is to access.

Example

Select robot #2:

    SELECT ROBOT = 2 	

Related Keywords

ATTACH program instruction

SELECT program instruction

SELECT real-valued function


Submit comments to: techpubs@adept.com
Last modified on: 6/28/2010
Copyright © 1994 - 2009. Adept Technology, Inc.