Neumática V5#

Introducción#

El sistema neumático V5 utiliza una bomba de aire y un solenoide para controlar el aire comprimido que mueve los cilindros. Permite activar o desactivar la bomba y extender o retraer los cilindros mediante código.

Necesitarás construir manualmente la clase para que esto funcione.

This page uses v5_pneumatic as the example V5 Pneumatics name. Replace it with your own configured name as needed.

A continuación se muestra una lista de los métodos disponibles:

  • open – Extend a cylinder.

  • close – Retract a cylinder.

Constructores: inicializan y configuran manualmente el solenoide neumático V5.

  • Pneumatics – Creates a V5 Pneumatics Solenoid.

Comportamiento#

open#

open extends a cylinder.

Uso:

v5_pneumatic.open()

Parámetros

Descripción

Este método no tiene parámetros.

close#

close retracts a cylinder.

Usage:
v5_pneumatic.close()

Constructores#

Constructors are used to manually create Pneumatics objects, which are necessary for configuring a V5 Pneumatic Solenoid.

Pneumatics#

Pneumatics creates a V5 Pneumatics Solenoid.

Usage:
Pneumatics(port)

Parámetro

Descripción

port

The 3-Wire Port that the V5 Pneumatic Solenoid is connected to:

  • On the V5 BrainPorts.PORTx where x is the number of the port.
  • On a 3-Wire Expanderexpander.a where expander is the name of the expander instance.

# Create a V5 Pneumatic Solenoid in Port A
v5_pneumatic = Pneumatics(brain.three_wire_port.a)