command_quick_start
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| command_quick_start [2022/11/09 04:07] – add title to table brandon | command_quick_start [2026/10/12 19:44] (current) – jon | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| This section is intended to quickly bring the users up to speed on the most common serial commands. | This section is intended to quickly bring the users up to speed on the most common serial commands. | ||
| - | There is a separate page detailing the [[tech_note_rs232_comm|communication details]] (also includes notes on various software that can be used to send serial commands directly or indirectly including Python, Julia, Micro-Manager, | + | There is a separate page detailing the [[tech_note_rs232_comm|communication details]] (also includes notes on various software that can be used to send serial commands directly or indirectly including |
| The most common commands are identical across both the MS-2000/ | The most common commands are identical across both the MS-2000/ | ||
| - | Note that ASI filter wheels have a completely separate command set described in the [[:fw_1000#fw_1000_operation_and_programming|filter wheel documentation]]. | + | Note that ASI filter wheels have a completely separate command set described in the [[:fw_1000#fw-1000_ascii_command_set|filter wheel documentation]], along with a different serial terminator. Also see the documentation for [[:fw_1000#communicating_with_tiger_controller_filter_wheel_card|TG-1000 filter wheel communication]]. |
| ===== Most common commands ===== | ===== Most common commands ===== | ||
| Line 14: | Line 14: | ||
| ^ '' | ^ '' | ||
| ^ '' | ^ '' | ||
| - | ^ '' | + | ^ '' |
| - | ^ '' | + | ^ '' |
| - | ^ '' | + | ^ '' |
| - | ^ '' | + | ^ '' |
| - | + | ^ '' | |
| + | ^ '' | ||
| ===== Command Syntax ===== | ===== Command Syntax ===== | ||
| Line 29: | Line 29: | ||
| The COMMAND is a string of ASCII characters such as '' | The COMMAND is a string of ASCII characters such as '' | ||
| - | Next comes one or more sets of strings that contain an axis name. When setting a value the axis name is followed immediately by an equal sign and the corresponding value. | + | Next comes one or more sets of strings that contain an axis name. When setting a value the axis name is followed immediately by an equal sign and the corresponding value. |
| + | |||
| + | The usual syntax is to set parameter values with an equal sign, and query them using a question mark. However note that there are separate commands for setting and querying stage positions. | ||
| + | |||
| + | When a numeric value is expected but omitted then it usually | ||
| + | |||
| + | Some commands do not require a parameter value (e.g., '' | ||
| The axis name is a single character. All 26 alphabet characters A-Z can potentially be used as axis names, and the special character '' | The axis name is a single character. All 26 alphabet characters A-Z can potentially be used as axis names, and the special character '' | ||
| Line 36: | Line 42: | ||
| '' | '' | ||
| - | All commands are completed with a Carriage Return (ASCII hex code: '' | + | All commands are completed with a Carriage Return (ASCII hex code: '' |
| ===== Reply Syntax ===== | ===== Reply Syntax ===== | ||
| Line 87: | Line 93: | ||
| X=4 Y=3 Z=1.5 < | X=4 Y=3 Z=1.5 < | ||
| $ WHERE Z Y X <CR> | $ WHERE Z Y X <CR> | ||
| - | Y=4 Y=3 Z=1.5 < | + | X=4 Y=3 Z=1.5 < |
| Line 121: | Line 127: | ||
| ===== A Note Regarding Units ===== | ===== A Note Regarding Units ===== | ||
| - | The most common commands including '' | + | The most common commands including '' |
| + | |||
| + | By default, axis units are: | ||
| + | - for distance (e.g. for motorized stages and piezo stages): each unit is 0.1um, or 10,000 units per millimeter of travel | ||
| + | - for angle (e.g. rotary stages): each unit 0.001 degrees or 1000 units per degree of travel | ||
| + | - for micro-mirrors: | ||
| + | |||
| + | Note that some commands including '' | ||
| + | |||
| + | To specify times including the '' | ||
| + | |||
| + | A few commands use integer codes or other input units as described in the per-command documentation. | ||
| {{tag> | {{tag> | ||
Address: 29391 W Enid Rd. Eugene, OR 97402, USA | Phone: +1 (541) 461-8181
command_quick_start.1667984842.txt.gz · Last modified: by brandon
