Does any one know the location of the Beginning Address Quick Picks when using the parametric insertion of PLC modules? I would like to modify the quick picks for my application and add specific styles.
Solved! Go to Solution.
Solved by dougmcalexander. Go to Solution.
Edit the WD.ENV file (in the AeData folder) and look for the last entry under the section entitled, "Symbol Insertion and Library Paths". (see attached screen capture) Remove the asterisk (*) at the beginning of the line that begins with "PLC_ADDRESS_FORMAT..." This enables custom PLC address schemes to be displayed at the top of the standard list when you insert a PLC. There are a couple of sample schemes on the PLC_ADDRESS_FORMAT line which you can modify as needed. Be careful with the placement of the %1 (rack) and %2 (slot) portion of the address scheme. Save this file and restart AutoCAD Electrical. Your custom addressing schemes will appear at the top of the Quick Picks list.
Doug,
Another question about PLC addressing. Is there a way to make the terminal addresses increment by 2 instead of 1?
Thanks
Ron
I have created some custom parametric I/O Modules with some custom terminals and everything appears to work perfectly, except it is not prompting me for a Module # when I insert it, but rather skips straight to the beginning address and quick picks dialog box, which has only 3 options for Quick Picks, rather than the usual large list. Do you have any explanation for this?
Hmm....Make sure you defined prompts. See the attached screen capture.
Reaching back through 20 years of cobwebs, I'm fairly certain that the code that handles the addressing is part of the compiled code, which cannot be changed by us. That said, if you are so inclined to write a lisp routine, you might be able to handle this via autolisp that executes when the module is inserted. Essentially you would create an autolisp that edits the module addressing scheme. There is a field in the module definition dialog where you can select an autolisp to execute when you insert a module.
Ron, another option of course is to define/edit the PLC addresses via the Spreadsheet Import/Export, as shown in the attached screen capture.
The "Defined Prompts" comment and picture did it. I had not done it in the Module Specifications. I thought the values in the Attribute tag values of the first terminal were what did that.
Well, we had you here for a week with 5 of us in a room. I think we called it Admin-level training course. It was really valuable, and we learned a lot, but I don't remember touching on that topic.
No, we wouldn't have time in the administration level getting started course. That's my first level course that covers setting up the software and creating a template, then we simulate a design to learn the basic commands and utilities, using existing PLC modules and the standard library symbols, with the exception being the power supply we create while learning to create a custom symbol.
The advanced course goes into more detail and covers topics that wouldn't even make sense yet to someone who is still trying to grasp the basics. I've had people tell me that they felt like they drank from a fire hose in the administration level getting started class, so I have to do a separate week to cover other stuff. It would take about 4 weeks to turn over every rock to discover everything the software can do.
I tried this, and removing the "*" and changing the text in the file as instructed didn't have any affect on the pick list choices. In fact, I went as far as renaming the file to make the program believe the file was missing. All to no change in results. Is there something else that needs changed to get the pick list to update the available options?
Are you sure that you removed the asterisk from the beginning of the line to activate the option?
Make sure you're editing the correct env file. If you're sharing files over a network, then you have to make sure to edit the env file that you are directed at / sharing. If you want to paste the line in a comment, I would be happy to take a look at it, but I had to work at it and massage it too. There's also the case to be made that you might need to restart ACE if you haven't already, and make sure to rename that file back to "wd.env"... I don't know why you would rename the one you're computer is looking at... if you're sharing over a network, you have to rename the AeData folder on your local machine to break the connection to your local machine, but renaming individual files doesn't really do anything.
I renamed the file to see if that brought up an error when trying to insert a PLC parametric. Since it had no change, I figured the file was not even being referenced for the address pick list.
I will look to find the file on the network, if it is there.
If you right-click a project, and choose "Settings...", you should be able to see the location of the env-file being used, by pressing the "Environment file" button: