Residential Control Systems TXB16 Manual do Proprietário Página 195

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 329
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 194
Chapter 16 Serial Interface 181
The general data formats for the three types of transmissions are described below.
Controller Report Messages
The controller can be set up to report different types of events when they occur, such as:
X-10 command received
IR signal received
Input port changed state
Scheduled event has occurred
To use this feature, the desired report mode(s) must first be enabled. This can be done from the PC
program or within a schedule, as described in chapter 15, Controller Functions.
Report Message Format
When the controller is configured to report events, it will transmit a new message every time the event
occurs. The message follows the following format:
XX <Message> {CR} {LF} {Terminator}
- “XX” is the Message ID Number. Each type of report message from the controller has a unique ID
number in a 2-digit hexadecimal format. Each digit will be a hexadecimal value (numbers 0-9 or
letters A-F). When converted to decimal, they represent the numbers 0 through 255. See Table 16-
1 for the Message ID Numbers of each type of report message. They range from 80h through A3h.
By reading these two bytes, a user program can quickly identify the type of message from the
controller.
- “<Message>” will contain a text description of the event. Typical messages are:
IR Signal #85 Received
Input Port #4 Changed High
Scheduled Event #2A Occurred
- {CR} signifies that a carriage return is sent.
- {LF} signifies that a line feed is sent.
- {Terminator} signifies that a single-byte terminator code is sent. The byte has a value 1d, which is
the ASCII code SOH. The terminator is provided to make it easier for a PC program to read and
interpret the messages from the controller.
NOTE: The carriage return and line feed do not actually appear on the screen if you’re using a
terminal emulation program. Rather, they cause the cursor to move to the beginning of the next line.
The terminator code (ASCII code SOH) also will not appear on some terminal programs (although
other programs may display it as a special symbol). The PC software's built-in terminal emulator
strips this character out.
ID # (Hex) MEANING
80 Power Restored
81 Self Test Passed
82 Self Test Failed
Vista de página 194
1 2 ... 190 191 192 193 194 195 196 197 198 199 200 ... 328 329

Comentários a estes Manuais

Sem comentários