How to Use Elecdes Icon Menu Functions
What are Icon Menu Databases?
The icon menus of Elecdes appear when you insert symbols. They are controlled by the icon menu databases present in the <EDS>\ELECDES\MSUPPORT and <EDS>\ELECDES\ISUPPORT directories, dependent on whether you are running as metric or imperial.
The icon menus are DBF files. Each DBF file normally contains a grouping of the same FAMILY or STANDARD of symbols e.g. IEC or ANSI. You may choose which DBF files to use from within the Elecdes Preferences Dialog.
The DBF files contain several "sections" that group similar symbols together e.g. contacts, coils. A section is displayed as an "icon menu" by Elecdes.
Each section can contain many menu entries. One menu entry usually corresponds to one symbol. One menu entry corresponds to one icon to be displayed on an icon menu.
A single menu entry is made up of one record (row) in the DBF file.
You may edit these icon menu databases or create new databases for new icon menus. The best tool for editing icon menus is the Icon Menu Editor
The following list describes the icon menu databases that are present by default.
Icon Menu Database Name | Description |
---|---|
_Common_Symbols.dbf | Symbols that are common to all standards |
AS1102_Symbols.dbf | Symbols that conform to the AS1102 standard |
IEC_Symbols.dbf | Symbols that conform to the IEC 617 standard |
IEEE-ANSI_Symbols.dbf | Symbols that conform to the IEEE-ANSI standard |
ISA_and_ISO_Symbols.dbf | Instrument symbols that conform to the ISA and ISO standard |
Ladder_Styles.dbf | Ladder configuration options |
MTD_Components.dbf | Multi-terminal device construction symbols |
Building_Layout.dbf | Building Services symbols |
Xref_Symbols.dbf | Cross reference symbols |
Icon Menu Functions
The functions described below are used in the icon menus and insert Elecdes symbols or construct commonly required circuit elements.
sinsatt
Description of function
General device, terminal and instrument symbol insertion function. For information on symbols, see Elecdes Symbols.
Example
SLIDE | FUNCTION | PAR1 | PAR2 | PAR3 | PAR4 | PAR5 | PAR6 | PAR7 | PAR8 | PAR9 | PAR10 |
---|---|---|---|---|---|---|---|---|---|---|---|
scada1(hifusw) | sinsatt | "ifusw" | "fused switch" | 15 | 0 | 1 | "rav" | "c14" | "u" | 0 | 0 |
sinsrot
Description of function
Inserts rotatable (OI) symbols.
Example
SLIDE | FUNCTION | PAR1 | PAR2 | PAR3 | PAR4 | PAR5 | PAR6 | PAR7 | PAR8 | PAR9 | PAR10 |
---|---|---|---|---|---|---|---|---|---|---|---|
scada1(oisock) | sinsrot | "isock" | "socket outlet" | "rav" | "u" | 1 | "_nearest" | 0 | 0 | 0 | 0 |
smult
Description of function
Inserts two or three single phase symbols onto two or three lines.
The parameters are the same as for the SINSATT function.
xfmr3ph
Description of function
Construct ladder rails connected to a 3-phase bus via a transformer. Automated Drawing Functions.
The parameters are the same as for the SINSATT function.
xfmr1ph
Description of function
Insert a transformer between ladder rails. Automated Drawing Functions.
The parameters are the same as for the SINSATT function.
wmult
Description of function
Conductor marker insertion function.
For information on symbols, see Elecdes Symbols.
Example
SLIDE | FUNCTION | PAR1 | PAR2 | PAR3 | PAR4 |
---|---|---|---|---|---|
scada5(3draw9) | wmult | "ccable" | "3 Cable markers" | 10.0 | 3 |
mtd_compins
Description of function
Elecdes function to insert MTD component symbols when creating an MTD symbol. For information on symbols, see Elecdes Symbols.
Examples
SLIDE | FUNCTION | PAR1 | PAR2 | PAR3 | PAR4 |
---|---|---|---|---|---|
scada5(term1) | mtd_compins | "ttermp1" | "terminal" | 2.5 | "cA" |
scada12(mtdt) | mtd_compins | "imtdt" | "MTD Tag Symbol" | 0 | "c" |
mtd_insert
Description of function
Insert an MTD symbol. For information on symbols, see Elecdes Symbols.
Example
SLIDE | FUNCTION | PAR1 | PAR2 |
---|---|---|---|
scada12(mtdt) | mtd_insert | "u" | "MySymb" |
Autodraw functions
mdraw
Description of function
The Automated Drawing Functions use the same codes and parameters as Sinsatt, Smult for device and terminal insertion and Wmult for conductor marker insertion.
The only differences are:
-
The function name is replaced by a control code.
Example
SLIDE | FUNCTION | PAR1 | PAR2 | PAR3 | PAR4 | PAR5 | PAR6 | PAR7 | PAR8 |
---|---|---|---|---|---|---|---|---|---|
scada2(hi3pcb3) | DE | i3pcb3 | circuit breaker | 15.0 | 10 | 3 | rav | C123456 | u |
pbstartstop
Description of function
Push button start-stop drawing function. Automated Drawing Functions
Note that this function can only be called from a menu or toolbar button, not from an icon menu. It will appear similar to the following:
ID_spbc [Construct &PB start/stop ]^C^C(setq eds_params '("ipbc" 15 "icoil" 10 "ipbo" 15 "icro" 15 45 "r" "c14" "u"));pbstartstop;
Example
FUNCTION | PAR1 | PAR2 | PAR3 | PAR4 | PAR5 | PAR6 | PAR7 | PAR8 | PAR9 | PAR10 | PAR11 | PAR12 |
---|---|---|---|---|---|---|---|---|---|---|---|---|
pbstartstop | "ipbc" | 15 | "icoil" | 10 | "ipbo" | 15 | "icro" | 15 | 45 | "r" | "c14" | "u" |
sref
Description of function
Elecdes function to insert references and indicators. For information on symbols, see Elecdes Symbols.
If the reference and indicator symbol is not named or found in parameter 1 then the SREF function will allow you to browse for a symbol to insert.
Example
SLIDE | FUNCTION | PAR1 | PAR2 | PAR3 | PAR4 | PAR5 |
---|---|---|---|---|---|---|
scada4(hcond) | sref | "startref" | "1D Cross reference start num" | 1 | 0 | "none" |