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

Page 1
The W2 serial port is configured for 9600 baud, 8 databits, 1 stopbit, no handshake.
Purpose
Purpose
String Length
3 chars.
display of Forward Power LED's.
Response
String Length
3 chars.
Notes
Response
Notes
Purpose
Purpose
String Length
Response
String Length
3 chars.
Notes
Response
Notes
Purpose
Purpose
String Length
3 chars.
String Length
3 chars.
Response
Response
Notes
Notes
Purpose
Purpose
String Length
String Length
3 chars.
Response
Response
Notes
Notes
Purpose
Purpose
String Length
9 chars.
String Length
9 chars.
Response
Response
Notes
Notes
Purpose
Purpose
String Length
13 chars.
String Length
5 chars
Response
Response
Notes
Notes
Purpose
Purpose
String Length
3 char.
String Length
6 chars.
Response
Response
Notes
Notes
A
or
a
Toggle locking SWR Alarm On/Off.
"0" is non-locking, "1" will lock.
Command
Toggles between Average or PEP
EEPROM: No
EEPROM: Yes
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
Returns only [C/c] if not in Alarm.
"1" = Sensor1, "2" = Sensor2.
[A/a][0/1];
Command
Toggles between Average or PEP
Command
Command
B
or
b
[P/p][0/1];
EEPROM:
EEPROM:
EEPROM: Yes
EEPROM: Yes
C
or
c
Reset from SWR Alarm
O
or
o
Toggles between two Sensors.
[C/c]!;
[O/o][1/2];
EEPROM: No
[N/n][A/P];
Command
Command
Command
D
or
d
P
or
p
Toggles Peak-Hold LED On/Off.
Command
Command
F
or
f
Request Forward Power in Watts.
Request Reverse Power in Watts.
[R/r]nnnnnDn;
(Watt value) -D- (number of
Same as "F" (left)
EEPROM: No
L
or
l
Toggles W2 LED's On/Off
V
or
v
Request Firmware version.
[L/l][0/1];
Vn.nn;
"0" is LED's Off, "1" is LED's On.
n.nn is the version 0.01 to 9.99
EEPROM: Yes
EEPROM: No
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
R
or
r
decimal places).
M
or
m
[M/m][A/P];
"A" = Average, "P" = PEP.
N
or
n
"A" = Average, "P" = PEP.
value of Power serial data.
Command
EEPROM: No
Command
I
or
i
Request W2 config information.
[F/f]nnnnnDn;
[I/i][Info String];
See page 3 for String details.
EEPROM: Yes
EEPROM: No
EEPROM: No
Command
Command
S
or
s
Request the SWR value.
[S/s]nnnn;
nnn has implied dp "nn.nn".
"0" = Off, "1" = On.