-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheater.cfg
91 lines (82 loc) · 2.2 KB
/
heater.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
#####################################################################
# Extruder
#####################################################################
#####################################################################
## BED pin - to heater
## Motor 7 to extruder
[extruder]
step_pin = M7_STEP
dir_pin = M7_DIR
enable_pin = !M7_ENABLE
rotation_distance = 22.8640850274
gear_ratio: 50:10 #for standard 10t motor
max_extrude_cross_section: 50
max_extrude_only_distance: 600.0
max_extrude_only_velocity: 75.0
max_extrude_only_accel: 1500
microsteps = 64
full_steps_per_rotation = 200
nozzle_diameter = 0.500
filament_diameter = 1.75
heater_pin = BED
sensor_type = MAX31865
sensor_pin = MAX_CS
spi_bus = spi1
spi_speed = 4000000
rtd_nominal_r = 100
rtd_reference_r = 430
rtd_num_of_wires = 2
rtd_use_50Hz_filter = True
min_temp = 10
max_temp = 350
max_power = 1.0
min_extrude_temp = 170
pressure_advance = 0.023 #for 0.4 CHT nozzle
pressure_advance_smooth_time = 0.02
#control: pid_v
#pid_kp: 17.861
#pid_ki: 0.984
#pid_kd: 81.043
#####################################################################
# Bed Heater
#####################################################################
[heater_bed]
## SSR Pin - HE0 pins
heater_pin: HE0
sensor_type: Generic 3950#NTC 100K beta 3950
sensor_pin: TB
max_power: 1.0
min_temp: 0
max_temp: 135
#control: pid_v
#pid_kp: 33.129
#pid_ki: 0.311
#pid_kd: 1325.330
[heater_generic chamber_heater]
heater_pin: !BLTOUCH1
sensor_type: Generic 3950
sensor_pin: T3
min_temp: 10
max_temp: 120
control: pid
pid_kp: 31.689
pid_ki: 3.903
pid_kd: 96.493
[gcode_macro M109]
rename_existing: M99109
gcode:
#Parameters
{% set s = params.S|float %}
M104 {% for p in params %}{'%s%s' % (p, params[p])}{% endfor %} ; Set hotend temp
{% if s != 0 %}
TEMPERATURE_WAIT SENSOR=extruder MINIMUM={s} MAXIMUM={s+1} ; Wait for hotend temp (within 1 degree)
{% endif %}
[gcode_macro M190]
rename_existing: M99190
gcode:
#Parameters
{% set s = params.S|float %}
M140 {% for p in params %}{'%s%s' % (p, params[p])}{% endfor %} ; Set bed temp
{% if s != 0 %}
TEMPERATURE_WAIT SENSOR=heater_bed MINIMUM={s} MAXIMUM={s+1} ; Wait for bed temp (within 1 degree)
{% endif %}