You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

---------->>>>>Get FREE PLC Programming Tips

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

PLC training tools sale

Reply
 
Thread Tools Display Modes
Old June 20th, 2019, 10:25 AM   #1
theColonel26
Lifetime Supporting Member
United States

theColonel26 is offline
 
theColonel26's Avatar
 
Join Date: Feb 2014
Location: Southwest, Michigan
Posts: 140
.L5X files (Help me understand them)

OK, so am wanting to move 100+ tags into a new UDT.


I figured the easiest way to do this is to

copy and paste the tags into excel.

Then create a new UDT export that to .L5X
Then using the format for the <member> XML tags
transform the tag names and types and insert them into the members tag. So


Code:
   JugA_CamStartPulse   BOOL
gets transformed to
Code:
    _CamStartPulse   BOOL
I stripped off the prefix. of "JugA"
and then to
Quote:
<Member Name="_CamStartPulse" DataType="_CamStartPulse" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
However in my play around I have found this curious
in the first 2 lines of the <members> tag there are these lines
Code:
<Member Name="ZZZZZZZZZZTest1" DataType="SINT" Dimension="0" Radix="Decimal" Hidden="true" ExternalAccess="Read/Write"/>
<Member Name="theBOOL" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="ZZZZZZZZZZTest1" BitNumber="0" ExternalAccess="Read/Write"/>
What is the first row for? Is it a place holder for the name of the Instance of the UDT??? and why does the BIT/BOOL underneath it have a Target="ZZZZZZZZZZTest1" attribute?

Last edited by theColonel26; June 20th, 2019 at 10:58 AM.
  Reply With Quote
Old June 20th, 2019, 09:08 PM   #2
theColonel26
Lifetime Supporting Member
United States

theColonel26 is offline
 
theColonel26's Avatar
 
Join Date: Feb 2014
Location: Southwest, Michigan
Posts: 140
*crickets chirping*
  Reply With Quote
Old June 20th, 2019, 11:48 PM   #3
dmroeder
Lifetime Supporting Member
United States

dmroeder is online now
 
dmroeder's Avatar
 
Join Date: Apr 2006
Location: Vancouver, WA
Posts: 2,178
Maybe this thread will help

http://www.plctalk.net/qanda/showthread.php?t=61369
  Reply With Quote
Old June 21st, 2019, 04:22 AM   #4
rdrast
Lifetime Supporting Member
United States

rdrast is offline
 
rdrast's Avatar
 
Join Date: Apr 2003
Location: South Carolina Lowcountry
Posts: 5,383
dmroeder I'm glad you linked that, I was about to go ahead and retype something very similar, almost as if I have played with these before!
__________________
------------------------------------
How to ask questions the SMART Way!

Look First, Ask Second!

  Reply With Quote
Old June 21st, 2019, 07:47 AM   #5
theColonel26
Lifetime Supporting Member
United States

theColonel26 is offline
 
theColonel26's Avatar
 
Join Date: Feb 2014
Location: Southwest, Michigan
Posts: 140
Quote:
Originally Posted by dmroeder View Post
Yes! Thank you
  Reply With Quote
Old June 21st, 2019, 09:27 AM   #6
dmroeder
Lifetime Supporting Member
United States

dmroeder is online now
 
dmroeder's Avatar
 
Join Date: Apr 2006
Location: Vancouver, WA
Posts: 2,178
Quote:
Originally Posted by rdrast View Post
dmroeder I'm glad you linked that, I was about to go ahead and retype something very similar, almost as if I have played with these before!
I was about to type something up too, then I thought, someone has probably already done this... sure enough!
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
Ftview ME version 4 application restore stallone LIVE PLC Questions And Answers 3 May 28th, 2018 08:23 AM
Vijeo Citect Scada Trend Display charzree LIVE PLC Questions And Answers 5 March 29th, 2018 04:59 PM
Can't upgrade firmware for CompactLogix L32E mabauti LIVE PLC Questions And Answers 5 October 3rd, 2017 03:08 PM
Does anyone Else here use "Slow HMI" files - Rockwell Mr.Adam LIVE PLC Questions And Answers 1 March 14th, 2017 02:03 PM
Make ROM for Omron Sysmac C40K, have some files... e5frog LIVE PLC Questions And Answers 7 May 26th, 2011 03:14 PM


All times are GMT -5. The time now is 12:12 AM.


.