EasyManua.ls Logo

W&T Com-Server++ - Page 196

W&T Com-Server++
228 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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_fo
{
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 rst 5 bits
char fo_aktiv :1; // ignored by models 58661, 58665
char fo :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 rst by setting f_ags.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

Table of Contents

Related product manuals