9serial/ethernet communication (scom) interface – Hatteland Display 26 inch - HD 26T21 MMC (Widescreen) User Manual

Page 9

Advertising
background image

9

Serial/Ethernet Communication (SCOM) Interface

IND100084-14

Data Rates

The unit is configured to transmit and receive data at 9600 bits/second (Serial mode) or via standard Ethernet

10/100/1000Mbps connection through port 10001.

Data Format Serial Mode

Data shall be transmitted with no parity, 8 data bits, one start bit and one stop bit. XON/XOFF flow control should be

switched off/disabled.

Message Format

The basic message format shall be as follows:

Byte #

0

1

2

3

4

5

6

7..etc

End Byte

ATTN

ADDR

CMD

CMD

CMD

LEN

IHCHK

DATA

IDCHK

The minimum message size is 7 bytes (0x07). The maximum message size is 82 bytes (0x52), consistent with the

EN61162-1 standard. Colors will be used throughout this manual to indicate byte positions. Every byte sent are

viewed in this document as HEX values and are based on standard characters in the ASCII table (0 to 255) to send

or receive messages in a human readable input/output. No further decoding or decrypting functionality is needed or

required. Every command sent and received are always ended with a 0x00 (null byte terminator).

ATTN

Attention (ATTN)

This single byte is used to identify a start of message. 3 values are possible:

ATTN

Description

0x07

Command, also known as ASCII BELL

0x06

Acknowledge, also known as ASCII ACK

0x15

Negative Acknowledge, also known as ASCII NAK

A device shall send a command using the 0x07 Attention Code. The unit will respond to the command with either an

ACK if the command completed successfully, or a NAK if the command failed.

NOTE: A complete HEX, ASCII, BIN and Character table overview are available in the APPENDIX chapter.

ADDR

Address (ADDR)

This single byte is used to specify a particular unit to receive a Command and to identify the unit responding (ACK

or NAK) to a Command. All units will support the broadcast address. The factory default adress is 0x00, while in this

manual illustrated throughout as 0xFF. Only in use when in RS-485/RS-422 mode. Otherwise 0xFF shall be used.

The Address field shall have the following values:

ADDR

Description

0xFF

Broadcast - Addressed to all units

0x00 to 0x0F

Address of a specific unit, 0 to 15 (max 16 units)

Advertising