Member Login
member
passwd
remember me on this computer.

- join now -

Search

Neat Stuff

Visit our shop for nerds in control lifestyle products.

Cool stuff
Select a topic of interest:
...and press:
Fortune
Put your best foot forward. Or just call in and say you're sick.
RSS Feed
RSS feed Use this link to get an RSS feed of the Control.com article flow, for private, non-commercial use only:
www.control.com/rss
Select a Page Style
Select one of the following styles:
- BluFu
- Classic
(cookies required)
from the Automation List department...
Access Database
PLCs topic
advertisement
Posted by Trav on 15 April, 2008 - 1:18 am
How do I get an Access database to automaticlly insert a new row for collecting data off of an AB PLC? Please help, I can't take the pressure anymore...

Trav

Posted by Roy Matson on 16 April, 2008 - 12:36 am
Trav,

Are you using RSSQL software?

Perhaps if you can give some more details someone can help. I will be following this post as I need to do something similar soon.

Just complain about crummy Rockwell software docs, that helps!

Best of luck,
Roy

Posted by Archie on 17 April, 2008 - 12:49 am
I can tell you how to use Visual Basic Express (the free version) to read data from a SLC and write it to an Access database table.

Which PLC model? What comm link to the PLC do you have?

Posted by Kevin Grey on 17 April, 2008 - 1:22 am
I assume that you have a PC connected to the PLC and you are using RSView SE. First of all you will require either RSLinx Pro or a third party OPC server (Kepware). Why use Access? Microsoft SQL Express is free and probably could do enough for your project. Whatever DB you are using, you will then have to write some VBA, VBscript, etc. to read the data from the OPC server and write it into the the database. (This only requires a few lines of code to enter data into a DB.) It would probably be better to use RSView as the front end to provide a GUI interface (this means RSLinx Classic/Factory Talk can be used) and the data could be written to a SQL DB (SQL Express) using RSView's built in VBA.

Basically, you need to provide more information about the project.

Kevin

Posted by Nathan Boeger on 18 April, 2008 - 1:04 am
Check out FactorySQL or other SQL data logging utilities. Writing custom code to re-invent such a common task makes no sense.

http://www.inductiveautomation.com/products/factorysql

----
Nathan Boeger
http://notanotherindustrialblog.blogspot.com
Inductive Automation
"Total SCADA Freedom"

From Control Engineering magazine...
Related articles from Control Engineering magazine
Above articles copyright 2008 Reed Business Information. Subject to its Terms of Use.

Your use of this site is subject to the terms and conditions set forth under Legal Notices and the Privacy Policy. Please read those terms and conditions carefully. Subject to the rights expressly reserved to others under Legal Notices, the content of this site and the compilation thereof is © 1999-2008 Control Technology Corporation. All rights reserved.

Users of this site are benefiting from open source technologies, including PHP, PostgreSQL and Apache. Be happy.

Advertisement
Our Advertisers
Help keep our servers running...
Patronize our advertisers!