![]() |
||
|
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
| ||
New Here? Please read this important info!!!
|
|||||||
![]() |
If you're really looking to learn about PLCs, you NEED our book... "Your Personal PLC Tutor - A Guide to Understanding PLCs" Easy to read and uses 'plain' language!
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
|
Free DF1 driver
I have posted a free DF1 driver on TomanTron's web site
at www.tomantron.com. This is a .NET framework component (DLL). Use with Visual Studio. It is not a demo that will expire, it's a completely free piece of software. It works with Micrologix and SLC500. Very easy interface. Adjustable polling rate. Read and write 100 integers. Supports embedded responses. OnDataAvailable event. No need for RSLinx. Supports 8 COM ports. Multithreaded for maximum speed. Looking for some feedback. Jiri Toman |
|
|
|
#2 |
|
Member
|
Don't have .NET yet... Still VB6.
|
|
|
|
#3 |
|
Member
|
Jiri,
You're an honor to industrial controls. Thanks for this valuable resourse! Now I just wish I was still doing AB stuff and could make better use of it. :-) Would have been able to quote more jobs if I had this a few years ago. nOrM
__________________
nOrM ====================== nOrM=Norman Dziedzic Jr. |
|
|
|
#4 |
|
Member
|
Jiri,
Thanks for the DF1 driver. Me too do not have .net yet. Our MIS guys in the company is not ready for it yet due to some security reasons?.. which I do not know exactly what they mean (Virus attacks.....they definetely don't like Bill). But I will take your advice and venture to .net at home. But I do not have a PLC at home to play with. It's alright, I have got a lot to learn. beerchug |
|
|
|
#5 | |
|
Member
|
Quote:
Limitation of COM8 may be a major problem with virtual serial ports like USB-serial why high COM numbers assigned by USB drivers. |
|
|
|
|
#6 | |
|
Member
|
Quote:
|
|
|
|
|
#7 |
|
Member
|
Good Show!!!
I am sure this will help many people or businesses and contribute to the general productivity.
I read the documentation. It seems simple enough. I don't have .net yet either, but we have spare copies of vb.net that I can obtain. If I don't get too bogged down in other things I will check our your dll. I have written DF1 drivers too, but only for embedded processors or DSPs. I found that I needed two threads per serial port to implement DF1 correctly. |
|
|
|
#8 |
|
Member
![]() Join Date: Sep 2003
Location: Detroit Area
Posts: 489
|
I think it's cool that you wrote your own DF1 driver, but I would like to know how useful this is.
How is this better than using RSLinx Lite that comes with every other programming package? To communicate with a processor you (of course) need communications drivers, but you also need a program do do the communications/editing/etc. If direct communications is not the objective, (the objective being PLC communications through some other program), why not distribute your source code? And even if you do, what is so special about your source code versus any other that is based on the (open) DF1 standard? |
|
|
|
#9 | |||
|
Member
|
Give the Jiri some credit!
Quote:
Quote:
Quote:
|
|||
|
|
|
#10 |
|
Member
|
Peter, you can please some of the people sometimes,......
|
|
|
|
#11 | |
|
Member
|
Quote:
__________________
nOrM ====================== nOrM=Norman Dziedzic Jr. |
|
|
|
|
#12 |
|
Member
![]() Join Date: Feb 2004
Location: Idabel, Ok
Posts: 389
|
good work
Hi Jiri
That`s really something. Anyone that needs a small SCADA program should LOVE this as it will probaly save them about 12 to 15 hundred dollars. Not many can do this.
|
|
|
|
#13 |
|
Member
|
Update
Contr_Conn,
It is possible to instantiate the component 8 times and theoretically you can have 8 COMs running at the same time. They will have to be COM1 thru COM8. I have not tested this, in fact I have only tested single COM operation. There are no Static/Shared variables in the program so it should all work. Norm, To use it with Excel spreadsheet I would have to provide real time data server. It's called RTD component. It's also a DLL but it implements IRTDServer interface. In Excel spread sheet you would use RTD function to update the cells. According to Microsoft this is a better way (more flexible and robust) to get data into the spreadsheet. It would be nice if there was a VS.NET guru here who could use the .NET component and produce the RTD component? I think that can be done. Otherwise I would have to rebuild and recompile the existing code into RTD COM. Believe me I have spent enough time on this already. Peter, Since you have written the driver yourself you know that this isn't a job for couple of afternoons. I have read statements on this forum and on control.net claiming that it doesn't take much effort to get DF1 going. Well I have spent fair amount of time coding and testing, in order to make the data link layer bullet proof I had to run many tests. It is time consuming. There are three threads in my driver apart from timeout and polling timers. Sharing the data between threads is not easy when done properly. Jimbo, RSLinx Lite is used with programming packages only. You would need the Pro edition to get OPC/DDE. That will cost you! There are three distinct features in my driver : 1. It's free 2. It's very easy to use. 3. It interfaces to VS.NET I do not plan to publish the source code. |
|
|
|
#14 | |
|
Member
|
Quote:
Windows 2K/XP supports up to COM255 and normally virtual COM numbers are high. |
|
|
|
|
#15 |
|
Member
|
limitation
This limitation is imposed by the SaxSoft DLL I am using for the
serial com. Next version of VS.NET will have serial com support built in and that will have support for lots of COM ports. |
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Topics
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Please help with DF1 to DH+ Passthrough | soop7667 | LIVE PLC Questions And Answers | 6 | December 17th, 2004 07:30 AM |
| Windows NT Hard Drive Limitation | elevmike | LIVE PLC Questions And Answers | 33 | May 7th, 2004 03:38 AM |
| DF1 protocol - Micrologix 1200 | fed007 | LIVE PLC Questions And Answers | 3 | February 21st, 2004 09:53 AM |
| Problem with DF1 half duplex comm's | lalion | LIVE PLC Questions And Answers | 6 | January 30th, 2004 03:43 PM |
| DF! protocol master driver query | shroffsp | LIVE PLC Questions And Answers | 5 | August 4th, 2003 02:16 AM |