EasyManuals Logo
Home>Lantronix>Server>XPress DR

Lantronix XPress DR User Manual

Lantronix XPress DR
109 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #75 background imageLoading...
Page #75 background image
B: Network Configuration Using UDP
XPress™ DR Industrial Device Server User Guide 75
Note: For example, using HyperTerminal, copy the setup record and select “Paste to Host to
send it to the device server. The device server reboots with the new configuration.
To send a previously saved setup record to a device server via UDP, from a host PC, send the
FA (or FD) datagram to the “target” device server (see Network Configuration Using UDP).
Note: The device server responds with the FB datagram. Refer to the table.
The Intel Hex Format
With this format, 8-bit binary data can be sent and received as ASCII text. The transmission is
blocked in records, and every record has its own checksum.
The record begins with a colon (:) and consists of a block length (2-character Hex), a 16-bit
address (4-character Hex), and a block type (2-character Hex). It is built by adding all binary 8-bit
values and taking the complement, so adding all byte values (including length, address, and type)
should yield zero.
Example:
00000001FF
End record, type 01, length 00, address 00 00, checksum FF.
01002000805F
Data record consisting of one byte (value 80 Hex) for address 0020 (32 decimal).
For communication with the node, the following block types are defined:
Table B-2 Block Types
Option Hex
Data block program memory (firmware)
00
End record
01
Data block configuration memory
10
To get and set the node configuration, 120 bytes should be exchanged at once in 32-Byte
records. The IP address in the record (bytes 0 to 3) will be ignored (unless the UDP FD command
is being used).
Calculating the Checksum
As mentioned in Table B-2 Block Types above, the last two characters of an Intel Hex setup
record represent a checksum of the data in the line. Since the checksum is a two-digit
hexadecimal value, it can represent a value from 0 to 255.
The checksum is calculated by summing the value of the data on the line and taking the two’s
complement of the sum.
Note: Do not include the leading colon or the checksum byte in the sum.
Example:
0300300002337A1E
Record length: 03 (3 bytes of data)
Address: 0030 (the 3 bytes will be stored at 0030, 0031, and 0032)
Record Type: 00 (normal data)
Data: 02, 33, 7A
Checksum: 1E
03 + 00 + 30 + 00+ 02 + 33 + 7A = E2

Table of Contents

Other manuals for Lantronix XPress DR

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Lantronix XPress DR and is the answer not in the manual?

Lantronix XPress DR Specifications

General IconGeneral
BrandLantronix
ModelXPress DR
CategoryServer
LanguageEnglish

Related product manuals