Welcome to mirror list, hosted at ThFree Co, Russian Federation.

M907.md « _gcode - github.com/MarlinFirmware/MarlinDocumentation.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 46e458a3c18d51ee9682281b111af56d94bd211b (plain)
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
---
tag: m0907
title: Set Motor Current
brief: Set motor current via digital trimpot
author: thinkyhead

requires: DIGIPOTSS_PIN|HAS_MOTOR_CURRENT_PWM|DIGIPOT_I2C|DAC_STEPPER_CURRENT
group: control

codes: [ M907 ]

notes:

parameters:
  -
    tag: B
    optional: true
    description: Current for the E1 stepper (Requires `DIGIPOTSS_PIN` or `DIGIPOT_I2C`)
    values:
      -
        tag: current
  -
    tag: C
    optional: true
    description: Current for the E2 stepper (Requires `DIGIPOT_I2C`)
    values:
      -
        tag: current
  -
    tag: D
    optional: true
    description: Current for the E3 stepper (Requires `DIGIPOT_I2C`)
    values:
      -
        tag: current
  -
    tag: E
    optional: true
    description: Current for the E0 stepper
    values:
      -
        tag: current
  -
    tag: S
    optional: true
    description: Set this current on all steppers (Requires `DIGIPOTSS_PIN` or `DAC_STEPPER_CURRENT`)
    values:
      -
        tag: current
  -
    tag: X
    optional: true
    description: Current for the X stepper (and the Y stepper with `MOTOR_CURRENT_PWM_XY`)
    values:
      -
        tag: current
  -
    tag: Y
    optional: true
    description: Current for the Y stepper (Use `X` with `MOTOR_CURRENT_PWM_XY`)
    values:
      -
        tag: current
  -
    tag: Z
    optional: true
    description: Current for the Z stepper
    values:
      -
        tag: current

examples:

---

Set digital trimpot motor current using axis codes `X`, `Y`, `Z`, `E`, plus `B` and `S`. The unit used for current depends on the type of stepper driver.