User Tools

Site Tools


rapid_array_scanning

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
rapid_array_scanning [2022/10/21 20:42] – jonrapid_array_scanning [2026/06/12 14:12] (current) – [Setting up the Array] chrisd
Line 16: Line 16:
 ===== The ARRAY MODULE Firmware ===== ===== The ARRAY MODULE Firmware =====
    
-With the ARRAY MODULE included in the firmware, the controller will support functions associated with moving to specific locations in a 2-dimensional XY array of positions.  The module includes support for commands to define the size and spacing of the array and the location of the first position in the array.  There are also commands to address particular positions and sequence through the array either automatically, or with external TTL or serial command control.  +With the ''ARRAY MODULE'' included in the firmware, the controller will support functions associated with moving to specific locations in a 2-dimensional XY array of positions.  The module includes support for commands to define the size and spacing of the array and the location of the first position in the array.  There are also commands to address particular positions and sequence through the array either automatically, or with external TTL or serial command control.  
  
 ==== Setting up the Array ==== ==== Setting up the Array ====
  
-The ''[[commands:array|ARRAY]]'' command is used to define the number of array points and spacing between rows and columns.  The X and Y parameters specify the number of columns and rows respectively, and the Z and F parameters specify the signed move distance in millimeters between columns and rows.  Rotation can also be accommodated.  The command to set up the array for a standard 96 well plate would be:+The ''[[commands:array|ARRAY]]'' command is used to define the number of array points and spacing between rows and columns.  The X and Y parameters specify the number of points in the fast and slow directions respectively, and the Z and F parameters specify the signed move distance in millimeters between points in the fast and slow directions.  By "fast direction" we mean the axis along which the most moves between points occur, by default along a row of points.  Rotation can also be accommodated.  The command to set up the array for a standard 96 well plate would be:
  
 ''ARRAY X=12 Y=8 Z=8.0 F=-8.0'' ''ARRAY X=12 Y=8 Z=8.0 F=-8.0''
Line 28: Line 28:
 The location of the first position in the array, the 1,1 location, is specified by the [[commands:ahome|AHOME command]].  The default value for the coordinates of the 1,1 position are 0.0, 0.0 in the controller’s coordinate system.  You need not even use the AHOME command if the stage is manually moved to the location of the 1,1 array position and then the ZERO button is used to set the coordinate zero to that location.  The AHOME command, without arguments, will establish the current stage position as the 1,1 array position.  Hence, if you move the stage manually to the 1,1 location and issue “AH”,  the stage will maintain its original coordinate system yet have the correct offsets for the fixed array moves. The location of the first position in the array, the 1,1 location, is specified by the [[commands:ahome|AHOME command]].  The default value for the coordinates of the 1,1 position are 0.0, 0.0 in the controller’s coordinate system.  You need not even use the AHOME command if the stage is manually moved to the location of the 1,1 array position and then the ZERO button is used to set the coordinate zero to that location.  The AHOME command, without arguments, will establish the current stage position as the 1,1 array position.  Hence, if you move the stage manually to the 1,1 location and issue “AH”,  the stage will maintain its original coordinate system yet have the correct offsets for the fixed array moves.
  
 +==== Configuring Move Pattern ====
 +
 +Assigning axes of motion is done using the [[commands:scan|SCAN command]].  By default the X axis is assigned to be the horizontal "fast" axis of motion, the axis is assigned to be the vertical "slow" axis of motion, and the Z axis is not used.  The ''SCAN'' command is also used to set whether a raster or serpentine pattern is used.
 ==== Controlling Moves to Array Positions ==== ==== Controlling Moves to Array Positions ====
  
Line 38: Line 41:
 ''AIJ X=i Y=j'' ''AIJ X=i Y=j''
  
-=== Self-Scanning ===+==== Self-Scanning ====
  
-The entire array can be visited sequentially in either a serpentine or raster pattern.  Scanning is initiated manually with a quick press and release of the @ button, or by issuing the ARRAY command without any arguments.   The sequence will start by moving to the 1,1 location.  When the stage arrives on target, it will delay for a period of time set by the command [[commands:rtime|RT Z=time_delay]] before continuing on to the next position.+The entire array can be visited sequentially in either a serpentine or raster pattern.  Scanning is initiated manually with a quick press and release of the @ button, or by issuing the [[array|ARRAY]] command without any arguments.   The sequence will start by moving to the 1,1 location.  When the stage arrives on target, it will delay for a period of time set by the command [[commands:rtime|RT Z=time_delay]] before continuing on to the next position.
  
-=== Commanded Next Position ===+==== Commanded Next Position ====
  
  
-The array can be traversed in order with moves made “on command” using either a serial command or TTL trigger pulse.  Using the TTL command, set the TTL input function to the array trigger using [[commands:ttl|TTL X=7]].  Either a TTL pulse on the IN0 input, or the [[commands:rbmode|RM command]] without arguments, will send the stage to the next array position.  Move to the 1,1 array position and gracefully start this scanning mode is the command “RM X=0”.  When started this way, the sequence will complete after the last position is processed and subsequent commands (TTL pulse of “RM”) to move to the next position will be ignored. +The array can be traversed in order with moves made “on command” using either a serial command or TTL trigger pulse.  Using the TTL command, set the TTL input function to the array trigger using [[commands:ttl|TTL X=7]].  Either a TTL pulse on the IN0 input, or the [[commands:rbmode|RM command]] without arguments, will send the stage to the next array position.  Move to the 1,1 array position and gracefully start this scanning mode is the command ''RM X=''.  When started this way, the sequence will complete after the last position is processed and subsequent commands (TTL pulse or ''RM'') to move to the next position will be ignored.  
 + 
 +==== Annotated Example ==== 
 + 
 +Here are serial commands to set up a scan that uses the Y axis as the fast axis (for Tiger prepend the card address) 
 +  
 +  - ''SN Y=1 Z=0'' (sets the fast axis to be Y and the slow axis to be X, doing this changes the order of settings for AR and AH) 
 +  - ''RT Z=10'' (set delay of 10ms at each position before starting next move, e.g. for camera exposure) 
 +  - ''TTL Y=2'' (configure for output TTL pulse on each landing event, not required for demonstrating but would want to use with camera in practice) 
 +  - ''AR X=14 Y=3 Z=4 F=6'' (14 points in fast axis, 3 points in slow axis, 4mm move in fast axis, 6mm move in slow axis for total of 3*14=42 points in the array) 
 +  - ''AH X=-30 Y=0'' (fast axis offset -30mm) 
 +  - ''AR'' (initiates the array self-scan)
  
 ==== LCD Display ==== ==== LCD Display ====
Line 55: Line 69:
 For arrays with 4, 8, or 16 rows, the Y address is shown as the corresponding alphabet characters – as is the common practice for standard well plate formats.  The meanings of the various state indicators are described below. For arrays with 4, 8, or 16 rows, the Y address is shown as the corresponding alphabet characters – as is the common practice for standard well plate formats.  The meanings of the various state indicators are described below.
  
-^I |IDLE |  +When the state characters are displayed in lower case on the LCD display, the TTL IN0 interrupt is disabled pending completion of the current move operation.  
-^S  |START          |+ 
 +==== Array States ==== 
 + 
 +^Array States^^ 
 +^I  |IDLE |  
 +^S  |START |
 ^D |DELAY          | ^D |DELAY          |
-^R |Aij MOVING     | +^R |AIJ MOVING     | 
-^A  |Aij ARRIVED | +^A  |AIJ ARRIVED |
 ^M  |MOVING         | ^M  |MOVING         |
 ^P |ARRIVED |  ^P |ARRIVED |
Line 65: Line 84:
 ^C |COMPLETE       | ^C |COMPLETE       |
 ^B |SELF_SCAN |  ^B |SELF_SCAN |
-^E |ERROR         |  +^E |ERROR         |
- +
-When the state characters are displayed in lower case on the LCD display, the TTL IN0 interrupt is disabled pending completion of the current move operation. +
  
 ===== The Speed versus Accuracy Trade-off ===== ===== The Speed versus Accuracy Trade-off =====
Address: 29391 W Enid Rd. Eugene, OR 97402, USA | Phone: +1 (541) 461-8181
rapid_array_scanning.1666399330.txt.gz · Last modified: by jon