makerbase-mks / MKS-TFT

MKS TFT touch screen includes TFT24/28/32/35/70, which can be connected to the motherboard for control via AUX-1. Support Simplified Chinese, Traditional Chinese, English, Russian, Spanish and more than 5 languages, and support online language switching ...
https://www.aliexpress.com/store/group/Smart-Display/1047297_502266038.html?spm=2114.12010612.pcShopHead_8325768.1_2
341 stars 192 forks source link

TFT32 - Customize home sequence? #195

Open magpern opened 6 years ago

magpern commented 6 years ago

Is there a way to customize the homing sequence with tft32? I have a mks sbase v1.3 and a tft32 and a BLTouch clone. To home the machine, including the Z-axis it needs several steps. First home X and Y, then raise Z, reset BLTouch, enable bltouch, move X and Y to mid of build area. Run a G30 to probe for the bed, disable bltouch.

The home all buttom in tft32 now only homes X and Y

bogaskilop commented 6 years ago

I'm also interested in adding my own commands to normal homing function i got davinci 1.0 with bigger stepper motor on extruder and i need to add g28xy then g91 g1y-20 g90 g28z g27 as a normal g28 command

makerbase-mks commented 6 years ago

You can add command to the "More" button.For example :G91;G1 Y20;G90;G28;

magpern commented 6 years ago

Still better if design would allow for some flexability. Not all machines are the same.

The "more" button is a nice extra fearure, but you cannot set a text for the "more" button, meaning more then one button and you forget which one is what. So "more" button is quite useless

Den lör 8 sep. 2018 05:50makerbase notifications@github.com skrev:

You can add command to the "More" button.For example :G91;G1 Y20;G90;G28;

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/makerbase-mks/MKS-TFT/issues/195#issuecomment-419610184, or mute the thread https://github.com/notifications/unsubscribe-auth/AGSNQIXaKiFc8Pt5gjw5-3M1dtaE2BdXks5uYz6AgaJpZM4WXnmm .

RainesX commented 5 years ago

I too would realy like to add my own gcode to homing. Since smoothie doesnt like to home z with only a probe i cant use standard homing and there for it either crashes into the buildplate or doesnt work at all. Right now i have to use leveling on auto to home z and that is just wrong. Please add this in the config.

Andrei-Pozolotin commented 5 years ago

See #285

makerbase-mks commented 5 years ago

You can add command to the "More" button

set number of "More" button

moreitem_pic_cnt:0

edit command for 1~7 "More" button,each command must be separated by semicolon ";"

moreitem_button1_cmd:G28 X0;

moreitem_button2_cmd:G28 X0;

moreitem_button3_cmd:G28 Y0;

moreitem_button4_cmd:G28 Y0;

moreitem_button5_cmd:G28 Z0;

moreitem_button6_cmd:G28 Z0;

moreitem_button7_cmd:G28;

how many "More" button display on screen interface

morefunc_cnt:0

command setting on button1~6

morefunc1_cmd:G28; morefunc2_cmd:G28; morefunc3_cmd:G28; morefunc4_cmd:G28; morefunc5_cmd:G28; morefunc6_cmd:G28; Set the number of button enable, then you can add the command you want to use after the button.

magpern commented 5 years ago

You can add command to the "More" button

set number of "More" button

The "more" button is a nice extra feature, but you cannot set a text for the "more" button, meaning more then one button and you forget which one is what. Allow for a description or a text for the more button.

or just release the code to the public domain. Then the interface would be fixed and useful quite fast by others. Now the consensus is - you can by the mks card, but the display is not good. Buy another display.