User Tools

Site Tools


commands:maintain

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
commands:maintain [2020/04/13 15:09] – added link to wait command joncommands:maintain [2025/12/02 16:16] (current) – update table brandon
Line 3: Line 3:
 The Maintain command has a different function in case of a piezo actuator then a motorized actuator The Maintain command has a different function in case of a piezo actuator then a motorized actuator
  
---> MS2000 or RM2000 syntax#+--> MS2000 or RM2000 syntax ^
  
 ^Shortcut  |MA|  ^Shortcut  |MA| 
-^Format  |MAINTAIN [Axis] = [0 to 3]… | +^Format  |MAINTAIN [Axis] = [0 to 5]… | 
-^Units    |integer codes, see table below|+^Units    |Integer code, see table below|
 ^Remembered |Using SS Z | ^Remembered |Using SS Z |
  
 <-- <--
  
---> Tiger syntax# +--> Tiger syntax ^
  
 ^Shortcut  |MA|  ^Shortcut  |MA| 
-^Format  |MAINTAIN [Axis] = [0 to 3]… | +^Format  |MAINTAIN [Axis] = [0 to 5]… | 
-^Units    |integer codes, see table below|+^Units    |Integer code, see table below|
 ^Type    |Axis-Specific  | ^Type    |Axis-Specific  |
 ^Remembered |Using [addr#]SS Z | ^Remembered |Using [addr#]SS Z |
Line 22: Line 22:
 <-- <--
  
---> Function for Motorized Actuator (xy stage, z drive etc)#+--> Function for Motorized Actuator (xy stage, z drive etc) ^
  
 The maintain command specifies the behavior of the controller after move completion.  Move commands complete when the stage moves to within the finish error tolerance of the target position ([[commands:pcros|''PCROS'' or ''PC'' command]]).  Another relevant setting is the drift error ([[commands:error|''ERROR'' or ''E'' command]]).  The actions for various code values are: The maintain command specifies the behavior of the controller after move completion.  Move commands complete when the stage moves to within the finish error tolerance of the target position ([[commands:pcros|''PCROS'' or ''PC'' command]]).  Another relevant setting is the drift error ([[commands:error|''ERROR'' or ''E'' command]]).  The actions for various code values are:
  
-^code = 0  |[default]  Post-move, when the controller detects drift from target specified by the drift error value, it will return the stage axis to the target several times (18) within a timeout period (~0.5 sec.) before declaring a move error code 60 and giving up further attempts.| +^ Code | **Description** ^ 
-^code = 1 |Post-move, the controller will indefinitely continue to try to reach target when drifts greater than the drift error are detected. With codes 0 and 1, the motor drivers are turned off when the stage reaches the finish error tolerance. |  +^0  |[default]  Post-move, when the controller detects drift from target specified by the drift error value, it will return the stage axis to the target several times (18) within a timeout period (~0.5 sec.) before declaring a move error code 60 and giving up further attempts.| 
-^code = 2  |The motor drivers remain on and the servo loop remains active. NB: making a manual move (e.g. joystick) may turn the motors off. | +^1 |Post-move, the controller will indefinitely continue to try to reach target when drifts greater than the drift error are detected. With codes 0 and 1, the motor drivers are turned off when the stage reaches the finish error tolerance. |  
-^code = 3 |Drivers remain on and servos active for the post-move time set by the [[commands:wait|''WAIT'' or ''WT'' command]]. The system BUSY is released when the finish error tolerance is first achieved.  Setting the WAIT time sufficiently long can stabilize post-move drifts during data recording, but then allow for less power consumption of the driver amplifiers when waiting between moves.| +^2  |The motor drivers remain on and the servo loop remains active. NB: making a manual move (e.g. joystick) may turn the motors off. | 
-^code = 4 | Reserved | +^3 |Drivers remain on and servos active for the post-move time set by the [[commands:wait|''WAIT'' or ''WT'' command]]. The system BUSY is released when the finish error tolerance is first achieved.  Setting the WAIT time sufficiently long can stabilize post-move drifts during data recording, but then allow for less power consumption of the driver amplifiers when waiting between moves.| 
-^code = 5 | Servos Disengage. For example with motorized turrets this will allow the user to manually move the turret. |+^4 | Reserved | 
 +^5 | Servos Disengage. For example with motorized turrets this will allow the user to manually move the turret. |
  
 If there are no errors, the positive reply <wrap reply> :A </wrap> will be sent back from the controller. If there are no errors, the positive reply <wrap reply> :A </wrap> will be sent back from the controller.
Line 38: Line 39:
 <-- <--
  
---> Function for Piezo actuator#+--> Function for Piezo Actuator ^
  
 <WRAP center round info 60%> <WRAP center round info 60%>
-This feature is only available on Tiger system+This feature is only available on Tiger systems.
 </WRAP> </WRAP>
    
Line 59: Line 60:
  
 <WRAP center round info 60%> <WRAP center round info 60%>
-Note: At one point this behavior was controlled using the PM command.  It was shifted over to MA starting in v3.06 but not in its current form until v3.11.  Using this anything besides the default setting with firmware between v3.06 and v3.10 is not recommended.+**Note:** At one point this behavior was controlled using the PM command.  It was shifted over to MA starting in v3.06 but not in its current form until v3.11.  Using this anything besides the default setting with firmware between v3.06 and v3.10 is not recommended.
 </WRAP> </WRAP>
- 
- 
  
 <-- <--
- 
  
 {{tag>commands tiger ms2000}} {{tag>commands tiger ms2000}}
Address: 29391 W Enid Rd. Eugene, OR 97402, USA | Phone: +1 (541) 461-8181
commands/maintain.1586804976.txt.gz · Last modified: (external edit)