Circuit Builder: To Define the Wire Type

There are three ways to define the wire type.

Note: The attribute value defined on the marker block overrides any value defined in the spreadsheet.

Marker block method

  1. Open the circuit template drawing that contains the marker block for the wire.
  2. Find the correct marker block for the wire.
  3. Edit its MISC1 attribute value using the format “_WIRETYPE={layer name}”, for example, “_WIRETYPE=BRN_10AWG”.
    Note: The MISC1 attribute value can contain multiple special text flags which direct Circuit Builder to handle the component or underlying wire in a special way. When you add new values, do not overwrite any other special flag values. Separate each one with a semicolon.
  4. Save the circuit template drawing.

Spreadsheet method

  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 specific wire, for example CODE: WT01, and COMMENTS: Assign motor wire type - phase 1.
  5. Edit the API call in the COMMAND_LIST column for this wire. For example, the last argument of this Set Wire type API call is used to predefine MISC1 coded values with nil when nothing extra is defined.

    Before and after are shown:

    Before: (c:ace_cb_set_wiretype #data 1 nil nil)

    After:(c:ace_cb_set_wiretype #data 1 nil “_WIRETYPE=BRN_10AWG”)

    Note: See the API documentation for more information.
  6. Save the spreadsheet.

Based on motor size selection

You can apply the minimum wire size for a selected motor load to the wire type layer name. The value, which is extracted from the ace_electrical_standards.mdb database, can be substituted for any “@WSIZE@” string found in the “_WIRETYPE=” value. Use this variable in the MISC1 attribute on the wire marker block or in the spreadsheet as part of the wire type API call.

    Marker block method

  1. Open the circuit template drawing that contains the marker block for the wire.
  2. Find the correct marker block for the wire.
  3. Edit its MISC1 attribute value using the format “_WIRETYPE=@WSIZE@”, for example, “_WIRETYPE=BRN_@WSIZE@”.
    Note: The MISC1 attribute value can contain multiple special text flags which direct Circuit Builder to handle the component or underlying wire in a special way. When you add new values, do not overwrite any other special flag values. Separate each one with a semicolon.
  4. Save the circuit template drawing.

    Spreadsheet method

  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 specific wire, for example CODE: WT01, and COMMENTS: Assign motor wire type - phase 1.
  5. Edit the API call in the COMMAND_LIST column for this wire. For example, the last argument of this Set Wire type API call is used to predefine MISC1 coded values with nil when nothing extra is defined.

    Before and after are shown:

    Before: (c:ace_cb_set_wiretype #data 1 nil nil)

    After:(c:ace_cb_set_wiretype #data 1 nil “_WIRETYPE=BRN_@WSIZE@”)

    Note: See the API documentation for more information.
  6. Save the spreadsheet.