2011

Table Of Contents
Notice that the value for the LINE1 is RACK %%1 and LINE2 is SLOT
%%2. The prompting values of %%1 and %%2 are populated with what
you type into the text box when prompted. The static text of Rack and
Slot appears in the attribute once the PLC module is created. There are
multiple prompting variables from %%1 through %%9. Prompting strings
can be added to any existing attributes on the terminal block. If you
wanted to add additional prompts with out using the existing attributes
you would have to modify the block file to add additional attributes such
as Line3.
Top terminals are the only symbols which can accept prompts during
the parametric PLC insertion process.
2 Edit each attribute value for the TAG attributes to read "IN-%%N."
Besides the Module Prompt variables, AutoCAD Electrical also supports
the use of an address variable. When the module is inserted, the PLC I/O
addresses are calculated based on some AutoCAD Electrical settings and
the module settings. You can trigger AutoCAD Electrical to include a
prefix or suffix to each address value it inserts.
The %%N represents the calculated I/O address and the IN- is the prefix
that gets added to the address value. You can also use the prompt values.
For example, if you want to permanently encode the rack and group
numbers (%%1 and %%2 prompts) into each I/O address value, encode
each I/O address entry in the date file with "TAGA_=%%1%%2%%N."
3 If you want to assign a text constant to any attribute value, combine a
text constant with the variables as shown in the module prompts and
addressing examples above.
Inserting the PLC module into the drawing
1 Click Save Module to save the module to the PLC database file.
2 Click Done/Insert.
The PLC Parametric Selection dialog box appears.
3 Click OK to insert the new PLC module onto the drawing.
4 Specify the insertion point on the drawing.
5 In the Module Layout dialog box, click OK.
Use the PLC Database File Editor | 2003