Deploy your Application and Configuration to Controller

Cover image of technical document

Introduction

This guide provides instructions for setting up and using Vention’s MachineLogic, a visual programming and simulation tool designed for creating MachineMotion programs. MachineLogic simplifies programming and is compatible with Vention’s plug-and-play automation components. After following this guide, you will be able to deploy custom motion and control applications using the MachineMotion controller.

Setting up your MachineMotion Controller

Before proceeding, we recommend reviewing the MachineMotion: User Manual to familiarize yourself with the different methods of interfacing with the controller (e.g., using a computer or MachineMotion pendant). MachineLogic is accessible directly from a web browser, so no installation is required.

To get started with MachineLogic and deploy a program onto your controller:

  1. Connect your MachineMotion controller to a 90–120 V alternating current (AC) power source.

  2. Connect an Ethernet cable from the “TO PC” port on the MachineMotion controller to your computer.

    Figure 1: MachineMotion Ethernet Connection Port

    Figure 1: MachineMotion “TO PC” Port

  3. Press the Power Button to TURN ON the MachineMotion controller. Note: Wait for the status LED to turn green (~ 90 seconds) after powering on.

From this point, you have two options for deploying your applications and system configuration:


Assisted Deployment Using MachineCloud

This section describes the steps required to establish a connection to your MachineMotion and deploy any relevant applications and configurations.

Establishing Connection to MachineMotion from MachineLogic

  1. Ensure that your MachineMotion is connected to the internet.

  2. Open a web browser, log in to your vention.io account, and select the design you have purchased. Note: Only purchased designs can be deployed using this method.

  3. Go to the MachineLogic tab.

  4. Connect to your MachineMotion from the dropdown menu. The serial number displayed should match the one on the back of your MachineMotion.

    Connection button

    Figure 2 - MachineCloud dropdown menu

The state of your MachineMotion will be displayed in the dropdown menu. The following table describes each possible state:

State

Description

Offline

The machine is currently offline. Ensure the MachineMotion is plugged in and connected to the internet.

Idle

The machine is not running any program and is ready for deployments.

Running

The machine is currently running an application and cannot accept new deployments.

E-Stop

The machine is currently in Emergency Stop mode.

Deploying System Configuration and Applications

Once connected to your machine, you can deploy applications and configurations. The types of data that can be deployed via this service are:

Payload Type

Description

Configuration

Represents your machine configuration as defined in the Configuration tab of MachineLogic.
Note: If your configuration contains multiple MachineMotion controllers, then you will need to deploy it via the “Manual Deployment” method instead.

Design-Level Scene Assets

These are scene assets defined in your applications. Application-level assets are contained within the application itself.

Code-Free Apps

Applications created using the Code-Free editor.

Python Apps

Applications created using the Python editor.

  1. Click the Deploy button to open the deployment selection menu.

  2. From the dropdown menu, select the items you wish to deploy.

  3. After making your selections, click the Deploy button at the bottom.

    Deployment Selection Dropdown

    Figure 3 - Deployment Dropdown


Manual Deployment

Manual deployment is an alternative to the assisted deployment flow. Follow these steps for successful deployment:

  1. Open a web browser (we recommend Google Chrome for optimal compatibility) and enter 192.168.7.2 in the address bar.

  2. Open a second browser tab, log in to your vention.io account, and select the design you previously programmed in MachineLogic.

  3. Download your configuration file from the MachineLogic application’s Configuration tab.

    Download Configuration File from MachineLogic

    Figure 4 - Download Configuration File from MachineLogic

  4. Download the application you want to deploy on your MachineMotion.

    Download Application from MachineLogic

    Figure 5 - Download Application from MachineLogic

  5. Return to the 192.168.7.2 web browser tab, where you should see the following view:

    Control Center Welcome Screen

    Figure 6 - Control Center

  6. Click the Machine Configuration tile and press the Upload Configuration button. Select the configuration file you previously downloaded.

    MM_Upload_Configuration

    Figure 7 - Control Center Configuration page, uploading a configuration

  7. Confirm that all your data accurately represents your machine, then press the Apply Configuration button.

  8. Click the MachineLogic button from the navigation bar.

  9. Press the Upload App button and select the application you previously downloaded.

    EDGE Upload Application

    Figure 8 - Control Center MachineLogic page, uploading an application (first option)

  10. You can also upload your application from the following view. Once uploaded, press the play button to run your application.

    EDGE Upload Application MachineLogic View

    Figure 9 - Control Center MachineLogic page, uploading an application (second option)