Command ‘Configure the local gateway’¶
Function: The command opens the dialog Gateway Configuration, where you can set up the block driver configuration for the local gateway. This is an alternative to manually editing of the configuration file Gateway.cfg
.
Call: Context menu of a gateway entry in the Communication Settings dialog.
Attention
A correct gateway configuration requires detailed knowledge. In case of any doubts do not change the standard configuration settings!
Dialog ‘Gateway Configuration’
The configuration tree shown in the dialog corresponds to the currently valid configuration file gateway.cfg
. For the concerned interfaces it shows the parameters and current settings. Changes of the configuration in the dialog, confirmed with OK effect an direct update of the configuration file.
Note
After having changed the gateway configuration file gateway.cfg
, the gateway must be stopped and restarted in order to get the changes applied.
Add | Menu with commands for adding interfaces and settings. The commands are also available in the context menu of the dialog. The command set depends on the currently selected entry and on the already entered settings: Add top level interface: Choose an interface for the communication via the gateway. It will be inserted on top level of the tree. See the table below for the possible block driver interfaces. Add sub level interface: Choose an interface for the communication via the gateway. It will be inserted in the tree below the currently selected interface. See the table below for the possible block driver interfaces. Add configuration setting: Choose a setting for the selected interface. It will be inserted in the tree below that interface. To get an edit field for the setting, perform a double-click in column Setting. See the table below for the possible settings for the block driver interface. |
Delete | Deletes the selected configuration settings. |
Up, Down | Moves the selected configuration setting one position up or down. |
COM Port | Serial port on the device, for example for data exchange according to standard RS232 on a COM port intended for this purpose. |
Possible configuration settings: Name: just symbolic Port: physical serial port used for this interface; for example Baudrate: Enable auto addressing: Local address: is evaluated only if Enable auto addressing is set! Standard = actual value for port |
|
Shared Memory: | Shared Memory driver |
Possible settings: Name: just symbolic Forced address: Standard = -1 (= |
|
Ethernet UDP/IP: | Ethernet interface for data exchange matching the “User Datagram Protocol”. |
Possible settings: Name: just symbolic Port index: Port number for the communication; port indices are in the range of IP address: Standard = Network mask: Standard = 255.255.255.0; Example: 255.255.252.0; this setting may be useful for explicitly setting an interface if there are multiple network interfaces on the device; PPP remote address: Standard = |
|
Ethernet TCP/IP: | Ethernet interface for the data exchange matching the “Transmission Control Protocol”. |
Possible settings: Name, Port, IP address: see above: Ethernet UDP/IP Inactivity timeout: Standard = 0; this setting defines the time in seconds, after which the TCP connections will be closed if no more data are exchanged |
|
CAN Client | Name, just symbolic For information on the other settings please see the description field the lower part of the dialog. |
USB Port | Name, just symbolic For information on the other settings please see the description field the lower part of the dialog. |
See also