beautypg.com

Serial interface commands – Elecraft W1 User Manual

Page 14

background image

14

Serial Interface Commands


The W1 responds to commands for data supplied by the external system. Nothing is sent until a command is received by the
W1. 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. All strings are
fixed length; a space may be added to some strings to ensure this.

Command

Purpose

Request forward-power bargraph level and
present range.

String Length 5 chars.

Response

Bnn;

B

Notes

is the Range (Low|Medium|High)
nn is 00 (no LEDs lit) to 10 (all LEDs lit).

Purpose

Request reverse-power bargraph level and
present range.

String Length 5 chars.

Response

Cnn;

C

Notes

is the Range (Low|Medium|High)
nn is 00 (no LEDs lit) to 10 (all LEDs lit).

Purpose

Request SWR bargraph level.

String Length 4 chars.

Response

Dnn;

D

Notes

nn is 00 (no LEDs lit) to 10 (all LEDs lit).

Purpose

Request Forward Power in Watts.

String Length 6 chars.

Response

F;

F

Notes

Response is floating point.
n.nn is power from 0.000 to 9.99 watts nn.n
is power from 10.00 to 99.9 watts
nnn is power from 100.0 to 149 watts.

Purpose

Toggles W1 LEDs on or off.

String Length 5 chars.

Response

L;

L

Notes

Power On default is On.

Purpose

Toggles between an Average or PEP
display of Forward Power LEDs.

String Length 5 chars.

Response

M;

M

Notes

Current setting can be saved in memory.

Purpose

Toggles between an Average or PEP value
of Power serial data.

String Length 5 chars.

Response M;

N

Notes

Current setting can be saved in memory.







Command

Purpose

Toggles between regular LED bargraph or
Peak-Hold + bargraph.

String Length

5 chars.

Response PK;

P

Notes

Peak-hold default is No. Current setting
can be saved in memory.

Purpose

Request Reverse Power in Watts.

String Length

6 chars.

Response R

>;

R

Notes

Response is floating point.
n.nn is power from 0.000 to 9.99 watts
nn.n is power from 10.00 to 99.9 watts
nnn is power from 100.0 to 149 watts.

Purpose

Request the SWR value.

String Length

6 chars.

Response

Snn.n;

S

Notes

nn.n is the SWR from 1.0 to 99.9.

Purpose

Request the user settings that were last
stored in EEPROM

String Length

6 chars.

Response U;

U

Notes

First A or P is Average power or PEP for
Forward Power LEDs. Second A or P is
Average power or PEP for Forward or
Reverse Power serial data. First S or M or
F is Slow or Medium or Fast LED decay
Rate. Second S or M or F is Slow or
Medium of Fast Range drop rate.

Purpose

Request the firmware version.

String Length

6 chars.

Response

Vn.nn;

V

Notes

n.nn is the version of 1.00 to 9.99.

Purpose

Writes to EEPROM the user settings
currently being used in RAM

String Length

4 chars.

Response

WOk; ("Write attempt OK").

W

Notes