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/12/11 16:46] – chrisd | commands:ttl [2026/07/15 19:59] (current) – [TTL Output Mode] version reqs for mode 50 chrisd | ||
|---|---|---|---|
| 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 157: | Line 157: | ||
| ---- | ---- | ||
| - | **3** - < | + | **3** - < |
| ---- | ---- | ||
| - | **4** - < | + | **4** - < |
| ---- | ---- | ||
| - | **5** - < | + | **5** - < |
| ---- | ---- | ||
| Line 219: | Line 219: | ||
| <wrap lo>Tiger v3.38 required</ | <wrap lo>Tiger v3.38 required</ | ||
| **33** - TTL OUT1 high when the position of fourth axis is more than the PC setting away from its target position. | **33** - TTL OUT1 high when the position of fourth axis is more than the PC setting away from its target position. | ||
| + | |||
| + | ---- | ||
| + | |||
| + | <wrap lo>Tiger v3.61 or MS2000 v9.61 required</ | ||
| + | **50** - TTL OUT0 immediately high for a period of time determined by the '' | ||
| ---- | ---- | ||
| Line 268: | Line 273: | ||
| * 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 285: | Line 293: | ||
| * 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 300: | Line 308: | ||
| For MS2000/ | For MS2000/ | ||
| + | \\ | ||
| {{tag> | {{tag> | ||
Address: 29391 W Enid Rd. Eugene, OR 97402, USA | Phone: +1 (541) 461-8181
commands/ttl.1765489597.txt.gz · Last modified: by chrisd
