176
W&T
Expanded services of the Com-Server
struct _commands
{
unsigned char save_command :4;
//Save COM-Configuation
//0 = no save
//1 = save without EEPROM Update
//2 = save with EEPROM Update
unsigned char clear_error
:1; //1 = clear error in display/lamps
unsigned char set_fact_def :1; //1 = set factory defaults and reset
unsigned char free_cmd
:2; //not used
};
union
{
word hs_flags;
struct_hs_flags
{
word f_cts_connect
:1; //Connect/Disconnect with CTS (HIGH/LOW)
word f_dsr_connect
:1; //Connect/Disconnect with DSR (HIGH/LOW)
word f_cts_accept
:1; //Accept Connection only by CTS=HIGH
word f_dsr_accept
:1; //Accept Connection only by DSR=HIGH
word no_use0
:12;// not used
};
};
union
{
word f_flags;
struct _f_flags
{
word f_rts_disable
:1; //RTS will not change at LOCK/UNLOCK
word f_dtr_disable
:1; //DTR will not change at LOCK/UNLOCK
word f_outx
:1; //Enable softw. handshake while sending
word f_inx
:1; //Enable softw. handshake while receiving
word f_outx_cts
:1; //Enable hardware handshake on CTS
word f_outx_dsr
:1; //Enable hardware handshake on DSR
word f_inx_dtr
:1; //Enable hardware handshake on DTR
word f_inx_rts
:1; //Enable hardware handshake on RTS
word f_parity
:1; //Enable parity check & error report
word f_pechar
:1; //Enable replacement of received char
word f_inxfilter
:1; //Enable xon/xoff filter while receiving
word f_outxfilter
:1; //Enable xon/xoff filter while sending
word f_rts_default
:1; //1 = While RTS is not used, RTS is active
word f_dtr_default
:1; //1 = While DTR is not used, DTR is active
word f_user_time
:1; //not used
word clr_err_char
:1; //1= If Com-Server is in client mode,
//serial chars with framing or parity
//errors will not open the connection
};
};
} BOX_CNTRL;
Configuring the serial port
1) Copy the complete structure of an info packet received
by the Com-Server and fill in the BOX_CNTRL structure.
This allows you to read out the default values and only
enter the values you want to change.
Содержание 58031
Страница 8: ...W T ...
Страница 38: ...38 W T Form factors ...
Страница 102: ...102 W T The protocol stack of the Com Server ...
Страница 128: ...128 W T The Windows COM redirector ...
Страница 134: ...134 W T Box to Box mode ...
Страница 152: ...152 W T Data transfer per Telnet ...
Страница 192: ...192 W T Firmware update of the Com Server ...
Страница 215: ...215 W T Appendix Subject to error and alteration Declaration of conformity ...