Lua Cloud Editor

The Lua Cloud Editor lets you create and edit Custom Scripts in your myWorkshop account, then export them and load them onto your MASSO controller. It works alongside the Custom Scripts editor on the controller itself.

Access
myWorkshop App subscription
Editing
Any software level
Running scripts
Professional level only
COMPATIBILITY
Anyone can use the Cloud Editor with any controller software level, but it needs a myWorkshop App subscription. Only controllers running Professional level software can run Lua scripts.

1. Features

  • Create and manage Lua projects in one place.
  • Auto-completion and syntax highlighting.
  • Built-in copy, paste and find.
  • Cloud-stored projects with automatic backup, available from anywhere.

You can write scripts for several machine types, and create, save and sell your own Custom Scripts.

2. Using the editor

1
In myWorkshop, click the MASSO Lua button at the top right.

MASSO Lua button in myWorkshop

2
Select a new or existing project. For a new project, enter its details – this helps track versions and use.
Project selectionNew project details
3
In the IDE screen, choose the trigger, then write, save and export your code. You can also change the description and serial number range here. Predictive text suggests available functions and fills in things like quotation marks.
IDE screenPredictive text suggestions
4
Select one, several or all scripts and export them.

Exporting scripts

3. Load scripts onto MASSO

1
Export your scripts – this creates Custom Scripts.zip.
2
On MASSO, insert a USB stick and save your settings to file – see Save & Load Settings.
3
On your computer, extract Custom Scripts.zip into the Machine Settings folder on the USB stick, e.g. E:/MASSO/Machine Settings.
4
Plug the USB stick back into MASSO and select Load settings from file.
5
Open the controller's Lua Editor, check the scripts' syntax, and activate them as needed.