RSLogix5000: Writing Tag Values in CSV file and importing

tomizzo11

Member
Join Date
Jul 2013
Location
Michigan
Posts
49
Hello,

I'm currently writing a program that is meant to write values to a specific set of tags. However, when I have a .csv file containing tags, I don't see the option to pre-assign values to the tagsbefore I import them into my program.

Is there any way around this or am I missing something?
 
you have to use the upload download tool and have a full version of RSlinx. Does not work with Lite version.
 
You require two different functions.

1 - CSV file, this creates the text file for tag references and descriptions. This does NOT contain any value field.

2 - Upload/Downlaod using OPC. Once you have tags created in your processor, you can call a second function to write data to the tags. This requires an OPC server, as someone else pointed out RSLinx Lite will not work for this.
 
Read the RSLinx manual, there are VBA examples of how to read/write data to a PLC.
 
cwal61 was referring to a free utility called the Tag Upload / Download Utility.

It's generally installed along with RSLogix 5000, and on my computer it's accessed via Start -> Programs -> Rockwell Software -> RSLogix 5000 Tools -> Tag Upload Download Tool.

I'm still not completely clear on what you're doing; "importing" a tag generally means that you are creating it in the RSLogix 5000 tag database for the first time, rather than writing a value to an existing tag over a network connection.

When you use the Tag Import feature, you're defining the tags only; you provide their scope, their names, their datatypes, and their descriptions. As you have seen, defining a tag does not include a value for that tag.
 

Similar Topics

Hi, I use Excel to write some routines and was wondering if it is possible to add rung comments when doing so? Excel function: ="MOV "&[@[Range...
Replies
2
Views
2,548
Hi im trying to read/write from excel-rslogix. Sometimes works correctly but other times doesnt work and in excel cells i reg #DIV/0! or REF. I...
Replies
0
Views
1,341
Hi All, I am looking for some help, on writing a logic to control the Power output from a VFD using PID... I will appreciate your help...
Replies
3
Views
2,599
Hi! So my problem is a little funky, I had Studio 5000 v 24 and 30 installed, but forgot to install RSLogix (which I cannot go without). Is there...
Replies
2
Views
118
So I had an odd request from a customer for the above. I have written the logic and tested it all in one PLC with only using 7 outputs and 7...
Replies
15
Views
427
Back
Top Bottom