User Tools

Site Tools


array

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
array [2025/03/11 18:00] – brandonarray [2025/08/25 13:54] (current) – [Setting up the Array] brandon
Line 18: Line 18:
 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, with out 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, with out 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.
  
-Whether a raster or serpentine pattern is used is set using the ''[[commands:scan|SCAN F]]'' setting (default is serpentine).+Whether a raster or serpentine pattern is used is set using the [[commands:scan|SCAN F]] setting (default is serpentine).
  
  
-==== Controlling Moves to Array Positions ====+===== Controlling Moves to Array Positions ====
  
 There are three ways to control the movement to array positions.  They are random access serial moves with the [[commands:aij|AIJ command]], automated self-scanning, and TTL or serial commanded moves to the next array position.  As with any commanded move, TTL output pulses can be programmed to indicate the completion of the move to the array location using the [[commands:ttl|TTL command]]. There are three ways to control the movement to array positions.  They are random access serial moves with the [[commands:aij|AIJ command]], automated self-scanning, and TTL or serial commanded moves to the next array position.  As with any commanded move, TTL output pulses can be programmed to indicate the completion of the move to the array location using the [[commands:ttl|TTL command]].
Line 30: Line 30:
 <wrap cmd> AIJ X=i Y=j </wrap> <wrap cmd> AIJ X=i Y=j </wrap>
  
-=== 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 ''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'' 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 ''RT Z=time_delay'' before continuing on to the next position.
 +
 +The command ''RM F'' changes the behavior upon receiving a TTL pulse or the ARRAY command without arguments. In summary (full documentation at documentation for the command [[commands:rbmode|RBMODE]].
 +
 +1 – TTL Triggered Mode: (default) A TTL pulse or RM command without arguments moves to the next position.
 +
 +2 – One-shot Autoplay Mode: Plays the array from the beginning, at the end returning to the starting position of the array.
 +
 +3 – Repeat Autoplay Mode: Plays continuously in a loop
 +
 +4 – One-shot Autoplay Mode Without Return to Start Position: Like 2 but no move to the start.
 +
 +
 +When using the autoplay the delay set by ''RT Z'' is very important.  If it is too short then the stage may never land.  See the [[commands:rtime|RTIME (RT)]] command.
  
 <WRAP center round info 60%> <WRAP center round info 60%>
Line 39: Line 52:
  
  
-=== 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 ''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 ''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. 
Line 48: Line 61:
  
  
-=== LCD Display ===+===== LCD Display =====
  
 The bottom line of the LCD display will show the state of the ''ARRAY MODULE'' state machine as well as the coordinate location of the current array cell.  The LCD status line should look something like this: The bottom line of the LCD display will show the state of the ''ARRAY MODULE'' state machine as well as the coordinate location of the current array cell.  The LCD status line should look something like this:
Line 70: Line 83:
  
  
-The leadscrew pitch of the stage will largely determine where on the speed versus accuracy continuum the stage will operate.  The table below shows typical performance for various pitches of leadscrew for a rotary encoded stage when no backlash correction is used, and the Finish Error is set to the resolution shown in the last column.+The leadscrew pitch of the stage will largely determine where on the speed versus accuracy continuum the stage will operate.  The table below shows typical performance for various pitches of leadscrew for a rotary encoded stage when no backlash correction is used, and the Finish Error is set to the resolution shown in the last column.  See the page about [[lead_screw_pitch_options_xystage|leadscrew pitch options page]] for more details.
  
 ^Lead Screw Pitch ^Maximum Stage Speed (mm/s) ^Rotary Encoder Resolution(nm) ^Typical Performance ^^^^  ^Lead Screw Pitch ^Maximum Stage Speed (mm/s) ^Rotary Encoder Resolution(nm) ^Typical Performance ^^^^
Address: 29391 W Enid Rd. Eugene, OR 97402, USA | Phone: +1 (541) 461-8181
array.1741730451.txt.gz · Last modified: by brandon