Section 4 Software Commands; Ascii Commands For Rs232 Or Virtual Com Port - Prior Scientific ProScan III Manual

Universal microscope automation controller
Hide thumbs Also See for ProScan III:
Table of Contents

Advertisement

SOFTWARE COMMANDS
SECTION 4
4.1 ASCII commands for RS232 or Virtual COM control
Software commands can be directly entered into Prior Terminal to control the system.
ProScan controllers can accept commands from either of the two serial ports or its USB
port. The ports default to a baud rate of 9600. (see BAUD command below).
Commands and controller responses are terminated with a Carriage Return code <CR>.
Use of 'I', 'K', and '#' in compatibility mode without <CR> is now deprecated, <CR> must
follow these commands.
Commands are separated from arguments by one or more of the following delimiters.
 COMMA
 SPACE
 TAB
 SEMICOLON
 COLON
Kl;
To move a stage to a position of (100,200) the user could enter any of the following
G,100,200<CR>
G 100 200<CR>
G 100 200<CR>
G, 100, 200<CR>
G,,100,200<CR>
There are two modes of operation; Standard Mode and Compatibility Mode. Standard
mode is the recommended mode for new software as it offers more features.
Compatibility mode is supported for legacy customers who do not wish to re-port their
existing H128 application code. .
Property type commands that set or query certain status respond immediately. Movement
commands respond with an R at the end of move. Once a movement command is issued
the application should wait until the end of move R response is received before sending
any further commands.
In Standard Mode up to 100 movement commands may be queued in the f the controller.
If a movement command is sent and there is insufficient space to accept it an error (E18 –
Queue Full) will be returned. This indicates that the command has not been accepted and
must be re-sent when the queue is no longer full. It is desirable to read back each
individual command response (R<cr>) before sending any further commands. Sending
© Prior Scientific Instruments Ltd
Version 1.12 June 2017
ProScan® III Manual
Page 41

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents