User Tools

Site Tools


singleaxis

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
singleaxis [2026/02/03 18:17] – brandonsingleaxis [2026/09/01 15:52] (current) – MOVREL fix brandon
Line 2: Line 2:
  
 The single-axis firmware module lets the controller move the actuators in patterns including sawtooth, triangle, and square waves. This module is intended to run off a 4Khz internal clock, though provision has been made to accept an external clock on the TTL input (only lightly tested).  They can also be configured to output TTL pulses upon completion of each cycle.  For both these TTL functions, the corresponding physical connectors need to be in place. The single-axis firmware module lets the controller move the actuators in patterns including sawtooth, triangle, and square waves. This module is intended to run off a 4Khz internal clock, though provision has been made to accept an external clock on the TTL input (only lightly tested).  They can also be configured to output TTL pulses upon completion of each cycle.  For both these TTL functions, the corresponding physical connectors need to be in place.
- 
-<WRAP center round info 80%> 
-**Note:** The single axis mode must be idle before setting any parameters such as SAA, SAF, SAO, or SAP. The **behavior is undefined** if the single axis mode is not idle. The mode can be set to idle with SAM <axis>=0. 
-</WRAP> 
  
 Provision has been made for the user to control the following features of the single-axis output pattern: Provision has been made for the user to control the following features of the single-axis output pattern:
Line 20: Line 16:
 While a single-axis mode is active (i.e. when the pattern is being generated and output), the axis move status character (accessed by ''RDSTAT [axis]+'') is set to <wrap reply> A</wrap>. While a single-axis mode is active (i.e. when the pattern is being generated and output), the axis move status character (accessed by ''RDSTAT [axis]+'') is set to <wrap reply> A</wrap>.
  
-When single-axis mode is active then moving the axis (either using ''MOVE'' or ''MOVEREL'' or by using the joystick or wheels) will automatically update the offset.  Thus, the single-axis pattern always has the same position on start-up as where it last was used, unless the SAO command has been used in the interim to select a new offset.  However, moving the axis position while the single-axis mode is idle does not change the offset.+When single-axis mode is active then moving the axis (either using ''MOVE'' or ''MOVREL'' or by using the joystick or wheels) will automatically update the offset.  Thus, the single-axis pattern always has the same position on start-up as where it last was used, unless the SAO command has been used in the interim to select a new offset.  However, moving the axis position while the single-axis mode is idle does not change the offset.
  
 For MicroMirror cards with fast DACs (usually axes A and C, or axes P and Q), the single-axis functions update the fast DACs at a rate of 40kHz beginning with firmware version 2.8.  Otherwise, the DAC update rate is 4kHz divided by the number of card axes. e.g. 1kHz for typical 4-channel SPIM Micro-Mirror cards and 4kHz for ADEPT piezo cards (but the mechanical response of piezos is much slower than 4kHz).  The phototargeting builds have only two fast DACs, usually axes H and I, and include provision for drawing circles/ellipses to perform ring TIRF. For MicroMirror cards with fast DACs (usually axes A and C, or axes P and Q), the single-axis functions update the fast DACs at a rate of 40kHz beginning with firmware version 2.8.  Otherwise, the DAC update rate is 4kHz divided by the number of card axes. e.g. 1kHz for typical 4-channel SPIM Micro-Mirror cards and 4kHz for ADEPT piezo cards (but the mechanical response of piezos is much slower than 4kHz).  The phototargeting builds have only two fast DACs, usually axes H and I, and include provision for drawing circles/ellipses to perform ring TIRF.
Address: 29391 W Enid Rd. Eugene, OR 97402, USA | Phone: +1 (541) 461-8181
singleaxis.1770160663.txt.gz · Last modified: by brandon