User Tools

Site Tools


commands:lockrg

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:lockrg [2019/04/18 19:33] – external edit 127.0.0.1commands:lockrg [2025/09/08 16:47] (current) – add full command name to table 2 brandon
Line 1: Line 1:
 ====== Command:LOCKRG (LR) ====== ====== Command:LOCKRG (LR) ======
  
-This commands function changes if the system has a Phototrack module or CRISP module. +This commands function changes if the system has a Phototrack, ''CRISP'', or ''SERVOLOCK_TTL'' modules. 
  
---> On CRISP systems#+--> On CRISP systems ^
  
---> Tiger Syntax#+--> Tiger Syntax ^
 ^Shortcut |LR| ^Shortcut |LR|
-^Format  |[Addr#]LR [X=cal_gain] [Y= objective lens NA] [Z=lock_range] [F=cal_range] [T=loop_gain]   |+^Format  |[Addr#]LOCKRG [X=cal_gain] [Y=objective_na] [Z=lock_range] [F=cal_range] [T=loop_gain]   |
 ^Type |Card-Addressed| ^Type |Card-Addressed|
 ^Remembered |Using [Addr#]SS Z | ^Remembered |Using [Addr#]SS Z |
Line 13: Line 13:
 <-- <--
  
--->MS2000 and RM2000 Syntax#+-->MS2000 and RM2000 Syntax ^
 ^Shortcut |LR| ^Shortcut |LR|
-^Format  |LR [X=cal_gain] [Y= objective lens NA] [Z=lock_range] [F=cal_range] [T=loop_gain]   |+^Format  |LOCKRG [X=cal_gain] [Y=objective_na] [Z=lock_range] [F=cal_range] [T=loop_gain]   |
 ^Remembered |Using SS Z | ^Remembered |Using SS Z |
  
 <-- <--
-The LOCKRG command allows the user to control of several system variables.  The X parameter, cal_gain, is the gain variable normally obtained from running the calibration sequence.  Although not recommended, it can be changed with this command, but it will be reset upon running the calibration sequence.  +The ''LOCKRG'' command allows the user to control of several system variables. 
  
-The Y parameter sets both the cal_range focus depth (LR F) and also the in_focus_mm range (AFLIM Z) appropriately for the specified numerical aperture of the objective.  The computed values can be read and/or overridden using the LR F and AFLIM Z commands respectively.+**X** ''[cal_gain]'': The X parameter, ''cal_gain'', is the gain variable normally obtained from running the calibration sequence.  Although not recommended, it can be changed with this command, but it will be reset upon running the calibration sequence.  
  
-The Z parameter controls the maximum excursion of the stage before the system generates an error condition and unlocks.  The value lock_range is in units of millimeters.  The default value is 1.0 mm.  +**Y** ''[objective_na]'': The Y parameter sets both the ''cal_range'' focus depth (''LR F'') and also the ''in_focus_mm range'' (''AFLIM Z'') appropriately for the specified numerical aperture of the objective.  The computed values can be read and/or overridden using the ''LR F'' and ''AFLIM Z'' commands respectively. This is a floating point number and can have up to six decimals of precision, although the math may truncate this precision internally.
  
-The F parameter controls the excursion of the stage when going through the calibration sequence.  The default value for cal_range is 0.005 mm.  Overridden when the objective’s NA is set using LR Y.+**Z** ''[lock_range]'': The Z parameter controls the maximum excursion (in either direction) of the stage from the position where the Lock state was initiated before the system generates an error condition and unlocks.  The value ''lock_range'' is in units of millimeters.  The default value is 1.0 mm.   
 + 
 +**F** ''[cal_range]'': The F parameter controls the excursion of the stage in the dither state of the calibration sequence.  The default value for ''cal_range'' is 0.005 mm.  Setting the objective's NA using ''LR Y'' will change this value. 
 + 
 +**T** ''[loop_gain]'': The T parameter controls the gain multiplier or loop gain.  The default value is 4. 
 + 
 +Note: Firmware with a compile date prior to November 2016 used the [[:commands:kadc|KADC]] command to the set loop gain. Firmware builds from November 2016 to March 2018 have both ''KADC'' and ''LR T'' commands which have an identical effect.  Note: with ''LR T'' the axis character does not need to be specified. 
 + 
 +<-- 
 + 
 +--> With SERVOLOCK_TTL ^ 
 + 
 +--> Tiger Syntax ^ 
 +^Shortcut |LR| 
 +^Format  |[Addr#]LOCKRG [Z=lock_range]  | 
 +^Type |Card-Addressed| 
 +^Remembered |Using [Addr#]SS Z | 
 + 
 +<-- 
 + 
 +The ''SERVOLOCK_TTL'' module uses the ''LOCKRG Z'' command to set the maximum excursion.  If CRISP is also present then the same setting is shared by both modules. 
 +   
 +The Z parameter controls the maximum excursion of the stage from the position where it was initially locked before the system generates an error condition and unlocks.  The value ''lock_range'' is in units of millimeters.  The default value is 1.0 mm.  
  
-The T parameter controls the gain multiplier or loop gain also set by KADC command.  This is for convenience only, both have the identical effect.  In this case the axis character does not need to be specified. 
  
 <-- <--
  
---> On Phototrack system#+--> On Phototrack system ^
  
 ^Shortcut |LR| ^Shortcut |LR|
-^Format  |LR [X=cal_value] [Y=xy_lock_range] [Z=z_ lock_range] [F=cal_range]   |+^Format  |LOCKRG [X=cal_value] [Y=xy_lock_range] [Z=z_ lock_range] [F=cal_range]   |
 ^Remembered |Using SS Z | ^Remembered |Using SS Z |
  
Line 46: Line 67:
  
 <-- <--
-{{tag>commands tiger ms2000 crisp phototrack}}+{{tag>commands tiger ms2000 crisp phototrack servolock_ttl}}
Address: 29391 W Enid Rd. Eugene, OR 97402, USA | Phone: +1 (541) 461-8181
commands/lockrg.1555630392.txt.gz · Last modified: (external edit)