198
W&T Expanded services of the Com-Server
2. To work with the configuration, the value save_command
in the structure has to be set. save_command = 2 causes
the Com-Server to save this configuration in non-volatile
memory and to use it again after a restart. A 1 does not
overwrite the non-volatile memory, i.e. after a restart the
old configuration is used.
Functions of the RS232 outputs RTS and DTR
If the flags f_rts_disable and f_dtr_disable are set to 0, the
corresponding RS232 output uses an enable level to signal
to signal an active connection between the serial port and a
client in the network. If the Com-Server itself is configured as
a TCP client, a constant enable level is output, regardless of
whether there is an active connection or not.
Alternately a 1 in the flags f_inx_rts and f_inx_dtr can assign
the function of serial flow control to the respective RS232
output. If flow control is enabled, the corresponding flag for
the LOCK/UNLOCK display must have the value 1 (= LOCK/
UNLOCK display disabled).
If the respective RS232 output does not have the function of
either LOCK/UNLOCK display or flow control, the flags f_rts_
default and f_dtr_default can be used to specify the default
state after a Com-Server reset (1=Enable, 0=lock level).