beautypg.com

Elecraft w2 serial interface commands – Elecraft W2 Serial Interface Commands User Manual

Page 2

background image

Page 2

The W2 serial port is configured for 9600 baud, 8 databits, 1 stopbit, no handshake.

Purpose

Purpose

String Length

String Length

3 chars.

Response

Response

Notes

Notes

Adjust to your liking.

Purpose

Purpose

String Length

String Length

3 chars.

Response

Response

[7S;][8M;][9F;]

Notes

Notes

Purpose

Purpose

String Length

3 chars.

String Length

4 chars.

EEPROM: Yes

Response

Response

Notes

Notes

Purpose

Purpose

String Length

String Length

24 chars.

Response

Response

Notes

Notes

+ Purpose

Purpose

- String Length

5 chars.

String Length

< Response

Response

> Notes

Notes

Purpose

Purpose

String Length

3 chars.

String Length

Response

Response

Notes

Notes

Purpose

Purpose

String Length

3 chars.

String Length

Response

Response

Notes

Notes

W
or

w

Sets LED Decay Rate

Command

Command

[4S;][5M;][6F;]

Adjust to your liking.

Toggles Sensor "Search" mode.

Elecraft W2 Serial Interface Commands

Revision D, April 12, 2010. Applies to firmware rev 1.00 or higher.

Copyright © 2009 - 2010, Elecraft, Inc.; All Rights Reserved

The W2 responds to commands for data supplied by the external system. Nothing is sent until a command is received by the
W2. These requests are in the form of a single letter as shown below. The user sends a single character and receives one data
string in response. The semicolon (;) is an end-of-string identifier, and will be at the end of every return string. The strings vary
in length. Use the table below to determine the output from your command input.

Command

Command

Command

Command

X

or

x

Set Range Drop Rate

EEPROM:

EEPROM: Yes

"[" lowers value, "]" raises it.

[

or

]

See Page 3 for details.

"[/]nn;"

Command

Command

Y

or

y

Command

Command

Adjusts SWR Alarm trip point

[Y/y][0/1];

EEPROM:

Only works with two sensors.

Range is 1.1 to 5.0 (implied decimal).

Z

or

z

See page 3.

Command

?

Output Sensor Calibration values.

"nnn," (x5), "nnn;"

0A;

0

Sets the active sensor to Autorange.

E l e c r a f t • w w w . e l e c r a f t . c o m • 8 3 1 - 7 6 3 - 4 2 1 1

4

to

6

7

to

9

EEPROM:

EEPROM: Yes

EEPROM: Yes

Adjust calibration of active sensor.

EEPROM: Yes

EEPROM: Yes

Command

[+/-/]nnn;

EEPROM: Yes

Matches function of "Range" button.

Command

Command

1

to

3

Sets active sensor to one range.

[1L;][2M;][3H;]