Lua Cloud Editor

Overview

The MASSO cloud-based Lua Editor allows you to create and edit Custom Scripts directly from your cloud-based myWorkshop account.

 

You can then download and install these scripts onto your MASSO controller.

 

This is in addition to the Custom Scripts editor available directly on your MASSO controller.

 

 


Compatibility

This is available to anyone with any level of controller software, however a subscription to myWorkshop PRO is required to access the LUA Cloud Editor.

Please Note: Only controllers running PRO level software can run LUA scripts.


Key Features

With the new cloud-based Lua Editor, you can:

 

  • Create and manage Lua projects in one central place

  • Use auto-completion to assist with Lua syntax

  • Take advantage of syntax highlighting for improved readability

  • Use built-in copy, paste, and find functions

  • Access cloud-stored projects with automatic backup from anywhere

  • Get ready for even more features in the future

 

This allows users to create custom scripts for multiple machine types. It also allows all users to create, save, and monetise their Custom Scripts.

 


User Interface

 


MASSO Lua Access Button

MASSO Lua can be accessed at the top right of your selections.

 

Clicking this button will take you through to your next screen.

 

 

MASSO Lua icon

 


Project Selection

Next, you can select a new or existing project

 

New Project

 


New Project Selection

When a new project is selected, the details can be added in. 

 

This can help to keep track of version control and project use.

 

Project details

 


IDE Screen 

This is the main user screen for myWorkshop Lua Custom Script editing.

 

It allows you to select your trigger scenario.

 

From this screen you can also enter, save and export your code, and change the description and serial number range.

 

 

IDE screen

 


Predictive text

Using the predictive text, you are given suggestions of functions you can use.

 

This will also pre-populate things like quotation marks for strings.

 

predictive suggestions

 


MASSO Lua Custom Script Export

 

Single, multiple, or all Custom Scripts can be selected and exported for loading into your MASSO controller.

 

 

Export scripts

 


Step by Step uploading

After creating your Custom Scripts, here is the detailed step by step to load them onto your MASSO controller.

 

  1. Create and export your Custom Scripts - this creates a file called Custom Scripts.zip
  2. On your MASSO controller, insert your USB stick and backup your settings file. https://docs.masso.com.au/wiring-and-setup/save-and-load-settings (settings screen -> save and load settings -> save to file)
  3. Insert your USB stick into your computer and extract Custom Scripts.zip into the Machine Settings file on your USB stick. (example file path E:/MASSO/Machine Settings)
  4. When Custom Scripts has been extracted to this location, plug the USB stick back into your controller and select load settings from file 
  5. When complete, open up your controller Lua editor and check the scripts for syntax, and activate them if needed https://docs.masso.com.au/lua-editor