ChunkyKev
I am totally new to all this, not done anything with automation, and very little with programming only really in Python, and yet have a project I think the OpenPLC might be suitable for.  I need someone to tell me if I am on the right track to start and then if I am how I can take it forward.  We build Theatre scenery and I want a way to control pieces that need to move.  I am looking for something cheap and simple to control variety of motors we might use.  Motors might be 3 phase, 240v or 12v depending upon application.  In past we have had control panels built, but this is getting limited.  I want to develop a piece of software to allow an end user to setup small routines and then to save them.  the routines might be based upon motor running for a period of time, or until a sensor is triggered, or encoder reaches designated value.  I want to then have a simple screen with different routines listed that can be selected and then with a stop and start.

Anyone able to advise.
Reply 0 0
Yukkotete
Hello,

If you find the right hardware to control your scenario i think OpenPLC can be the right solution, but first try to be familiar with automotion processes so you can fin the right hardware for controlling such big motors.
Then you can learn some basic ladder logic language wich is very intuitive and easily control your system.
Reply 0 0
thiagoralves
As Yukkotete said, you can use OpenPLC to do it because it is an automation tool. I believe that a Raspberry Pi with the proper relay shield would be able to control your stuff. If you need more I/O you can also pair the RPi with an Arduino board (also with the proper shield).

The way I would do it is to write a generic ladder logic to control the motors and leave the condition to stop as a variable (it can be time or sensor). Then you can create a nice and pretty HMI using ScadaBR to talk to the running OpenPLC and let the user control the interface from it.

If you're unfamiliar with the terms I used here, you can read more about them on wikipedia:
https://en.wikipedia.org/wiki/Programmable_logic_controller
https://en.wikipedia.org/wiki/Ladder_logic
https://en.wikipedia.org/wiki/SCADA
Reply 1 0
ChunkyKev
Hi Thiagoralves,

many thanks.  After earlier post I have been doing more research and what your saying is starting to make sense.  more reading and watching youtube.  Are there people who specialise in this kind of thing I could get onboard to help speed up the process?
Reply 0 0
thiagoralves
Any automation engineer should be able to handle this easily. However, they might want to work with commercial PLCs that are expensive. You may want to try to convince them that they can use OpenPLC the same way as any other expensive commercial PLC system. Electrical Engineers with some computer background also should be able to perform this task.
Reply 1 0
jlxb
Sorry to jump in on Chunkeykev, I have the same question but different mission.  I just installed the open plc and the editor and was overwhelmed.  A blank page!  I am very linux savy but have avoided coding for 20 years.  I don't recognize anything.  I am familiar with the vocabulary and I know what ladder logic is but have never created any.  I need to!

I need advice on how to get going with this.  Is there a remedial start here for newbies?  First wrung of the ladder so to speak.

Thanks
Reply 0 0
thiagoralves
The graphical editor for OpenPLC is very easy to use and intuitive. I'm planning to write some documentation in the near future, but I'm pretty sure you can find your way out quickly with a little bit of poking around.

In any case, at the end of the installation instructions on the OpenPLC website there is a demo project called hello world (see http://www.openplcproject.com/getting-started-windows). You can download that and open with the editor to see how a simple ladder rung can turn something on and off. You can also dig the internet for ladder logic tutorials. One of the best I've found is this one: http://www.plcs.net/contents.shtml
Reply 0 0
Reply