Welcome! Log In Create A New Profile

Advanced

Display Variables

Posted by RobGer 
Display Variables
May 03, 2013 06:15PM
Is there a way to display additional information such as end stop status, current feed rate etc while printing?
For example I can type M119 for current end stop status but I'd like to have this continuously updated & displayed while printing.

Assistance appreciated.
Re: Display Variables
May 04, 2013 04:08AM
Sure you can. Also not sure you want if you know what to do :-) Just joking. You have to dive into uimenu.h and how to change it. It is somewhat documented in the file itself and also on my homepage. You can define as many top screens as you want and toggle with left/right through them (already tried? Default are 3 pages). You can add pages or modify the content. You see at the top of uimenu.h a list of placeholders whoch get replaced by the value. For the endstops you have e.g.

%sx : State of x min endstop.
%sX : State of x max endstop.
%sy : State of y min endstop.
%sY : State of y max endstop.
%sz : State of z min endstop.
%sZ : State of z max endstop.

So when you place a %sx into one line you will see the x min endstop status there.

At line 164 you see the merging of the 3 menu pages:
Merge pages together. Use the following pattern:
#define UI_PAGES {&name1,&name2,&name3}
*/
#define UI_PAGES {&ui_page1,&ui_page2,&ui_page3}
// How many pages do you want to have. Minimum is 1.
#define UI_NUM_PAGES 3

Change one of the three or add extra pages just as you like.


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Re: Display Variables
May 04, 2013 09:36AM
Thank you repetier for the guidance.
I will give this a go.

Kind regards,
RobGer
Re: Display Variables
May 05, 2013 02:36AM
I think the solution you suggest requires an LCD connected to the hardware.
As I don't have an LCD connected am looking for a way to achieve the same using my computer display.
Is there a way to use the Info window in Repetier-Host to do this?
Re: Display Variables
May 05, 2013 03:07AM
No there is no way in the Host. That would require to poll the endstop status every now and then. This would reduce print quality. One possibility would be to add a window that questions these data every 0.5 seconds if opened. So you have the penalty only when you explicitly ask for it. Might be a condidate for the upcoming tool menu.


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Re: Display Variables
May 06, 2013 04:27AM
I have ordered a VIKI display module so I believe this will be the best solution for me.

Thanks again for the help.
Sorry, only registered users may post in this forum.

Click here to login