MSG - Message command for screen and remote alerts

The MSG command allows users to add messages to their G-code programs. These messages can be displayed on the MASSO screen in the toolpath area or sent to external devices, such as myWorkshop on PC and the myWorkshop mobile app.

 

Messages are commonly used as training aids, operator instructions, or reminders during a machining process.

 


Syntax & Parameters

The MSG command is followed by a space and then the message text to be displayed.

 

If the MSG command is issued without any message text, the currently displayed message is removed from the screen.

 

The following message destinations are supported:

 

  • MSG displays a message on the MASSO screen.

  • MSG_S sends a message to the MASSO screen only. This feature is available from version 5.07.

  • MSG_W sends a message to myWorkshop on PC and the myWorkshop mobile app only. This feature is available from version 5.07.

  • MSG_SW sends a message to both the MASSO screen and myWorkshop. This feature is available from version 5.07.

 


Message Display Behaviour

Messages are limited to a single line of 34 characters. If a message exceeds this length, only the first 34 characters will be displayed.

 

Messages remain on screen until they are cancelled, overwritten by another message, or replaced by a system message.

 

Messages can be cleared by pressing the OK button on the message display or by issuing the MSG command without any message text.

 


Example – Displaying a Message on Screen

 

N10 MSG Load Material

 

This example displays the message “Load Material” on the MASSO screen.

 

 

 


Clearing a Message Using G-code

 

N10 MSG Load Material
N20 G04 P3000
N30 MSG

 

In this example, the message “Load Material” is displayed on the screen, the program pauses for 3 seconds, and the message is then removed.

 

 

INFORMATION: Messages can be cleared from the screen by issuing the MSG command with no following text.

 


Using MSG with M00 and M01

Messages can be combined with M00 or M01 to stop the machine and allow the operator time to read the message before continuing.

 


Example – Message Before Tool Change

 

N10 MSG Change tool to V-Bit {90 deg 0.5"}
N20 M01
N30 T3 M06

 

In this example, the machine displays the message “Change tool to V-Bit {90 deg 0.5"}” and then pauses using M01 until Cycle Start is pressed.

 

There is no need to press OK to clear the message in this case, as it will be overwritten by the system tool change message.

 

If Optional Stop (CTRL + O) is turned off, the machine will not stop and the message may not be visible, as it will be immediately replaced by the system tool change message.

 

Messages of this type can be automatically inserted by the post processor if required.

 

 

 


INFORMATION: Messages can be combined with G04 dwell commands to display instructions in a timed sequence.

 


Example – Displaying Multiple Timed Messages

 

N10 MSG READ DIAL FOR BACKLASH MEASUREMENT
N20 G04 P3000
N30 MSG ENTER THIS VALUE INTO MASSO BACKLASH
N40 G04 P3000
N50 MSG TEST COMPLETE

 

In this example, instructions are displayed sequentially, with each message remaining visible for 3 seconds before being replaced by the next message.

 


Sending Messages to myWorkshop

The MSG_S, MSG_W, and MSG_SW commands are available from software version 5.07.

 

N10 MSG_SW Load Material
.
.
.
N9980 MSG_W Job Complete
N9990 M30

 

In this example, the message “Load Material” is displayed on both the MASSO screen and myWorkshop.

 

The message “Job Complete” is sent to myWorkshop on PC and the myWorkshop Pro mobile app, but is not displayed on the MASSO screen.

 

This is useful for sending notifications when a job has finished.

 


 

MSG_[destination] <space> <message>

 

The MSG_ command can be followed by any combination of S and W, in any order.

 

Any text written after the space is treated as the message to be displayed or sent.

 


The video clip below demonstrates the use of the MASSO MSG G-code to create a backlash test sequence, providing clear on-screen instructions for the operator to follow at each step of the process.