Macro - M56 (as MSG) - write message to status

Here is where you can drop off Examples of WORKING macros,plugins,Gcode programs , macro Wizards etc.
Please give a brief description of what it is and how it works.

Macro - M56 (as MSG) - write message to status

Postby dezsoe » Fri Feb 02, 2018 4:46 pm

Here is a macro for displaying messages to status window. It shows the contents of the comment between ( and ). You can print variables with the format #nnn or #Fnnn, where nnn is the number of the variable, F stands for formatted to 4 decimals. See screenshot below:

MSG.png

And a test g-code to start with:

Code: Select all
#100 = 1.23
#101 = 3.45
M56 (Hello operator 1!)
(Hello operator 2!)M56
M56(Hello operator 3!)G0
M56(Var 100 = #100)
M56(Var 100 formatted = #F100, var 101 = #101)
M30

Edit: You need min. 1.2102 for this macro to work!
Attachments
M56.txt
The M56.txt macro
(1.51 KiB) Downloaded 216 times
dezsoe
 
Posts: 810
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: Macro - M56 (as MSG) - write message to status

Postby BKG » Tue Jun 18, 2019 8:14 pm

Hello, the newest version is 12049 i can not gett it working in that version ??
BKG
 
Posts: 7
Joined: Fri May 10, 2019 8:32 pm

Re: Macro - M56 (as MSG) - write message to status

Postby ger21 » Tue Jun 18, 2019 8:31 pm

You need the development release (#3)
http://www.cncdrive.com/UCCNC.html
Gerry
UCCNC 2017 Screenset - http://www.thecncwoodworker.com/2017.html
ger21
 
Posts: 1546
Joined: Sat Sep 03, 2016 2:17 am

Re: Macro - M56 (as MSG) - write message to status

Postby beefy » Fri Jun 21, 2019 9:18 pm

Thanks Dezsoe.

Keith.
beefy
 
Posts: 298
Joined: Mon Sep 05, 2016 10:34 am


Return to UCCNC TOOL BOX

Who is online

Users browsing this forum: No registered users and 2 guests

cron