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

M380.md « _gcode - github.com/MarlinFirmware/MarlinDocumentation.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 148b46bf653547d2064537b23f7737e50a0e4131 (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
---
tag: m0380
title: Activate Solenoid
brief: Activate
author: thinkyhead

requires: EXT_SOLENOID
group: none

codes: [ M380 ]

notes:

parameters:
  -
    tag: S
    optional: true
    since: 2.0.0
    requires: MANUAL_SOLENOID_CONTROL
    description: Solenoid index (Requires `MANUAL_SOLENOID_CONTROL`)
    values:
      -
        tag: index
        type: int

example:
  -
    code:
      - M381 ; Deactivate all solenoids
      - T0   ; Extruder 0
      - M380 ; Activate the E0 solenoid
  -
    code: M381 S1 ; Activate solenoid 1

---

Activate the solenoid on the active extruder.