
196
W&T
Expanded services of the Com-Server
tivated and break signal is generated. The level of the data
output remains inverted until break mode is deactivated again
by setting
clear_break
.
Structure BOX_CNTRL
The
BOX_CNTRL
structure (20 bytes) is used to store the port
configuration (baud rate, data bits, parity, stop bits, handsha-
king, timing values, etc.). Here you can influence the parame-
ters and how they are saved.
typedef struct _box_cntrl
{
struct_baud_fifo
{
char baud
:5;
// Baud rate for channel
// 11 = 230400 6 = 2400
// 14 = 153600 7 = 1200
// 15 = 115200 8 = 600
// 0 = 57600 9 = 300
// 1 = 38400 10 = 150
// 2 = 19200 16 = 110
// 3 = 9600 12 = 75
// 5 = 4800
13 = 50
// Baudrates are coded within the first 5 bits
char fifo_aktiv :1;
// ignored by models 58661, 58665
char fifo
:2;
// ignored by models 58661, 58665
};
char bits;
word RLS_time_out; //Timer before f_rlsd_time will be set
word CTS_time_out; //Timer before f_cts_time will be set
word DSR_time_out; //Timer before f_dsr_time will be set
char XONChar;
//Char excepted as XON
char XOFFChar;
//Char excepted as XOFF
word hs_on_limit; //if number of free bytes in ring buffer
//> hs_on_limit then clearing handshake stop
word hs_off_limit; //if number of free bytes in ring buffer
//< hs_off_limit then setting handshake stop
char PEChar;
//Replace this char if serial parity error (function
//must be enabled first by setting f_flags.f_pechar=1)
// 00xx.xxxx data bits, stop bits, parity
//
//
//
//
//
//
//
//
//
//
//
10 = 7 data bits
11 = 8 data bits
0 = 1 stop bit
1 = 2 stop bits
1 = parity enable
0 = odd parity
1 = even parity
1 = stick parity
(stick/odd = MARK
stick/even = SPACE)
ignored by model 58662
Содержание 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...