Terminating the running instance of the runtime system on remote target sytem

Only one instance of the runtime system can be operated on a remote target system. Therefore, it is necessary to terminate the running instance before the runtime system can be started in debugging mode.

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/warning.svg The steps of this section are possible in an extended version of logi.CAD 3 only. They are not required for the built-in PLC!

  1. Change to the perspective Remote System Explorer.

  2. In the Remote Systems view: Open the context menu for the item Ssh Terminals provided for the previously created connection to the remote target system and select Launch Terminal.

    images/download/attachments/414778982/RemoteSystemExplorer_Linux10-version-1-modificationdate-1534419581383-api-v2.png
  3. For authentication, enter the user and the corresponding password (e.g user root).

  4. In the Terminal view, enter these commands (one after the other).

    pkill -KILL RTSLoader
    pkill -KILL gdbserver

    Example for entering the 1st command in the Terminal view:
    images/download/attachments/414778987/RemoteSystemExplorer_Linux11-version-1-modificationdate-1534419606066-api-v2.png

  5. Check whether the runtime system and gdb server are really terminated. In the Terminal view, enter these commands (one after the other):

    ps aux | grep RTS
    ps aux | grep gdb

    The listed processes must not include RTSLoader and gdbserver. If they are listed, contact logi.cals in order to clarify the configuration of the runtime system for your target system.