Logix Designer Tag Export with UDT Expansion

AMarks95

Member
Join Date
Jul 2018
Location
South Dakota
Posts
224
Does anybody know of a way to export tags from Logix Designer and have it expand the UDTs into individual tag names? For example, say I have a timer of type TIMER named "example_TMR" and I want example_TMR.ACC, example_TMR.EN, example_TMR.PRE, and example_TMR.TT as individual tags with their own types in the list, rather than just example_TMR as type TIMER.
 
Last edited:
Does anybody know of a way to export tags from Logix Designer and have it expand the UDTs into individual tag names? For example, say I have a timer of type TIMER named "example_TMR" and I want example_TMR.ACC, example_TMR.EN, example_TMR.PRE, and example_TMR.TT as individual tags with their own types in the list, rather than just example_TMR as type TIMER.


As someone who wanted to parse a Rockwell export last year, but doesn't actually have the software, I wanted the same thing. I ended up taking my project in a different direction, because the export file seemed set up the dumbest way possible, but maybe I just don't know what I'm doing.

The best I saw was to export with data. The type declarations aren't expanded, but the actual tags have the details of the data underneath. Possibly only the ones different from the default values though?
 
Does anybody know of a way to export tags from Logix Designer and have it expand the UDTs into individual tag names? For example, say I have a timer of type TIMER named "example_TMR" and I want example_TMR.ACC, example_TMR.EN, example_TMR.PRE, and example_TMR.TT as individual tags with their own types in the list, rather than just example_TMR as type TIMER.
I'm afraid you would have to create a program to do that.
However, if you tell us you final goal, we could come up with other ideas. What are you trying to do with the expanded UDTs? Maybe importing them into an HMI application?
 
I'm afraid you would have to create a program to do that.
However, if you tell us you final goal, we could come up with other ideas. What are you trying to do with the expanded UDTs? Maybe importing them into an HMI application?

I'm not sure if you're familiar with Ignition at all, but I have an OPC device that I do not have physical access to the moment. So, when I need to change/update the HMI I have to change the tags from OPC to memory (doesn't take that long because most tags are UDTs, but still).

There is an OPC device in Ignition called a "Programmable Device Simulator" that I can load a CSV into that has all the tag names and their defined values. So, if I could export all of the tags (and expanded UDTs) from my project I could simply rename my actual OPC device temporarily and add the simulator device (effectively swapping a simulated device with the same tags in).
 
I'm afraid you would have to create a program to do that.
However, if you tell us you final goal, we could come up with other ideas. What are you trying to do with the expanded UDTs? Maybe importing them into an HMI application?

Does anybody know of a way to export tags from Logix Designer and have it expand the UDTs into individual tag names? For example, say I have a timer of type TIMER named "example_TMR" and I want example_TMR.ACC, example_TMR.EN, example_TMR.PRE, and example_TMR.TT as individual tags with their own types in the list, rather than just example_TMR as type TIMER.

For those wondering, I have found a solution.

1. Ignition (by Inductive Automation) is free. Download and install
2. Download the L5k parser and import the project into your gateway
3. Open the new project and open the "parser" perspective view in preview mode
4. Save your Logix project as a L5k file
5. Browse for and select your L5k file
6. Click "Create Simulation Program Export" button and save csv

Alternatively, there is a Python script inside the project that I assume could be run outside of Ignition on any L5k file you have.
 

Similar Topics

Hello all, I'm trying to use the Logix Designer SDK to upload and download a single ACD to many controllers. I got this to work fine copying...
Replies
0
Views
75
Has anybody found a clever way, or made an plug-in, for organizing tags in Logix 5000? I like to use named constants, rather than hard-coded...
Replies
3
Views
1,732
Hello, I am hoping to find a way to tell FBD not to automatically create a new tag once the AOI or any tag is copied. Is this possible? For...
Replies
0
Views
941
Hi all I've done a bit of a search and cannot seem to find anything. I'm exploring using the newer tag-based alarm functionality in the GuardLogix...
Replies
12
Views
6,104
Hey! I'm looking for a way to reset a tag when the routine that sets the tag is disabled. For example: Routine 1 has the following If Tag1...
Replies
6
Views
1,820
Back
Top Bottom