ring_buffer
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| ring_buffer [2023/08/14 14:30] – fix table, absolute moves are TTL X=1 brandon | ring_buffer [2026/08/13 20:31] (current) – [Looping or single-use buffer points and automatic re-triggering] chrisd | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| ==== Using controller buttons to manipulate the RING BUFFER ==== | ==== Using controller buttons to manipulate the RING BUFFER ==== | ||
| - | The easiest way to use the ring buffer is to save positions and revisit them using the buttons on the controller. The default button functions are listed below. | + | A common |
| <WRAP center round info 60%> | <WRAP center round info 60%> | ||
| 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: | + | The ring buffer may be preloaded with values via the serial command [[commands: |
| + | |||
| + | ==== Looping or single-use buffer points and automatic re-triggering ==== | ||
| + | |||
| + | The command [[commands: | ||
| ==== Serial Command Cheatsheet ==== | ==== Serial Command Cheatsheet ==== | ||
| Line 47: | Line 51: | ||
| On Tiger, these commands are card addressed except for the '' | On Tiger, these commands are card addressed except for the '' | ||
| - | ^ Ring Buffer Serial Commands |||| | + | ^ Ring Buffer Serial Commands |
| - | ^ Property ^ Set ^ Get ^ Notes ^ | + | ^ Property |
| - | | Clear Positions | RM X=0 | - | Clears the ring buffer | | + | | Clear Positions |
| - | | Start Array Scan | RM X=1 | - | Requires ARRAY_MODULE | | + | | Start Array Scan | [[commands: |
| - | | Single TTL Pulse | RM | - | Based on TTL input mode | | + | | Single TTL Pulse | [[commands: |
| - | | Number of Positions | - | RM X? | Number of positions | | + | | Number of Positions |
| - | | Axis Byte | RM Y=# | RM Y? | Enable or disable axes | | + | | Axis Byte | [[commands: |
| - | | Mode Byte | RM F=# | RM F? | Ring buffer mode | | + | | Mode Byte² |
| - | | Read Index | RM Z=# | RM Z? | Current read index | | + | | Read Index | [[commands: |
| - | | TTL In Mode 1 | TTL X=1 | - | Move to next position (absolute) | | + | | TTL In Mode 1 | [[commands: |
| - | | TTL In Mode 12 | TTL X=12 | - | Move to next position (relative) | | + | | TTL In Mode 12 | [[commands: |
| - | | Load Position* | + | | Load Position¹ |
| - | | Next Position* | + | | Next Position¹ |
| - | ^ Consume Mode Differences |||| | + | ^ Consume Mode Differences |
| - | | Open Positions | - | RM X? | Remaining open positions | | + | | Open Positions |
| - | | Read Index | - | RM Z? | Read-only | | + | | Read Index |
| + | |||
| + | ¹ See the [[commands: | ||
| - | * See the [[commands:load|LOAD]] command | + | ² See the section at the bottom of [[commands:rbmode|RBMODE]] for details |
| {{tag> | {{tag> | ||
Address: 29391 W Enid Rd. Eugene, OR 97402, USA | Phone: +1 (541) 461-8181
ring_buffer.1692037817.txt.gz · Last modified: by brandon
