2011

Table Of Contents
insert before these other components. The order of insertion is controlled by
the ORDER attribute value on the marker blocks within the circuit template
drawing. The marker block ORDER attribute value for the motor symbol must
be a lower number than the ORDER values of the marker blocks for the other
components in the circuit template drawing. When the other components
are inserted, the motor tag value can be incorporated into the subsequent
component tags.
1 Open the Circuit Builder spreadsheet, ace_circuit_builder.xls.
2 Find the circuit CATEGORY and TYPE, for example CATEGORY: 3ph
Motor Circuit and TYPE: Horizontal - FVNR - non reversing.
3 Open the circuit code sheet with the same name as the SHEET_NAME
value, for example SHEET_NAME: 3ph_H.
4 Find the motor symbol, for example CODE: MTR03, COMMENTS: Motor
symbol, UI_PROMPT_LIST: 3ph motor.
There can be multiple selections within the group. For example, there is
a selection for the type of disconnecting means, and a selection to include
an auxiliary contact. Each selection is assigned a numerical value from
the UI_VAL field. The values are added together to determine the
appropriate action for this combination of selections. The sum is matched
to a value in the UI_SEL field. Once this match is made, the
COMMAND_LIST value, ANNOTATE_LIST value, and so on, are used to
insert and annotate the selections.
5 Edit the API call in the ANNOTATE_LIST column for this component.
For example, it might look like this with two API calls concatenated:
(c:ace_cb_anno #data 0)(c:ace_cb_save "@MOTOR_NUM@" "TAG1*" nil
1)
The second one, c:ace_cb_save, saves the TAG1 attribute value on the
motor in to memory under an index tag of @MOTOR_NUM@. This
value can be referenced when the subsequent component marker blocks
are processed.
NOTE See the API documentation for more information on c:ace_cb_save.
6 Find the component you want the tag to follow the motor tag, for
example CODE: CAP01, COMMENTS: Power factor correction capacitor.
7 Edit the API call in the COMMAND_LIST column for this component.
For example, it might look like this:
(c:ace_cb_insym #xyz nil "VCA113_1-" #scl 8 "%N=@MOTOR_NUM@")
2060 | Chapter 24 Advanced Productivity