User Tools

Site Tools


commands:bcustom

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:bcustom [2022/03/14 16:13] – update button press explanation brandoncommands:bcustom [2026/11/11 13:58] (current) – change to link brandon
Line 1: Line 1:
 ====== Command:BCUSTOM (BCA) ====== ====== Command:BCUSTOM (BCA) ======
  
---> MS2000 or RM2000 syntax#+--> MS2000 or RM2000 syntax ^
  
 ^Shortcut  |BCA   |  ^Shortcut  |BCA   | 
Line 7: Line 7:
 ^Units |Integer code (see table below)| ^Units |Integer code (see table below)|
 ^Firmware Version Required |9.2g+ | ^Firmware Version Required |9.2g+ |
-^Remembered |Automatically on powerdown. Not affected by SS Z or SS X. Before version 9.2m, SS Z used to save settings. |+^Remembered |Automatically on power down. Not affected by SS Z or SS X. \\ Before version 9.2m, SS Z used to save settings. |
  
 <-- <--
  
---> Tiger syntax# +--> Tiger syntax ^
  
 ^Shortcut  |BCA   |  ^Shortcut  |BCA   | 
Line 17: Line 17:
 ^Units |Integer code (see table below)| ^Units |Integer code (see table below)|
 ^Type    |Card-Addressed  | ^Type    |Card-Addressed  |
-^Firmware Version Required |3+ | +^Firmware Version Required |3.0+ | 
-^Remembered |Automatically on powerdown. Not affected by [addr]SS Z or [addr]SS X. Before version 3.3, [addr]SS Z used to save settings.  |+^Remembered |Automatically on powerdown. Not affected by [addr]SS Z or [addr]SS X. \\ Before version 3.3, [addr]SS Z used to save settings.  |
  
 <-- <--
Line 28: Line 28:
 As of ''Tiger'' version 3.18 and ''MS2000'' version 9.2l a button function can be initiated over serial using the ''BE F'' command ([[commands:benable|BENABLE]]).  The function doesn't need to be assigned to a particular button for this to work. Note: this function does not interact with the ''button_flag_byte'', use [[commands:extra|EXTRA M=#]] if you need that functionality. As of ''Tiger'' version 3.18 and ''MS2000'' version 9.2l a button function can be initiated over serial using the ''BE F'' command ([[commands:benable|BENABLE]]).  The function doesn't need to be assigned to a particular button for this to work. Note: this function does not interact with the ''button_flag_byte'', use [[commands:extra|EXTRA M=#]] if you need that functionality.
  
-<WRAP center round box 60%> +<WRAP center round box 70%> 
-Note:  Behavior of this command is very different pre-Tiger version 3.0 and MS2000 version 9.2g+**Note:** The behavior of this command is very different pre-Tiger version 3.0 and MS2000 version 9.2g
 </WRAP> </WRAP>
  
Line 49: Line 49:
 ^ No  ^ Function                                                                                                                                                                                                                                                ^ ^ No  ^ Function                                                                                                                                                                                                                                                ^
 | 0   | No function performed                                                                                                                                                                                                                                   | | 0   | No function performed                                                                                                                                                                                                                                   |
-| 1   | Smart Move related                                                                                                                                                                                                                                      |+| 1 | <wrap lo>Unused Button Function</wrap>                                                                                                                                     |
 | 2   | Toggles Knob between two axis, like Z and F                                                                                                                                                                                                             | | 2   | Toggles Knob between two axis, like Z and F                                                                                                                                                                                                             |
-| 3   | TRACKING, CRISP, LSRTRK related, short press functions. Steps from IDLE to Calibration states to lock and unlock state.                                                                                                                                 |+| 3   | CRISP and TRACKING related, short press functions. Steps from IDLE to Calibration states to lock and unlock state.                                                                                                                                 |
 | 4   | CLOCKED DEVICE related, moves clocked devices like Turret and slider to next position.<wrap lo>Note, if there are multiple clocked devices on the same card or controller, all of them are moved. For more specificity see 36 and 37 below</wrap>       | | 4   | CLOCKED DEVICE related, moves clocked devices like Turret and slider to next position.<wrap lo>Note, if there are multiple clocked devices on the same card or controller, all of them are moved. For more specificity see 36 and 37 below</wrap>       |
 | 5   | ARRAY MODULE related,same as [[commands:array|Command:ARRAY (AR)]]. When [[commands:ttl|TTL X=7]] does move to next array position.                                                                                                                     | | 5   | ARRAY MODULE related,same as [[commands:array|Command:ARRAY (AR)]]. When [[commands:ttl|TTL X=7]] does move to next array position.                                                                                                                     |
Line 57: Line 57:
 | 7   | SCAN MODULE related, halts scan move                                                                                                                                                                                                                    | | 7   | SCAN MODULE related, halts scan move                                                                                                                                                                                                                    |
 | 8   | AUTOFOCUS related, performs autofocus routine.                                                                                                                                                                                                          | | 8   | AUTOFOCUS related, performs autofocus routine.                                                                                                                                                                                                          |
-| 9   | <del>CRIFF related, toggle CRIFF lock</del> This function no longer exists, CRIFF was replaced by CRISP.                                                                                                                                                | +| 9   | <wrap lo>Unused Button Function</wrap>                                                                                                                         | 
-| 10  | AT_XYZ_KNOB related, changes xyz knob state. Cycles knob control between x,y,z axis.                                                                                                                                                                    | +| 10  | AT_XYZ_KNOB related, changes XYZ knob state. Cycles knob control between X, Y, and Z axes.                                                                                                                                                                    | 
-| 11  | AT_XYZF_KNOB related, changes xyzf knob state. Cycles knob control between x,y,z and f axis.                                                                                                                                                            | +| 11  | AT_XYZF_KNOB related, changes XYZF knob state. Cycles knob control between X, Y, Z, and F axes.                                                                                                                                                            | 
-| 12  | ZLOADER related, Moves Z away from the sample, to its upper limit, and back. For loading samples.                                                                                                                                                       |+| 12  | ZLOADER related, Moves Z away from the sample, to its upper limit, and back. For loading samples. <wrap lo>Only available on MS2000.</wrap>                                                                                                                                                      |
 | 13  | CRISP and TRACKING related, performs CRISP very long press functions                                                                                                                                                                                    | | 13  | CRISP and TRACKING related, performs CRISP very long press functions                                                                                                                                                                                    |
 | 14  | ADEPT related, toggles between piezo external and internal input mode                                                                                                                                                                                   | | 14  | ADEPT related, toggles between piezo external and internal input mode                                                                                                                                                                                   |
 | 15  | CRISP and TRACKING related, performs CRISP long press functions. Stops current CRISP operation like stop dither, unlock etc.                                                                                                                            | | 15  | CRISP and TRACKING related, performs CRISP long press functions. Stops current CRISP operation like stop dither, unlock etc.                                                                                                                            |
 | 16  | ARRAY MODULE related, puts ARRAY Module in start state                                                                                                                                                                                                  | | 16  | ARRAY MODULE related, puts ARRAY Module in start state                                                                                                                                                                                                  |
-| 17  | <del>CRIFF related, change CRIFF state.</del> This function no longer exists, CRIFF was replaced by CRISP.                                                                                                                                              | +| 17 | <wrap lo>Unused Button Function</wrap>                                                                                                                             | 
-| 18  | RING BUFFER related, loads current stage position into ring buffer                                                                                                                                                                                      |+| 18  | RING BUFFER related, loads current stage positions of all axes into ring buffer                                                                                                                                                                         |
 | 19  | AT RAMM LOAD related, moves Y and F axis to their upper and lower limits.                                                                                                                                                                               | | 19  | AT RAMM LOAD related, moves Y and F axis to their upper and lower limits.                                                                                                                                                                               |
 | 20  | SCAN MODULE related, puts SCAN MODULE is start state                                                                                                                                                                                                    | | 20  | SCAN MODULE related, puts SCAN MODULE is start state                                                                                                                                                                                                    |
Line 75: Line 75:
 | 25  | TOGGLE ALL AXES related, swaps knob control between two axes.                                                                                                                                                                                           | | 25  | TOGGLE ALL AXES related, swaps knob control between two axes.                                                                                                                                                                                           |
 | 26  | TRACKING related, short press function                                                                                                                                                                                                                  | | 26  | TRACKING related, short press function                                                                                                                                                                                                                  |
-| 27  | JS PULSE related, sets TTL in ready state                                                                                                                                                                                                               |+| 27  | <wrap lo>Unused Button Function</wrap>                                                                                                                                                                                                           |
 | 28  | JS_FASTSLOW related, toggles joystick speed between fast and slow                                                                                                                                                                                       | | 28  | JS_FASTSLOW related, toggles joystick speed between fast and slow                                                                                                                                                                                       |
 | 29  | PLANAR CORRECTION related, resets planar correction                                                                                                                                                                                                     | | 29  | PLANAR CORRECTION related, resets planar correction                                                                                                                                                                                                     |
Line 88: Line 88:
 | 38  | CLOCKED DEVICE related, moves the FIRST clocked devices like Turret and slider to previous position. <wrap lo>Similar to option 30</wrap>                                                                                                               | | 38  | CLOCKED DEVICE related, moves the FIRST clocked devices like Turret and slider to previous position. <wrap lo>Similar to option 30</wrap>                                                                                                               |
 | 39  | CLOCKED DEVICE related, moves the SECOND clocked devices like Turret and slider to previous position. <wrap lo>Similar to option 30</wrap>                                                                                                              | | 39  | CLOCKED DEVICE related, moves the SECOND clocked devices like Turret and slider to previous position. <wrap lo>Similar to option 30</wrap>                                                                                                              |
-| 40  | HOME related, issues a [[commands:home|Command:HOME]] on all axis motors (''MS2000'' 9.2m+ and ''Tiger'' v3.35+ firmware)                                                                                                                               | +| 40  | HOME related, issues a [[commands:home|Command:HOME]] on all axis motors <wrap lo>MS2000 9.2n and Tiger v3.36 firmware</wrap>                                                                                                                           | 
-| 41  | ZERO related, issues a [[commands:home|Command:ZERO]] on all axes. (''MS2000'' 9.2m+ firmware and ''Tiger'' v3.35+ firmware)                                                                                                                            |+| 41  | ZERO related, issues a [[commands:home|Command:ZERO]] on all axes. <wrap lo>MS2000 9.2n and Tiger v3.36 firmware</wrap>                                                                                                                                 | 
 +| 42  | Repeats the last issued relative move  [[commands:MOVREL|Command:MOVREL]] <wrap lo>MS2000 9.2o firmware</wrap>                                                                                                                                          | 
 + 
 +--> Deprecated Button Functions # 
 + 
 +| 1   | <del>Smart Move related</del> <wrap lo>This function no longer exists, removed in Tiger 2.5 and MS2000 9.2p</wrap> | 
 +| 9   | <del>CRIFF related, toggle CRIFF lock</del><wrap lo> This function no longer exists, CRIFF was replaced by CRISP.</wrap> | 
 +| 17  | <del>CRIFF related, change CRIFF state.</del> <wrap lo>This function no longer exists, CRIFF was replaced by CRISP.</wrap> | 
 + 
 +<-- 
  
-    
 == Example: == == Example: ==
-Take a firmware build like  ''STD_XY''. This firmware is packed with modules like, + 
-  * Ring Buffer module +Take a firmware build like  ''STD_XY''. This firmware is packed with modules such as: 
-  * JS_FASTSLOW, joystick button press toggles joystick speed between fast slow.+  * ''RING BUFFER'' module 
 +  * ''JS_FASTSLOW'', joystick button press toggles joystick speed between fast slow.
   
-In a built like this there are a lot of modules fighting for control of the buttons. There is a priority list that sets up the defaults button function . Lets Query the controller on what the default assignments ended up being. +In a build like this there are a lot of modules fighting for control of the buttons. There is a priority list that sets up the defaults button function. Lets Query the controller on what the default assignments ended up being. 
  
 --> Tiger Example# --> Tiger Example#
Line 171: Line 181:
 33: O:Tur v3.26 TURRET_SINGLE Apr 30 2019:08:41:10</asi> 33: O:Tur v3.26 TURRET_SINGLE Apr 30 2019:08:41:10</asi>
  
-A user with a Tiger system in the above configuration has two clocked position devices. A filter slider on card #2 and turret on card#3. They would like to move these devices with button presses. Lets set it up so that on short '@' button press (less than 1-sec press) Filter slider moves, then on long'@' button press (1 to 3-sec press) the turret moves. The button function that does this is '# 4' (see the table above). '@' short press assigned with 'X' variable, and '@' long press is assigned with 'Y' variable. +A user with a Tiger system in the above configuration has two clocked position devices. A filter slider on card #2 and turret on card #3. They would like to move these devices with button presses. Lets set it up so that on short ''@'' button press (less than 1-sec press) Filter slider moves, then on long @ button press (1 to 3-sec press) the turret moves. The button function that does this is #4 (see the table above). @ short press assigned with 'X' variable, and '@' long press is assigned with 'Y' variable. 
  
-<wrap cmd> 2BCA X=4 Y=0 </wrap>, this tells card#2 which drives the filter slider to respond to short @ press with slider move, and ignore any long @ button presses. +<wrap cmd> 2BCA X=4 Y=0 </wrap>, this tells card #2 which drives the filter slider to respond to short @ press with slider move, and ignore any long @ button presses. 
  
-<wrap cmd> 3BCA X=0 Y=4 </wrap>, this tells card#3 which drives the turret to respond to long @press with turret move and ignore any short @ button presses. +<wrap cmd> 3BCA X=0 Y=4 </wrap>, this tells card #3 which drives the turret to respond to long @press with turret move and ignore any short @ button presses. 
  
-<wrap cmd> 1BCA X=0 Y=0 </wrap>, this tells card#1 which drives XY stage to ignore any short or long @ button presses. +<wrap cmd> 1BCA X=0 Y=0 </wrap>, this tells card #1 which drives XY stage to ignore any short or long @ button presses. 
    
-Try it out. If you like the behavior, commit it to systems onboard memory with serial commands+Try it out. If you like the behavior, commit it to the systems onboard memory with serial commands
    
 <asi> $ 1SS Z  <asi> $ 1SS Z 
 $ 2SS Z $ 2SS Z
 $ 3SS Z</asi> $ 3SS Z</asi>
-  
-More info on SS Z command is here, http://www.asiimaging.com/docs/commands/saveset 
-  
  
 +Learn more about the [[:commands:saveset|SS Z command]].
  
  
 {{tag>commands tiger ms2000}} {{tag>commands tiger ms2000}}
Address: 29391 W Enid Rd. Eugene, OR 97402, USA | Phone: +1 (541) 461-8181
commands/bcustom.1647288829.txt.gz · Last modified: by brandon