low_level_command
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| low_level_command [2021/09/23 17:15] – external edit 127.0.0.1 | low_level_command [2025/05/22 15:45] (current) – update link brandon | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| <WRAP center round info 60%> | <WRAP center round info 60%> | ||
| - | Currently, the only way to access the low level format is through the Setup Control Commands | + | Currently, the only way to access the low level format is through the Setup Control Commands. |
| </ | </ | ||
| - | The following are special commands used to setup different properties of the MS 2000 and MFC-2000. | + | The following are special commands used to setup different properties of the MS-2000 and MFC-2000. |
| + | |||
| + | Almost every firmware build comes with the '' | ||
| + | |||
| + | The Tiger controller has it's own set of commands, see the [[: | ||
| ==== For HyperTerminal ==== | ==== For HyperTerminal ==== | ||
| ^Command ^Description ^ | ^Command ^Description ^ | ||
| - | |255 65 \\ Alt[255] ' | + | |255 65 \\ Alt[255] ' |
| |255 66 \\ Alt[255] ' | |255 66 \\ Alt[255] ' | ||
| |255 82 \\ Alt[255] ' | |255 82 \\ Alt[255] ' | ||
| Line 38: | Line 41: | ||
| - | This serial RS-232 interface is used to hook up the MS 2000 and MFC 2000 to a PC with a protocol that imitates the Ludl Low Level command set. The purpose of the low level protocol is to provide a simple interface between a PC program and the MS 2000 and the MFC-2000, without ASCII conversion. | + | This serial RS-232 interface is used to hook up the MS-2000 and MFC-2000 to a PC with a protocol that imitates the Ludl Low Level command set. The purpose of the low level protocol is to provide a simple interface between a PC program and the MS-2000 and the MFC-2000, without ASCII conversion. |
| - | **NOTE: | + | **NOTE: |
| The low level format is formed by the following 8 bit bytes: | The low level format is formed by the following 8 bit bytes: | ||
| Line 47: | Line 50: | ||
| **BYTE2: | **BYTE2: | ||
| **BYTE3: | **BYTE3: | ||
| - | **BYTES 4 thru 9:** Data Bytes, mostly in 2's compliment form in the order of: Least Significant Byte, Middle Byte, Most Significant Byte \\ | + | **BYTES 4-9:** Data Bytes, mostly in 2's compliment form in the order of: Least Significant Byte, Middle Byte, Most Significant Byte \\ |
| **LAST BYTE: | **LAST BYTE: | ||
| Line 58: | Line 61: | ||
| |' | |' | ||
| - | **RS 232 Timeout: | + | **RS-232 Timeout: |
| - | **SERIAL DELAY: | + | **SERIAL DELAY: |
| - | **WARNING: | + | **WARNING: |
| <WRAP center round important 60%> | <WRAP center round important 60%> | ||
| Line 75: | Line 78: | ||
| The ASCII colon (:) character is defined as the end of command code, and used to terminate the command loading sequence at which time the controller clears the serial buffer and attempts to process the command. | The ASCII colon (:) character is defined as the end of command code, and used to terminate the command loading sequence at which time the controller clears the serial buffer and attempts to process the command. | ||
| - | **Note:** The MS 2000 does not support parity check. | + | **Note:** The MS-2000 does not support parity check. |
| **Group 1 /Byte 1:** Axis Identifier | **Group 1 /Byte 1:** Axis Identifier | ||
| Line 95: | Line 98: | ||
| **Group 3 / Byte 3:** Data Size | **Group 3 / Byte 3:** Data Size | ||
| - | This is a single byte that gives the number of data bytes for this instruction. | + | This is a single byte that gives the number of data bytes for this instruction. |
| Exceptions: | Exceptions: | ||
| Line 104: | Line 107: | ||
| **Group 5:** Last Byte | **Group 5:** Last Byte | ||
| - | This is a one-byte end-of-command character | + | This is a one-byte end-of-command character |
| Line 110: | Line 113: | ||
| - | The following are commands formatted by the MS 2000 shown in Decimal, and keyboard / ASCII form. The first command, Read Status, give examples that explain in depth the formatting which will be used for the rest of the examples. | + | The following are commands formatted by the MS-2000 shown in Decimal, and keyboard / ASCII form. The first command, Read Status, give examples that explain in depth the formatting which will be used for the rest of the examples. |
| ==== Command: | ==== Command: | ||
| Line 119: | Line 122: | ||
| ^Data Size| None| | ^Data Size| None| | ||
| - | The MS 2000 will respond to this command in the following manor. | + | The MS-2000 will respond to this command in the following manor. |
| == Example == | == Example == | ||
| Line 144: | Line 147: | ||
| ^Data Size| 3| | ^Data Size| 3| | ||
| - | | + | |
| == Example == | == Example == | ||
| Line 171: | Line 174: | ||
| ^Data Size| 3| | ^Data Size| 3| | ||
| - | Requests the MS 2000 to respond with current setting for the distance of increment moves. | + | Requests the MS-2000 to respond with current setting for the distance of increment moves. |
| == Example: == | == Example: == | ||
| Line 193: | Line 196: | ||
| ^Data Size| 6| | ^Data Size| 6| | ||
| - | Requests the MS 2000 to respond with the identification code for the Axis Id. The response for X, Y, and Z axis' is EMOT :. The fifth and sixth bytes are spaces (ASCII code 32). | + | Requests the MS-2000 to respond with the identification code for the Axis Id. The response for X, Y, and Z axis' is EMOT :. The fifth and sixth bytes are spaces (ASCII code 32). |
| - | **Note:** The MS 2000 does not support consecutive 105 commands to read the version information. | + | **Note:** The MS-2000 does not support consecutive 105 commands to read the version information. |
| == Example: == | == Example: == | ||
| Line 215: | Line 218: | ||
| ^Data Size|4| | ^Data Size|4| | ||
| - | Requests the MS 2000 to respond with the current stage position in two's compliment form using 3 bytes followed by the status byte. The response is in tenths of microns. | + | Requests the MS-2000 to respond with the current stage position in two's compliment form using 3 bytes followed by the status byte. The response is in tenths of microns. |
| == Example == | == Example == | ||
| Line 237: | Line 240: | ||
| ^Data Size| 2| | ^Data Size| 2| | ||
| - | Requests the MS 2000 to respond with current instantaneous value of the servo speed trajectory. | + | Requests the MS-2000 to respond with current instantaneous value of the servo speed trajectory. |
| == Example: == | == Example: == | ||
| Line 257: | Line 260: | ||
| ^Data Size| 1| | ^Data Size| 1| | ||
| - | Requests the MS 2000 to respond with current setting for the time to ramp up and down. This is a one-byte number between 1 and 255. It represents the number of milliseconds the ramp from start speed to maximum speed at the beginning of a move and from maximum speed to start speed at the end of a move will take. | + | Requests the MS-2000 to respond with current setting for the time to ramp up and down. This is a one-byte number between 1 and 255. It represents the number of milliseconds the ramp from start speed to maximum speed at the beginning of a move and from maximum speed to start speed at the end of a move will take. |
| == Example: == | == Example: == | ||
| Line 285: | Line 288: | ||
| ^Data Size| 2| | ^Data Size| 2| | ||
| - | Requests the MS 2000 to respond with current setting for the maximum speed the stage is allowed to move. The number returned is a straight two-byte number representing a speed m/s. | + | Requests the MS -2000 to respond with current setting for the maximum speed the stage is allowed to move. The number returned is a straight two-byte number representing a speed m/s. |
| == Example: == | == Example: == | ||
| Line 306: | Line 309: | ||
| ^Data Size| 3| | ^Data Size| 3| | ||
| - | Requests the MS 2000 to respond with current target position. | + | Requests the MS-2000 to respond with current target position. |
| == Example: == | == Example: == | ||
| Line 327: | Line 330: | ||
| ^Data Size| 1| | ^Data Size| 1| | ||
| - | Requests the MS 2000 to respond with the Status Byte. The number is one byte, which can be broken down into 8 bits that represent the following internal flags: | + | Requests the MS-2000 to respond with the Status Byte. The number is one byte, which can be broken down into 8 bits that represent the following internal flags: |
| ^Bit 0| 0 = No Motor Signal, \\ 1 = Motor Signal \\ (i.e., axis is moving) | ^Bit 0| 0 = No Motor Signal, \\ 1 = Motor Signal \\ (i.e., axis is moving) | ||
| Line 398: | Line 401: | ||
| ^Data Size| 3| | ^Data Size| 3| | ||
| - | Requests the MS 2000 to write the given position to the current position count buffer. | + | Requests the MS-2000 to write the given position to the current position count buffer. |
| == Example: == | == Example: == | ||
| Line 430: | Line 433: | ||
| ^Data Size| 3| | ^Data Size| 3| | ||
| - | Requests the MS 2000 to write the given position to the target position buffer. | + | Requests the MS-2000 to write the given position to the target position buffer. |
| == Example: == | == Example: == | ||
| Line 459: | Line 462: | ||
| ^Data Size| 0| | ^Data Size| 0| | ||
| - | Requests the MS 2000 to add the Increment Value to the Current Position Value and place the result in the Target Position Buffer. | + | Requests the MS-2000 to add the Increment Value to the Current Position Value and place the result in the Target Position Buffer. |
| == Example: == | == Example: == | ||
| Line 476: | Line 479: | ||
| ^Data Size| 0| | ^Data Size| 0| | ||
| - | Requests the MS 2000 to subtract the Increment Value to the Current Position Value and place the result in the Target Position Buffer. | + | Requests the MS-2000 to subtract the Increment Value to the Current Position Value and place the result in the Target Position Buffer. |
| == Example: == | == Example: == | ||
| Line 493: | Line 496: | ||
| ^Data Size| 3| | ^Data Size| 3| | ||
| - | Requests the MS 2000 to write the given position to the Increment Value buffer. | + | Requests the MS-2000 to write the given position to the Increment Value buffer. |
| == Example: == | == Example: == | ||
| Line 523: | Line 526: | ||
| ^Data Size| 1| | ^Data Size| 1| | ||
| - | Requests the MS 2000 to write the given byte to the Ramping Time buffer. | + | Requests the MS-2000 to write the given byte to the Ramping Time buffer. |
| == Example: == | == Example: == | ||
| Line 550: | Line 553: | ||
| ^Data Size| 2| | ^Data Size| 2| | ||
| - | Requests the MS 2000 to write the given speed to the Top Speed buffer. | + | Requests the MS-2000 to write the given speed to the Top Speed buffer. |
| == Example: == | == Example: == | ||
| Line 580: | Line 583: | ||
| ^Data Size| 2| | ^Data Size| 2| | ||
| - | Instructs the MS 2000 to immediately ramp motors to given velocity value and continue at that speed until instructed otherwise. | + | Instructs the MS-2000 to immediately ramp motors to given velocity value and continue at that speed until instructed otherwise. |
| == Example: == | == Example: == | ||
| Line 606: | Line 609: | ||
| Command: <wrap cmd> 24 74 58 </ | Command: <wrap cmd> 24 74 58 </ | ||
| - | The above is an example of a stream of bytes that a PC would send serially to the controller. | + | The above is an example of a stream of bytes that a PC would send serially to the controller. |
| Line 623: | Line 626: | ||
| Command: <wrap cmd> 24 75 58 </ | Command: <wrap cmd> 24 75 58 </ | ||
| - | The above is an example of a stream of bytes that a PC would send serially to the controller. | + | The above is an example of a stream of bytes that a PC would send serially to the controller. |
| {{tag> | {{tag> | ||
Address: 29391 W Enid Rd. Eugene, OR 97402, USA | Phone: +1 (541) 461-8181
low_level_command.1632431745.txt.gz · Last modified: by 127.0.0.1
