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

M575.md « _gcode - github.com/MarlinFirmware/MarlinDocumentation.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: bbc2dae3954c5786fc280e07d0185aec59adc3b1 (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
---
tag: m0575
title: Serial baud rate
brief: Change the serial baud rate
author: thinkyhead

since: 2.0.0
requires: BAUD_RATE_GCODE
group: hosts

codes: [ M575 ]

notes:
  - Only specified baud rates are allowed.
  - Shorthand baud rates (shown below in parentheses) were added in 2.0.6.1.

parameters:
-
  tag: P
  optional: true
  description: Serial Port index. Omit for all serial ports.
-
  tag: B
  optional: false
  description: |
    The baud rate to set. Permitted values are:
      - 2400 (24)
      - 9600 (96)
      - 19200 (19, 192)
      - 38400 (38, 384)
      - 57600 (57, 576)
      - 115200 (115, 1152)
      - 250000 (250)
      - 500000 (500)
      - 1000000
  values:
  -
    tag: baud

examples:
  -
    pre: Set the baud rate for port 0 to 115.2K
    code: M575 P0 B115200
  -
    pre: Set the baud rate of all ports to 250K
    code: M575 B250000

---

Change the baud rate of one serial port or all serial ports. This command will interrupt serial communication to the host and may reset the firmware when the host reconnects at the new baud rate.