Herunterladen Inhalt Inhalt Diese Seite drucken

Konfiguration Der Seriellen Schnittstelle - W&T Com-Server++ 58665 Handbuch

Inhaltsverzeichnis

Werbung

W&T
struct
_commands
{
unsigned char save_command :4;
unsigned char clear_error
unsigned char set_fact_def :1;
unsigned char free_cmd
};
union
{ word hs_flags;
struct_hs_flags
{
word f_
word f_
word
word
word no_use0
};
};
union
{ word f_flags;
struct _f_flags
{
word
word
word
word
word
word
word
word
word
word
word f_inxfilter
word f_outxfilter
word
word
word
word
};
};
} BOX_CNTRL;

Konfiguration der seriellen Schnittstelle

1. Kopieren Sie die komplette Struktur eines vom Com-
Server empfangenen Infopakets und füllen Sie die Struktur
BOX_CNTRL aus. So können Sie die Defaultwerte auslesen
und brauchen nur die Werte einzutragen, die Sie ändern
wollen.
Irrtum und Änderung vorbehalten
Erweiterte Dienste des Com-Servers
:1;
:2;
cts_connect
dsr_connect
f_cts_accept
f_dsr_accept
f_rts_disable
f_dtr_disable
f_outx
f_inx
f_outx_cts
f_outx_dsr
f_inx_dtr
f_inx_rts
f_parity
f_pechar
f_rts_default
f_dtr_default
f_user_time
clr_err_char
//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; //
:1; //
:1; //
:1; //
: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 receiv.
: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
99

Quicklinks ausblenden:

Werbung

Inhaltsverzeichnis
loading

Diese Anleitung auch für:

Com-server lc 58661

Inhaltsverzeichnis