LUA Triggers

Triggers

Triggers are events which cause an LUA script to be actioned.

These can be found by selecting Custom scripts  in the MASSO F1 screen

This will open the Custom scripts window where a list of triggers can be seen

 

 

These are separated into 2 types.

Main Group triggers and Sup group triggers

 

 

Main Group triggers

Main group triggers are shown in the first column and serve to organise triggers into logical groups for easy location of a particular trigger.

 

 

Sub Groups

Subgroups are the actual triggers that cause an script to be actioned

 

 

  • Each Sub group has an ID number which allows MASSO to know where the script belongs. 
  • This number is unique to the trigger and cannot be changed by the user. 
  • The number is used when a script is saved or loaded into memory.

 

 

 

 

 

 

  • On power up - as soon as the controller is turned on, then booted into the main screen, this script will be called.
  • Background - this script will be called every 100ms then run if the conditions are met - this can be used to monitor if the machine is in certain areas or if a job count has been reached.
  • User logged in - When a user logs in

 

 

Before homing

After homing

Homing Error

 

 

E-stop pressed

E-stop released.

 

 

Door opened

Door closed

Door open command

Door close command

 

 

Custom tool changer - used to create custom tool changer configurations

Custom tool changer homing - used to home the custom tool changer, will be triggered when the homing button is double clicked and the custom tool changer is selected.

 

 

 

Auto tool zero start

Auto tool zero end

Auto tool zero error