ice:commands:peaklock
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
ice:commands:peaklock [2014/02/08 17:46] – Ben Luey | ice:commands:peaklock [2017/10/26 22:22] – Michael Radunsky | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ~~TOC~~ | ||
====== Peak Lock and Current Controller Command Set ====== | ====== Peak Lock and Current Controller Command Set ====== | ||
Line 69: | Line 70: | ||
< | < | ||
- | 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? |
< | < | ||
Line 85: | Line 86: | ||
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. | ||
< | < | ||
Line 91: | Line 94: | ||
< | < | ||
- | < | + | < |
- | Reads the starting voltage | + | Reads the sweep range (in volts) |
< | < | ||
- | < | + | < |
- | Writes the starting voltage | + | Writes the sweep range (in volts) |
+ | \\ | ||
+ | //Note: RampSwp value is rounded and truncated to match range of the servo offset. // | ||
< | < | ||
- | < | + | < |
- | Reads the ending voltage | + | Returns |
+ | |||
+ | 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. | ||
< | < | ||
- | < | + | < |
- | Writes | + | Sets the number of data points to be acquired during |
- | \\ | + | |
- | //Note: RampEnd value is rounded to keep step size constant despite quantization of the servo output.// | + | |
< | < | ||
- | < | + | < |
- | Returns | + | Begins ramping |
+ | < | ||
- | (RampEnd-RampBeg)/3.05e-4/RampStep | + | < |
+ | 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 kHz) and 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 ~3 times the integrator pole. So if PI pole is 30 kHz, the differential pole is 100 kHz. | ||
+ | < | ||
+ | < | ||
+ | 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. | ||
< | < | ||
- | < | + | < |
- | Writes | + | Reads the event address for turning |
< | < | ||
- | < | + | < |
- | Begins ramping | + | Sets the event address |
< | < | ||
+ | |||
ice/commands/peaklock.txt · Last modified: 2023/11/30 21:32 by 127.0.0.1