Developing a PLC Project from Scratch.

basharath

Member
Join Date
Mar 2010
Location
hyderabad
Posts
103
Dear All,

I wanted to know how to start developing a PLC project(Programming) from scratch,

I have got the project script and IO details.

how to start it in a standard way,looking for safety,scan cycle and all.And how to divide the diff systems in the project.

And what are the things which we need to look for while developing.

Regards
Ali.
 
There are different methods. You need to organize your work and you need to organize your program.

RESEARCH
My basic approach is to find out everything there is to know about the process / machine before I even write one line of code. I do research and I do most of it in the field, not in the office. I can spend a lot of time on this because I know this is what could ruin the entire project otherwise. Rockie programmers don't do this enough IMHO.

If I get handed a program specification then I know I have a lot of work ahead of me trying to figure out what they really need and what they didn't think of when they wrote the specification.

SOLVE PROBLEMS / PROTOTYPING
Then I identify any potential problem areas. Things that I am not sure about or haven't done before. I start by testing things and doing small prototype programs just working on these specific things. So basically I start with what I anticipate being the hardest things to accomplish. Starting with details is called bottom-up design, but I do it only for "unknowns".

PROGRAM STRUCTURE
Then it's time to find an overall structure for the program. This is called top-down design. Basically I structure my program after logical section of a process or machine. I don't structure it after what the programming is going to do.

So everything that has to do with one part of a system is together in one place. All data and all functions and processing related to that logical section. This is called encapsulation and is a fundamental principle of object-oriented programming. PLC's don't have an object-oriented programming language but you can use the principles anyway.

ELECTRICAL / MECHANICAL / SAFETY ISSUES
Then I start to by going through all I/O and look at the electrical schematics and pneumatics. Maybe something has to be changed. I think about safety functions as well in this stage. And where all sensors are to be placed. Mechanical drawings as well.

PROGRAMMING AND TESTING, PROGRAMMING AND TESTING, PROGRAMMING...
Then I to program making decisions along the way to find a good solution for each problem. Not just one solution, but the solution that will work best considering what the system is and how it can be implemented as well as a number of different considerations. While programming I also test it and I think about how to test the program while I do it. Testing that can be done on a machine or process in the field I'll start with as soon as I've done something worthwhile testing.

KEEPING EVERYBODY UPDATED
As the project is coming along I keep my clients updated and discuss solutions and problems if they are of interest to them. Any technical/process/machine question I prefer to discuss directly with the people that knows the most about it.

Sorry about the long rant guys!
.
 
Last edited:
......

Sorry about the long rant guys!
.

Don't be sorry in the least. That's one of the better descriptions of how to build a program from scratch that I have seen. I hope you don't mind, but I'll be stealing it so I can copy/paste it as a stock answer to the question. (y)


Will.
 
Thanks for your detailed reply,

Having read this I am thinking of spending a day at site before starting.

It should be me to feel sorry,for asking a question which need a detail answer.

Regard
Ali
 

Similar Topics

Hi, I'm a grad student in an Instructional Technology program in NY state. I am trying to develop a computer based in teaching tool for jr high...
Replies
59
Views
9,339
Good Morning , I have a lot I need to do yet on a project , and I would like to spend a little with my family . Sometimes I take work...
Replies
4
Views
1,713
Hi guys, I've started using TIA portal recently having used step7 for a long time. In the old version using wincc I could start the runtime on...
Replies
9
Views
11,750
Developing Communication between Energy Meter(Indigo+ Schlumberger) & SIEMENS S7-1200 Hi Members, I am Currently facing a challenge regarding...
Replies
0
Views
1,493
Hi, Help me building this logic in AB’s ladder logic format. I have ControlLogix PLC. In field, I have three pumps connected in series. Say...
Replies
4
Views
3,957
Back
Top Bottom