Skip to main content

Library for basic control of the Pfeiffer Vacuum HiCube Neo

Project description

PfeifferHiCube

A Python library for basic control of the Pfeiffer Vacuum HiCube Neo vacuum pump system via OPC-UA.

Usage

Connect to the HiCube Neo by providing its IP address or hostname. The recommended way is to use a with statement, which ensures the connection is cleanly closed after use:

from pfeifferhicube import HiCubeNeo

with HiCubeNeo("192.168.1.100") as cube:
    cube.evacuate()
    
    # Now both pumps of the system should be turned on
    print(cube.turbopump)   # True
    print(cube.backingpump) # True

The object can also be instantiated directly, in which case the connection is closed when the object is garbage collected:

cube = HiCubeNeo("192.168.1.100")
cube.evacuate()

Constructor Parameters

Parameter Type Default Description
host str IP address or hostname of the HiCube Neo
port int 4840 TCP port of the OPC-UA server
timeout float 4 Timeout in seconds for server responses

Pump control

Method Description
evacuate() Enable backing pump and turbopump
vent() Disable turbopump and backing pump
enable_turbopump() Enable turbopump only
disable_turbopump() Disable turbopump only
enable_backingpump() Enable backing pump only
disable_backingpump() Disable backing pump only

The pump states can also be read and set directly via properties:

cube.turbopump = True   # enable turbopump
cube.turbopump = False  # disable turbopump
print(cube.turbopump)   # read turbopump state

cube.backingpump = True   # enable backing pump
cube.backingpump = False  # disable backing pump
print(cube.backingpump)   # read backing pump state

Relay control

Method Description
enable_relay1() Switch relay 1
disable_relay1() Return relay 1 to normal position
enable_relay2() Switch relay 2
disable_relay2() Return relay 2 to normal position

Relay states can also be read and set via properties:

cube.relay1 = True
print(cube.relay1)
cube.relay2 = True
print(cube.relay2)

License

MIT License - Copyright (c) 2026 Jonas Grage

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pfeifferhicube-0.1.1.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pfeifferhicube-0.1.1-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file pfeifferhicube-0.1.1.tar.gz.

File metadata

  • Download URL: pfeifferhicube-0.1.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pfeifferhicube-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d014f241b3bd28d61180b8d28886b6e033544bbabc2e74a9383948fd6e4eb942
MD5 28976f84b55a5945b8998fea3b5730e0
BLAKE2b-256 925ffa697c0b50d1a2085714979c2e490615516b11349123fba198ffcc7aee9e

See more details on using hashes here.

File details

Details for the file pfeifferhicube-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pfeifferhicube-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pfeifferhicube-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8bf8fc98fbc7ff8444a96859e030945bc0f9c22fd1c65df33e01d8f9609980fb
MD5 ace9fb4e8967c3c0ab58abddd9af3b29
BLAKE2b-256 9685102dac1fbce6af69a9e177362d2bc9253fe72533dd076ca97c8aea12d529

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page