User Tools

Site Tools


commands:pr

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:pr [2018/06/20 13:51] – vikcommands:pr [2026/04/28 15:06] (current) – add emphasis brandon
Line 1: Line 1:
 +====== Command:PR ======
  
 +This is a Tiger only command, that has different usage for MicroMirrors and Piezos.
 +
 +--> MicroMirror ^
 +
 +^Shortcut  |PR| 
 +^Format  |PR [axis]=[5 to 10] …|
 +^Units    |Integer code|
 +^Type    |Axis-Specific  |
 +^Remembered |Automatically |
 +^Firmware Required|v2.83+|
 +
 +This command is “recycled” for a different use in MicroMirror axes than for piezo. In the context of a MicroMirror axis this command is used to set the MicroMirror travel range. Settings is automatically saved into non-voltatile memory, however controller needs a system ''RESET'' or ''RESTART'' for setting to take effect.
 +
 +^PR[Axis Name] = ^MicroMirror Range \\ <wrap lo>in degrees</wrap> ^
 +|5 |5|
 +|6 |6|
 +|8 \\ <wrap lo>(default)</wrap>|8|
 +|10 |10|
 +
 +Example
 +<asi> $ PR A=5
 +:A</asi>
 +Sets range of A axis as 5 degrees
 +<asi> $ PR A? B?
 +A=5 B=8 :A</asi>
 +Queries the range of axes
 +
 +<--
 +
 +--> Piezo ^ 
 +
 +^Shortcut  |PR| 
 +^Format  |PR [axis]=[0 to 8] …|
 +^Units    |Integer code|
 +^Type    |Axis-Specific  |
 +^Remembered |Automatically |
 +
 +PR is used to set the piezo travel range. It is an Axis specific command. Setting is automatically saved in the non-volatile memory. Will need a system RESET or RESTART for setting to take effect.
 +
 +^PR [Axis Name] = ^Piezo Range \\ <wrap lo>in microns</wrap> ^
 +|1 |50   |
 +|2 |100  |
 +|3 |150  |
 +|4 |200  |
 +|5 |300  |
 +|6 |350  |
 +|7 |500  |
 +|8 |70   |
 +
 +
 +<--
 +
 +--> Tunable Lens ^ 
 +
 +^Shortcut  |PR| 
 +^Format  |PR [axis]=[0 to 3] …|
 +^Units    |Integer code|
 +^Type    |Axis-Specific  |
 +^Remembered |Automatically |
 +
 +PR is used to set the Tunable Lens units or user input. It is an Axis specific command. Setting is automatically saved in the non-volatile memory. Will need a system RESET or RESTART for setting to take effect. For more info refer to [[:tiger_tunable_lens_card#unitsresolution|Units/Resolution]] section on TGTLC card page.
 +
 +^ PR [Axis Name] =             ^ Units                                                                            ^
 +| 1 <wrap lo>(default)</wrap>  | [0 to 290mA] with coordinates -32768 to +32768                                   |
 +| 2                            | [0 to 290mA] 1/1000 of dpt, <wrap lo>range usually between 26000 to 7000</wrap>  |
 +| 3                            | [-290mA to +290mA] with coordinates -32768 to +32768                             |
 +
 +
 +
 +<--
 +
 +--> SIGNAL_DAC for TGDAC4 / TGGALVO ^
 +
 +^Shortcut  |PR| 
 +^Format  |PR [axis]=[0-7] …|
 +^Units    |Integer code|
 +^Type    |Axis-Specific  |
 +^Remembered |restart required (no SS Z required) |
 +^Firmware Required|v3.3+|
 +
 +For ''TGDAC4'' card with ''SIGNAL_DAC'' firmware, the bits 0-2 of the specified code sets the output range (values 0-7 in decimal).  Bits 3-7 are reserved for future use. **Controller reset or restart is needed for setting to take effect.**
 +
 +For the ''SIGNAL_DAC'' firmware, the axis units are always in millivolts (0.001V), regardless of the PR setting. For example, when ''PR H=2'', the maximum axis value of H is 10240. When ''PR H=0'', then the maximum axis value of H is 2048.
 +
 +^ Code (Decimal)  ^ Code (Binary)  ^ Output Range       ^
 +| 0               | 000            | 0V to 2.048V       |
 +| 1               | 001            | 0V to 4.096V       |
 +| 2               | 010            | 0V to 10.24V       |
 +| 3               | 011            | __See Table Below__ |
 +| 4               | 100            | -1.024V to 1.024V  |
 +| 5               | 101            | -2.048V to 2.048V  |
 +| 6               | 110            | -5.12V to 5.12V    |
 +| 7               | 111            | -10.24V to 10.24V  |
 +
 +Setting the value with ''PR <axis>=3'' selects a default value:
 +
 +^ Firmware Version  ^ Code (Decimal)  ^ Output Range       ^
 +| ''Tiger >= v3.54'' | 0 | 0V to 2.048V |
 +| ''Tiger < v3.54'' | 2 | 0V to 10.24V |
 +
 +**Example**
 +
 +<asi> $ PR A=2 B=7
 +:A</asi>
 +Puts the output A in 0-10V mode and output B in +/- 10V mode.
 +<asi> $ PR A? B?
 +:A A=2 B=7 </asi>
 +Queries the mode of axes
 +
 +<--
 +
 +
 +{{tag>commands tiger piezo micromirror tlens}}
Address: 29391 W Enid Rd. Eugene, OR 97402, USA | Phone: +1 (541) 461-8181