Retrieving data from an *.RSS file

godfrey

Member
Join Date
Apr 2002
Location
Charlotte, NC
Posts
412
I have an *.RSS file saved from a SLC 5/04. The N7 file contains non zero data. When I perform an ASCII Export of the file, I see that the data is all zeros. Is there a way to get the data I see in the N7 file into excel?
 
What do you mean by "I performed an ASCII export".

I just did a quick test, where I took a SLC program, SaveAs'ed it to a Library (*.SLC) file type - making sure that that it was a Complete Program Save.

When I opened the .SLC file using Notepad, all my N7: data was there. I then cut it from notepad, save it to a .TXT file, open that .TXT file with Excel (Fixed Width), and the data was in Excel.

It could use a little tweeking still (I would need to make a macro that took the data from a 10-column format and put it into a single column with all the data in the right place), but it's there.

It took longer to post than it did to do.
 
No fair - too fast. Mine was, print N7 to a "Generic/Text Only" printer file. I then opened the "prn" file with Notepad and cleaned it up to just the data. Finally I used Excel as Allen did.
 
Excel to PLC

Reverse my process.

Excel, SaveAs .TXT
Rename to .SLC
In notepad, add the Header information, like
"START 1747-L553B % 1747-L553B 5/05 CPU - 64K Mem. OS501 Series C %"

After the header, add one dummy rung:
SOR OTE B3/0 EOR

Then the data table header:
DATA N7:0

Followed by the data from Excel.

Save.

In RSLogix, do a Library Import - rather than having to create a whole project.

It will add the one dummy rung, and overwrite ALL the data table info you have in the file.

Very nice technique.

If you play around with partial saves (where the only the data that is referenced by the rungs being exported get saved), and open the .SLC files in notepad, you'll see how it can be stored in ASCII format.

The neatest thing is, when you do an import, you don't have to actually reference the data in the logic that you import in order to suck in the data. But you DO need to have at least one rung of logic, or the data tables don't get updated.
 
Last edited:
Off topic, but what I often wonder about is...

If we all have little tricks and such that we use to move this type of data back and forth, and they are all relatively simple, why doesn't Rockwell Software just add that ability to RSLogix 500?
 
Allen,
By ASCII export I mean I went to Tools/Database/ASCII export. However, thanks for your reply. It did what I wanted.
Bernie,
How do you print N7 to a prn file?
 
godfrey said:

I went to Tools/Database/ASCII export

and that brings up our “Allen-Bradley buzz word” of the day tip ...

data TABLES refers to memory allocations (examples: N7:0, B3/0, S:42, etc.) ...

on the other hand ...

data BASE refers to documentation type stuff (examples: rung comments, address descriptions, etc.)
 
Last edited:

Similar Topics

Hi, I cannot find the DLCA1764.EXE utilty software for data retrieving. Can someone share the link to download this software. Thanks!
Replies
4
Views
114
I have a strain gauge attached to a load cell. The strain gauge is wired into an analog channel on a ControlLogix 1769 controller at +/-10V. How...
Replies
6
Views
2,427
Hello to all, this is my first post, but many times I had found help on this helpful forum! Currently I'm using a PTV from Red Lion controls...
Replies
4
Views
5,643
So I've finally been able to manage to get the ip address set, and I've got connectivity via tcpip, as well as connectivity via rslinx classic...
Replies
19
Views
4,444
I have a few remote locations that are relay logic panels. I would like to monitor the panel with an AB micro 1100 and a small panel view. I would...
Replies
5
Views
5,669
Back
Top Bottom