User Tools

Site Tools


commands:pz

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:pz [2023/03/31 14:24] – stevecommands:pz [2026/04/14 15:41] (current) – Clarification on old PZ Y range. chrisd
Line 1: Line 1:
 ====== Command:PZ ====== ====== Command:PZ ======
  
---> MS2000 or RM2000 syntax#+--> MS2000 or RM2000 syntax ^
  
-^Format  |PZ X=[1 to 255] Y=[20 to 5101] Z=[0 to 3] <wrap lo>(pre 9.2f)</wrap> \\ PZ X=[1 to 255] Y=[1 to 255] Z=[0 to 3,+,-] F=[0 to 65000] <wrap lo>(9.2f and above)</wrap>| +^ Format      | PZ X=[1 to 255] Y=[25 to 5101] Z=[0 to 3] <wrap lo>(pre 9.2f)</wrap> \\ PZ X=[1 to 255] Y=[1 to 255] Z=[0 to 3,+,-] F=[0 to 65000] <wrap lo>(9.2f and above)</wrap>  | 
-^Units    |integer codes| +^ Units       | Integer codes                                                                                                                                                        | 
-^Remembered |X and Y automatically , Z and FUsing SS Z |+^ Remembered  | X and Y automatically, Z and F using SS Z                                                                                                                            |
  
 <-- <--
  
---> Tiger syntax# +--> Tiger syntax ^
  
 ^Format  |[#Addr]PZ X=[1 to 255] Y=[25 to 5101] Z=[0 to 3] F=[0 to 100] T=[0 to 500] <wrap lo>(pre v2.83)</wrap> \\ [#Addr]PZ X=[1 to 255] Y=[1 to 255] Z=[0 to 3,+,-] (v3.11 and above: F=[0 to 65000] R=[0 to 100] T=[0 to 500]) \\ <wrap lo>(v2.83-3.10: F=[0 to 100] T=[0 to 500])</wrap> | ^Format  |[#Addr]PZ X=[1 to 255] Y=[25 to 5101] Z=[0 to 3] F=[0 to 100] T=[0 to 500] <wrap lo>(pre v2.83)</wrap> \\ [#Addr]PZ X=[1 to 255] Y=[1 to 255] Z=[0 to 3,+,-] (v3.11 and above: F=[0 to 65000] R=[0 to 100] T=[0 to 500]) \\ <wrap lo>(v2.83-3.10: F=[0 to 100] T=[0 to 500])</wrap> |
-^Units    |integer codes|+^Units    |Integer codes|
 ^Type    |Card-Addressed  | ^Type    |Card-Addressed  |
 ^Remembered |Using [addr#]SS Z | ^Remembered |Using [addr#]SS Z |
Line 18: Line 18:
 <-- <--
  
-The **X** argument sets the zero adjust potentiometer of the ADEPT card.The setting is stored in a non volatile memory on the ADEPT board. This is one of the settings that are automatically picked during both long and short auto calibration. Please refer the calibration section for its usage. On Tiger controller [[commands:psg|PSG command]] is equivalent. One does not have an advantage over another; usage is left to user preference.   +The **X** argument sets the zero adjust potentiometer of the ''ADEPT'' card.  Only values between 1 and 255 are accepted. The setting is stored in non-volatile memory on the ''ADEPT'' board. This is one of the settings that are automatically picked during both long and short auto calibration. Please refer the calibration section for its usage. On Tiger controller [[commands:psg|PSG command]] is equivalent. One does not have an advantage over another; usage is left to user preference.  
-  +
-The **Y** argument sets the gain of the feedback stage. The setting is stored in a non volatile memory on the ADEPT board. This is one of the settings that is automatically picked during long auto calibration. Please refer the calibration section for its usage.  Pre MS2000 v9.2f and Tiger v2.83 a formula was used to convert 25-5101 to 8 bit 255. We had rounding off issues and such. We removed the formula so now user can enter the setting directly and thus have more control.On Tiger [[commands:pg|PG command]] is equivalent.  One does not have an advantage over another; usage is left to user preference.  +
    
 +The **Y** argument sets the gain of the feedback stage. The setting is stored in non-volatile memory on the ''ADEPT'' board. This is one of the settings that is automatically picked during long auto calibration. Please refer the calibration section for its usage. On Tiger [[commands:pg|PG command]] is equivalent.  One does not have an advantage over another; usage is left to user preference.  
 +
 +<wrap lo>Pre MS2000 v9.2f & Tiger v2.83:</wrap> For the Gain (Y) setting, a formula was used to convert the numerical range ''[25 to 5101]'' to 8-bit ''[255 to 1]'' and back again. Due to rounding issues and such, we removed the formula so now user can enter the setting directly as [0 to 255] and have more control. 
 +
 The **Z** argument sets the board in various modes. On Tiger controller [[commands:pm|PM command]] is equivalent in firmware v2.8+.  One does not have an advantage over another; usage is left to user preference.   The **Z** argument sets the board in various modes. On Tiger controller [[commands:pm|PM command]] is equivalent in firmware v2.8+.  One does not have an advantage over another; usage is left to user preference.  
  
Line 27: Line 29:
 |0 |Controller controlled, Closed loop (default) | |0 |Controller controlled, Closed loop (default) |
 |1 |External input, Closed Loop          | |1 |External input, Closed Loop          |
-|2 |Controller controlled, Open loop(rare)             | +|2 |Controller controlled, Open loop (rare)             | 
-|3 |External input, open loop(rare)            |+|3 |External input, Open loop (rare)            |
 |PZ Z+ |Fast Mode                            | |PZ Z+ |Fast Mode                            |
 |PZ Z- |Slow Mode                            | |PZ Z- |Slow Mode                            |
Line 34: Line 36:
 The **F** argument (requires Tiger v3.11+ and MS2000 v9.2f) sets the value of the timer for Auto Sleep feature.  Units of are in minutes. To maximize piezo actuators’ lifetime they should to be turned off when not in use. Every time the piezo is moved (e.g. commanded move, TTL-triggered move, or with a manual input device like the wheel) the auto sleep timer is reset to 0.  When the timer reaches the value set by the **F** argument the sleep state is entered.  In the sleep state piezos are moved to the sleep position and the code returned by the [[commands:rdstat|RS+ command]] (equivalent to the right status character on MS-2000 LCD screens) changes to **E**.  However, the position returned by the [[commands:where|WHERE command]] is not changed during sleep.  Further, any move will proceed from the pre-sleep position.  To disable the auto sleep feature, set the **F** argument to 0.  On most firmware builds the default value is 0, i.e. disabled. However on SPIM builds the default value is 5 minutes. To exit sleep without affecting anything else, send the [[commands:movrel|R <axis> command]] to execute a relative move of distance 0.  Setting the **F** argument clears the timer but does not exit the sleep state. The **F** argument (requires Tiger v3.11+ and MS2000 v9.2f) sets the value of the timer for Auto Sleep feature.  Units of are in minutes. To maximize piezo actuators’ lifetime they should to be turned off when not in use. Every time the piezo is moved (e.g. commanded move, TTL-triggered move, or with a manual input device like the wheel) the auto sleep timer is reset to 0.  When the timer reaches the value set by the **F** argument the sleep state is entered.  In the sleep state piezos are moved to the sleep position and the code returned by the [[commands:rdstat|RS+ command]] (equivalent to the right status character on MS-2000 LCD screens) changes to **E**.  However, the position returned by the [[commands:where|WHERE command]] is not changed during sleep.  Further, any move will proceed from the pre-sleep position.  To disable the auto sleep feature, set the **F** argument to 0.  On most firmware builds the default value is 0, i.e. disabled. However on SPIM builds the default value is 5 minutes. To exit sleep without affecting anything else, send the [[commands:movrel|R <axis> command]] to execute a relative move of distance 0.  Setting the **F** argument clears the timer but does not exit the sleep state.
  
---> Additional Tiger Only function#+--> Additional Tiger-only Functions ^
  
 The **R** argument only applies when the piezo maintain code is set to 1.  (In firmware between v2.83 and v3.10 it was the **F** argument instead.)  It sets the maximum time to move towards the overshoot position, expressed in milliseconds.  Refer to the documentation under [[commands:maintain|MA]]. The **R** argument only applies when the piezo maintain code is set to 1.  (In firmware between v2.83 and v3.10 it was the **F** argument instead.)  It sets the maximum time to move towards the overshoot position, expressed in milliseconds.  Refer to the documentation under [[commands:maintain|MA]].
Line 42: Line 44:
 <-- <--
  
- +{{tag>piezo commands tiger ms2000}}
- +
-{{tag>commands tiger ms2000 piezo}}+
Address: 29391 W Enid Rd. Eugene, OR 97402, USA | Phone: +1 (541) 461-8181
commands/pz.1680287077.txt.gz · Last modified: by steve