Skip to content

radevgit/plc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PLC - L5X Tools

Open source tools for parsing and analyzing L5X files exported from PLC programming software.

Crates

  • l5x - L5X file parser library
  • iecst - IEC 61131-3 Structured Text parser
  • plceye - PLC code smell detector CLI

Detected Issues

  • Unused Tags - Tags defined but never referenced in code
  • Undefined Tags - Tags referenced but not declared (may indicate typos or missing definitions)
  • Empty Routines - Routines with no logic (RLL with no rungs, ST with no statements)

Installation

cargo install --path plceye

Usage

plceye --help

# Analyze an L5X file
plceye path/to/project.L5X

# Generate default config
plceye init

# Show only warnings and errors
plceye --severity warning path/to/project.L5X

About

Tools for parsing and analyzing PLC software

Topics

Resources

License

Stars

Watchers

Forks

Languages