W&T 57630 Manual page 204

Web-io series 12+12 digital
Table of Contents

Advertisement

W&T
typedef struct _BOX_DESCRIPT
{
unsigned char mac_addr[6];
unsigned long IP_number;
unsigned long gateway;
unsigned long subnet_mask;
unsigned int MTU;
unsigned int port_anz;
}BOX_DESCRIPT;
typedef struct _PORT_DESCRIPT
{ u n i o n
{ unsigned int wState;
struct _new_type
{ unsigned char port_type; // 0x01 = serial port (Serial CPU-Port)
unsigned char state;
};
} ;
unsigned int mode;
unsigned long remote_IP;
unsigned int remote_port;
}PORT_DESCRIPT;
typedef struct _WT_INTERN3
{
BOX_VERSION
BOX_DESCRIPT bd;
PORT_DESCRIPT pd[ACT_PROCESS];
} WT_INTERN3;
#pragma pack()
The structure PORT_DESCRIPT does not have to be evaluated
for the Web-IO. It is intended only for information pertaining to
W&T Com-Servers.
204
// ( 22 byte)
// MAC address of the Com-Server
// IP address of Com-Server
// Gateway
// Subnet Mask
// MTU
// Number of ports in the Com-Server
// (port_anz * 10 byte)
/ / ( 1 0 b y t e s )
// 0x02 = serial port (UART Port)
// 0x03 = reserved
// 0x04 = Digital I/O
// 0x05 = Analog I/O (in development)
// 0x06 = W&T Dual Port RAM
// 0=free, 1=connect, 2=waits
// 0x0001 = TCP-Client
// 0x0002 = TELNET-Client
// 0x0003 = FTP-Client
// 0x0004 = Box2Box-Client (aktiv)
// 0x0005 = UDP Send/ReceiveMode
// 0x0006 = MULTI PORT (DPRAM, SERIAL PROTOCOL)
// 0x0007 = SNMP-Agent
// 0x0008 = Box2Box Server (passive)
// 0x0010 = SLIP Router
// 0x0020 = PPP Router (in development)
// 0x0030 = Box2Box Bus System: Slave Box
// 0x0040 = Box2Box Bus System: Master Box
// if state == CONNECT, otherwise 0
// if state == CONNECT, otherwise 0
// ** all parameters in Hostorder / Low Byte First **
bv;
// Port = UDP_BOX_INFO_8513
network inventory via UDP

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

57631

Table of Contents