
adccommunitymod (AutomationDirect) asked a question.
Reassigning nicknames
Created Date: April 05,2007
Created By: dramsier
**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****
How can a change a nickname assignment? For example, if I have a nickname called Alarm that is assigned to Y0 how do I change that assignment to Y1? I apologize if this is a simple question, I'm new to DirectSoft32 (and the PLC world) and I 've been having some nickname trouble... Thanks, Dean
Created Date: April 05,2007
Created by: franji1
I think you REALLY mean, in your PROGRAM, you want ALL the references to Y0 to be Y1 AND change the nickname?
Or do you really mean that the program is fine, you used Y0 where Y0 should be used, and Y1 where Y1 should be used, and just want to change the nickname
If it's the FORMER, use the Search->Replace menu to bring up the Replace dialog (but make a backup copy of your project BEFORE doing this, just in case).
1. Set Find What range of Y0 thru Y0
2. Set With to Y1
3. Set radio button to Replace
4. Set up Search Range if needed (default is ALL)
5. Set Documentation to Move
I think that should do it. If it works, tell them franji1 got you goin '. If it breaks, blame it in the people who wrote the software http://forum1.automationdirect.com/board/wink.gif
Created Date: April 05,2007
Created by: bcarlton
On the other hand, if you assigned 'Alarm ' to Y0 but actually meant to assign it to Y1 (but both references - Y0 and Y1 - are being used as they should) then just go to the documentation editor, go to Y0 and erase the nickname. Now go to Y1 and type in 'Alarm '.
Created Date: April 05,2007
Created by: westpointer
Nicknames must be unique. If you intend to use "ALARM*.* " nicknames for both Y0 and Y1, you can use ALARM1 for Y0, and ALARM2 for y1, but not ALARM1 for both Y0 and Y1, or ALARM2 for both Y0 and Y1, try using a nickname you already used and you will have a warning message.
Created Date: April 05,2007
Created by: franji1
I sometimes use the WiringInfo as a "group " nickname, e.g. "Alarm ". You can't use it directly as you can with Nicknames when referencing an element.
Then, in the Nickname, I will use a more descriptive, possibly with an abbreviation or leave out the alarm word since it is in the WiringInfo field, e.g.
"Kettle 1 Temp Al "
then in my ladder diagram, I get
Alarm
Kettle 1 Temp Al
Y0
---( OUT )
Created Date: April 06,2007
Created by: dramsier
Thanks for all the replies, I certainly appreciate them. The scenario is this is a brand new (pretty small) design. My intention was to do it all with nicknames, then assign IO. But after I assign IO I change my mind and want to assign a different input/output to that nickname. Logic stays the same, the wiring just changes. This probably isn't the normal sequence, but I'm learning as I go along and I have no issues with rewiring. Same thing applies if the nickname is associated with V memory - I decide I want to use a different address.
I'm not sure any of the responses covered this scenario, or did I misunderstand something?
Thanks,
Dean
Created Date: April 06,2007
Created by: franji1
Ladder is ELEMENT centric, not nickname centric, so you need to do the Search->Replace described by moi.
Created Date: April 06,2007
Created by: dramsier
Worked like a charm, thanks!
Created Date: April 05,2007
Created by: dramsier
How can a change a nickname assignment? For example, if I have a nickname called Alarm that is assigned to Y0 how do I change that assignment to Y1?
I apologize if this is a simple question, I'm new to DirectSoft32 (and the PLC world) and I 've been having some nickname trouble...
Thanks,
Dean