User Tools

Site Tools


commands:where

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
commands:where [2016/09/07 22:04]
asiadmin ↷ Links adapted because of a move operation
commands:where [2019/04/18 23:33] (current)
Line 1: Line 1:
 +====== Command:​WHERE (W) ======
  
 +--> MS2000 or RM2000 syntax#
 +
 +^Shortcut ​ |W | 
 +^Format ​ |WHERE axis [axis] [axis]…|
 +
 +<--
 +
 +--> Tiger syntax# ​
 +
 +^Shortcut ​ |W | 
 +^Format ​ |WHERE axis [axis] [axis]…|
 +^Type    |Axis-Specific ​ |
 +
 +<--
 +
 +Returns the current position of the device for the axis specified. \\
 +
 +The reporting precision of the ''​WHERE''​ command can be changed with the [[commands:​vb|VB Z command]].
 +
 +== Reply ==
 +If there are no errors, a positive reply of <wrap reply> :A </​wrap>​ will be followed by the current position, in tenths of microns.\\
 +== Example ==
 +
 +<asi> $ W X Y Z
 +:A 1234.5 ​ 432.1 0</​asi>​
 +
 +In this example, **X** is 123.45 microns from the origin, **Y** is 43.21 microns from the origin, and **Z** is sitting on the origin.
 +
 +<WRAP center round info 60%>
 +Notes:No matter which order the X, Y, and Z’s are specified in the WHERE command, the reply will always be in the order of card address. ​ Hence, the ordering of the responses does not necessarily follow the order of the query.
 +
 +</​WRAP>​
 +
 +
 +
 +
 +
 +
 +{{tag>​commands tiger ms2000}}
commands/where.txt · Last modified: 2019/04/18 23:33 (external edit)