10
Serial/Ethernet/USB Communication (SCOM) Interface
IND100084-18
SCOM Introduction
The SCOM commands specified in this document are of the same structure as older versions of Hatteland
Technology SCOM commands for other products. This format will be explained in the following sections.
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
8 or 7+DATA=END
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).
Byte 0 is sent first then the rest of the bytes follow, there is no handshake during this transmissions. Bytes are sent as
fast as possible.
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 sends 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. The unit also replies with a NAK if the
command was not understood, invalid or unsupported. If a command description doesn't state differently then with
NAK attention code the unit will return received data. The unit will ignore any message that doesn't start with
Command attention code.
NOTE: A complete HEX, ASCII, BIN and Character table overview are available in the APPENDIX chapter.