Cabling > Referencing Logical Data > About Neutral Format Wire List
  
About Neutral Format Wire List
You can use the neutral format wirelist (.nwf) files to import and export electrical information. The neutral format wirelist file contains user-defined parameters for wires, cables, cable conductors, connectors, spools, and pin. Use NWF files to exchange of information among the Drawing, Cabling, and the other electrical and analysis packages. The neutral format file extension is .nwf.
NWF Language Structure
The NWF language consists of commands and primary types. The following tables describe the commands and primary types:
Commands
Description
NEW
Defines a new item. NEW is always followed by a definition of a primary type. For example:
NEW CONNECTOR T2
PARAMETER
Defines a parameter for the item.
Syntax: PARAMETER <name> <value>
PARAMETERS
Defines multiple parameters for an item. The values for the parameters are defined in the following VALUES statement.
Syntax:
PARAMETERS <param1 name> <param2 name> <param3 name>
VALUES <param1 val> <param2 val> <param3 val>
VALUES
Defines the values for the parameters defined in the preceding PARAMETERS statement.
Syntax:
PARAMETERS <param1 name> <param2 name> <param3 name>
VALUES <param1 val> <param2 val> <param3 val>
ATTACH
Defines the connection between the wires and conductors. Applies to WIRE and CONDUCTOR statements.
Syntax:
ATTACH <from conn or comp name> <from pin name> <to conn or comp name> <to pin name>
Example:
ATTACH T1 4 T2 4
CONDUCTOR
Defines a cable conductor. There must be a CABLE statement before the CONDUCTOR statement. Specifying the name of the conductor is optional.
Syntax:
CONDUCTOR <id> <optional cond name>
Example:
CONDUCTOR 2
PIN
Defines the pins for a connector or a component. There must be a CONNECTOR or a COMPONENT statement before the PIN statement.
Syntax:
PIN <pin name>
Example:
PIN IN_1
Primary Types
Primary Type
Description
WIRE
Defines a wire in the cabling assembly. The wire definition may include the following item: PARAMETER, PARAMETERS and VALUES, and ATTACH.
Syntax:
NEW WIRE <wire name> <wire spool name>
Example:
NEW WIRE W-1 16_RED_SXL
CABLE
Defines a cable in the cabling assembly. The cable definition may include the following item: PARAMETER, PARAMETERS and VALUES, CONDUCTORS, and ATTACH.
Syntax:
NEW CABLE <cable name> <cable spool name>
Example:
NEW CABLE CAB_1 3XAWG16
WIRE_SPOOL
Defines a wire spool. The wire spool may have PARAMETER commands to define the wire spool parameters.
Syntax:
NEW WIRE_SPOOL <wire spool name>
Example:
NEW WIRE_SPOOL 16_YEL_SXL
PARAMETER MIN_BEND_RADIUS 0.025
PARAMETER THICKNESS 3.33
PARAMETER UNITS MM
PARAMETER COLOR yel
PARAMETER NAME_FORMAT W-##
PARAMETER WIRE_GAUGE 1
CABLE_SPOOL
Defines a cable spool. The cable spool may have CONDUCTOR statements associated with it to define the parameters of the conductors in the cable spool.
Syntax:
NEW CABLE_SPOOL <cable spool name> <number of conductors>
Example:
NEW CABLE_SPOOL 3XAWG16 4
PARAMETER MIN_BEND_RADIUS 6.46
PARAMETER THICKNESS 6.46
PARAMETER UNITS MM
PARAMETER NAME_FORMAT C##-<spool_name>
CONDUCTOR 2
PARAMETER TYPE WIRE
PARAMETER COLOR red
PARAMETER MIN_BEND_RADIUS 1.6
PARAMETER NAME_FORMAT W-##
PARAMETER THICKNESS 1.3
PARAMETER UNITS MM
PARAMETER WIRE_GAUGE 16
CONDUCTOR 1
PARAMETER TYPE WIRE
PARAMETER COLOR blk
PARAMETER MIN_BEND_RADIUS 1.6
PARAMETER NAME_FORMAT W-##
PARAMETER THICKNESS 1.3
PARAMETER UNITS MM
PARAMETER WIRE_GAUGE 16
CONNECTOR
Defines a connector. The PARAMETER and PIN statements defining the connector parameters and individual pins may follow the CONNECTOR statement.
Syntax:
NEW CONNECTOR <name>
Example:
NEW CONNECTOR R-01
PARAMETER MODEL_NAME CONN_9PIN
PARAMETER DESCRIPTION Regulator
PARAMETER LAYER 0
PARAMETER NUM_OF_PINS 8
PIN 8
PARAMETER LOGICAL_NAME 8
PARAMETER DEF_GROUPING FLAT
PARAMETER ENTRY_PORT ENTRY
PARAMETER LAYER 0
PARAMETER GROUPING FLAT
PARAMETER INTERNAL_LEN 3
COMPONENT
Defines a component. The PARAMETER and PIN statements defining the component parameters and individual pins may follow the COMPONENT statement.
Syntax:
NEW COMPONENT <name>
Example:
RAIL
Indicates that the item is a rail. The only argument a RAIL item may have is a name. When the name is used in an attach statement for a wire, cable, or conductor, its pin must be a double quote to indicate that there isn't one: "".
General Guidelines
A statement starts with a COMMAND.
Items on a line are separated by white space, which includes blank spaces or tabs.
Parameters with the name TYPE and OBJ_TYPE are ignored during the import, export, and compare operations. You may not use these parameters for user-defined parameters.
A line beginning with an exclamation point is considered as a comment and is ignored.
Both upper and lower case text is supported, but all names and parameters are converted to upper case during import and export.
Spools should be defined before wires or cables that reference them.
For CONDUCTOR and PIN VALUES statements, the system will take the PARAMETERS statement for the CONDUCTOR or PIN from the next one above which has a PARAMETERS statement if there is not one for that CONDUCTOR or PIN.
A statement in an imported file can have a maximum of 1023 characters.
Tip
Create a cabling assembly and choose Logical Data > Export > PTC Neutral. You can use the exported NWF as a reference for creating your interface.
For more information about Neutral Format Wire List format, refer https://www.ptcusercommunity.com/message/257334#257334.