You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

---------->>>>>Get FREE PLC Programming Tips

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

PLC training tools sale

Reply
 
Thread Tools Display Modes
Old March 27th, 2007, 12:21 PM   #1
Archie
Member
United States

Archie is offline
 
Archie's Avatar
 
Join Date: May 2002
Location: Orangeburg, SC
Posts: 769
AB DF1 Communication Program Testing

I'm in need of some people to test my software used to read and write data to the AB SLC and micrologix controllers. It is a DF1 implementation over RS232.

I've posted this a while back and had some people test it with various platforms. I got some feedback and suggestions which were very helpful. Now I have a much improved version that needs some more testing. For those who have seen it before, you will notice it now can auto detect comm settings, read/write floating point values, and read/write strings.

I would greatly appreciate any testing that anyone could do. After this round I will release the full source code (VB.NET) including a version that works with Windows CE.

To test the program you will need the .NET 2.0 framework from Microsoft. This can be downloaded from :

http://www.microsoft.com/downloads/d...displaylang=en

The application can be downloading from here:

http://www.hmitemplates.com/abdf1app.zip


To test it, simply hook your com port to a DF1 port on a micrologix or SLC 5/03 (or above) then start up the application and the rest is self explanatory.

Any and all feedback is appreciated. Thanks in advance
  Reply With Quote
Old March 28th, 2007, 01:02 AM   #2
Joe_WaZoo
Lifetime Supporting Member
United States

Joe_WaZoo is offline
 
Joe_WaZoo's Avatar
 
Join Date: Oct 2006
Location: Murphy, TX
Posts: 293
Archie,

I downloaded your program this evening and gave it a look. Seems pretty self-explanitary. Tomorrow I will try it out with my SLC and let you know how it goes. I see potential for this tool, especially for those who use the SLC to show their products working with it but can not warrant the $1,000's of software needed from that vendor.

Thanks,
Joe_WaZoo
__________________
TURCK Network I/O Guy, Banner Wireless knowledge, & Red Lion HMI stuff! Yes I am the techie geek for the local Rep Firm Automated Dynamics Corp covering the states of TX, OK, AR, LA, MS, part of TN, and a little bit of Mexico.
  Reply With Quote
Old March 29th, 2007, 07:50 AM   #3
Archie
Member
United States

Archie is offline
 
Archie's Avatar
 
Join Date: May 2002
Location: Orangeburg, SC
Posts: 769
Free AB Utilities

OK, so I guess to get more people willing to spend their time to test my software, I have to make it worth while by giving something useful.

I am nearly completed a utility that will capture all of the data from the data tables and store it to a file on disk. It will also allow the data from the disk file to be moved back to the PLC. These two features will be done with a simple click of a button.

My thought is that if you make changes to a program offline and want to download the program to the controller, but don't want to lose setup data stored in the data tables then this utility will make that easy. You would simply save the data tables to disk, download the new program, then restore the data tables from disk.

Or it could be used to get a snapshot of all settings at a certain point in time. I can't count the number of times I would get a machine working as smooth as ever and come back the next day to find that someone has changed all of the settings.

If any one has any suggestions for a SLC/micrologix utility that would be useful, let me know. Keep in mind this program does not require RSLinx, so a utility can be loaded on as many PC's as you'd like without licensing issues.
  Reply With Quote
Old March 29th, 2007, 08:45 AM   #4
Joe_WaZoo
Lifetime Supporting Member
United States

Joe_WaZoo is offline
 
Joe_WaZoo's Avatar
 
Join Date: Oct 2006
Location: Murphy, TX
Posts: 293
Archie,

Well I tried this out yesterday with my SLC 5/04 and it worked fine. I even went as far as to use your program from my laptop connected to a RedLion DataStation Plus on Ethernet and from there I went into the SLC via DF1. Worked well, I was able to read & write the N7 register. But how can I look at the inputs that are in my DeviceNet scanner card that is placed in slot 1. In the input table on RS_500 I look at I:1.1/0 for an input coming in from a DeviceNet node. How can I look at that point using your program? I tried many different nomanclature for this but I was not able to get the write the correct request.

I like this program and see some uses for it.

Thanks,
Joe_WaZoo
__________________
TURCK Network I/O Guy, Banner Wireless knowledge, & Red Lion HMI stuff! Yes I am the techie geek for the local Rep Firm Automated Dynamics Corp covering the states of TX, OK, AR, LA, MS, part of TN, and a little bit of Mexico.
  Reply With Quote
Old March 29th, 2007, 09:15 AM   #5
Paul T
Member
United States

Paul T is offline
 
Paul T's Avatar
 
Join Date: Oct 2006
Location: NH
Posts: 213
Very nice. Tried it briefly and it worked fine. The only comment I have is that you might add code to limit integers to -32768 to 32767; I tried larger numbers and of course the results are wrong for values > 32767. Nice little app tho!
  Reply With Quote
Old March 30th, 2007, 08:35 PM   #6
Archie
Member
United States

Archie is offline
 
Archie's Avatar
 
Join Date: May 2002
Location: Orangeburg, SC
Posts: 769
I appreciate the feedback and have addressed these issues.

Joe... If you let me know features that will be useful to you, I will be glad to add them into the next release of the demo app.
It now has a table monitor that opens another window showing all the values in a data table and updates them once a second. Vey similar to the data table view in RSLogix.
  Reply With Quote
Old April 2nd, 2007, 10:09 PM   #7
Joe_WaZoo
Lifetime Supporting Member
United States

Joe_WaZoo is offline
 
Joe_WaZoo's Avatar
 
Join Date: Oct 2006
Location: Murphy, TX
Posts: 293
Archie,

I am going to show this program to a few of my groupies this week and see what they say. Is the latest download the same link as above?

Thanks,
Joe_WaZoo
__________________
TURCK Network I/O Guy, Banner Wireless knowledge, & Red Lion HMI stuff! Yes I am the techie geek for the local Rep Firm Automated Dynamics Corp covering the states of TX, OK, AR, LA, MS, part of TN, and a little bit of Mexico.
  Reply With Quote
Old April 3rd, 2007, 06:06 AM   #8
Archie
Member
United States

Archie is offline
 
Archie's Avatar
 
Join Date: May 2002
Location: Orangeburg, SC
Posts: 769
Quote:
Originally Posted by Joe_WaZoo
Is the latest download the same link as above?
Joe

I put another version for you to download that should fix the reading of the IO tables. It has a very experimental data table monitor that I have done very little testing on, so I just ask that you not distribute this one. But do let me know how the reading of inputs work with the DeviceNET scanner because I have no scanner to test with and really want to get that working.

http://hmitemplates.com/ABDF1withDM.zip



I have put the software on an open source site where I will put updates as they are ready for release:

http://sourceforge.net/projects/abdf1/

I've actually used the protocol on a test program that runs on my Compaq IPAQ Pocket PC. When I finish, a Pocket PC can be used to read and write data in a SLC or micrologix.
  Reply With Quote
Old April 3rd, 2007, 06:13 AM   #9
rPraveenkum
Member
India

rPraveenkum is offline
 
rPraveenkum's Avatar
 
Join Date: Aug 2006
Location: Chennai
Posts: 876
I can act as a opc/DDE server for external applications
__________________
.................................................. .................................................. ..........................................
.................................................. .................................................. ..........................................
PRAVEEN KUMAR
http://www.praveen.envy.nu
Life is like butterfly, handle with care - Praveen
  Reply With Quote
Old April 3rd, 2007, 06:30 AM   #10
Archie
Member
United States

Archie is offline
 
Archie's Avatar
 
Join Date: May 2002
Location: Orangeburg, SC
Posts: 769
Quote:
Originally Posted by rPraveenkum
I can act as a opc/DDE server for external applications
I assume you are asking if the software can be used as an OPC/DDE server. The answer to that is no. It is a .NET class that is intended to be used with applications that are containers for .NET conrols, such as Visual Studio 2005 (Basic/C#).

OPC and DDE are actually older technologies that tend to have a lot of overhead with them and can be slow.
  Reply With Quote
Old April 3rd, 2007, 04:01 PM   #11
Joe_WaZoo
Lifetime Supporting Member
United States

Joe_WaZoo is offline
 
Joe_WaZoo's Avatar
 
Join Date: Oct 2006
Location: Murphy, TX
Posts: 293
Archie,

I will be in Houston for a few days learning some of the new things about the Banner Wireless products. When I return to my office sometime Friday I will try to set up my DeviceNet with my SLC and see what I test.

Is it the .zip file that I should try?

That is interesting notes about OPC. I have also heard complaints about DCOM from other people that have used that technology.

Thanks,
Joe_WaZoo
__________________
TURCK Network I/O Guy, Banner Wireless knowledge, & Red Lion HMI stuff! Yes I am the techie geek for the local Rep Firm Automated Dynamics Corp covering the states of TX, OK, AR, LA, MS, part of TN, and a little bit of Mexico.
  Reply With Quote
Old April 4th, 2007, 05:35 AM   #12
Archie
Member
United States

Archie is offline
 
Archie's Avatar
 
Join Date: May 2002
Location: Orangeburg, SC
Posts: 769
Quote:
Originally Posted by Joe_WaZoo
Archie,
Is it the .zip file that I should try?
Joe

Be sure to try this one:

http://hmitemplates.com/ABDF1withDM.zip

That is the one with the fixes to read IO tables.
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
Subroutine philosophy Doug-P LIVE PLC Questions And Answers 31 February 11th, 2013 07:40 AM
What can cause AB PLC5 to go into program mode? wildswing LIVE PLC Questions And Answers 24 October 2nd, 2009 12:55 PM
Can we program AB 1305 drive without handheld? flyers LIVE PLC Questions And Answers 2 November 16th, 2006 01:53 AM
AB DF1 driver in Siemens ProTool/Pro Imi'ike LIVE PLC Questions And Answers 2 June 16th, 2006 10:50 AM
AB PanelView & Control Logix Strings over DF1 DaveEngineering LIVE PLC Questions And Answers 1 September 17th, 2003 02:39 PM


All times are GMT -5. The time now is 08:46 PM.


.