Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open source PLC 4

Status
Not open for further replies.

thiagoralves

Electrical
Jun 2, 2016
1
Dear friends,

I'm a Ph.D. student at the University of Alabama in Huntsville, and my research topic is SCADA cyber security. My goal is to find vulnerabilities in PLCs and try to fix them. However, its really hard to study something deep when you don't have the source code. Therefore, due to the lack of open source tools available in this field, I decided to create my own open source PLC. Then I realized that this could be useful for other researchers and professionals in the field, so I'm here sharing it with everyone.

The OpenPLC is a complete package with an editor and a compiler. The editor runs in Windows, Linux and MacOS and supports all the 5 IEC 61131-3 languages: ST, IL, LADDER, FBD and SFC. The compiler is responsible for getting the program written by the user and compile it to the platform in which the OpenPLC is running.

The OpenPLC currently runs on Raspberry Pi, Arduino, UniPi and also as a soft-PLC on Windows or Linux. If you guys have any of the mentioned boards laying down somewhere, it might be interesting to give the OpenPLC a try. More information can be found at the project's website: 
Let me know if you have any comments.


Thanks,

Thiago Alves 
 
Replies continue below

Recommended for you

5 IEC 61131-3 languages: ST(Structured Text), IL, LADDER, FBD (Function Block Diagram) and SFC (Sequential Function Chart).

This always bugs me for some reason: When everyone does TLA (two-three letter acronyms) and never tell you at beginning what it means?

My question to also what would be more useful is if you created a PLC language export/import type of complier. Now that would be very useful and create chaos for PLC manufactures since a customer has a way out if they don't like AB, Siemens, or whatever flavor of PLC language.

Example: Allen Bradley has an export XML file called a *.L5K file. You take this file and try to translated into a Siemens STep7 file.

 
XML is getting close to being a 'universal' translation language for PLCs however not all in "XML" is created equal either. As an example GE Proficy ME can also Export/Import .xml how ever try Importing an xml from AB and it is rather interesting.
 
Great! Like!

I wish I had more time. Or that there were 48 h/day. This is something I will be following. How many hours does your day have?

Thanks for showing us.

Gunnar Englund
--------------------------------------
Half full - Half empty? I don't mind. It's what in it that counts.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor