Appendix A: Model 2090 GPIB Command Reference
Model 2090 Multi-Device Controller
DIR?
Compatibility:
2090 (Firmware Rev 3.00)
Description:
Queries the motion direction for the device and provides an enhancement over
the functionality provided by the *OPC and *OPC? commands. Unlike *OPC
or *OPC?, which indicate the completion of a motion command, the DIR?
Command returns the current motion of the device, and thus may take on
several values during the course of a single motion command. The response
of the DIR? command corresponds to the state of the motion indicators on the
front panel of the 2090. Thus, if a device is commanded to change direction,
the DIR? command will switch between indicating the current direction, a
stopped condition, then the new direction, and finally stopped at the end of the
target motion. For the same command, *OPC? will respond with a zero until
the stop at the end of the target motion. Similarly, when in SCAN mode,
*OPC? will always respond with zero until another motion command or stop
is issued and completed, while DIR? will change each time the motion
changes.
Devices:
Towers, Turntables
Syntax:
DIR?
Response:
<direction>
Value indicating the current motion of the queried
device.
+1
Device is moving up/clockwise.
0
Device is stopped.
-1
Device is moving down/counterclockwise.
Example:
CALL ibwrt (TowerUD%, "DIR?")
' Query tower motion direction
CALL ibrd (TowerUD%, rdbuf$)
' Read response
CALL ibwrt (TableUD%, "DIR?")
' Query turntable motion dir.
CALL ibrd (TableUD%, rdbuf$)
' Read response
See Also:
*OPC, *OPC?
DN
Compatibility:
All
Description:
Instructs the tower boom to move in the Down direction. This movement is
limited by the lower limit.
Devices:
Towers
Syntax:
DN
Example:
CALL ibwrt (TowerUD%, "DN")
' Instruct the boom of the
' tower to move down
See Also:
ST, UP
110
© ETS-Lindgren– April, 2006
Revision G– P# 399199
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com