Skip to main content

Rockwell ACD File Tools

Project description

ACD Tools

Rockwell ACD Project File Tools

The Rockwell ACD file is an archive file that contains all the files that are used by RSLogix/Studio 5000.

It consists of a number of text files containing version information, compressed XML files containing project and tag information as well as a number of database files.

Parsing the ACD file

The exporting of the L5X file isn't complete, we are able to parse the data types, tags and programs into a Controller python object though.

To get the Controller object and get the program/routines/rungs/tags/datatypes, use something like this

from acd.export_l5x import ExportL5x

controller = ExportL5x("../resources/CuteLogix.ACD", "build/output.l5x").controller
rung = controller.programs[0].routines[0].rungs[0]
data_type = controller.data_types[-1]
tag_name = controller.tags[75].text
tag_data_type =  controller.tags[75].data_type

Unzip

To extract the file use the acd.unzip.Unzip class. This extracts the database files to a directory.

from acd.unzip import Unzip

unzip = Unzip('CuteLogix.ACD')
unzip.write_files('output_directory')

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

acd_tools-0.1a4.tar.gz (15.6 kB view details)

Uploaded Source

Built Distribution

acd_tools-0.1a4-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

Details for the file acd_tools-0.1a4.tar.gz.

File metadata

  • Download URL: acd_tools-0.1a4.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for acd_tools-0.1a4.tar.gz
Algorithm Hash digest
SHA256 0b0e222915be5a10508a06de6d1c180552be5b54300f95722fd52c7f73d75c7f
MD5 f0436d04a9a4cb26b67e822d7035bdc4
BLAKE2b-256 0ff14134462fdf96d3fc9b25481c38c29b1dd4474840206b072b08d716185e60

See more details on using hashes here.

File details

Details for the file acd_tools-0.1a4-py3-none-any.whl.

File metadata

  • Download URL: acd_tools-0.1a4-py3-none-any.whl
  • Upload date:
  • Size: 16.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for acd_tools-0.1a4-py3-none-any.whl
Algorithm Hash digest
SHA256 a88731191174f5215d6741a7f2a0eeb4a5dcc8e523c96fa01262007fb3d63fd2
MD5 8c44f0d6cfa3dab6fd2d09fad2d32572
BLAKE2b-256 0c30b2e67ded531903cfeea73c4141e6a2e0f8f64df36cc68b4ce1601897af85

See more details on using hashes here.

Supported by

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