User Tools

Site Tools


ice:commands:peaklock

This is an old revision of the document!


Peak Lock and Current Controller Command Set

List of commands for the ICE Quad Temperate Controller. Please see Common Laser Controller Command Set for commands relating to the laser controller.

Arguments:

No Arguments Taken

Example:

  
58

I2C Command Number: 32


Description

Returns the phase shift (in degrees) on the dither signal modulating the laser current.<html></div></html>

Arguments:

No Arguments Taken

Example:

I2C Command Number:


Description

Sets the phase shift to PHASE (in degrees) on the dither signal modulating the laser current. Returns the output of the command Phase? <html></div></html>

Arguments:

No Arguments Taken

Example:

  
32

I2C Command Number: 34


Description

Returns the amplitude of the dither on the laser current. Output is integer from 0-255. <html></div></html>

Arguments:

No Arguments Taken

Example:

I2C Command Number:


Description

Sets the amplitude of the current modulation to AMP. AMP is an integer ranging from 0 – 255. Command returns the output of the command DitherA? <html></div></html>

Arguments:

No Arguments Taken

Example:

  
On

I2C Command Number: 36


Description

Returns the status of the dither on the laser current (on or off). <html></div></html>

Arguments:

No Arguments Taken

Example:

I2C Command Number:


Description

Enables or disables the dither on the laser current. Valid arguments are On or Off. Returns the output of the command Dither?. <html></div></html>

Arguments:

No Arguments Taken

Example:

I2C Command Number:


Description

Returns the voltage measured on channel CHANNEL (in volts). The channels refer to:

  1. Servo Out
  2. Integrator
  3. DC Error
  4. Error Input
  5. Laser Current (1V = 1A)
  6. +2.5V Ref
  7. -2.5V Re
  8. Ground

<html></div></html>

Arguments:

No Arguments Taken

Example:

  
On

I2C Command Number: 39


Description

Returns the status of the laser servo (on or off). <html></div></html>

Arguments:

No Arguments Taken

Example:

I2C Command Number:


Description

Turns on the laser servo (engages the integrator). Returns the output of the command Servo?. <html></div></html>

Arguments:

No Arguments Taken

Example:

  
-2.345

I2C Command Number: 41


Description

Returns DC offset (in volts) applied to the error signal. <html></div></html>

Arguments:

No Arguments Taken

Example:

I2C Command Number:


Description

Sets the DC offset (in volts) applied to the error signal to OFFSET. Returns the output of the command DCOffst?. <html></div></html>

Arguments:

No Arguments Taken

Example:

  
25

I2C Command Number: 43


Description

Returns Servo Gain. Range is from 0-28 in steps of 2 dB. 0 is a special gain setting where there is no gain (error signal does not go to integrator). <html></div></html>

Arguments:

No Arguments Taken

Example:

I2C Command Number:


Description

Sets the Servo Gain. Range is from 0-28 in steps of 2 dB. 0 is a special gain setting where there is no gain (error signal does not go to integrator). Returns the output of the command GetGain? <html></div></html>

Arguments:

No Arguments Taken

Example:

  
129

I2C Command Number: 45


Description

Returns Integrator Op-Amp’s Offset Voltage adjustment value. Range is 0-255. <html></div></html>

Arguments:

No Arguments Taken

Example:

I2C Command Number:


Description

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?. <html></div></html>

Arguments:

No Arguments Taken

Example:

  
2.341

I2C Command Number: 47


Description

Returns Servo Offset voltage (in volts). When the servo is engaged, this voltage is the starting voltage that the servo integrates from. <html></div></html>

Arguments:

No Arguments Taken

Example:

I2C Command Number:


Description

Sets the Servo Offset voltage (in volts) to OUTPUT when the servo is turned off. When the servo is engaged, this voltage is the starting voltage that the servo integrates from. Returns the output of the command SvOffst?. <html></div></html>

Arguments:

No Arguments Taken

Example:

  
2

I2C Command Number: 49


Description

Read Data Channel Mode. There are 3 modes for the Data Channel:

   Mode 1: Record DC Error
   Mode 2: Record 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>

Arguments:

No Arguments Taken

Example:

I2C Command Number:


Description

Sets the Data Channel Mode. See DataChn? for more details Returns the output of the command DataChn?. <html></div></html>

Arguments:

No Arguments Taken

Example:

  
2.34

I2C Command Number: 51


Description

Reads the starting voltage for the ramp. <html></div></html>

Arguments:

No Arguments Taken

Example:

I2C Command Number:


Description

Writes the starting voltage for the ramp. Range is from -10V to +10V. Returns the output from the command RampBeg?. Sets the SvOffset to the ramp begin voltage. This way, laser starts at RampBeg value before ramp is initialized, enabling a smooth ramp. <html></div></html>

Arguments:

No Arguments Taken

Example:

  
5.72

I2C Command Number: 53


Description

Reads the ending voltage for the ramp. <html></div></html>

Arguments:

No Arguments Taken

Example:

I2C Command Number:


Description

Writes the ending voltage for the ramp. Range is from -10V to +10V. Returns the output from the command RampEnd?.

Note: RampEnd value is rounded up to be consistent with the RampInc value. <html></div></html>

Arguments:

No Arguments Taken

Example:

  
3

I2C Command Number: 55


Description

Reads the increment step size of the ramp. Multiply the RampInc value by 3.05e-4 V to get the ramp step size in volts. <html></div></html>

Arguments:

No Arguments Taken

Example:

I2C Command Number:


Description

Sets the increment step size of the ramp. Multiply the RampInc value by 3.05e-4 V to get the ramp step size in volts. RampInc cannot be set to 0. <html></div></html>

Arguments:

No Arguments Taken

Example:

  
100

I2C Command Number: 57


Description

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. Number of data points to calculated by the following formula:

$$ \frac{RampEnd-RampBeg}{3.05e-4 \times RampStep} $$

Note that the amount of bytes stored by the ramp is 2*RampNum when DataChn is in Mode 1 or 2; when DataChn in in Mode 3, the amount of data stored is 4*RampNum. The amount of bytes stored set how much data needs to be read back via the ReadBlk command.

RampNum returns 0 if there is a configuration error (ramp increment larger than ramp range) or if number of data points exceeds storage capacity on device, which is 3072 bytes.

<html></div></html>

Arguments:

No Arguments Taken

Example:

I2C Command Number:


Description

Begins ramping the servo output and taking data according to the values set for RampInc, RampBeg, RampEnd and DataChn as described above. Data can be retrieved with the ReadBlk command. Board 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. At and of ramp, servo output is set to RampBeg value. <html></div></html>

ice/commands/peaklock.1391885949.txt.gz · Last modified: 2021/08/26 14:26 (external edit)