User Tools

Site Tools


Single-axis functions

The single-axis firmware module lets the controller move the actuators in patterns including ramps, triangles and pulses. 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.

Provision has been made for the user to control the following features of the single-axis output pattern:

  • Peak-to-peak amplitude (SAA)
  • Period (SAF)
  • Pattern and miscellaneous configuration settings (SAP)
  • Offset or initial center point (SAO)

Note that some of these settings are also used by the SPIM firmware module. When a SPIM scan is initiated then any active single-axis function on the MicroMirror card is stopped. When SPIM is armed for a piezo card any active single-axis function on the card is stopped.

The SAM command is used to activate and also inactivate single-axis patterns.

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 A .

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.

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.

While the single-axis mode is active, changes to the parameters (e.g. executing SAA, SAF, SAP, or SAO) automatically take effect as of firmware version 2.82. However, axis synchronization may be lost during the update, so if synchronization is important then it should be performed again after any parameter changes are made by executing SAM with mode 3 again.

In Command:TTL OUT mode 22, TTL OUT0 is controlled by Single-axis function module. With the Command:SAP user can generate a TTL pulse that are synchronised with Single-axis function actuator motion. Available only in firmware version 3.17 and above.

2018/06/20 17:32
2018/06/20 17:34
2023/07/19 20:27
2018/06/20 17:33
2017/05/24 18:31
Address: 29391 W Enid Rd. Eugene, OR 97402, USA | Phone: +1 (541) 461-8181
singleaxis.txt · Last modified: 2022/02/09 21:39 by jon