mks_config.txt

Created Diff never expires
64 removals
259 lines
65 additions
259 lines
#--------------------------------------------------------------------
#--------------------------------------------------------------------
######### Printer type setting ##################################
######### Printer type setting ##################################


#mainboard firmware setting(marlin:1; repetier:2; smoothie:3)
#mainboard firmware setting(marlin:1; repetier:2; smoothie:3)
>cfg_firmware_type:1
>cfg_firmware_type:1


#machine setting (Normal:1; Delta:2)
#machine setting (Normal:1; Delta:2)
>cfg_machine_type:1
>cfg_machine_type:1


#baud rate (9600:1; 57600:2; 115200:3; 250000:4)
#baud rate (9600:1; 57600:2; 115200:3; 250000:4)
>cfg_baud_rate:4
>cfg_baud_rate:4


#multi-language(enable:1, disable:0)
#multi-language(enable:1, disable:0)
>cfg_multiple_language:0
>cfg_multiple_language:0


#languages setting
#languages setting
#(simplified Chinese:1; traditional Chinese:2; English:3; Russian:4; Spanish:5). This configuration is valid when "cfg_multiple_language" is disabled.
#(simplified Chinese:1; traditional Chinese:2; English:3; Russian:4; Spanish:5). This configuration is valid when "cfg_multiple_language" is disabled.
>cfg_language_type:3
>cfg_language_type:3


#extruder number(one:1; dual:2)
#extruder number(one:1; dual:2)
>cfg_sprayer_counter:1
>cfg_sprayer_counter:1


#enable heated bed(yes:1; no: 0)
#enable heated bed(yes:1; no: 0)
>cfg_custom_bed_flag:1
>cfg_custom_bed_flag:1


#the max target temp of extruder and heated bed
#the max target temp of extruder and heated bed
>cfg_max_sprayer_temperature:270
>cfg_max_sprayer_temperature:250
>cfg_max_hotbed_temperature:150
>cfg_max_hotbed_temperature:150


#pause position (-1 is invalid; Z-axis is relative position)
#pause position (-1 is invalid; Z-axis is relative position)
>cfg_XPOS:-1
>cfg_XPOS:-1
>cfg_YPOS:-1
>cfg_YPOS:-1
>cfg_ZADD:10
>cfg_ZADD:10


#-----------------------------------------------------------------------
#-----------------------------------------------------------------------
######### Advanced Function Option ##################################
######### Advanced Function Option ##################################


#enable UPS?(yes:1; no:0)
#enable UPS?(yes:1; no:0)
>cfg_have_ups_device:0
>cfg_have_ups_device:0


#enable power detecting module(mks 220det:1; mks pwc:0)
#enable power detecting module(mks 220det:1; mks pwc:0)
>cfg_insert_det_module:0
>cfg_insert_det_module:0


#enable auto off after print finish function (no:0; Yes:1)
#enable auto off after print finish function (no:0; Yes:1)
>cfg_print_finish_close_Machine:0
>cfg_print_finish_close_Machine:0


#set PB0 signal when use it for sencond nozzle (high level:1; low level:0)
#set PB0 signal when use it for sencond nozzle (high level:1; low level:0)
>cfg_PB0_trigger_Level:0
>cfg_PB0_trigger_Level:0


#set PB1 signal (high level:1; low level:0)
#set PB1 signal (high level:1; low level:0)
>cfg_PB1_trigger_Level:0
>cfg_PB1_trigger_Level:0


#set error range of Z-axis on breakpoints recovery
#set error range of Z-axis on breakpoints recovery
>cfg_breakpoint_z_error:0.2
>cfg_breakpoint_z_error:0.2


#---------------------------------------------------------------------------
#---------------------------------------------------------------------------


######### Filament Change Function ##############################
######### Filament Change Function ##############################


#the speed to extrude filament(mm/min)
#the speed to extrude filament(mm/min)
>cfg_filament_load_speed:400
>cfg_filament_load_speed:400
#the lenght to extrude filament (mm)
#the lenght to extrude filament (mm)
>cfg_filament_load_length:100
>cfg_filament_load_length:100


#the speed to retract filament(mm/min)
#the speed to retract filament(mm/min)
>cfg_filament_unload_speed:2000
>cfg_filament_unload_speed:2000
#the lenght to retract filament(mm)
#the lenght to retract filament(mm)
>cfg_filament_unload_length:100
>cfg_filament_unload_length:100


#It is the minimum temperature for filament change.
#It is the minimum temperature for filament change.
It will auto heat up if the current temp doesn't reach the target.
It will auto heat up if the current temp doesn't reach the target.
>cfg_filament_load_limit_temperature:200
>cfg_filament_load_limit_temperature:200


#The length of Load filament before unloader filament.
#The length of Load filament before unloader filament.
>cfg_unload_retract_length:5
>cfg_unload_retract_length:5


#The speed of load filament before unloader filament.
#The speed of load filament before unloader filament.
>cfg_unload_retract_speed:500
>cfg_unload_retract_speed:500




#---------------------------------------------------------------------------
#---------------------------------------------------------------------------


############ Leveling Function ########################################
############ Leveling Function ########################################


#leveling mode(manual:0; auto:1; conceal leveling button:2)
#leveling mode(manual:0; auto:1; conceal leveling button:2)
>cfg_leveling_mode:0
>cfg_leveling_mode:0


#the command of auto leveling (G29 is available for Marlin.While G32 is for Repetier and Smoothieware)
#the command of auto leveling (G29 is available for Marlin.While G32 is for Repetier and Smoothieware)
>cfg_auto_leveling_cmd:G28;G29;
>cfg_auto_leveling_cmd:G28;G29;


#the point number of manual leveling:(3,4,5 point available)
#the point number of manual leveling:(3,4,5 point available)
>cfg_point_number:5
>cfg_point_number:5


#the coordinates of 5 point on manual leveling
#the coordinates of 5 point on manual leveling
>cfg_point1:50,250
>cfg_point1:50,50
>cfg_point2:250,250
>cfg_point2:250,50
>cfg_point3:250,50
>cfg_point3:250,250
>cfg_point4:50,50
>cfg_point4:50,250
>cfg_point5:150,150
>cfg_point5:150,150


#the travel speed of leveling(mm/min)
#the travel speed of leveling(mm/min)
>cfg_leveling_z_speed:1500
>cfg_leveling_z_speed:1500
>cfg_leveling_xy_speed:8000
>cfg_leveling_xy_speed:3000


#When the XY axis is moved manually, the height of the z-axis of the extruded Z axis from the origin (mm)


#normally only needs to be reconfigured when the z axis is zero to the maximum under the smoothware firmware.
> cfg_leveling_z_high: 10


#---------------------------------------------------------------------------
#---------------------------------------------------------------------------
############# WIFI Function ##########################################
############# WIFI Function ##########################################


#wifi model(MKS WIFI TFT:0; MKS HLK-WIFI:1)
#wifi model(MKS WIFI TFT:0; MKS HLK-WIFI:1)
>cfg_wifi_type:0
>cfg_wifi_type:0


#wifi mode(0:sta;1:ap)
#wifi mode(0:sta;1:ap)
>cfg_wifi_mode:1
>cfg_wifi_mode:0


#wifi name and password
#wifi name and password
>cfg_wifi_ap_name:Artillery
>cfg_wifi_ap_name:MKS_wifi
>cfg_wifi_key_code:12345678
>cfg_wifi_key_code:makerbase


#0:disable cloud service 1:enable cloud service
#0:disable cloud service 1:enable cloud service
>cfg_cloud_enable:0
>cfg_cloud_enable:1
#cloud service adress
#cloud service adress
>cfg_wifi_cloud_host:www.baizhongyun.cn
>cfg_wifi_cloud_host:www.baizhongyun.cn
#cloud service port
#cloud service port
>cfg_cloud_port:10086
>cfg_cloud_port:10086


#Dynamic access IP
#Dynamic access IP
>cfg_ip_dhcp_flag:1
>cfg_ip_dhcp_flag:1


#IP/mask/gateway
#IP/mask/gateway
>cfg_ip_address:192.168.3.100
>cfg_ip_address:192.168.3.100
>cfg_ip_mask:255.255.255.0
>cfg_ip_mask:255.255.255.0
>cfg_ip_gate:192.168.3.1
>cfg_ip_gate:192.168.3.1


#--------------------------------------------------------------------------------
#--------------------------------------------------------------------------------


############## Function Customization #######################################
############## Function Customization #######################################


#user-defined function1 and 2.(display this button . disable: 0; enable: 1)
#user-defined function1 and 2.(display this button . disable: 0; enable: 1)
>cfg_function_btn1_display:1
>cfg_function_btn1_display:1




#command of user-defined function
#command of user-defined function
>function_btn1_cmd:M84;
>function_btn1_cmd:M84;




#set number of "More" button
#set number of "More" button
>moreitem_pic_cnt:7
>moreitem_pic_cnt:7


#edit command for 1~7 "More" button,each command must be separated by semicolon ";"
#edit command for 1~7 "More" button,each command must be separated by semicolon ";"
>moreitem_button1_cmd:G29 S1;


>moreitem_button2_cmd:G29 S2;


>moreitem_button3_cmd:G91; G1 Z0.02; G90;


>moreitem_button4_cmd:G91; G1 Z-0.02; G90;


# PID Autotune
# Autotuning for nozzle, you can change temps or use M303 E-1 S60 C8 U1 for BED instead, dont forget to do M500 to save
# Rundown of PID Autotune Commands
#M42 P5 S255;- Set LED to Red to indicate Auto Tuning for Hotend
#M106 - Set Fan Speed 255(full speed)
#M303 S220 C5 U1 - PID Autotune for Hotend, Temp 220 for 5 cycles and apply values
#M42 P4 S255; M42 P5 S0; M42 P6 S0 - Set LED Green to indicate completion
>moreitem_button5_cmd:M500; M42 P4 S0;M42 P5 S0;M42 P6 S0;
#M500 - Save to EEPROM
#M107 - Fan OFF
#M42 P4 S0;M42 P5 S255 - Set LED to Blue to indicate Auto Tuning for Bed
#M303 E-1 S70 C5 U1 - Bed AutoTune at 70 and apply values
#M500 Save values to EEPROM


#LED PINS
>moreitem_button6_cmd:M104 S200 E0; M140 S60;
#P4 - Green
#P5 - Red
#P6 - Blue


>moreitem_button1_cmd:M42 P4 S0;M42 P6 S0;M42 P5 S255;M106 S255;M303 S220 C5 U1;M42 P4 S255;M42 P5 S0;M500;M107;M42 P4 S0;M42 P6 S255;M303 E-1 S70 C5 U1;M500;M42 P4 S255;M42 P5 S0;M107;
>moreitem_button7_cmd:M303 E0 S210 C10 U1; M500; G28;
# Preheat PLA
>moreitem_button2_cmd:M42 P4 S0;M42 P5 S0;M42 P6 S255;M104 S210; M140 S60; G4 P500;M42 P5 S0;M42 P6 S0;M42 P4 S255;
# Begin MBL 1st point
>moreitem_button3_cmd:G29 S1;
# Begin MBL 2nd point through 9th point
>moreitem_button4_cmd:G29 S2;
# Raise Z .02
>moreitem_button5_cmd:G91; G1 Z0.025; G90;
# Lower Z .02
>moreitem_button6_cmd:G91; G1 Z-0.025; G90;
# Save to EEPROM
>moreitem_button7_cmd:M500;


#how many "More" button display on screen interface
#how many "More" button display on screen interface
>morefunc_cnt:5
>morefunc_cnt:5


#command setting on button1~6
#command setting on button1~5
>morefunc1_cmd:M42 P4 S0;M42 P5 S0;M42 P6 S0;
>morefunc1_cmd:M42 P4 S255;M42 P5 S255;M42 P6 S255;
>morefunc2_cmd:M42 P4 S255;M42 P5 S255;M42 P6 S255;
>morefunc2_cmd:M42 P4 S0;M42 P5 S255;M42 P6 S0;
>morefunc3_cmd:M290 Z0.025;
>morefunc3_cmd:M42 P4 S255;M42 P5 S0;M42 P6 S0;
>morefunc4_cmd:M290 Z-0.025;
>morefunc4_cmd:M42 P4 S0;M42 P5 S0;M42 P6 S255;
>morefunc5_cmd:M500;
>morefunc5_cmd:G28;
>morefunc6_cmd:G28;
>morefunc6_cmd:G28;


#---------------------------------------------------------------------------------
#---------------------------------------------------------------------------------
##### Display Customization(button and logo customized see User's Manual) #######
##### Display Customization(button and logo customized see User's Manual) #######


##### Display Customization(button and logo customized see User's Manual) #######


#the color of screen background
#the color of screen background
>cfg_background_color:0x000000
>cfg_background_color:0x000000


#the color of title text
#the color of title text
>cfg_title_color:0xFFFFFF
>cfg_title_color:0xFFFFFF


#the color of temperature,fan,(etc) background
#the color of temperature,fan,(etc) background
>cfg_state_background_color:0x000000
>cfg_state_background_color:0x000000


#the color of temprature,fan,(etc) text
#the color of temprature,fan,(etc) text
>cfg_state_text_color:0xFFFFFF
>cfg_state_text_color:0xFFFFFF


#the color of file button
#the color of file button
>cfg_filename_background_color:0x000000
>cfg_filename_background_color:0x494949


#the color of file text
#the color of file text
>cfg_filename_color:0xFFFFFF
>cfg_filename_color:0xFFFFFF


#the color of background in printing
#the color of background in printing
>cfg_printingstat_word_background_color:0x000000
>cfg_printingstat_word_background_color:0x000000


#the color of text in printing status
#the color of text in printing status
>cfg_printingstat_word_color:0xFFFFFF
>cfg_printingstat_word_color:0xFFFFFF


#3D effects setting (disable: 0; enable: 1)
#3D effects setting (disable: 0; enable: 1)
>cfg_BUTTON_3D_effects:0
>cfg_BUTTON_3D_effects:0


#The screen is flipped 180°(0: no flip, 1: flip)
#The screen is flipped 180°(0x00: no flip, 0xEE: flip)
>cfg_OVERTURN_180:0
>cfg_OVERTURN_180:0x00


#shield the function of detection power (0:no shield ,1:shield)
#shield the function of detection power (0:no shield ,1:shield)
>cfg_disable_PWR_det:0
>cfg_disable_PWR_det:0


#shield the function of detection filament (0:no shield ,1:shield)
#shield the function of detection filament (0:no shield ,1:shield)
>cfg_disable_MT_det:0
>cfg_disable_MT_det:0


#Whether to support the function of dual extruder single nozzle.(0: disable, 1: enable)
#Whether to support the function of dual extruder single nozzle.(0: disable, 1: enable)
#the extruder number need set to dual.
#the extruder number need set to dual.
>cfg_single_nozzle:0
>cfg_single_nozzle:0


#For the M110 command plus check, the version of Marlin 1.0.2 and below is set to 1, and the other versions are set to 0.
#For the M110 command plus check, the version of Marlin 1.0.2 and below is set to 1, and the other versions are set to 0.
>cfg_M110_add_checkSum:0
>cfg_M110_add_checkSum:1


#Enable function of display error message. (no:0; Yes:1)
#Enable function of display error message. (no:0; Yes:1)
>cfg_display_eeror_message:1
>cfg_display_eeror_message:1


#-----------------------------------------------------------------------
#Enable function of babastep. (no:0; Yes:1)
>cfg_babystep_btn_display:1