LUA Output commands

output.set_h

This command is used to set a LUA or tool changer output High

 

Syntax & Parameters

masso.output.set_h (LUA Output number) - This set the output in brackets to High

 

 

Example program

masso.output.set_h(1)

This set LUA output-1 to High

 

 

 

 

 

 

output.set_l

This command is used to set a LUA or tool changer output Low

 

Syntax & Parameters

masso.output.set_l (LUA Output number) - This set the output in brackets to Low

 

Example program

masso.output.set_l(1)

This set LUA output-1 to Low

 

 

 

output.status()

This command is used to return the LUA output status

1 - High,  0 - Low, 3 - Not assigned in F1 screen

The output can be stored in a variable

 

Syntax & Parameters

masso.output.status()(LUA Output number) - This returns the status of the output in brackets 

 

Example program

out1 = masso.output.status(1)

This returns LUA output-1 status with 1 for High and 0 for low and stores the result in a variable called out1