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:
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.
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
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 MicroMirror cards and 4kHz for ADEPT piezo cards (but the mechanical response of piezos is much slower than 4kHz).
While the single-axis mode is active, changes to the parameters (e.g. executing
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.