Herunterladen Inhalt Inhalt Diese Seite drucken

W&T Electronics 58661 Handbuch Seite 91

Com-server lc
Inhaltsverzeichnis

Werbung

W&T
word hs_off_limit;
char PEChar;
struct _commands
{
unsigned char save_command :4;
unsigned char clear_error :1;
unsigned char set_fact_def :1;
unsigned char free_cmd
};
union
{
word hs_flags;
struct_hs_flags
{
word f_ cts_connect
word f_ dsr_connect
word f_cts_accept
word f_dsr_accept
word no_use0
};
};
union
{
word
struct _f_flags
{
word f_rts_disable
word f_dtr_disable
word f_outx
word f_inx
word f_outx_cts
word f_outx_dsr
word f_inx_dtr
word f_inx_rts
word f_parity
word f_pechar
word f_inxfilter
word f_outxfilter
word f_rts_default
word f_dtr_default
word f_user_time
word clr_err_char
};
};
} BOX_CNTRL;
Irrtum und Änderung vorbehalten
Erweiterte Dienste des Com-Servers
//if number of free bytes in ring buffer
// < hs_off_limit then setting handshake stop
//Replace this char if serial parity error (function
//must be enabled first by setting f_flags.f_pechar= 1)
:2;
f_flags;
//Save COM-Configuation
//0 = no save
//1 = save without EEPROM Update
//2 = save with EEPROM Update
//1 = clear error in display/lamps
//1 = set factory defaults and reset
//not used
:1; //ignored by model 58661
:1; //ignored by model 58661
:1; //ignored by model 58661
:1; //ignored by model 58661
:12;// not used
:1; //RTS will not change at LOCK/UNLOCK
:1; //DTR will not change at LOCK/UNLOCK
:1; //Enable softw. handshake while sending
:1; //Enable softw. handshake while receiving
:1; //Enable hardware handshake on CTS
:1; //Enable hardware handshake on DSR
:1; //Enable hardware handshake on DTR
:1; //Enable hardware handshake on RTS
:1; //Enable parity check & error report
:1; //Enable replacement of received char
:1; //Enable xon/xoff filter while receiving
:1; //Enable xon/xoff filter while sending
:1; //1 = While RTS is not used, RTS is active
:1; //1 = While DTR is not used, DTR is active
:1; //not used
:1; //1= If Com-Server is in client mode,
//serial chars with framing or parity
//errors will not open the connection
91

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis