User Tools

Site Tools


ice:commands:peaklock

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
Last revisionBoth sides next revision
ice:commands:peaklock [2014/02/08 17:46] Ben Lueyice:commands:peaklock [2018/11/27 01:33] Michael Radunsky
Line 1: Line 1:
 ====== Peak Lock and Current Controller Command Set ====== ====== Peak Lock and Current Controller Command Set ======
  
-List of commands for the ICE Quad Temperate Controller. Please see [[ice:commands:lasercurrent|Common Laser Controller Command Set]] for commands relating to the laser controller.+List of commands for the ICE Peak Lock Servo. Please see [[ice:commands:lasercurrent|Common Laser Controller Command Set]] for commands relating to the laser controller.
  
 <function=ICEfunc|0=Phase?&2=58&3=32> <function=ICEfunc|0=Phase?&2=58&3=32>
Line 69: Line 69:
  
 <function=ICEfunc|0=OpOffst&1=I:OFFSET:142;&2=142&3=46> <function=ICEfunc|0=OpOffst&1=I:OFFSET:142;&2=142&3=46>
-Sets the Integrator Op-Amp’s Offset Voltage adjustment value. This should be factory set, but it controls the DC Error Input voltage that the servo locks to (should be 0V) OFFSET is an integer from 0-255. Returns the output of the command **OpOffst?**.+Sets the Integrator Op-Amp’s Offset Voltage adjustment value. This should be factory set and typically should be set to 128, but it controls the DC Error Input voltage that the servo locks to (should be 0V) OFFSET is an integer from 0-255. Returns the output of the command **OpOffst?**.
 <html></div></html> <html></div></html>
  
Line 85: Line 85:
      Mode 2: Record Error Input      Mode 2: Record Error Input
      Mode 3: Record DC Error and Error Input      Mode 3: Record DC Error and Error Input
 +     
 +Note: In Mode 3, the ramp records two channels of data instead of one, doubling the amount of data stored.
 <html></div></html> <html></div></html>
  
Line 91: Line 93:
 <html></div></html> <html></div></html>
  
-<function=ICEfunc|0=RampBeg?&2=2.34&3=51> +<function=ICEfunc|0=RampSwp?&2=5.72&3=51> 
-Reads the starting voltage for the ramp. +Reads the sweep range (in volts) for the ramp. 
 <html></div></html> <html></div></html>
  
-<function=ICEfunc|0=RampBeg&1=F:VOLTAGE:-2.64&2=-2.65&3=52> +<function=ICEfunc|0=RampSwp&1=F:VOLTAGE:2.64&2=2.65&3=52> 
-Writes the starting voltage for the ramp.  Range is from -10V to +10V. Returns the output from the command **RampBeg?**.+Writes the sweep range (in volts) for the ramp.  Range is from 0V to +10V. Returns the output from the command **RampSwp?**. The ramp will step from SvOffst - RampSwp/2 to SvOffst + RampSwp/2 by increments determined by RampSwp and RampNum and then return to SvOffst every time a RampRun command is initiated.\\  
 +\\ 
 +//Note: RampSwp value is rounded and truncated to match range of the servo offset. //
 <html></div></html> <html></div></html>
  
-<function=ICEfunc|0=RampEnd?&2=5.72&3=53> +<function=ICEfunc|0=RampNum?&2=100&3=53> 
-Reads the ending voltage for the ramp. +Returns the number of data points to be acquired during the ramp. Number of data points is also the number of steps for the ramp.  
 + 
 +Note that the amount of bytes stored by the ramp is 2*RampNum. The amount of bytes stored set how much data needs to be read back via the **ReadBlk** command.  
 <html></div></html> <html></div></html>
  
-<function=ICEfunc|0=RampEnd&1=F:VOLTAGE:2.64&2=2.65&3=54> +<function=ICEfunc|0=RampNum&1=I:NUMBER:100&2=100&3=54> 
-Writes the ending voltage for the ramp.  Range is from -10V to +10V. Returns the output from the command **RampEnd?**.\\  +Sets the number of data points to be acquired during the ramp. Number of data points is also the number of steps for the ramp.  
-\\ +
-//Note: RampEnd value is rounded to keep step size constant despite quantization of the servo output.//+
 <html></div></html> <html></div></html>
  
-<function=ICEfunc|0=RampNum?&2=100&3=55> +<function=ICEfunc|0=RampRun&2=Busy&3=55> 
-Returns the number of data points to be acquired during the rampNumber of data points is also the number of steps for the rampNumber of data points to calculated by the following formula:+Begins ramping the servo output and taking data according to the values set for **RampSwp** and **SvOffst** as described aboveThe Ramp begins at SvOffst - RampSwp/2 and ends of SvOffst + RampSwp/2. When the ramp is completed, the servo output is returned to its starting value of SvOffst. Data can be retrieved with the **ReadBlk** commandBoard will not respond to any new commands while taking data. Returns status of execution of the ramp, either Busy or Finished. Returns fault if ramp is misconfigured. See **RampNum?** for details. Returns fail if laser is off. 
 +<html></div></html>
  
-(RampEnd-RampBeg)/3.05e-4/RampStep+<function=ICEfunc|0=Poles?&2=3 0&3=56> 
 +Returns two columns of data. First column is a number 1-5 representing the integrator pole value. Values are 3 kHz, 10 kHz, 30 kHz, 100 kHz and 300 kHz. 1 is the slowest integrator (3 kHzand 5 is fastest integrator (300 kHz). The second column is a 0 when the differential pole is off and a 1 when it is on. When differential is on, the pole is ~times the integrator poleSo if PI pole is 30 kHz, the differential pole is 100 kHz.  
 +<html></div></html>
  
 +<function=ICEfunc|0=Poles&1=I:INTEGRATOR:3;I:DIFFERENTIAL:1&2=3 1&3=57>
 +Sets the integrator and differential pole positions. INTEGRATOR is a value from 1-5. DIFFERENTIAL is either on (1) or off (0). See **Poles?** for more details.
 <html></div></html> <html></div></html>
  
-<function=ICEfunc|0=RampNum&1=I:NUMBER:150&2=150&3=56+<function=ICEfunc|0=EvtLOff?&2=4&3=58
-Writes the number of points to acquire during the rampReturns the output of **RampNum?**.+Reads the event address for turning the laser offAddress range is 0-7 where address 0 is no event
 <html></div></html> <html></div></html>
  
-<function=ICEfunc|0=RampRun&2=Busy&3=57+<function=ICEfunc|0=EvtLOff&1=I:ADDRESS:2&2=2&3=59
-Begins ramping the servo output and taking data according to the values set for RampNum, RampBeg, RampEnd and DataChn as described above. Data can be retrieved with the **ReadBlk** commandBoard will not respond to any new commands while taking data. Returns status of execution of the ramp, either Busy or Finished.+Sets the event address for turning the laser offAddress range is 0-7 where address 0 is no event
 <html></div></html> <html></div></html>
 +
  
  
ice/commands/peaklock.txt · Last modified: 2023/11/30 21:32 by 127.0.0.1