Code for newbies

GregPLC

Member
Join Date
Oct 2002
Location
Milwaukee, WI
Posts
342
Due to the fact I have received a couple PM's in the past few weeks, from people (real world technicians and engineers, I'm sure), claiming they need help writing code for a couple projects; I have taken time out of my busy schedule to assist them.

I have written a program to control any model of garage door opener, this same code will also run a set of stop lights. There's even a subroutine that takes care of carwashes, so if you're ever called, you can progam one of those too.


Oh, one last nugget I forgot about, I also included a popup message that will let you know if you're downloading the program to a unitary, modular, or rack mounted PLC.


PM if interested. :D
 
Greg,

I see you've left the elevator problem up to me....

Ok so here it is..



UP BUTTON UP MOTOR CONTACTOR
----||---------------------( )

DOWN BUTTON DOWN MOTOR CONTACTOR
----||---------------------( )


 
I'll add in the logic for an oven.


Too
Cold Burner
-----||--------( )



Man, we're close to covering any immaginable controls situation.
We better be careful, or we may all be obsolete by the knowlege contained within this thread.
 
You forgot the repair technician's favorite which any competent programmer should have included



Broken Fix Itself
---------------| |-------------------------( )


 
I love those bits of Code...I wonder what my boss will think when ...and I will, include them in my next project.... I'll let you know how it works out...
David
 
Real world

Lest we forget:

+ limit switch MTR Con1
---|/|---------------------( )--

- limit switch MTR Con1
---|/|---------------------( )--

jog MTR Con1
---| |---------------------( )--
unjog MTR Con1
---| |---------------------(/)--

short to ground call service tech
---| |---------------------( )--
 

Similar Topics

I'm working on learning OOP coding for TwinCat 3. I'd like to transfer and optimize the code my company has from AB Studio 5000 to ST TwinCat 3...
Replies
1
Views
95
in allen bradley kinetix 300 drive first E31 error shows after resting drive E11 error occurs need solution to reset E11 fault code
Replies
4
Views
160
Hello, I am trying to read a barcode scanner input using a cognex dataman 280 barcode reader, store it another string, the compare with another...
Replies
1
Views
101
Hi there, I'm new to plc programming and was wondering why I get this error code when I run my simulation for these temperature sensors? What I'm...
Replies
2
Views
104
Hi All, Someone at work has put a PLC system on my desk, that's just been taken off an idle production line. He said "It's an S7 PLC. We don't...
Replies
10
Views
322
Back
Top Bottom