Skip to main content

DF1

A very basic Allen Bradley DF1 protocol implementation in Python.

How to use

from df1.df1_client import Df1Client
from df1.commands import Command0FA2
from df1.file_type import FileType

with Df1Client(src=0x0, dst=0x1) as client:
    client.connect('192.168.0.32', 10232)
    command = client.create_command(Command0FA2, table=43, start=245, bytes_to_read=10, file_type=FileType.INTEGER)
    reply = client.send_command(command)
    print(reply.get_data(FileType.INTEGER))

Metadata

Release files for df1 0.5

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

Built distribution (wheel)

Table of built distributions (wheels) for df1 0.5
File Interpreter ABI Platform
df1-0.5-py2-none-any.whl Python 2 none any Details

Release files / df1-0.5-py2-none-any.whl

Download URL df1-0.5-py2-none-any.whl
Size 16.9 kB
Tags Python 2
SHA-256 checksum
How to use checksums
33c9a288961eb7cce083807a63fd10add34a95172743c3482382ba24524195e9
BLAKE2b-256 checksum
How to use checksums
f6113105e4dbdbf98655d7bc2f4c646dd3f052f7c8e523755bbf5d0a58be9b1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.11.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/2.7.15

Release history Release notifications | RSS feed

This release

0.5 This release

1 release file

0.4

1 release file

0.3

1 release file

0.2

1 release file

0.1.1

1 release file

0.1

1 release file

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