203
W&T
Expanded services of the Com-Server
Subject to error and alteration
25�5 Inventory taking per UDP/8513
UDP port 8513 allows you to open an info-structure with de-
vice-specific information from the Com-Server. After receipt of
a network packet with any contents directed to this port, the
Com-Server replies with the info-packet. By configuring the
request packet as a broadcast, you can inventory all the W&T
devices located in the local network.
1
The factory default port number under which this
service can be reached is configured and deactivated
in the menu branch
SETUP System
r
Setup TCP/IP
r
System
Port List
.
25�5�1 The infopaket
Each infopacket consists of 3-6 data structures.
BOX_VERSION
contains information on the respective model of the Com-Ser-
ver and its firmware status. The structure
BOX_DESCRIPT
pro-
vides the network-relevant data such as MAC- and IP-address.
The 3.-6. structure
PORT_DESCRIPT
provides information
about the configured mode and the current connection status
of the individual ports. The total length of the InfoPacket is
calculated as follows: 1
0 + 22 + (port_no x 10) bytes.
#pragma pack(1)
typedef struct _BOX_VERSION
// ( 10 byte )
{ unsigned int version;
// 0x10: 1.0 (Version of this structure)
unsigned int sw_rev;
// z.B. 1.24 (0x1501)
unsigned int hw_rev;
// C2_EURO
= 2.0 (0x0002)
//
C4_MINI
=
4.0
(0x0004)
//
C5_100BT =
5.0
(0x0005)
//
C8_LOW_VOLTAGE =
8.0
(0x0008)
//
C90
Com-+
=
9.0
(0x0009)
unsigned int reserved[2];
}BOX_VERSION;
typedef struct _BOX_DESCRIPT
// ( 22 byte)
{ unsigned char mac_addr[6];
// MAC address of Com-Server
unsigned long IP_number;
// IP address of Com-Server
unsigned long gateway;
// Gateway
unsigned long subnet_mask;
// Subnet mask
unsigned int MTU;
// MTU
unsigned int port_anz;
// Number of serial ports of Com-Server
}BOX_DESCRIPT;
// (port_anz * 10 byte)
Содержание Com-Server++
Страница 8: ...W T...
Страница 26: ...26 W T Assigning the IP address...
Страница 27: ...27 W T Subject to error and alteration 3 Supply voltage Com Server Com Server3x Isolated...
Страница 30: ...30 W T Supply voltage...
Страница 34: ...34 W T Network interface...
Страница 35: ...35 W T Subject to error and alteration 5 The serial combi port Mode selection RS232 mode RS422 485 mode...
Страница 41: ...41 W T Subject to error and alteration 6 LED displays Power Status Error LED Network LEDs...
Страница 88: ...88 W T Packetizing serial datagrams...
Страница 94: ...94 W T Mode TCP server...
Страница 108: ...108 W T Mode TCP client...
Страница 122: ...122 W T UDP bus mode...
Страница 130: ...130 W T The Windows COM port redirector...
Страница 138: ...138 W T Box to Box mode...
Страница 154: ...154 W T Mode FTP client...
Страница 164: ...164 W T Mode Telnet Client...
Страница 182: ...182 W T OPC data transfer...
Страница 183: ...183 W T Subject to error and alteration 23 Mode InQueueCopy Distribution of serial data streams to multiple stations...
Страница 186: ...186 W T Mode InQueueCopy...
Страница 206: ...206 W T Expanded services of the Com Server...