|Format||ZS [X=dZ] [Y=n] [Z=mode] [F= stack_timeout]|
|Remembered||Using SS Z|
|Format||[addr#]ZS [X=dZ] [Y=n] [Z=mode] [F= stack_timeout]|
|Remembered||Using [addr#]SS Z|
Sets parameters for use with TTL triggered Z movement. User must set
TTL X=4 for this trigger mode to be active. When a positive TTL edge is detected, the Z-axis is moved by an amount
dZ (expressed in 10th microns units). This move distance is repeated for n TTL triggered moves. If
mode=1, the stage will step in the opposite direction for n moves, then turn around again, repeating a triangular waveform cycle. If
mode=0 the stage will return to the original position after n moves and repeat a saw-tooth waveform cycle.
The stage will move to the starting position upon receiving the first TTL pulse after waiting more than stack_timeout milliseconds (default 500ms) from the previous pulse.
Th axis moved by the TTL is the designated “focus index” (also the axis used for CRISP among other things). Use UNLOCK F to read or set the axis letter corresponding to “focus index”. Note the setting has to be changed, settings saved, and the controller reset or power cycled for the new setting to take effect. If the controller has a piezo but no motorized focus drive then the piezo axis should be set as the “focus index”. If both are present the “focus index” normally default to the piezo.
Backlash : ZS routine also performs the backlash compensation move for each step. For step size smaller than 10 microns, this might result in issues like irregular step sizes. Consider disabling Command:BACKLASH for smaller step sizes.
Stack Timeout : If the TTL frequency is less than 2Hz , then the controller might consider it a stack time out condition. Consider increasing the Stack timeout to accommodate the slower TTL frequency, to avoid any issue.
If there are no errors, a positive reply of :A will be returned. Example
2ZS X=10 Y=20 Z=1 :A
ZS X=10 Y=20 Z=1 :A
Setup to do twenty 1 micron slices with triangular pattern.