
Security News
Open Source CAI Framework Handles Pen Testing Tasks up to 3,600× Faster Than Humans
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
For interfacing with Brooks Instrument Mass Flow Controllers, Meters, and Pressure Controllers with S-Protocol over RS-485.
For interfacing with Brooks Instrument Mass Flow Controllers, Meters, and Pressure Controllers with S-Protocol over RS-485.
$ pip install sprotocol
This package is written for interfacing with Brooks Instrument devices using S-Protocol. S-Protocol is a proprietary protocol based on HART communications utilizing RS-485.
''' from sprotocol import mfc, mfm, pc
device = mfc('COM10') device.get_address()
device.read_flow_rate()
device.write_setpoint(10)
'''
This module is intended to ease setting up and utilizing S protocol communications over RS-485 with Brooks Instrument devices. This module is provided for free and is currently in beta. Feedback is welcome and requested features as well as bug fixes will be added over time. It is recommended to review the S-protocol manual for the appropriate device.
The following device-specific S-protocol manuals can be found on the Brooks Instrument website.
From sprotocol import device
gf40 = device.mfc('COM10')
gf40.get_address()
gf40.read_flow_rate()
From sprotocol import device
gf40 = device.mfc('COM10')
gf40.long_frame_address = bytearray(b'\x8aZ\xe7wI')
gf40.read_flow_rate()
The commands supported are based on the device type. The command numbers are listed. Please see the S-Protocol manual for more information on the commands.
Some commands require a selection to be specified. This will be an integer based on tables found in the manual. The tables can also be reviewed in the module.
Not all commands from the manual are supported with methods. Generic commands may be sent to the unit. The follow methods are supported and can be used to send other commands that are not directly supported.
sprotocol
was created by Darren Weinhold. It is licensed under the terms of the MIT license.
sprotocol
was created with cookiecutter
and the py-pkgs-cookiecutter
template.
FAQs
For interfacing with Brooks Instrument Mass Flow Controllers, Meters, and Pressure Controllers with S-Protocol over RS-485.
We found that sprotocol demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.