commands:zs

# Differences

This shows you the differences between two versions of the page.

 commands:zs [2016/09/07 22:03]asiadmin ↷ Page moved from documentation:commands:zs to commands:zs commands:zs [2019/04/18 23:33] (current) Both sides previous revision Previous revision 2018/06/04 22:01 jon 2016/11/29 17:43 vik 2016/09/07 22:03 asiadmin ↷ Page moved from documentation:commands:zs to commands:zs2016/03/17 19:37 vik 2016/03/17 19:37 vik created Next revision Previous revision 2018/06/04 22:01 jon 2016/11/29 17:43 vik 2016/09/07 22:03 asiadmin ↷ Page moved from documentation:commands:zs to commands:zs2016/03/17 19:37 vik 2016/03/17 19:37 vik created Line 1: Line 1: + ====== Command:ZS ====== + --> MS2000 or RM2000 syntax# + + ^Shortcut ​ |ZS| + ^Format ​ |ZS [X=dZ] [Y=n] [Z=mode] [F= stack_timeout]| + ^Remembered |Using SS Z | + + <-- + + --> Tiger syntax# ​ + + ^Shortcut ​ |ZS| + ^Format ​ |[addr#]ZS [X=dZ] [Y=n] [Z=mode] [F= stack_timeout]| + ^Type    |Card-Addressed| + ^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 [[commands:​unlock|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 [[commands:​backlash|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. ​ + ​ + + + == Reply == + + If there are no errors, a positive reply of :A ​ will be returned. + Example + + --> Tiger Example# + + Focus Drive axis is on Card#2 + + $2ZS X=10 Y=20 Z=1 + :​A ​ + + <-- + + -->​MS2000 Example# + +$ ZS X=10 Y=20 Z=1 + :​A ​ + + <-- + + Setup to do twenty 1 micron slices with triangular pattern. + + + + + {{tag>​commands tiger ms2000}}
Address: 29391 W Enid Rd. Eugene, OR 97402, USA | Phone: +1 (541) 461-8181