beautypg.com

Condec DLR334 User Manual

Page 4

background image

PAGE 4

74845

General commands (Zero, etc.).

Display commands (Min,Max, etc.).

Pressure calibration (Zero Cal, etc.).

Data request code = < R > character (3FH).

‘R’ commands requesting data from the host to the DLR.

Pressure data.

Status.

Setup data.

Calibration data.

Data entry code = < E > character (45H).

‘E’ commands with data sent from host to be entered into the DLR.

Setup data.

Calibration data.

For complete listing of command codes see Table II.

4.0

DATA FORMAT:

4.1 GENERAL:

! When data is transmitted it is always bracketed with the ‘{‘ and ‘}’ characters.

! The separation character ‘|’ (7CH) is used to separate data in a string.

! All DLR recalled data has leading zero suppression with the zeros transmitted as spaces.

! All data entered into the DLR can have leading zero suppression with the zeros transmitted

as spaces but is not required.

! Summary of data formats:

PRESSURE:

STATUS:

WEIGHT:
INPUT:

|

OUTPUT: |

SETUP: || - - -

5.0

RESPONSE:

! In the print/port 1/duplex setup the response by the DLR from the direct commands and data entry

commands can be selected for ‘None’ or Echo’.

None’: no response is given a direct cmd (D) or data entry cmd (E) if valid or invalid.

Echo’: the command (direct or entry) is echoed as received if valid; the start of transmission
character is returned with a ‘:’ not the ‘*’ character. If invalid a _NAK_ is returned

Ack/Nak’: instead of echoing back the received command code and entered data the DLR
responds with ‘ACK’ (41H, 43H & 48H) in place of the code. If an error in received data is
detected the DLR responds with ‘NAK’(4EH, 41H & 48H).

Ack response: :ACK
Nak response: :NAK

! An invalid input consists of the following:

Parity error.

Check error if enabled.

Invalid command code.

Invalid data format.

Response in Echo or Ack/Nak mode = :NAK