B: Network Configuration Using UDP
XPress™ DR Industrial Device Server User Guide
72
B: Network Configuration Using UDP
UDP Datagrams
The device server can also be configured or queried over the network using UDP datagrams. The
device server has a UDP listener set for port 30718 (77FE Hex). Responses from the device
server are returned to the source port of the UDP packet.
The first three bytes of the UDP data block should be set to zero. The fourth byte selects the
function as described in the following table:
Table B-1 UDP Configuration
Byte Command
Parameters
Notes
03
Node Reset
2 bytes, software
type
These 2 bytes are used to prevent accidental
reset of the device server. (Value for standard
CoBox firmware: 33 51 [Hex], 3Q)
F6
Query for
Firmware
Version
None
The device server responds with the F7 block
below.
F7
Firmware
Information
First 16 bytes of the
firmware image,
and 4 bytes device
information and
mac address.
The first 16 bytes of the firmware image
contain the software type (offset 4,5) and
checksum (offset 14,15). The last two bytes of
the device information contain the mac
address.
F8
Query for Setup
Record
None
The device server responds with the F9 block
below.
F9
Configuration
Readback
120 byte setup
record (see Setup
Records on page E-
7)
n/a
FA
Set
Configuration
120 byte setup
record (see Setup
Records on page E-
7)
The IP address (byte 0-3) will not be
overridden using FA. See FD for this
functionality.
FB
Configuration
Change
Acknowledge
None
This block is sent back to the host requesting a
configuration change (FB). After sending out
this block, the device server resets and uses
the new configuration sent with the FA
command.