Skip to main content

ADAM-driver

This is a reader for the ADAM-6018+ TC reader.

To use, include the AdamClient.py file in your project. The output of this code is a list of thermocouples 1-8.

Example

from AdamClient import AdamClient

ADAM_IP = "172.18.120.250"
client = AdamClient(ADAM_IP, thermocouple_type="K")

try:
    converted_values = client.read_and_convert()
    print(converted_values)
except Exception as e:
    print(f"Error: {e}")

With one thermocouple attached to input 1, and the thermocouple installed in a coffee, the output will be:

[48.37, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]

Configuring ADAM devices

The ADAM devices only connect through Ethernet, and don't respond to ping. Yeah, have fun with that. They must be configured using the Advantech ADAM/APAX Utility using a Windows box.

To use the Advantech ADAM Utility, plug the ADAM device into Ethernet. On the same network, run the ADAM Utility on a Windows machine. In the ADAM Utility, select Tools -> Search Device, and hopefully the ADAM device will show up in the left hand column. From there, change the IP / subnet / gateway to something that works. I would suggest using static IP. Have fun.

Metadata

Release files for ADAMModbusDriver 0.19.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ADAMModbusDriver 0.19.0
File Size Uploaded Provenance
ADAMModbusDriver-0.19.0.tar.gz 2.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ADAMModbusDriver 0.19.0
File Interpreter ABI Platform
ADAMModbusDriver-0.19.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.1 kB

Release files / ADAMModbusDriver-0.19.0.tar.gz

Download URL ADAMModbusDriver-0.19.0.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
db579cdb874fa4a14e443f8b8fcee74ffcbe375a592b0666a2bffc2ea2e24279
BLAKE2b-256 checksum
How to use checksums
ca734acf571248f6feea55221c093b1c05c85e31d8cd747872a773dd51529258
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release files / ADAMModbusDriver-0.19.0-py3-none-any.whl

Download URL ADAMModbusDriver-0.19.0-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
024a31561d1ad5e8a9c275dc7125ef8d52f251da912e1d091f534c378a84380a
BLAKE2b-256 checksum
How to use checksums
e0a6519ee75a5a9b8c70f1d4523fa5d1825cb396801c744ecd80a1983554ae75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Security for ADAMModbusDriver 0.19.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page