Compact Logix Brick Data Logging

The Plc Kid

Member
Join Date
Feb 2009
Location
Macon, Georgia
Posts
3,233
I have never done in data logging in the logix series and need some help getting started.

I have a brick compactlogix unit Part # QBFC1B that does not have a CF slot. Can't you log date to excel somehow using linx pro or gateway?

I have a wireless ethernet connection to the unit and i have a laptop with excell 2007 or 2010 to set it up on and i have re linx gateway and pro.

Can someone advise me on how to set this up?
 
I need to only log one value and i need to sample it abbout every 30 seconds and log it to excel and do a chart for a 24 hr period.

I don't know how possible it is but it would be good to only log when th machine is in run mode. Can i look at a run tag and only log in excel if that bit is high maybe?
 
It's just for troubleshooting. I need to log this data for about a week but i will start it fresh each day.

We have some equipment that has been in service about 4 months and has issues. We are just trying to get data to prove our complaint to the OEM.
 
have you ever looked at the built-in Trend for RSLogix5000? ... maybe the "logging" feature would meet your needs for this little project ...
 
Ron

I do have linx gateway and pro activations. I have used the trending a couple times but had a hard time setting it up and there is not much in the help file. Do you know of any detailed documentation on it perhaps?
 
check back in an hour or so ... I'll tinker around with it between customer calls ... or maybe (probably?) Mickey will come by and do his famous "librarian" act for us ...
 
I have done this with excel using instructions I found on an excel forum. It is probably similar to Ron's link.

EDIT: It looks like they're using the Worksheet_Change event which I didn't have success with when the data is remotely updated by RSLinx. Theirs is a little different so it might be worth a try since it's much simpler than what I had to do.

It was a little bit tricky to get it to work. I was surprised how much trouble you have to go through with excel to set up an interval trigger. Also, i noticed a performance deterioration on the PC I kept it running on. And, even with basic error trapping, if comms were lost to the PLC for whatever reason, excel would sometimes "hose-up" and not get valid data. This only happened twice during the month or so I let my logger run.

Like you, I was only doing some troubleshooting (proving an issue was unrelated to controls). I would not dream of using this type of solution for "real" data gathering.

If you have a Red Lion G3 with a compactflash card on your network, you may be able to add logging (that is reliable) to it in a whole lot less time.

I can send my excel (2003) workbook via p.m. if you want the macro code from it for an example.
 
Last edited:
I have seen a few things about using rs trend x object in excel but where can i download trend x i look all over the ab site in downloads and other places.

Anyone know of how to embed it in excel.

@ Mickey

i do think that is what the 5000 trend is based on.

Thanks Mickey

@OkiePC

My email is just [email protected] if you could send me that excel sheet for a example i would like to use it for reference.

Thanks Okie
 
so far I've got a TREND logging data to a CSV file on my hard drive ... till playing with the finer points - but I'll be really surprised if this thing isn't the answer you're looking for ...

still (happily) working away ...
 
OK ... I think I have enough nuts-and-bolts worked out to say that this is the way I'd try to "log the data" if I were doing the job ... give me a call if you like and I'll give you a quick walk-through ... I won't have time to type up a description ... basically I just poked around through the menus, etc. and told the Trend to save the data as a CSV file - then opened the file with Excel ...

CSV_from_trend.jpg
 

Similar Topics

Hello Everyone, I have a issue with communication between two different PLCs. So here is the facts, The Master PLC is Guard Logix 5069 with IP...
Replies
4
Views
133
gents, I am trying to configure communication with EMERSON PK300 controller through port A1 using generic ethernet communication module . I could...
Replies
0
Views
136
I've blown the Output Transistor on the Output Card of a Compact Logix 1769-L24ER-QBFC1B It says J378. Does anyone know the replacement part...
Replies
3
Views
209
I am having trouble with getting no control of my analog output signal. I am using the SCL function block to control my analog output. The logic...
Replies
11
Views
273
I was wanting to see if anyone had any information on setting up a cub5 meter and getting the data to a Allen bradley PLC. I think i have the set...
Replies
0
Views
144
Back
Top Bottom