7526 DCT Reference


Command Structure

The following example shows a command or message from the terminal controller to one terminal with a response from the terminal to the terminal controller.

Notes:

  1. In the command descriptions, parentheses, commas (,) or spaces ( ) are not part of the text or data stream transmitted or received by the terminal; they are used for clarification in the examples.
  2. Parameters in braces are optional.
  3. The addr address character used in the command is ignored by the 7526 when using TCP/IP over Ethernet. The character must still be present to preserve data alignment, but its value is not important. l.
  4. From terminal controller:

        => STX, addr, addr, CMD, text, RS, CS1, CS2, ETX
    Terminal response:
       Error       <= NAK (command or checksum error)
       Recv OK     <= ACK (no data response required)
       Data        <= STX, text, CS1, CS2, ETX (received OK and data response
                                                     required)
    Note:
    Refer to "File 9&mdash.Transaction Queue File" for the format of the returned transaction data.

    Terminal Controller reply if data received:

       Error       => NAK
       Recv OK     => ACK
    An ACK response from the terminal after receipt of a command means only that the terminal received the command. CMD 1 must be executed to determine if the last command executed properly.