User Tools

Site Tools


commands:pcros

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
commands:pcros [2019/04/18 19:33] – external edit 127.0.0.1commands:pcros [2025/09/30 14:20] (current) – brandon
Line 1: Line 1:
 ====== Command:PCROS (PC) ====== ====== Command:PCROS (PC) ======
--->Motorized Axis# +-->Motorized Axis - Drift Error ^ 
---> MS2000 or RM2000 syntax#+--> MS2000 or RM2000 syntax ^
  
 ^Shortcut  |PC   |  ^Shortcut  |PC   | 
 ^Format  |PCROS [Axis]= [units mm]… | ^Format  |PCROS [Axis]= [units mm]… |
-^Units    |millimeter|+^Units    |Millimeters|
 ^Remembered |Using SS Z | ^Remembered |Using SS Z |
  
 <-- <--
  
---> Tiger syntax# +--> Tiger syntax ^
  
 ^Shortcut  |PC   |  ^Shortcut  |PC   | 
 ^Format  |PCROS [Axis]= [units mm]… | ^Format  |PCROS [Axis]= [units mm]… |
-^Units    |millimeter|+^Units    |Millimeters|
 ^Type    |Axis-Specific  | ^Type    |Axis-Specific  |
 ^Remembered |Using [addr#]SS Z | ^Remembered |Using [addr#]SS Z |
Line 20: Line 20:
 <-- <--
  
-This command sets/displays the Finish Error setting, which controls when the motor algorithm routines will turn off.  The setting controls the crossover position error (in millimeters) between the target and position at which the MFC 2000 and TG-1000 AND MS 2000  controller will stop attempting to move the stage closer to achieving the position=target.  This is value also determines the maximum error allowable before a move is considered complete.  This value is usually set to the value of the smallest move step size according to the encoder resolution.  The current value for this setting can be viewed using the ''INFO'' command. +This command sets/displays the Finish Error setting, which controls when the motor algorithm routines will turn off.  The setting controls the crossover position error (in millimeters) between the target and position at which the controller will stop attempting to move the stage closer to achieve the ideal position=target.  This is value also determines the maximum error allowable before a move is considered complete.  This value is by default set to the value of the smallest move step size according to the encoder resolution, but many applications do not require such tight landing tolerance.  
  
-== Example ==+== Example setting ==
   
 <asi> $ PC X=.00005 Y=.00002 Z=.00005  <asi> $ PC X=.00005 Y=.00002 Z=.00005 
Line 30: Line 30:
  
 The command in this example will make the controller consider a ''MOVE'' command complete when the difference between the target and the current position is 50 nm for X, 20 nm for Y, and 50 nm for Z.   The command in this example will make the controller consider a ''MOVE'' command complete when the difference between the target and the current position is 50 nm for X, 20 nm for Y, and 50 nm for Z.  
 +
 +
 +== Example querying ==
 +
 +<asi> $ PC X? Y?
 +:A X=0.001000 Y=0.001000</asi>
 +
 +This shows how to query the finish error for X and Y; they have both previously been set to 1um.
 +
 +<WRAP center round important 60%>
 +**Warning!**  If the **PCROS** value is extremely small, moves may take an excessively long time to complete.  If this happens either increase the value or else work on [[:stage_accuracy_settling_time_for_asi_stage##tuning_stages_to_minimize_move_time|tuning the stage]].
 +</WRAP>
  
 <WRAP center round important 60%> <WRAP center round important 60%>
-Warning:  If the ''PCROS'' value is extremely small, moves may take an excessively long time to complete.+**Warning!**  If you increase the value for **PCROS (PC)** then also increase the value for [[commands:error|drift error (E)]] so that the **E** value is larger than **PC**.  Otherwise an landing might initially be considered complete but then afterwards lead to drift correction moves.
 </WRAP> </WRAP>
  
 <-- <--
  
---> Tunable Lens#+--> Tunable Lens ^
  
  
 ^Shortcut  |PC   |  ^Shortcut  |PC   | 
 ^Format  |PCROS [Axis]= ###… | ^Format  |PCROS [Axis]= ###… |
-^Units    |float|+^Units    |Float|
 ^Type    |Axis-Specific  | ^Type    |Axis-Specific  |
 ^Remembered |Automatically | ^Remembered |Automatically |
  
-On the Tunable Lens card this command gets and sets a different parameter. Tunable lens diopter changes with temperature , this change varies with current being applied to the lens. So we built a model equation to help us calculate this Diopter per Celsius change. PC command sets the constant in this model equation. [[:tiger_tunable_lens_card#temperature_compensation|More info here]] +On the Tunable Lens card this command gets and sets a different parameter. Tunable lens diopter changes with temperature, this change varies with current being applied to the lens. So we built a model equation to help us calculate this Diopter per Celsius change. ''PC'' command sets the constant in this model equation. [[:tiger_tunable_lens_card#temperature_compensation|More info here]] 
  
 <-- <--
Address: 29391 W Enid Rd. Eugene, OR 97402, USA | Phone: +1 (541) 461-8181
commands/pcros.1555630396.txt.gz · Last modified: (external edit)