Printing parameters on display

Post technical questions about the Buildbotic Controller here.
Forum rules
No profanity, no gambling, no illegal activity, so sexual or pornographic material.

Posts not related to the Buildbotic CNC Controller are likely to be moved or deleted.
Post Reply
gearond
Posts: 10
Joined: Tue Sep 03, 2019 4:20 pm

Printing parameters on display

Post by gearond » Sun Mar 15, 2020 1:37 pm

I live a long ways from the machine I'm programming for, so I can't test things out quickly and easily. Is it possible to write messages that will display parameters on the screen of the buildbotics controller? I am building some radiases and other cuts that I want to plot by hand before I run it and was going to write only part of the program to display the calculated values

User avatar
Joe
Site Admin
Posts: 8
Joined: Fri Feb 02, 2018 2:00 pm
Location: Petaluma, CA
Contact:

Re: Printing parameters on display

Post by Joe » Sun Mar 15, 2020 5:58 pm

This might work: http://linuxcnc.org/docs/html/gcode/ove ... e:messages

You can include variable references in (DEBUG, ...) messages.

gearond
Posts: 10
Joined: Tue Sep 03, 2019 4:20 pm

Re: Printing parameters on display

Post by gearond » Mon Mar 16, 2020 5:37 pm

I completely forgot about debug. I'm pretty sure that messages don't print out the value that is print out the characters that you typed I either name of the variable not the value. But I'll try debugging next time I'm there. If I could just set up a VPN to my brother's Network for his cabinet shop then I'd be golden but I got other things todo

gearond
Posts: 10
Joined: Tue Sep 03, 2019 4:20 pm

Re: Printing parameters on display

Post by gearond » Fri Apr 03, 2020 5:38 am

So, I tried (debug, print this) and nothing shows on web interface, nor in logs.

This is on version xx.xx.11

Can't use a lsterversion due to this bug: https://github.com/buildbotics/bbctrl-f ... issues/254

gearond
Posts: 10
Joined: Tue Sep 03, 2019 4:20 pm

Re: Printing parameters on display

Post by gearond » Fri Apr 03, 2020 4:50 pm

I don't get any output with the following:
(Using version xx.xx.11 firmware, 2 versions back)

#4999 = 987654321
(debug, The value of <_x_homed> is #<_x_homed> and the value of var 4999 = #4999)
M0



I did read this in linuxcnc manual:
"5599 - Flag for controlling the output of (DEBUG,) statements. 1=output, 0=no output; default=1. Volatile."

I wonder if this is true / implemented in buildbotics?

Long ways from the machine right now about 80 miles, anyone out there test this for me please?

Post Reply