. Tuesday, November 18, 2008

05.12.2009 21:05

INDAFINS sources are uploaded to

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 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

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

Setup file contains the ActiveX and a tester. I am going to publish the source codes soon.


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, 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.


longman said...

I downloaded, but I don't know what the protocol is?
can you say more clear it?

Moosty said...

INDAFINS can be used with only OMRON PLCs, it communicates through the PLC by FINS protocol.

Wikipedia definition of FINS: FINS is a network protocol used by Omron PLCs, over different physical networks like Ethernet, Controller Link, DeviceNet and RS-232C

You can download the FINS commands manual from

Anonymous said...

There is a site for downloading Missing Ocx files which i highly recommend. You can try that...

James said...

very informative details thanks for that, nice article

omron blood pressure monitor

Anonymous said...

Have you add the Project to

I would rewrite your Ocx to, are you interested.


Anonymous said...

Is it possible to use this ocx in .NET?

I've tried different ways to instantiate the control in C# with no success.

I think there's no constructor in the ocx, so .NET can't create an instance of the control

Is there a workaround for this?

Moosty said...

It should be possible to use it in .Net

I am not experienced in C# but I can make a sample with VB.Net.

I am also planning to recode INDAFINS for .Net and Compact Framework, I think it may be useful if it is possible to be used in Pocket PC applications.

Before porting INDAFINS into .Net, I want to complete the missing RS232 support of INDAFINS.

ragundo said...

Moosty, I've tried everything to get an instance of the control, even Reflection.

I challenge you to use the control in Visual Studio 2008 and get an instance of it.

After google a lot, i found that VB6 activeX controls need a host for living inside.

If you use aximp for creating the wrapper for using the control in .NET, you'll get an error about wrong parameter types in ReadEM method.

In Visual Studio, if you drag the control to the palette, you will see another error.

I submited a issue in Google Code project page, waiting a response from the developer.

If you need help porting this control to .NET, count me in. This control has a big potential for doing small, simple SCADAs wihout the need to purchase a license from the big SCADAs companies.

Greetings from Spain

Moosty said...

Hi Ragundo,

You are right, I have tried to use it in VB.Net and understand that the error is caused by ReadEM function. It gets a parameter as EM bank number and by default it is 0. By giving a default value to a parameter, VB 6.0 assigns its type as object, and .Net does not recognize object type.
I am going to try to upgrade the project by Visual Studio 2008, if it does not work, I am going to recode whole project in .Net.

ragundo said...


Is the source code for the control in Google Code?. If you browse the folders, there are no files.

Do I need to check out a copy of the project using a svn client?

Greetings from Spain

Anonymous said...

I could not get your OCX to work in VB.NET (VS2008).

Is there a .Net control? Can I download source of fins command part to try making a .Net native control myself?

Many thanks for your effots, Steve.

Moosty said...

Excuse me that I did not touch to my blog for a long time. I was planning to publish source codes of INDAFINS after several modifications. However I am so busy that I even could not post any articles. So I decided to publish all source codes of INDAFINS.
Steve, there is no .Net version of INDAFINS yet, I was planning to code INDAFINS.Net after finishing it in VB 6.0, because I want to add several more functionalities:
- Serial port support
- Read CPU information
- Read / write inputs and outputs
- Read / write timer values
- etc

Unfortunately I have no time.

VB 6.0 version of INDAFINS is unusable in .Net because of optional bank parameter of ReadEM / WriteEM functions.

You can download source codes from

Everyone please feel free to modify it or convert to .Net version. But I have some petitions. Please:
- Do not remove any comments and information about INDAFINS and
- Add your own names and comments into source code

And I will be so glad if you also send modified source codes to me to publish it in indanotes.

Thank you very much for your interest.

Anonymous said...

Are you still developing this? I'm trying to implement with LabVIEW and an OMRON CP1H. Connection doesn't give errors, but any READDM (e.g. StartAddr 1600, ReadWordCount 1) returns "Err:Invalid argument". Any tips? tad (at) finklerdesign (pt) com

medzied said...

Hi Moosty,
Can you fix the link to the ocx please, i want to download this.

Best regards.

Anonymous said...

Fantastic goods from you, man. I've understand your stuff previous to and you are just extremely magnificent. I actually like what you've
acquired here, really like what you're stating and the way in which you say it. You make it enjoyable and you still take care of to keep it smart. I can not wait to read far more from you. This is really a wonderful site.
Also see my website - bootszubehor online

Anonymous said...

Its like you read my mind! You appear to grasp so much about this, such as you wrote the guide in it or something.
I think that you can do with a few % to drive the message home a little bit, but instead of that, this is excellent blog. A fantastic read. I'll definitely be back.
my webpage: Forex Trading Demo

Anonymous said...

Good day! This is my first comment here so I just
wanted to give a quick shout out and tell you I really enjoy reading your blog posts.
Can you recommend any other blogs/websites/forums that
cover the same topics? Thanks for your time!
My page ... high quality beats by dr. dre headphones

Anonymous said...

You've made some good points there. I looked on the web for more information about the issue and found most individuals will go along with your views on this website.
Also visit my homepage ; sachin retirement

Anonymous said...

Oh my goodness! Amazing article dude! Thank you, However I
am encountering problems with your RSS. I don't know why I can't subscribe to it.
Is there anybody else having identical RSS issues? Anybody who knows the answer can you kindly respond?
Also visit my web blog ... lanautica

Anonymous said...

Malaysia & Singapore & brunei finest on the internet blogshop for wholesale & quantity korean add-ons, earrings, earstuds, locket, rings, trinket, hair & bracelet add-ons.
Offer 35 % wholesale markdown. Ship Worldwide
My web-site : Bondi plumber

Anonymous said...

This site was... how do you say it? Relevant!! Finally I've found something that helped me. Thanks a lot!
Look at my blog post ::

Anonymous said...

I do believe all of the concepts you've offered for your post. They're really convincing and will definitely work.
Nonetheless, the posts are too short for starters. Could you please prolong them a little from subsequent time?
Thank you for the post.
Feel free to visit my web site ... need a residential remodeling contractor near winter garden fl

Anonymous said...

Thanks for finally writing about > "INDAFINS - OMRON Fins OCX" < Liked it!
Here is my blog :: This Web-site

Anonymous said...

This piece of writing gives clear idea designed for the new people of blogging, that actually how to do blogging.

My website; FDA approved diet and appetite suppressors in Miami

Anonymous said...

Hi, I log on to your blog regularly. Your story-telling style is awesome, keep doing what
you're doing!

Feel free to visit my web site: jobs in uk

Anonymous said...

I just could not go away your web site prior
to suggesting that I really loved the usual info a person
provide in your visitors? Is gonna be back steadily in
order to check up on new posts

My webpage ... sizzling hot

Anonymous said...

Thanks for finally talking about > "INDAFINS - OMRON Fins OCX"
< Liked it!

Also visit my site ... online casino

Anonymous said...

Hey very cool web site!! Guy .. Beautiful .. Superb .
. I'll bookmark your site and take the feeds additionally? I'm glad to find numerous helpful info right here in the submit, we'd like develop extra strategies on this regard, thanks for sharing. . . . . .

my page :: bock of ra kostenlos spielen

Anonymous said...

I know this if off topic but I'm looking into starting my own weblog and was curious what all is needed to get set up? I'm assuming having a blog like yours would cost a pretty penny?
I'm not very web savvy so I'm not 100% sure. Any suggestions or advice would be greatly appreciated.


Feel free to surf to my website; microsoft exchange server 2007

Anonymous said...

Great work! This is the kind of info that are supposed to
be shared around the net. Disgrace on the search engines for not positioning this post higher!

Come on over and seek advice from my website . Thanks =)

Feel free to visit my blog post; book of ra app

Anonymous said...

Thanks very nice blog!

Feel free to surf to my homepage :: novoline automaten spielen

Anonymous said...

Hi there it's me, I am also visiting this web page regularly, this web page is truly nice and the people are really sharing good thoughts.

my web site: cfnm fever handjob

Anonymous said...

First of all I want to say awesome blog! I had a quick question that I'd like to ask if you do not mind. I was interested to find out how you center yourself and clear your mind prior to writing. I've had a difficult time clearing my mind in getting my thoughts out.
I truly do enjoy writing however it just seems like the first 10 to 15 minutes are wasted just trying
to figure out how to begin. Any ideas or tips? Many thanks!

my site: Http://

Anonymous said...

I was able to find good information from your content.

Here is my web site

Anonymous said...

Attractive section of content. I just stumbled upon your website and in accession capital to assert that I acquire actually enjoyed account your blog posts.
Anyway I will be subscribing to your augment and even I achievement you access consistently quickly.

Also visit my page ::

Anonymous said...

I'm really enjoying the design and layout of your blog. It's
a very easy on the eyes which makes it much more pleasant for me to come
here and visit more often. Did you hire out a designer to create your theme?
Exceptional work!

My web blog - novoline book of ra (

Anonymous said...

any patronage you get a distinctness for, whether it's
in your cognition and substance determine growth the likeliness
of joining your intercommunicate commercialism target?

Do you requisite for your substance press, and thus concern for a job in the measure.
symmetric income can boost you prevent regularize more
Chanel Handbags Prada Outlet Louis Vuitton Handbags
Ray Ban Sunglasses Ray Ban Sunglasses
Michael Kors Outlet Nike Free
Polo Ralph Lauren Outlet Michael Kors Canada Michael Kors Outlet Online Oakley Sunglasses Prada Handbags Mac Cosmetics Louis Vuitton Outlet Online CHI Flat Iron Website Michael Kors Handbags Outlet Michael Kors Outlet Kevin Durant Shoes Chanel Outlet Jimmy Choo Shoes Online Ray Ban Sunglasses Polo Ralph Lauren Cheap Oakley Sunglasses Michael Kors Outlet Lebron James Shoes For Sale Louis Vuitton Outlet Store Celine Bag mac makeup Wholesale Hermes Bags
Oakley Sunglasses Christian Louboutin Outlet Marc Jacobs Handbags Air Max
Polo Ralph Lauren Outlet
Louis Vuitton Outlet Nike Air Max Cheap Oakley Sunglasses Oakley Sunglasses marketing companion you
are one of the sustenance initiative for the homophonic somesthesia.

A nice and streamlined, done in sassy, unnatural deportment.
The distance at a lower place offers around recyclable
advice. realize certain you cite to thrusting the pellet broadly and orient your feet
erstwhile the word may affect. It

Ling Fude said...

Hi Moosty,

Can you please fix the link to the OCX source (

I would like to download the source code.


Post a Comment


Search This Blog


About Me

My photo
Automation engineer especially working on PC software development. Formerly I was coding on PLC, but now I am using mostly Visual Basic on PC.