
46
ADDENDUM B
DXD ____ ATS VARIANT DEFINITION
Data Structure;
ATS
DXD
8 data bits
7 data bits
1 Stop bit
1 stop bit
No Parity bit
Even parity
This data structure will be turned on and off using the mode
byte in eeprom at address location 001. Bit 4 of this byte will
define the data format. A “0” will define DXD format (7,e,1),
and a “1” will define ATS format (8,n,1).
Two customer commands are added to the command struc-
ture. They are “#01cfDXD” & “#01cfATS”. These commands
set the DXD into ATS or DXD data format. The data formats
are such that the DXD system will respond to each of these
commands regardless of the mode of operation it is in at the
time of the command. These commands also effect bits 2
(end of line terminator) & 5 ( error status) of the mode byte. In
DXD mode bits 2,4, & 5 will be “0”; end of line terminator set
to “cr” “lf”, format bit set to DXD, error status bit set to ack/
nak. In ATS mode these bits will be set to “1” ; end of line ter-
minator set to “cr” only, format bit set to ATS, & error status
bit set to no error response.
Note, that if bit 4 is set to DXD, bit 5 (error status) reverts to
the standard DXD definition of error status handling.
COMMAND STRUCTURE IN ATS MODE (#01cfATS)
Be advised that letters in < >, in command and response
strings, indicate non-printable ASCII characters.
1. #01PS<cr> (Return pressure in PSI, same structure as
DXD)
The response required to this command is as follows;
13 characters long including a carriage return (cr).
PS=<sp>+000.000cr
Note: The ASCII space (sp) between the equal and polarity
sign. There will always be a decimal point in the return string.
2. #01NP<cr> (Return pressure in 0-50,000 counts, no pre-
ceding label).
The response required to this command is as follows;
The response is in terms of 50,000 counts, the max resolu-
tion of the device.
In this case the response string would be.
s0500.00cr
3. #01TA<cr> ( Return tare value)
The response required to this command is as follows;
17 characters long including a carriage return (cr).
TA=sps000.000cr
4. #01UZcr ( Return the user zero value)
The response required to this command is as follows;
17 characters long including a carriage return (cr).
UZ=sps000.000cr
5. #01UScr ( Return the user zero value)
The response required to this command is as follows;
17 characters long including a carriage return (cr).
US=sps1.00000cr