Locally providing the runtime system installation of the target system

For C debugging an application on a remote target system, the logi.CAD 3 project with the application needs to contain a copy of the →runtime system as the runtime system exists on the target system. Hence, the steps of this section are necessary as well, if the used version of the runtime system has changed since the last debugging session.

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!

Creating the connection to the target system by using "Remote System Explorer"

  1. Open the →perspective Remote System Explorer. Example: menu Window, Open Perspective, Other... and Remote System Explorer

  2. In the Remote Systems →view: Open the context menu, select New and Connection...

  3. In the dialog New Connection, define the following settings and then always click Next >. On the last page, click Finish.
    images/download/attachments/414778948/RemoteSystemExplorer_Linux1-version-1-modificationdate-1534418873067-api-v2.png images/download/attachments/414778948/RemoteSystemExplorer_Linux2-version-1-modificationdate-1534418873055-api-v2.png images/download/attachments/414778948/RemoteSystemExplorer_Linux3-version-1-modificationdate-1534418873048-api-v2.png images/download/attachments/414778948/RemoteSystemExplorer_Linux4-version-1-modificationdate-1534418873040-api-v2.png images/download/attachments/414778948/RemoteSystemExplorer_Linux5-version-1-modificationdate-1534418873031-api-v2.png images/download/attachments/414778948/RemoteSystemExplorer_Linux6-version-1-modificationdate-1534418873019-api-v2.png

    1. Select Linux as System type.

    2. Under Host name, enter the IP address of the target system.
      Under Connection name, you might want to change the suggested name for the connection, before clicking Next >.

    3. In the following pages, always select the ssh or Linux variant of the configurations.

Result: The Remote Systems view displays an item for the created connection.

images/download/attachments/414778956/RemoteSystemExplorer_Linux7-version-1-modificationdate-1534419011768-api-v2.png

Copying the runtime system folder into the project

  1. Expand the item Sftp Files in the Remote Systems view.

  2. Go to the folder into which the runtime system has been installed on the target system.

    Example: If you have installed the runtime system according to the tutorial, you will find the runtime system in this folder:

    Target system

    Installation folder

    Raspberry Pi

    /opt/RTS

  3. For authentication, enter the user and the corresponding password (e.g. user root).

    images/download/attachments/414778961/RemoteSystemExplorer_Linux8-version-1-modificationdate-1534419060039-api-v2.png
  4. Click Yes as answer to any prompts.

  5. Add the project explorer to the current perspective. Example: menu Window, Show View, Other... and Project Explorer (in the group General)

  6. Press and hold the Ctrl-key, then drag the runtime system folder from the Remote Systems view into the project. This copies the runtime system folder into the project.

    images/download/attachments/414778966/RemoteSystemExplorer_Linux9-version-1-modificationdate-1534419129869-api-v2.png
  7. Keep the perspective Remote System Explorer open. You will need this perspective for later steps.