AutoCAD Electrical toolset imports Unity Pro XML files to aid in the creation of various types of PLC and Panel Layout drawings in the active project. Unity Pro supports numerous Schneider Electrical PLC cards, PLC racks, power supplies, and various accessories.
Unity Pro exports two XML files (.xhw and .xsy) to use in the automatic creation of AutoCAD Electrical toolset PLC ladder-style drawings. The .xhw file contains the PLC hardware information such as catalog numbers and starting addressing information. The .xsy file contains the information about the software such as variable types (input/output) and i/o addressing information.
These files also contain catalog information that can be reformatted to generate an equipment list to help in the creation of a rack layout drawing used in Panel Layouts or separate Rack Layout drawings using the Unity Pro Export to Spreadsheet tool.
The tree structure data that displays in the Hardware File section of the Unity Pro Import dialog box is as follows:
Project node |
The Project node is the topmost node defined in the tree structure. The label given to the node is the file name of the hardware configuration (.xhw) file that was defined during the export from Unity Pro. The name of the hardware configuration file can be different from that of the I/O configuration file. |
Bus Name node |
The Bus Name node consists of the Bus Name Description and the Bus Number ID. Example: Bus 1 Local Quantum Bus
|
Rack Location and Catalog Number node |
The Rack Location node consists of descriptions, location information, and a catalog number. Example: Rack \1.1\1 140XBP0600
|
Module Location and Catalog Number node |
The Module Location node consists of descriptions, location information, and a catalog number. Example: Supply \1.1\1.1 140CPS21400
|
The Unity Pro to AutoCAD Electrical toolset mapping file, DEFAULT_UNITY.MAP, allows you to define the text strings to be placed in the custom field of the Unity Pro Data Editor to map directly to an AutoCAD Electrical toolset schematic symbol name.
AutoCAD Electrical toolset Symbol Mapping File Example:
;This file is to be used for mapping of Unity Pro custom strings
;for PLC I/O devices to AutoCAD Electrical toolset schematic symbol names
;Syntax: Value in Custom Field,Symbol Block File Name
;Example: PBNO,HPB11
; PBNC,HPB12
PB NC,HPB12
*2POS*,HSS112
*3POS*,HSS113
The comment fields (marked with ;) at the top of the file are used for information. The custom field supports spaces in the string and wild cards.
When you click OK on the Unity Pro Import dialog box, a PLC Spreadsheet file is created along with an Equipment List spreadsheet file. The Equipment List file includes all of the catalog information in the .xhw file. The structure of the Equipment List is: