kf4pmy
Hello All;

 To start with I am a industrial mechanic by trade. I work on calendar lines and we run Siemen 7 on are lines. So I can fumble my way around a lot with decent success. That is what brings me to the OpenPLC project. I see it helping me a lot and possible trouble shooting / training item for some my fellow mechanics who are want to move up the ranks a little.

 I have OpenPlc install on a pi model b, I really need to upgrade one day. Everything appears to be working as far as my install and this is where my question comes in. I have done a little programming and running servers on the pi but never messed with the gpio until now.  Before I start plugging in things I want to make sure I am right cause this is my spare pi, my other one is a server for my 3d printer.

 To start I just want to make a little panel that has a similar look to what I am use too. This would be having a led light up when a input is made and of course for the output also so I know whats going on.

 The way I am looking at this, I want to run a line from 3.3v pin ---> NO switch ---> led ---> IX0.3 pin on the input side. For the output side I just go from q0.2 --> led ---> Grnd .  Then in  Editor I set-up what type of inputs IX0.3 is along with Q0.3 .

So for phase 1 of what I want to accomplish is just having light on the inputs and outputs to light up when a signal is sent to them.  Then its figure out a simple mechanical device using some of the different aspects on my machine at work. This will be vfd, pnuematics, proxies and reedy switched for the most part.

Appreicate any guidance, Im really look forward to see what I can do with this.

Jason Hopkins
KF4PMY
Reply 0 0
thiagoralves
You can do that with OpenPLC and a Raspberry Pi. Just don't forget to add pull-down resistors before the inputs, otherwise all you will get is noise when the button (NO switch) is not pressed.
Reply 0 0
Reply