50 lines
1.3 KiB
Markdown
50 lines
1.3 KiB
Markdown
---
|
|
tag: m0115
|
|
title: Firmware Info
|
|
brief: Print the firmware info and capabilities.
|
|
author: thinkyhead
|
|
|
|
group: hosts
|
|
|
|
codes: [ M115 ]
|
|
|
|
notes:
|
|
|
|
parameters:
|
|
|
|
examples:
|
|
|
|
---
|
|
This command causes Marlin to output a string like this:
|
|
|
|
```
|
|
FIRMWARE_NAME:Marlin 1.1.0 (Github) SOURCE_CODE_URL:https://github.com/MarlinFirmware/Marlin PROTOCOL_VERSION:1.0 MACHINE_TYPE:RepRap EXTRUDER_COUNT:1 UUID:cede2a2f-41a2-4748-9b12-c55c62f367ff
|
|
```
|
|
|
|
When `EXTENDED_CAPABILITIES_REPORT` is enabled, Marlin also reports its capabilities:
|
|
|
|
```
|
|
Cap:EEPROM:1
|
|
Cap:AUTOREPORT_TEMP:1
|
|
Cap:PROGRESS:0
|
|
Cap:AUTOLEVEL:1
|
|
Cap:Z_PROBE:1
|
|
Cap:SOFTWARE_POWER:0
|
|
Cap:TOGGLE_LIGHTS:0
|
|
Cap:EMERGENCY_PARSER:1
|
|
```
|
|
|
|
Hosts use this information to improve interoperability, so it's a good feature to enable.
|
|
|
|
With `EXTENDED_CAPABILITIES_REPORT` and `M115_GEOMETRY_REPORT` enabled, Marlin will also report detailed printer geometry:
|
|
|
|
```
|
|
area:{full:{min:{x:0,y:0,z:0,i:0,j:0,k:0,u:0,v:0,w:0},max:{x:200,y:200,z:200,i:0,j:0,k:0,u:0,v:0,w:0}},work:{min:{x:0,y:0,z:0,i:0,j:0,k:0},max:{x:200,y:200,z:200,i:0,j:0,k:0,u:0,v:0,w:0}}}
|
|
```
|
|
|
|
Coordinates are only reported for declared linear axes. So for a classic cartesian printer, the geometry report will look like:
|
|
|
|
```
|
|
area:{full:{min:{x:0,y:0,z:0},max:{x:200,y:200,z:200}},work:{min:{x:0,y:0,z:0},max:{x:200,y:200,z:200}}}
|
|
```
|