Skip to content

stellentus/l5x

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

l5x

A parser for the RSLogix5000 L5X format

This parser was designed to generate go structures for L5X tags for use with go-plc.

Example Usage

Generate a file gen.go in a package types which contains all of the types in your program file. go run github.com/stellentus/l5x/cmd/l5x-to-go -package types -in PATH/TO/PROGRAM.L5X -out gen.go

To generate the same as above, but using a go generate command in your project, add the following comment at the beginning of a file in the types package. //go:generate go run github.com/stellentus/l5x/cmd/l5x-to-go -package types -in PATH/TO/PROGRAM.L5X -out gen.go

About

A parser for the RSLogix5000 L5X format

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages