Page 1 of 1
Printing parameters on display
Posted: Sun Mar 15, 2020 1:37 pm
by gearond
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
Re: Printing parameters on display
Posted: Sun Mar 15, 2020 5:58 pm
by Joe
This might work:
http://linuxcnc.org/docs/html/gcode/ove ... e:messages
You can include variable references in (DEBUG, ...) messages.
Re: Printing parameters on display
Posted: Mon Mar 16, 2020 5:37 pm
by gearond
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
Re: Printing parameters on display
Posted: Fri Apr 03, 2020 5:38 am
by gearond
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
Re: Printing parameters on display
Posted: Fri Apr 03, 2020 4:50 pm
by gearond
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?