To Work With PLC Styles

AutoCAD Electrical toolset provides five predefined PLC styles, numbered 1 through 5. You can create an additional style or modify an existing style. About three dozen symbols are associated with each predefined style. In the library folder, these symbols are located in files named HP#*.dwg, where "#"is the style number.

Create a PLC Style

An easy way to create a PLC style is to copy the library symbols of an existing PLC style to one of the unused style numbers (6, 7, 8, or 9) and then edit each one to suit your needs.

For example, copy style 1 to style 6 by copying \Users\Public\Documents\Autodesk\Acade {version}\libs\{library}\hp1*.dwg to \Users\Public\Documents\Autodesk\Acade {version}\libs\{library}\hp6*.dwg.

Open the hp6*.dwg drawing files in AutoCAD and modify as required. To access your new style, select "6" in the style sub dialog box when you prepare to select and insert a new PLC module.

Add a New PLC Style to the PLC Dialog Boxes

The icon menu graphics that display for the various PLC styles are bitmap files saved to your \Program Files [(x86)]\Autodesk\AutoCAD {version}\Acade\ folder where AutoCAD Electrical toolset's Insert PLC and Drawing Properties tools can access them.

  1. Create the style in AutoCAD.
  2. Zoom in to the new PLC style.
  3. Save the file as a bitmap using the following name definition:
    • For the Drawing Properties dialog box: the graphic must have the name P_STYLExH.bmp or P_STYLExV.bmp where 'x' is the PLC style number (1-9) and H or V indicate the module orientation (horizontal or vertical)
    • For the Insert PLC dialog box: the file name must be STYLExH.bmp or STYLExV.bmp where 'x' is the PLC style number (1-9) and H or V indicate the module orientation (horizontal or vertical)
    Note: If the resulting bitmap is too small or off-center, open the source drawing in AutoCAD again. Resize your AutoCAD graphics window so that it is more square. Center the image and resave. Repeat until you are satisfied with the result.

Modify a PLC appearance style

  1. Locate the hp#*.dwg files that correspond to the style you want to modify.
  2. Open each one and modify using AutoCAD commands.