6.3.4
Command Messages Requesting Longer Data Strings
The command J (elapsed hours?) returns longer data strings than other commands. The format is as
follows:
Command ASCII
Hex
Elapsed hours?
J
4A
Command
<STX>
address
J
<ETX>
checksum
Response
<ACK> address J Tnnnnn Xnnnnn Snnnnn Onnnnn <STX>
checksum
Where
Tnnnnn – total elapsed hours
Xnnnnn – elapsed hours in transmit mode
Snnnnn – elapsed hours in standby mode
Onnnnn – elapsed hours in off mode
6.3.5
Command Messages Passing Parameters
Command ASCII
Hex
Set low power alarm
A
41
Set high power alarm
B
42
Set attenuator
D
44
Set address
Y
59
Set baud rate
Z
5A
Command
Gen
<STX>
address A = nnn <ETX> checksum
ASCII
<STX>
5A=150
<ETX>
I
Hex
02 35 41 3D 31 35 30 03 7C
Response
Gen
<ACK> address A <ETX> checksum
ASCII
<ACK>
5A
<ETX>
q
Hex
06
35
41
03
71
The alarm setting is sent as ‘=nnn’, where ‘nnn’ is in watts (leading zeros not required). The alarms
are disabled by setting to zero (A=0, B=0).
The attenuator setting is sent as ‘=nnn’ where ‘nnn’ is in nominal units (leading zeros not required).
If the ‘=’ is omitted, the command will be considered invalid and a ‘not acknowledge’ response sent.
6.3.6
Response to an invalid command message
Command messages will be classed as invalid if the command is not recognised, a parameter is out
of range or not numeric or the command cannot be executed. For example, if a command which is not
part of the amplifier command set is used, the response will be as follows:
Command
Gen
<STX>address B <ETX> checksum
ASCII
<STX>5b<ETX>v
Hex
02
35
42
03
76
Response
Gen
<NAK>address B D1 <ETX> checksum
ASCII
<NAK>5Bp<ETX><DC1
Hex
15 35 42 70 03 11
© e2v technologies (uk) limited 2010
DAS768892AA
Version
1,
page
33