Tel: 886. 909 602 109 Email: [email protected]
www.salukitec.com
16
3. Click “RUN” to run the SE3001.
5.5 Command Syntax
Computers use ASCII characters to communicate with the SE3001. Commands must be upper case. A command
consists of a four-character command mnemonic, arguments if necessary, and a command terminator. The
terminator must be a linefeed <lf> or carriage return <cr> on RS232 to USB. No command processing occurs
until a command terminator is received.
Multiple commands may be sent on one command line by separating them with semicolons (;). The difference
between sending several commands on the same line and sending several independent commands is that when a
command line is parsed and executed, the entire line is executed before any other device action proceeds.
SE3001 allows users to query the current value of internal parameters through commands. A query is formed by
appending a question mark "?" to the command mnemonic and omitting the desired parameter(s) from the
command. Values returned by the SE3001 are sent as a string of ASCII characters terminated by a corresponding
terminator. If multiply queries are sent on one command line (separated by semicolons), the answers will be
returned individually, each with a terminator.
Table.1 lists all available commands and their corresponding function description.
Table 1 Commands
Command
Syntax
Description
Read Identification
*IDN?
Returns the model number and firmware version
Set Frequency
FREQ=n
Set the desired internal reference frequency
Read Frequency
FREQ?
Returns the internal reference frequency
Set Blade Type
BLAD=n
Set the blade type (n is the number of the blade slot)
Read Blade Type
BLAD?
Returns the blade type
Set Reference Mode
REFE=n
Set the reference mode (0=internal, 1=external)
Read Reference Mode
REFE?
Returns the reference mode
Read External Reference
Frequency
INPU?
Returns the current supplied external reference frequency
Start
*STAR
Start to run the blade
Stop
*STOP
Stop to run the blade
5.6 UART Communication
This case shows how to remotely run the serial communication. You need an USB cable. The steps are as follows:
1. Use an USB cable to connect the USB of the SE3001 to the USB of the PC.
2. The PC will recognize the USB device and remind to install the driver program. If your PC system is WIN7,