commands:ttl
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| commands:ttl [2025/05/19 15:38] – add separators brandon | commands:ttl [2026/06/19 19:35] (current) – add space to bottom of page brandon | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| TTL functionality differs based on whether the controller is a Tiger (TG-1000) or MS2000/ | TTL functionality differs based on whether the controller is a Tiger (TG-1000) or MS2000/ | ||
| - | The Tiger (TG-1000) and MS2000 controller electronics have a buffered TTL input ('' | + | The Tiger (TG-1000) and MS2000 controller electronics have a buffered TTL input ('' |
| <WRAP center round important 60%> | <WRAP center round important 60%> | ||
| Line 43: | Line 43: | ||
| ---- | ---- | ||
| - | **1** - TTL IN0 initiates a Move-to-Next-Position of the stored positions in the ring buffer pointed to by the buffer_pointer. | + | **1** - TTL IN0 initiates a Move-to-Next-Position of the stored positions in the ring buffer pointed to by the '' |
| ---- | ---- | ||
| Line 57: | Line 57: | ||
| ---- | ---- | ||
| - | **4** - Enables TTL IN0 controlled Z-stacks (see the [[commands: | + | **4** - Enables TTL IN0 controlled Z-stacks (see the [[commands: |
| ---- | ---- | ||
| Line 73: | Line 73: | ||
| ---- | ---- | ||
| - | <wrap lo> | + | <wrap lo> |
| - | **8** - TTL commanded [[commands: | + | **8** - TTL commanded [[commands: |
| ---- | ---- | ||
| - | **9** - Used with CRISP focus lock. TTL IN0 HIGH engages lock if the system is in the READY state. | + | **9** - Used with [[: |
| ---- | ---- | ||
| Line 157: | Line 157: | ||
| ---- | ---- | ||
| - | **3** - < | + | **3** - < |
| ---- | ---- | ||
| - | **4** - < | + | **4** - < |
| ---- | ---- | ||
| - | **5** - < | + | **5** - < |
| ---- | ---- | ||
| Line 198: | Line 198: | ||
| <wrap lo>Tiger v3.17 required</ | <wrap lo>Tiger v3.17 required</ | ||
| - | **22** - In this mode, TTL OUT0 is controlled by [[: | + | **22** - In this mode, TTL OUT0 is controlled by the [[: |
| ---- | ---- | ||
| Line 256: | Line 256: | ||
| ===== Report Mode (MS-2000 Only) ===== | ===== Report Mode (MS-2000 Only) ===== | ||
| - | __// | + | __// |
| + | <wrap lo> | ||
| **T** - Enables serial reporting on every output TTL pulse when set to be non-zero. | **T** - Enables serial reporting on every output TTL pulse when set to be non-zero. | ||
| Line 267: | Line 268: | ||
| * X array index as 16-bit unsigned int (AIJ X? equivalent) | * X array index as 16-bit unsigned int (AIJ X? equivalent) | ||
| * Y array index as 16-bit unsigned int (AIJ Y? equivalent) | * Y array index as 16-bit unsigned int (AIJ Y? equivalent) | ||
| + | |||
| + | \\ | ||
| + | The next value is the Z-stack index (ZS T? equivalent, related to the ZS command) | ||
| Next the encoder value for all axes in order as 32-bit signed integer in twos-complement, | Next the encoder value for all axes in order as 32-bit signed integer in twos-complement, | ||
| Line 284: | Line 288: | ||
| * To validate the checksum repeat the same steps but include the 16-bit checksum value in the running sum. The computed checksum should be 0000. If not there was an error in checksum generation or transmission of the data. | * To validate the checksum repeat the same steps but include the 16-bit checksum value in the running sum. The computed checksum should be 0000. If not there was an error in checksum generation or transmission of the data. | ||
| - | Example: firmware includes '' | + | Example: firmware includes '' |
| - | 0002 0001 0003 1E00 FFFF FFFF FFFF FFEE FC81 0679 0D DF0F 0D | + | '' |
| where coordinate is (2,1) in the array, the X encoder value is 3268608 in decimal (corresponding to almost exactly 9mm position with 2 TPI rotary stage), Y encoder value is -1 in decimal, Z encoder value is -18 in decimal, CRISP error value is -895 in decimal, CRISP sum value is 1657 decimal, and the checksum is hex DF0F. To validate the checksum add each of these 16-bit unsigned numbers (excluding the 0D delimeters) which results in 5FFFA in hex. FFFA plus 5 is FFFF, and upon bitwise inversion the value becomes 0 as expected. | where coordinate is (2,1) in the array, the X encoder value is 3268608 in decimal (corresponding to almost exactly 9mm position with 2 TPI rotary stage), Y encoder value is -1 in decimal, Z encoder value is -18 in decimal, CRISP error value is -895 in decimal, CRISP sum value is 1657 decimal, and the checksum is hex DF0F. To validate the checksum add each of these 16-bit unsigned numbers (excluding the 0D delimeters) which results in 5FFFA in hex. FFFA plus 5 is FFFF, and upon bitwise inversion the value becomes 0 as expected. | ||
| Line 299: | Line 303: | ||
| For MS2000/ | For MS2000/ | ||
| + | \\ | ||
| {{tag> | {{tag> | ||
Address: 29391 W Enid Rd. Eugene, OR 97402, USA | Phone: +1 (541) 461-8181
commands/ttl.1747683518.txt.gz · Last modified: by brandon
