Transfer Menu

Connecting the Configuration-PC to a RM4200D

To load a Config from a RM4200D system into the Toolbox4 software or to write it back after changing of the configuration data must be exchanged between the configuration PC and the Devices. This is possible either over an Ethernet connection using TCP/IP or over a serial connection using the RS232 port.

[Tip]Tip

In general, the functions for both ports are identical. The transfer over Ethernet is by far faster and more flexible by using TCP/IP. If you use the serial connection instead, you must connect the configuration PC directly to the RM4200D.

The commands Load to Device and Load from Device load and save a Config from/to a RM4200D system. In the Toolbox4 software you can select different ways of how the configuration PC can exchange data with the RM4200D.

In any case, first you have to select the desired Device in the project tree and then choose the command for the upload or download. Next, the DHD connection dialog opens. It is identical for both commands:

Figure 9: The DHD Connection dialog for connecting with the RM4200D Device. Here for upload and displaying the Devices available on the network.

The RM4200D systems use the UDP protocol to announce their availability in the network. This requires that UDP packets can be transferred between the DSP frames and the configuration PC, which can not be guaranteed in every network.

[Note]Note

If the UDP packets are not transferred between the Toolbox4 software and the Devices, the list of all available RM4200D systems is not displayed in the upper part of the DHD connection dialog. In this case, you need to know exactly which Device uses which IP address. You have to enter the appropriate IP address manually.

If the configuration PC and the RM4200D systems can communicate using the UDP protocol, the list in the upper part of the connection dialog shows all available systems.You can now select the desired system from the list.

Additionally, next to the Device name in the project tree, appears the word Online, if the project ID and Device ID of the project file are identical with the data in the Device. If the Config has been changed compared with the one in the Device, additionally the message Modified is displayed. These two additional messages are not available when connecting via RS232.

These are the options for setting up a connection:

  • Select: In the upper list, all RM4200D systems in the IP network segment are displayed. This list is automatically generated using UDP broadcast messages that are received from the Devices. For each Device, the corresponding project ID, Device ID, Device Name and IP address are displayed. In the last column, you see the serial number of the Device which is identical with the vendor-specific bytes of the Ethernet MAC address of the Device. You can select the desired Device with a mouse click.

  • Fixed IP: Here, you can enter the IP address of the Device directly. This may be necessary if no UDP packets can be received because the configuration PC and the RM4200D are connected to different network segments. This option is also helpful for remote maintenance of systems over.

  • COM Port: Choose this option if you connected the configuration PC over a serial cable to the RM4200D. It does not matter to which module you connect the cable since all modules are connected via the CAN bus, except the Overbridge modules. Depending on the PC configuration, you can choose between the serial ports COM 1 to COM 4.

    [Note]Note

    If you use a converter from USB to RS232 for connecting the serial cable, depending on the device, problems or low transfer rates can occur when transferring data. The best option is to test this process before going into the field and if problems occur – especially with laptop computers – use a PC card with a serial port instead.

If you want to connect the configuration PC directly to the RM4200D, you need to use a crossed Ethernet cable. The IP addresses must be configured unambiguously on both sides (no DHCP). The first three bytes of the addresses must be identical, the last byte must differ. For example:

IP address on Toolbox4 PC192.168.010.057
IP address on RM4200D Device192.168.010.058
Subnetmask255.255.255.0

Configuration of IP Addresses

Each Device needs an unambiguous IP address that is either static or assigned by a DHCP server. You find the appropriate setting for each Device on the tab Network Configuration. When you choose the command Load to Device, the Device is assigned this new IP address. (see also Network Configuration)

If the Devices are not permanently connected to an IP network, you should use well documented static IP addresses instead of DHCP. Make sure not to assign an address more than once. Do not operate Devices with DHCP, if there is no DHCP server in the network.

[Important]Important

If you accidentally activate DHCP in the Config or assign a wrong IP address, after uploading the data, the configuration PC might not be able to connect to the RM4200D system via Ethernet any more. In this case, you have to correct the configuration and load it directly into the Device using the serial port.

Load to Device

This command copies the current Config from the Toolbox4 software into the selected RM4200D system. First select the Device in the project tree, the Config of which you want to copy. Then choose the command Load to Device. In the DHD connection dialog you can select the desired Device. (see figure 9: The DHD Connection dialog for connecting with the RM4200D Device. Here for upload and displaying the Devices available on the network.) After confirming the selection, the new Config is transferred. If the name of the Device in the project and the one of the selected Device in the network are not identical, the following warning message is displayed.

Figure 10: Warning message if project IDs in the Toolbox4 software and in the Device do not match when uploading a Config.
[Warning]Warning

Loading a new Config irrecoverably overwrites any older Configs available in the Device. Therefore, if in doubt, save the current Config to file before modifying it using the command Load from device.

You can also execute the function Load to Device by clicking on the icon

in the tool bar.

Load from Device

This command loads the Config from a RM4200D Device into the Toolbox4 software. If you use one project file for several Devices, remember to select the correct Device in the project tree before using this command. In the DHD connection dialog, you have to select the corresponding RM4200D system, too. (see figure 9: The DHD Connection dialog for connecting with the RM4200D Device. Here for upload and displaying the Devices available on the network.)

[Note]Note

If you want to copy a Config from the Device into the project and if this Device has an entry in the project file already, the Toolbox4 software can help: The Device you have just marked in the project tree is automatically selected in the DHD Connection Dialog. For that, the project IDs and the Device IDs in the software and in the Device must be identical.

Alternatively, you can create an empty project and create an empty Device clicking either on the button Add Device or using the contextual menu in the project tree. Then, load the Config from the Device into this empty Device.

You can also mark a Device in a loaded project file and overwrite its Config with the data from a RM4200D system using the command Load from Device.

[Warning]Warning

Please remember that the modification caused by the download can not be undone as soon as the project file is saved. Thus, you should always work with copies of the original project files.

This procedure is not applicable if a project consists of several Devices that exchange Global Logic functions, Global Potentiometers or Device Links among each other. In this case, you should base modifications of the Config always on the latest version of the project file, since the central resources named above must be identical for all Devices in the project. But if you load the data for Global functions from other Devices, these might overwrite the settings in the current project file!

Generally, it is always better to save the current Config of a project as project file. As soon as further modifications become necessary, load the project file again and change it accordingly. Next, load the new Config into the corresponding RM4200D systems. With this strategy, the project file is always up to date and at the same time serves as a backup copy for the configuration data.

You can also execute the function Load from Device by clicking on the icon

in the tool bar.