User Tools

Site Tools


commands:error

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:error [2023/08/23 17:24] – joncommands:error [2026/02/11 17:02] (current) – brandon
Line 1: Line 1:
 ====== Command:ERROR (E) ====== ====== Command:ERROR (E) ======
---> Motorized axis^+--> Motorized axis ^
  
---> MS2000 or RM2000 syntax#+--> MS2000 or RM2000 syntax ^
  
 ^Shortcut  |E|  ^Shortcut  |E| 
-^Format  |ERROR [axis]=[position in mm]… | +^Format  |ERROR [axis] = [position in mm]… | 
-^Units    |millimeter|+^Units    |Millimeters|
 ^Remembered |Using SS Z | ^Remembered |Using SS Z |
  
 <-- <--
  
---> Tiger syntax# +--> Tiger syntax ^ 
  
 ^Shortcut  |E|  ^Shortcut  |E| 
-^Format  |ERROR [axis]=[position in mm]… | +^Format  |ERROR [axis] = [position in mm]… | 
-^Units    |millimeter|+^Units    |Millimeters|
 ^Type    |Axis-Specific| ^Type    |Axis-Specific|
 ^Remembered |Using [addr#]SS Z | ^Remembered |Using [addr#]SS Z |
Line 21: Line 21:
 <-- <--
  
-This command sets the Drift Error setting.  This setting controls the crossover position error  (in millimeters) between the target and position at which the controller considers an axis to be too far out of position when resting.  When this limit is reached, the controller will re-attempt to move the axis back within the Finish Error (PC) limit.  The current value for this setting can be viewed using the ''INFO'' command or by placing a ? after the axis name. Entries of zero value, e.g., ''ERROR X=0'' are ignored.+This command sets the Drift Error setting.  This setting controls the crossover position error  (in millimeters) between the target and position at which the controller considers an axis to be too far out of position when resting.  When this limit is reached, the controller will re-attempt to move the axis back within the Finish Error (PC) limit.  The current value for this setting can be viewed using the ''INFO'' command or by placing a ''?'' after the axis name. Entries of zero value, e.g., ''ERROR X=0'' are ignored.
  
 **Example** **Example**
Line 27: Line 27:
 <asi> $ E X=0.0004 <asi> $ E X=0.0004
 :A :A
-$ e x?+$ E X?
 :X=0.000400 A</asi> :X=0.000400 A</asi>
  
Line 35: Line 35:
  
 <WRAP center round important 60%> <WRAP center round important 60%>
-Warning:  Make sure that the drift error ''E''/''ERROR'' value is significantly larger than the value for ''PC''/''PCROS''.  Otherwise an landing might initially be considered complete but then afterwards lead to drift correction moves.+**WARNING:** Make sure that the drift error **ERROR (E)** value is significantly larger than the value for **PCROS (PC)**. Otherwise an landing might initially be considered complete but then afterwards lead to drift correction moves. 
 + 
 +For firmware built after Aug 2023 (v3.42 for Tiger) the E value is automatically set to at least 1.2x the PC value whenever PC is changed.
 </WRAP> </WRAP>
  
 <-- <--
  
---> TGPMT card#+--> TGPMT card ^
  
 ^Shortcut  |E|  ^Shortcut  |E| 
 ^Format  |ERROR [axis]=[0 to 5]… | ^Format  |ERROR [axis]=[0 to 5]… |
-^Units    |integer code|+^Units    |Integer code|
 ^Type    |Axis-Specific| ^Type    |Axis-Specific|
 ^Remembered |Using [addr#]SS Z | ^Remembered |Using [addr#]SS Z |
  
-On a TGPMT card , ERROR command has a different purpose and function. ERROR command sets the [[:tgpmt#adc_specification|ADC averaging's sample size]]. Its a card wide setting, that affects both the PMT tubes. This only affects the value reported with the [[commands:rdadc|RDADC]] command. The Analog signal output on the BNC isn't affected. +On a TGPMT card, ERROR command has a different purpose and function. ERROR command sets the [[:tgpmt#adc_specification|ADC averaging's sample size]]. Its a card wide setting, that affects both the PMT tubes. This only affects the value reported with the [[commands:rdadc|RDADC]] command. The Analog signal output on the BNC isn't affected. 
  
  
Line 63: Line 65:
 **Example** **Example**
  
-If TGPMT card axis is **m**+If TGPMT card axis is **M**
  
-<asi> $ e m=2+<asi> $ E M=2
 :A</asi> :A</asi>
  
 Sets the ADC averaging routine sample size to 4. Sets the ADC averaging routine sample size to 4.
  
-<asi> $ e m?+<asi> $ E M?
 :M=2.000000 A</asi> :M=2.000000 A</asi>
  
Line 79: Line 81:
 <-- <--
  
---> MicroMirror card#+--> MicroMirror card ^
  
 ^Shortcut  |E|  ^Shortcut  |E| 
 ^Format  |ERROR [axis]=[correction in %]… | ^Format  |ERROR [axis]=[correction in %]… |
-^Units    |integer code|+^Units    |Integer code|
 ^Type    |Axis-Specific| ^Type    |Axis-Specific|
 ^Remembered |Using [addr#]SS Z | ^Remembered |Using [addr#]SS Z |
Line 96: Line 98:
  
 <-- <--
---> Tunable Lens Card#+--> Tunable Lens Card ^
  
 ^Shortcut  |E|  ^Shortcut  |E| 
 ^Format  |ERROR [axis]=[DPT to DAC coefficient]… | ^Format  |ERROR [axis]=[DPT to DAC coefficient]… |
-^Units    |float|+^Units    |Float|
 ^Type    |Axis-Specific| ^Type    |Axis-Specific|
 ^Remembered |Automatically | ^Remembered |Automatically |
  
-On a Tunable card ''ERROR'' command has a different purpose and function. It sets the relation between the DAC(current) and Tunable lens's Diopter. Its used to compensate for temperature drift. [[:tiger_tunable_lens_card#temperature_compensation|More info here]]+On a Tunable card ''ERROR'' command has a different purpose and function. It sets the relation between the DAC (current) and Tunable lens's Diopter. It's used to compensate for temperature drift. [[:tiger_tunable_lens_card#temperature_compensation|More details can be found here]].
  
 <-- <--
 {{tag>commands tiger ms2000 tgpmt micromirror tlens}} {{tag>commands tiger ms2000 tgpmt micromirror tlens}}
Address: 29391 W Enid Rd. Eugene, OR 97402, USA | Phone: +1 (541) 461-8181
commands/error.1692825872.txt.gz · Last modified: by jon