ED2004 TechData
ED2004 TechData
http://www.aceri.com
-2-
Contents
1 ED MACROS ______________________________________ 4
1.1 Macro control types ________________________________________ 4
1.2 Identifying a specific macro number___________________________ 5
1.3 Macro information types ____________________________________ 5
1.3.1 Editing data contained in a list ___________________________________5
1.3.2 Selecting an item from a pop-down _______________________________7
1.3.3 Checking and deselecting checkboxes ____________________________7
1.3.4 Checking and deselecting radial checks ___________________________7
1.3.5 Editing field data _____________________________________________8
1.4 Macro examples __________________________________________ 11
1.4.1 Edit a superproject ___________________________________________11
1.4.2 Absorb superproject drawings __________________________________12
1.4.3 Create a new project _________________________________________12
1.4.4 Create and load a drawing_____________________________________13
1.4.5 Create a list of projects _______________________________________13
-3-
1 ED MACROS
Through the AutoCAD command prompt, you can execute a sequence of commands for Electrical
Designer by utilising macros.
Macro’s are only available for commands found within the ED Manager interfaces, and so are not
available for standard drawing tools, with one exception; this being the Update Blocks interface.
The macro number to activate UPB within a drawing can be found listed later in this chapter.
To activate a macro in ED you must enter a macro into the AutoCAD command line. The macro
numbers which when entered in a string will cause an action or actions to be carried out.
Later in this chapter you can find a list comprising the most common commands available in the
ED Manager interface, as well as their associated macro numbers.
The following chapter outlines, the different types of controls which macros are associated to, and
how to activate them.
Buttons
Checkboxes
Radial check
Lists
Pop downs
Field edition
These options are standard tools that you would normally employ when working within ED, and so
within macros; as a macro will allow you to simply automate any process that you carry out
manually. So that if you wanted to automate the editing of a set of drawing information cards, for
example; you would have to select a drawing from a list, select to edit the drawing information
card, select the fields you wanted to revise, fill in the revised data and Accept your changes. This
can easily be done, simply by entering the appropriate macro number for each “manual” step to
create a complete macro process.
-4-
1.2 Identifying a specific macro number
Every command option within the ED Manager has a macro number associated to it, the easiest
way to identify these macro numbers is simply to right mouse click over a specific icon, list, button,
checkbox, radial check, or pop down. When this is done a small interface will be displayed
relative to your mouse cursor, as illustrated below.
Here you can see that the macro number to activate the Fast Find option is 2474.
In the case of toolbar options, such as are found running along the top of the Browser interfaces,
the icon’s pop down description will include the macro number in brackets at the end of the
description itself as illustrated below:
This shows that to activate the Bill of Materials you should use the macro number 114.
Integer 2004
String “Enter Data Here”
Number 123.99 (with point)
Date “20020910” Where the date is between speech marks, indicating:
Year 2002
Month 09
Day 10
Of course any variation on this can be applied dependent upon
preferred date format.
-5-
If you take the example of changing a terminals associated catalogue and reference through the
define parts table, you must be able to select the terminal you wish to modify from a list of
potentially thousands of terminals.
To do this you should enter the list that you wish to make the change in and right click to obtain
the Macro number and any other data that will be required to allow you to make your selection, as
illustrated below.
In this case you can see that the macro selection of the list is 2005, when this macro number is
used, ED will automatically default to the first terminal listed, by using the –1 option you are able
to effectively delete this selection, so that a macro string of 2005 –1 would be required.
If the –1 was not used you could make a multiple selection of items.
Furthermore ED indicates that the lists Main column is Symbol, so that to select your preferred
terminal you will need to enter 2005 again followed by either the terminals symbol name “X1 PE”
for example, to select the terminal X1 PE.
Alternatively you can enter a field index number, (the first item on the list being 0), of 3 to select
the fourth terminal on the list, for example.
(C:ELEC 702 33 2004 1 2005 –1 2005 “X1 PE” 2009 “WEIDMULLER” 2011 “0630400000” 2008)
-6-
1.3.2 Selecting an item from a pop-down
You are provided with two ways of selecting information on a pop down, you can either enter a
string, or a field index number, the latter is more difficult to employ in some cases as you must
know the exact location of the item you wish to select on each pop down list.
Illustrated above you can see the macro number and type of information required to activate a
reports language preference. An example of how to change to change the language is:
2005 “Chinese”
Where you want the report type to be generated in Chinese, alternatively you could use a field
index number 0 as Chinese is the first language on that pop down type.
Above you can see the macro number associated to a checkbox, and the number Type required,
by entering a macro:
2013 1
2013 0
-7-
To activate a specific radial you need to enter a macro and a number to indicate your preferred
option. As with list field index numbers the first radial, (Spanish), would be 0, English 1, Dutch 2,
etc. So that by entering a macro of:
2001 5
By the entering 2005 followed by a string and that the Main Column that will be used
You are able to create complex macro’s that will open edit and/or create data within the manager,
for example, where you need to enter data into fields or to locate specific item you should enclose
the text in speech marks.
(C:ELEC 702 105 1004 2002 "DIN" 1004 2001 "ED2004_MACRO_PROJECT" 2009 "NEW
PROJECT" 2010 "CREATED USING MACROS" 2015 "ALL MANAGER PROCESSES IN ED2004
CAN BE AUTOMATED" 1004 682 85 1004 2001 2014 "SCHEMATIC DRAWING" 2015 "TO DIN
STANDARD" 2008 "ACERI" 1004 92)
The above macro allows you to create a new project to the DIN standard fill in some fields, create
a drawing and open it to allow you to commence work.
Below can found tables containing some of the more general numeric macro codes.
MAIN MANAGER
Backup All (C:ELEC 98)
Restore All (C:ELEC 99)
Reorganise All (C:ELEC 97)
Free All (C:ELEC 100)
Edit Text (C:ELEC 77)
Activate User (C:ELEC 78)
Configure (C:ELEC 58)
-8-
PROJECT BROWSER PAGE
Project Browser (C:ELEC 702)
Filter Project (C:ELEC 702 103)
New Project (C:ELEC 702 105)
Edit Project (C:ELEC 702 107)
List Project (C:ELEC 702 108)
Delete Project (C:ELEC 702 106)
Remove Project (C:ELEC 702 111)
Backup Project (C:ELEC 702 109)
Restore Project (C:ELEC 702 110)
Free Project (C:ELEC 702 112)
Reorganise Project (C:ELEC 702 104)
Printing Layers (C:ELEC 702 118)
Edit Counters (C:ELEC 702 37)
List Bill of Materials (C:ELEC 702 114)
List Parts (C:ELEC 702 115)
List Cross References (C:ELEC 702 94)
Lists Cross Reference Errors (C:ELEC 702 95)
List Connections (C:ELEC 702 54)
List Physical Layout (C:ELEC 702 55)
List PLC (C:ELEC 702 4)
Define Parts (C:ELEC 702 33)
Connection and Cables editor (C:ELEC 702 13)
Analyse Cross References (C:ELEC 702 93)
Analyse Equipotentials (C:ELEC 702 73)
Analyse Technical Data (C:ELEC 702 113)
Analyse Harness (C:ELEC 702 565)
Check Errors (C:ELEC 702 564)
Consult Revisions (C:ELEC 702 525)
Project element show (C:ELEC 702 530)
Export terminals (C:ELEC 702 545)
DRAWING BROWSER PAGE
Drawing Browser (C:ELEC 682)
Filter Drawing (C:ELEC 682 83)
New Drawing (C:ELEC 682 85)
Edit Drawing (C:ELEC 682 87)
-9-
List Drawing (C:ELEC 682 88)
Delete Drawing (C:ELEC 682 86)
Handle Drawings (C:ELEC 682 91)
Batch Process of Drawings (C:ELEC 682 74)
Plot Drawings (C:ELEC 682 120)
Backup Drawings (C:ELEC 682 89)
Restore Drawings (C:ELEC 682 90)
Activate AutoCAD Drawing (C:ELEC 682 92)
LIBRARY BROWSER PAGE
Library Browser (C:ELEC 662)
Filter Library (C:ELEC 662 63)
New Library (C:ELEC 662 65)
Edit Library (C:ELEC 662 67)
List Library (C:ELEC 662 68)
Delete Library (C:ELEC 662 66)
Remove Library (C:ELEC 662 71)
Backup Library (C:ELEC 662 69)
Restore Library (C:ELEC 662 70)
Free Library (C:ELEC 662 72)
Reorganise Library (C:ELEC 662 64)
Printing Layers (C:ELEC 662 158)
Update Library Menu (C:ELEC 662 17)
ELEMENT BROWSER PAGE
Element Browser (C:ELEC 642)
Filter Element (C:ELEC 642 43)
New Element (C:ELEC 642 45)
Edit Element (C:ELEC 642 47)
List Elements (C:ELEC 642 48)
Delete Element (C:ELEC 642 46)
Batch Process of Elements (C:ELEC 642 75)
Integrate Elements in Tablet (C:ELEC 642 117)
Library Show (C:ELEC 642 119)
Backup Element (C:ELEC 642 49)
Restore Element (C:ELEC 642 50)
Activate AutoCAD Drawing (C:ELEC 642 52)
- 10 -
CATALOGUE BROWSER PAGE
Catalogue Browser (C:ELEC 622)
Filter Catalogue (C:ELEC 622 23)
New Catalogue (C:ELEC 622 25)
Edit Catalogue (C:ELEC 622 27)
List Catalogue (C:ELEC 622 28)
Delete Catalogue (C:ELEC 622 26)
Remove Catalogue (C:ELEC 622 31)
Backup Catalogue (C:ELEC 622 29)
Restore Catalogue (C:ELEC 622 30)
Free Catalogue (C:ELEC 622 32)
Reorganise Catalogue (C:ELEC 622 24)
REFERENCE BROWSER PAGE
Reference Browser (C:ELEC 602)
Filter Reference (C:ELEC 602 3)
New Reference (C:ELEC 602 5)
Edit Reference (C:ELEC 602 7)
List Reference (C:ELEC 602 8)
Delete Reference (C:ELEC 602 6)
MISCELLANEOUS
Up (C:ELEC 1000)
Down (C:ELEC 1002)
Enter (C:ELEC 1004)
Cancel (C:ELEC 1005)
Home (C:ELEC 1006)
End (C:ELEC 1007)
- 11 -
147 Activate the Edit superproject command
- 12 -
1.4.4 Create and load a drawing
682 Activate the Drawing browser screen
85 Create drawing
2001 0 Create empty
1004 Accept
2001 Scheme type
1004 Accpt the Drawing Information card
92 Activate AutoCAD drawing
- 13 -
2 GLOSSARY of EDPro COMMANDS
Below you will find listings of all the available ED commands and icons, their levels, keyboard shortcuts, and
descriptions.
M indicates the module for each command.
- 14 -
2.3 Element Browser list icons
Icon Element type
Auxiliary, Equipotential, Prototype, Titlebox, Power Source,
Functional block, sub functional block, PLC slot, CPU, PLC sub slot
Group of elements
Final consumption
Relays or elements with contacts
Fuse or protection element
Terminals
Harness
Passive elements
Pushbuttons
Contacts
- 15 -
Restore backed up projects, drawings,
1 Restore… All Browsers
libraries…
Project, Library,
1 Remove… Catalogue Remove project, library, catalogue
Browsers
Project, Library,
Free Projects, libraries,
1 Catalogue Frees locked project, libraries, catalogues
catalogues
Browsers
Project, Library,
Reorganise Projects, libraries, Reorganise selected project, library,
1 Catalogue
catalogues catalogue
Browsers
- 16 -
1 Analyse Equipotentials Analysis / Lists Equipotentials cross-referencing
Element
1 Categories INSELE Insert elements with the window dialogue
Categories
- 17 -
1 Zone, Location & Group Att. Make Elements ST ◄ Location attribute
1 Multi. Cross. Ref. Attribute Make Elements DEFXR_MAIN Define multiple XR_Main attributes
1 Check Element Make Elements ELEMSTAT Element information and drawing status
- 18 -
1 Edit Counters Numbering CANUM Edit counters
1 PLC to Wire PLC PLC2WIRE Copies element pin number to wire mark
1 Set catalogue & Record Set ECAT Set catalogue and reference
1 Set Zone, Location & Group Set EST Modify Zone, Location, Group
- 19 -
1 Update titlebox Various UPS Updates titlebox data
Keyboard
1 ALIGNDWG Activates drawing alignment interface
command
Keyboard
1 CAP Capture drawing/element
command
Keyboard
1 CHECKCATALOGUE Checks a catalogues components
command
Keyboard
1 DEF Define attributes
command
Keyboard
1 ECAX Resets wire marks to 00
command
- 20 -
Keyboard
1 EDATT Edit attributes
command
Keyboard
1 EDMACRO Enter an ED macro
command
Keyboard Insert element without the window dialogue,
1 INS
command and without cutting wires.
Keyboard Insert elements without the window dialogue,
1 INSBRK
command breaks wires
Keyboard
1 UPD_ELE Updates library elements
command
Keyboard
1 UPB2 Converts element text to attributes
command
Keyboard
1 UPB3 Updates cabinet components
command
Keyboard
1 UPDSTYLE Update attribute styles
command
Keyboard Update plain text wire marks to intelligent
1 UPDTEXTMARK
command ~MARK blocks
Keyboard
1 PROGRAMKEY To reprogram security key
command
- 21 -
2 Insert Rails Physical Layout DRAIL Insert DIN rail
Keyboard
2 ADOPTALL Adopts all orphaned cabinet components
command
Keyboard
2 EDPANEL Panel view
command
Keyboard
2 INSCAB Inserts cabinets
command
4 Set Rack & Slot PLC SETRACK Set rack and slot
- 22 -
4 List plc PLC List PLC / PLC reports
◄ Illustrates commands that are activated by first entering the command DEF in the
command line, followed by the command letters you wish to activate.
NOTE
The commands and icons listed relate to EDPro2004, different / earlier versions of ED will have
variations in commands and icons.
- 23 -