Chris Elston Posted August 30, 2006 Report Posted August 30, 2006 Is there anyway in PME to change a setting somewhere where I can delete a variable I know exists in Ladder? This is obviously for protection, but I don't care, I want to delete it, and cause an error. I wish I had a right click "Find All" option? So you could right click on any variable and find them all in your program. Quote
Steve Bailey Posted August 30, 2006 Report Posted August 30, 2006 In order for a variable to be used in the program it must be in the variable table. If you add a new address to an existing program, a new variable will be created automatically. So you can't delete a variable that is being used. That would be a handy addition, but until they add it, here is the procedure. Click on the "Search" menu, then "Find in 'Your_target_name'". In the popup that appears, type in the address you're looking for. You can type it as %I00007 or %I7 or 7I and PME will find where it is used. If you select the "Implicit Addresses" checkbox it will also find the address even if it is buried inside a WORD reference. Each usage will be listed in the Feedback zone. You can double click on each entry to jump to the rung where it is used. Quote
Chris Elston Posted August 30, 2006 Author Report Posted August 30, 2006 At your next golf outing with GE Software Engineers, can you mention it? LOL Quote
Steve Bailey Posted August 30, 2006 Report Posted August 30, 2006 The next time I have lunch with Jack Welch, I'll ask him if still has enough clout to pull it off. He retired shortly after I left the distribution chain, but he still owns enough stock so they have to pay attention to him. If that doesn't work, we'll have to delegate the task to Russ. Quote
Smoke Posted August 30, 2006 Report Posted August 30, 2006 (edited) If you open the Reference tab its like a find all but it wont find things Implicit even the same bit with a different alias. Edited October 12, 2006 by Smoke Quote
Tank_Harvey Posted September 6, 2006 Report Posted September 6, 2006 Deleting Used Variables - I think this is breaking the rules what processor are you using? I know that the RxXi series of processors are primarily OPC based engines. i.e. The processors are happy to run with only having tags declared; these tags do not have to be assigned to a particular address only type (INT, WORD, BOOL) eg. In a 90-70 if you need a temp register you would generally assign it to a %L. In Rx7i just declare a tag called "Junk", declare it as type INT and that it. No more address juggling. I understand that PME was written with OPC in mind, their for variable names "Tags" is how it joins the program together not by specific addresses. Deleting a used variable in PME is like using a coil in LM90 with out assigning an addressed bit to it. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.