Deploy App

This Page will show you how to Deploy packages to your Motorcortex Controller

3 minute read

After succesfully setting up a connection to your Controller running Motorcortex, it is time to start using Motorcortex.io. If you don’t have a Motorcortex.io account yet make sure to request a Free trail. The following steps explain how to deploy a Motorcortex application to your Controller:

Create a new project

  1. Login to Motorcortex.io.

  2. Create a 📄 new project.

  3. Fill in the title and version of your new project.

  1. Press the select a template button.
  2. Select the general category and select Motorcortex-Generic-App.
  3. Press the + create button. Your project will now be generated based on the Generic-App template.

Deploy all required Packages

Now that a project is generated you can deploy all of the packages inside the template to your controller.

Configuration package

The Configuration package Contains the configuration of your Motorcortex application. Here you will also find your EtherCAT Configuration. More about this you will find in motorcortex.io.

  1. Click on your Configuration-GCC Configuration Package to go inside the directory.

  1. Press Deploy in te Actions menu.

  1. Fill in the controller local IP adress the IP adress of your Controller (per default 192.168.2.100). And press the Deploy button.

Binary Package

In the Binary package you will find the .deb files for your controller these .deb files contain software blocks that you can use for your application. More about the structure of these packages are described in motorcortex.io. are you interested in creating one of these packages make sure to check out Developing Control Applications.

  1. Return to your Projectdirectory.

  2. Click on your Generic-App binary Package to go inside the directory.

  1. Press Deploy in te Actions menu.

  1. Fill in the controller local IP adress the IP adress of your Controller (per default 192.168.2.100). And press the Deploy button.

GUI Package

The GUI Package contains everything that you need for creating a GUI. More detail about a GUI Package can be found in motorcortex.io.

  1. Return to your Projectdirectory.

  2. Click on your User Interface binary Package to go inside the directory.

  1. Press Deploy in te Actions menu.

  1. Fill in the controller local IP adress the IP adress of your Controller (per default 192.168.2.100). And press the Deploy button.

Restarting The Application

For the installed packages to take effect the application has to be restarted. this can be done by using ssh, or by restarting the controller.

  1. Use ssh to connect to your controller as explained in Remote Access & File Transfer.

  2. When logged in use the following command sudo motorcortex restart

  3. Congratulations you have all your packages deployed.

The next step is to configure your EtherCAT devices. Configure

Last modified October 6, 2021: Update _index.md (43964a9)