---
tag: m0380
title: Activate Solenoid
brief: Activate
author: thinkyhead

requires: EXT_SOLENOID | MANUAL_SOLENOID_CONTROL

codes: [ M380 ]
related: [ M381 ]

parameters:

- tag: S
  optional: true
  since: 2.0.0
  requires: MANUAL_SOLENOID_CONTROL
  description: Solenoid index
  values:
  - tag: index
    type: int

examples:

- code:
  - M380 ; Deactivate all solenoids
  - T0   ; Extruder 0
  - M380 ; Activate the E0 solenoid

- code: M380 S1 ; Activate solenoid 1

---

Activate the solenoid on the active extruder.
