User Tools

Site Tools


ring_buffer

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
ring_buffer [2026/08/13 19:17] – [Serial Command Cheatsheet] chrisdring_buffer [2026/08/13 20:31] (current) – [Looping or single-use buffer points and automatic re-triggering] chrisd
Line 41: Line 41:
 ==== Using serial commands to load the buffer and control automated moves ==== ==== Using serial commands to load the buffer and control automated moves ====
  
-The ring buffer may be preloaded with values via the serial command [[commands:load|LOAD]].  Serial commands can also be used to advance to the next position as well as to control which axes will be affected by the move commands.  See [[commands:load|LOAD]], [[commands:rbmode|RBMODE]], and [[commands:ttl|TTL commands]] for details.  Contact ASI for details.+The ring buffer may be preloaded with values via the serial command [[commands:load|LOAD]].  Serial commands can also be used to advance to the next position as well as to control which axes will be affected by the move commands, and what will trigger a move to the next position.  See [[commands:load|LOAD]], [[commands:rbmode|RBMODE]], and [[commands:ttl|TTL commands]] for details.  Contact ASI for details. 
 + 
 +==== Looping or single-use buffer points and automatic re-triggering ==== 
 + 
 +The command [[commands:rbmode|RBMODE]] can select whether ring buffer points are visited only once then deleted (Consume Mode) or if the ring buffer will repeat from the beginning once the end is reached. This command also can control if the ring buffer is to automatically move to the next position after being triggered, or only advance to the next point from each external trigger. This command also selects which axes are allowed for ring buffer moves.
  
 ==== Serial Command Cheatsheet ==== ==== Serial Command Cheatsheet ====
Line 54: Line 58:
 | Number of Positions                      | -                           | [[commands:rbmode|RM X?]]   | Number of positions               | | Number of Positions                      | -                           | [[commands:rbmode|RM X?]]   | Number of positions               |
 | Axis Byte                                | [[commands:rbmode|RM Y=#]]  | [[commands:rbmode|RM Y?]]   | Enable or disable axes            | | Axis Byte                                | [[commands:rbmode|RM Y=#]]  | [[commands:rbmode|RM Y?]]   | Enable or disable axes            |
-| Mode Byte                                | [[commands:rbmode|RM F=#]]  | [[commands:rbmode|RM F?]]   | Ring buffer mode                  |+| Mode Byte²                               | [[commands:rbmode|RM F=#]]  | [[commands:rbmode|RM F?]]   | Ring buffer mode                  |
 | Read Index                               | [[commands:rbmode|RM Z=#]]  | [[commands:rbmode|RM Z?]]   | Current read index                | | Read Index                               | [[commands:rbmode|RM Z=#]]  | [[commands:rbmode|RM Z?]]   | Current read index                |
 | TTL In Mode 1                            | [[commands:ttl|TTL X=1]]    | -                           | Move to next position (absolute)  | | TTL In Mode 1                            | [[commands:ttl|TTL X=1]]    | -                           | Move to next position (absolute)  |
Line 65: Line 69:
  
 ¹ See the [[commands:load|LOAD]] command for more details. ¹ See the [[commands:load|LOAD]] command for more details.
-² See the section at the bottom of [[commands:rbmode|RBMODE]] for more details.+ 
 +² See the section at the bottom of [[commands:rbmode|RBMODE]] for details about the addition of Consume Mode (F=0).
  
 {{tag>advanced_feature ringbuffer ms2000 tiger}} {{tag>advanced_feature ringbuffer ms2000 tiger}}
  
Address: 29391 W Enid Rd. Eugene, OR 97402, USA | Phone: +1 (541) 461-8181
ring_buffer.1786663067.txt.gz · Last modified: by chrisd