-
Notifications
You must be signed in to change notification settings - Fork 0
Serial API
<cr>
= carriage return.
Hotel 1 refers to the plate stacker hotel furthest from the gripping arm.
Hotel 2 refers to the plate stacker hotel nearest to the gripping arm.
The serial port connection needs to be configured as follows:
- Baud Rate: 9600
- Data Bits: 8
- Parity: none
- Stop Bits: 1
- Flow Control: none
The Scorpion API has two types of requests: Commands and Querys.
Commands tell the instrument to perform a specified movement or other action. A command that is successfully sent to the instrument is responded to immediately with ok<cr>
. Commands that are invalid or unsuccessfully sent to the instrument are responded to with err<cr>
.
After a command is sent you can query the instrument for its status using the Status Query, until the instrument is no longer busy, before sending the next action command. IMPORTANT: It is recommended you wait 200-500 ms after sending the command before you query the instrument for its status. This gives the instrument time to update its status internally.
The following is a list of the currently supported commands. Click on the link to be taken to a page describing the command purpose and how to use it.
- Initialize
- Get Plate
- Return Plate
- Finish/Plate Away
- Prime Stack (lidded mode)
- Set Transfer Position
- Set Arm Safe Position
- Set Arm Speed
- Set Drop Position
- Set Plate Height
- Set Mode
- Test Transfer
- Jog to Target
- Jog to Home
- Abort
Queries are used to request information from the Scorpion instrument regarding its current state. A query that is successfully sent to the instrument will respond with the requested information. The format of this information depends on the query sent. Queries that are invalid or unsuccessfully sent to the instrument are responded to with err<cr>
.
The two most important queries are the Status Query and Error Query as they will be used most frequently during normal operation of the instrument. A full list of queries is below.
- Initialize Command
- Get Plate Command
- Return Plate Command
- Finish/Plate Away Command
- Prime Stack Command
- Set Transfer Position Command
- Set Arm Safe Position
- Set Arm Speed Command
- Set Drop Position Command
- Set Plate Height Command
- Set Mode Command
- Test Transfer Command
- Jog to Target Command
- Jog to Home Command
- Abort Command
- Status Query
- Error Query