Command 'Configure the Local Gateway'Permalink

Function: The command opens the “Gateway Configuration” dialog where you can configure the block drivers for the local gateway. This is an alternative to manually editing the configuration file ‎Gateway.cfg‎.

Call: Context menu when a gateway entry is selected in the device editor in the “Communication Settings” dialog.

NOTICE

NOTICE
NOTICE
NOTICE

NOTICE

NOTICE

A correct configuration of the gateway requires detailed knowledge. In case you have any doubts, do not change the default configuration settings.

Dialog 'Gateway Configuration'

The configuration tree displayed in the dialog corresponds to the description currently valid configuration file ‎gateway.cfg‎. It displays the parameters with the current settings for the interfaces involved. Changes to the configuration in the dialog, confirmed by clicking “OK” result in the direct update of the configuration file.

After the gateway configuration file ‎gateway.cfg‎ has been changed, the gateway has to be restarted in order for the changes to be applied.

“Add”

Menu with commands for adding interfaces and settings. The commands are also available in the context menu of the dialog. The selection depends on which entry is selected and which settings have already been added:

“Add Interface”: Select an interface for communication via the gateway. It is inserted at the top level of the tree. See the table below for the possible block driver interfaces.

“Add Configuration Setting”: Select a setting for the selected interface. It is inserted below the interface in the tree. To edit the value of the setting, double-click in the “Setting” column to open an editing field. See the table below for the possible settings per block driver interface.

“Delete”

Deletes the selected configuration setting

“Up”, “Down”

Moves the selected configuration entry one position up or down.

Table 677: Possible block driver interfaces

“COM Port”

Serial port on the device, for example for data exchange according to the RS-232 standard on a COM port intended for this purpose.

Possible configuration settings:

“Name”: Symbolic only

“Port”: Physical serial port which is used for this interface, for example ‎COM 5‎ on a Windows computer

“Baudrate”: ‎2400‎, ‎4800‎, ‎9600‎, ‎19200‎, ‎38400‎, ‎57600‎, ‎115200‎

“Activate auto addressing”: _cds_icon_option_activated (default = _cds_icon_option_deactivated) The setting ‎Local address‎ is evaluated. Both devices, which communicate via the serial port, will negotiate their addresses independently before they begin exchanging messages. If the addresses of both devices are the same, then they are negotiated again. This setting is useful when the local addresses cannot be set explicitly, for example for physically separated devices.

“Local address”: Evaluated only when “Enable auto addressing” is activated. Default = actual value for port

“Shared Memory”:

Shared memory driver

Possible settings:

“Name”: Symbolic only

“Forced address”: Default = -1 (= ‎no forced address‎); example: ‎42‎ means that the driver has to use the fixed address defined here and that addresses are assigned freely in the range ‎0‎-‎255‎. This setting can be useful when more than one shared memory driver is activated in the configuration.

“Ethernet UDP/IP”:

Ethernet interface for data exchange according to the "user datagram protocol".

Possible settings:

“Name”: Symbolic only

“Port index”: Port number for the communication. Port indices are in the range ‎0‎–‎3‎. They are mapped to the following Ethernet port: ‎1740‎ to ‎1743‎.

“IP address”: Default = ‎127.0.0.1‎. This setting can be useful to explicit set an interface when the device has several network interfaces. Example: ‎127.0.0.1‎ stands for some local network interface, also known as ‎localhost‎. Every other address (example: ‎10.27.7.72‎) represents a real IP address which has to be available on the device.

“Network mask”: Default = 255.255.255.0; example: 255.255.252.0. This setting can be useful to explicitly set an interface when there are multiple network interfaces on the device.

“PPP remote address”: Default = ‎127.0.0.1‎; example: ‎10.13.42.240‎; establishes a logical point-to-point connection between the UDP interface and the node named with the address specified here; has the effect that the UDP interface communicates exclusively with this node and that no broadcasts are sent in the network

“Ethernet TCP/IP”:

Ethernet interface for data exchange according to the "Transmission Control Protocol".

Possible settings:

“Name”, “Port”, “IP address”: See Ethernet UDP/IP above.

“Inactivity timeout”: Default = 0. This setting defines the time span (in seconds) after which the TCP connections are closed when data is no longer exchanged.

“CAN Client”

“Name”: Symbolic only

A description for the other settings can be found directly in the dialog.

“USB Port”

“Name”: Symbolic only

A description for the other settings can be found directly in the dialog.