{"id":26555268,"url":"https://github.com/dylanparsons/plc-tag-extractor","last_synced_at":"2025-10-13T18:13:10.814Z","repository":{"id":282314490,"uuid":"948178841","full_name":"dylanparsons/PLC-Tag-Extractor","owner":"dylanparsons","description":"A C# console application that connects to Allen-Bradley PLCs and extracts tag structures, exporting them to XML format for documentation and integration purposes.","archived":false,"fork":false,"pushed_at":"2025-03-13T22:39:25.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-22T10:30:28.432Z","etag":null,"topics":["allen-bradley","c-sharp","industrial-automation","plc","xml"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dylanparsons.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-13T22:06:57.000Z","updated_at":"2025-03-13T22:39:29.000Z","dependencies_parsed_at":"2025-03-13T23:23:38.427Z","dependency_job_id":"4d1daa97-a639-4c04-ae69-bbf20077e217","html_url":"https://github.com/dylanparsons/PLC-Tag-Extractor","commit_stats":null,"previous_names":["dylanparsons/plc-tag-extractor"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dylanparsons/PLC-Tag-Extractor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylanparsons%2FPLC-Tag-Extractor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylanparsons%2FPLC-Tag-Extractor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylanparsons%2FPLC-Tag-Extractor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylanparsons%2FPLC-Tag-Extractor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dylanparsons","download_url":"https://codeload.github.com/dylanparsons/PLC-Tag-Extractor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylanparsons%2FPLC-Tag-Extractor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279016567,"owners_count":26085850,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["allen-bradley","c-sharp","industrial-automation","plc","xml"],"created_at":"2025-03-22T10:25:44.011Z","updated_at":"2025-10-13T18:13:10.557Z","avatar_url":"https://github.com/dylanparsons.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PLC Tag Extractor\n\n## Overview\nThis repository contains sample code demonstrating how to extract tag structures from Allen-Bradley ControlLogix/CompactLogix PLCs using the InGear Logix Driver. The code traverses program structures and handles User-Defined Types (UDTs) with nested members, exporting them to XML.\n\n## ⚠️ Important Disclaimer\nThis code requires the InGear Logix Driver, which is a commercial product not included in this repository. Users will need to purchase their own license to use this code.\n\n## Code Sample\nThis repository contains a C# program that demonstrates:\n- Connecting to an Allen-Bradley PLC using the InGear Logix Driver\n- Extracting tag names and data types from all programs\n- Processing User-Defined Types (UDTs) and their members\n- Exporting the tag structure to an XML file\n\n## Using This Code\nTo use this code in your own project:\n\n1. Create a new C# Console Application in Visual Studio\n2. Add a reference to the InGear Logix Driver (commercial product)\n3. Replace your Program.cs with the one provided here\n4. Modify the IP address to point to your PLC\n5. Build and run the application\n\n## Example Output\nThe application generates an XML file with a structure similar to this:\n```xml\n\u003cPLC IPAddress=\"10.10.205.43\"\u003e\n  \u003cProgram Name=\"MainProgram\"\u003e\n    \u003cTag Name=\"Counter\" DataType=\"DINT\" /\u003e\n    \u003cTag Name=\"MachineStatus\" DataType=\"UDT_Status\"\u003e\n      \u003cMember Name=\"Running\" DataType=\"BOOL\" /\u003e\n      \u003cMember Name=\"ProductCount\" DataType=\"DINT\" /\u003e\n    \u003c/Tag\u003e\n  \u003c/Program\u003e\n\u003c/PLC\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdylanparsons%2Fplc-tag-extractor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdylanparsons%2Fplc-tag-extractor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdylanparsons%2Fplc-tag-extractor/lists"}