Object Oriented Programming (OOP) is supported by many PC programming languages.
How about PLC programming systems? Do you think that object oriented programming is possible for industrial automation systems?
Some automation gurus say that 'object oriented programming is for only programs, an automation system is not a program; may have a program but it is not a program, it is not a desktop application. So automation systems can not be object oriented'
And some gurus say that 'we are already designing in object oriented for many years, before it applied to PC programming'
What do you think?
I will be glad if you write some comments before starting a new post series. Should I define and describe the basics of object oriented design? Or directly run in to a case study of 'object oriented design in an automation system?'
Object Oriented Design in Industrial Automation
INDAFINS - OMRON Fins OCX
--------------------------------------------------------
05.12.2009 21:05
INDAFINS sources are uploaded to
http://groups.google.com/group/indanotes/web/OCX.zip
I was planning to publish all source codes by releasing beta version. (INDAFINS is still alpha version).
Unfortunately I don't have too much time to upgrade it. So I have decied to publish source codes of alpha version.
And also I was planning to upgrade INDAFINS as INDAFINS.Net for .Net environment after adding several more functionalities:
- Serial port support
- Read / Write I/O and timers, etc.
Please feel free to modify it,but I have several petitions:
- Please do not remove any links and information about indanotes.blogspot.com and this post.
- Please keep existing comments.
- Please add your name to source code as a comment if you modify it, and send to me to publish new versions here. I promise, I will keep your name also in this historical post.
--------------------------------------------------------
26.11.2008 00:35
I have released the documentation. I also realized that bad naming on source codes and fixed them.
You can download them from
http://code.google.com/p/indafins/downloads/list
--------------------------------------------------------
19.11.2008 13:32
Google rocks! I decided to host the project at google code instead of sourceforge.
You can download the setup files from
http://code.google.com/p/indafins/downloads/list
Setup file contains the ActiveX and a tester. I am going to publish the source codes soon.
---------------------------------------------------------
18.11.2008
An ActiveX controller 'INDAFINS' for OMRON FINS protocol is going to be published.
This posts address will be a permanent link, I am planning to edit this post on each version release.
It is still in alpha version and supporting only read & write data memories and extended memory banks over ethernet UDP.
I am planning to cover at least %90 of FINS protocol. Also I am planning to give FINS over RS 232 in the same ActiveX, so it should be very easy to change an applications communication method just only chancing one single line in a project.
Unfortunately, there is no documentation yet, I am planning to write a draft document as soon as possible.
However, when you are using this ActiveX, please:
- Use it by your own risk, it is not a commertial product. Just a freeware.
- Never place an emergency stop function on your PC applications, PC devices and communications are not stable, you may not stop the system in case of emergency.
- New warnings about INDAFINS can be added to this blog, it would be better to subscribe to RSS feed of this blog to be get informed.
I was planing to publish this ActiveX controller as an open source project in www.sourceforge.net, however I need to study more on CVS to publish on SourceForge.
I am going to find a reliable download host other than rapidshare, I would be glad if someone can offer me a good link.
Operation Times Reporting In an Assembly Line - DB Application
Operation Times Reporting In an Assembly Line - DB Application
In our previous post, we have studied on data collection. In this post, we are going to study on database design.
Let's remember, we were going to deal with more than 30 million records annually in a database, and we were seeking a way to handle it without throttling the database server.
Let's remember what our customer needed:
Operation times distribution as an histogram : Calculating an histogram may be a little bit difficult. We should prefer to display reports which are easily derived with SQL sentences. And displaying 70 stations histogram in a single page may not help to understand bottlenecks.
The box plot graphics seemed the best alternative for histogram. It includes basic information from histogram:
and can present all stations graph in a single page:
Pictures are taken from wiki pages, unfortunately I can't publish samples from customers reports.
Idle time to find out bottle necks: For idle time, less is better. So, what about displaying them with a colourful background? Report data is simple, will just include two rows, 'Station name' for first row and average idle time for the second row. It would be nice to change proportionally the background of the cell for idle time according to idle time. If smaller values are better, we can display minimum idle time in totally green, and maximum idle time in totally red. And the others may be proportionally colourized in a gradient:
- Station number
- Date
- Hour
- Number of products
- Minimum of T1
- Maximum of T1
- Q1 of T1
- Q3 of T1
- Median of T1
- Average of T1
- Standard deviation of T1
- And same calculations same as T1 for T2 and T3 time intervals.
- Half a day for PLC software modification
- Quarter of a day for PC software development
- Quarter of a day for PC summarising task application
- One day for report web pages



