PLC data to excel

eastkodakguy

Member
Join Date
May 2002
Location
Fayetteville, Arkansas
Posts
96
If I was wanting to take data such as downtime and reasons for downtime from a plc (control logix) and transfer it to a spread sheet such as excel what would be reguired? Would i have to do any other programming than in ladder logic. And if so would it get really complicated
 
Yes, the only thing I have done it with is an SLC 500. I think the only real difference is the way tags are done, dont take my word for that tho I havent worked with the 5000.

If working with RSLogix 500 and RSLinx look in the help files, also somwhere in your Rockwell software listing should be OPCTools. Kim Gold also posted a way to setup DDE to excel for the slc on this site but I cant find that link/thread. I have it printed at work so will see if I can scan it and post it.

I think Chakorules also has an example download at http://www.mrplc.com

You can always goto the AB support KnowledgeBase and use DDE or OPC as the keyword and get even more info.

Edited ADDITIONS
I looked again for that Kim Gold post and couldnt find it specifically but this is one you may want to look at, always thought I had RSLinx lite and it the DDE/OPC tools were available with it but now I am not sure, you may need a pro version of RSLinx, check these threads too.

http://www.plctalk.net/qanda/showthread.php?s=&threadid=31&highlight=DDE

http://www.plctalk.net/qanda/showthread.php?s=&threadid=221&highlight=DDE
 
Last edited:
I think Chakorules also has an example download at http://www.mrplc.com


Yeah there are a few examples posted by the guru's of plcs.net at mrplc. I did one myself you can download here:

http://www.mrplc.com/dl/index.php?action=view&view=entry&entryid=74

There is even some VB to DDE examples that a few other people in here have done that upload to the archive. Use the "search" feature in download code section and search for "DDE". Hopefully you'll be able to see and find what you need.

You know how to look at the VBA code in excel right? Go to Tools>Macros>Visual Basic Editor. Then click on Module1 to see the DDE VBA code. Make sure you have RS LINX running and a DDE topic created.
 

Similar Topics

Hey guys, I am looking for a low cost solution to log data from PLC to excel directly.Is this possible without utilizing any software?...My...
Replies
6
Views
6,879
Hello friends I have a PLC5/20, I need to save 2 tags to a excel datasheet. This tags are: barcode, press force. I need to save the barcode and...
Replies
10
Views
3,539
Hi, Is it possible and how to get automated data transfer, what works real-time all the time, from Siemens S7-300PLC to MS excel spreadsheet...
Replies
11
Views
12,981
I was able to read a tag in excel from a Controllogix PLC using =RSLINK|'Topic_name'!'Item' Am I using DDE or OPC ? How can I write value back...
Replies
4
Views
5,944
I am in the process of putting a few rungs together to track operation time of the motors in our plant. I have been directed to assign the...
Replies
8
Views
9,938
Back
Top Bottom