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.

Download files

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

Source Distribution

ADAMModbusDriver-0.17.0.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

ADAMModbusDriver-0.17.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file ADAMModbusDriver-0.17.0.tar.gz.

File metadata

  • Download URL: ADAMModbusDriver-0.17.0.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for ADAMModbusDriver-0.17.0.tar.gz
Algorithm Hash digest
SHA256 39af95131511a6e9fdf5f50ba29385ec38eaabd620eb88d532f4e4a62706999e
MD5 01850bea134ab24c3e05c5f164ecfb13
BLAKE2b-256 9a0358a104779852649ea90d9732563cecc1739bed983d9ecef477f42d090fa9

See more details on using hashes here.

File details

Details for the file ADAMModbusDriver-0.17.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ADAMModbusDriver-0.17.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a91fa086e43730b3a0d156056d279a2d4019ed64f2b4b1032c400b5d7c412229
MD5 ebc1f4c214a7011eda7e739ee5b3dae2
BLAKE2b-256 723d9254673b46d5762e1c2fa4e96a4a6eb08b3b664f9b88d2522754b783acbc

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