Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d39f3ae

Browse files
committed
Add T parameter for M104, M109
1 parent d046ee7 commit d39f3ae

File tree

2 files changed

+25
-3
lines changed

2 files changed

+25
-3
lines changed

_gcode/M104.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,23 @@ parameters:
4242
-
4343
tag: temp
4444
type: float
45+
-
46+
tag: T
47+
optional: true
48+
description: Hotend index. If omitted, the currently active hotend will be used.
49+
values:
50+
-
51+
tag: index
52+
type: int
4553

4654

4755
examples:
4856
-
49-
pre: Simple set target temperature
50-
code: M104 S180
57+
pre: Set target temperature for the active hotend
58+
code: M104 S185
59+
-
60+
pre: Set target temperature for E1
61+
code: M104 T1 S205
5162
-
5263
pre: '`AUTOTEMP`: Set autotemp range'
5364
code: M104 F S180 B190

_gcode/M109.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,26 @@ parameters:
5151
-
5252
tag: temp
5353
type: float
54+
-
55+
tag: T
56+
optional: true
57+
description: Hotend index. If omitted, the currently active hotend will be used.
58+
values:
59+
-
60+
tag: index
61+
type: int
5462

5563

5664
examples:
5765
-
58-
pre: Set target temperature and wait (if heating)
66+
pre: Set target temperature and wait (if heating up)
5967
code: M109 S180
6068
-
6169
pre: Set target temperature, wait even if cooling
6270
code: M109 R120
71+
-
72+
pre: Set target temperature for E1 and wait (if heating up)
73+
code: M109 T1 R205
6374
-
6475
pre: '`AUTOTEMP`: Set autotemp range, wait for temp'
6576
code: M109 F S180 B190

0 commit comments

Comments
 (0)