CADXChange

ResourcesElectrical schematic symbols

Logic and PLC diagrams: sample DWG files and electrical template

Two complete control drawings of the same pump station on ISO A3 sheets. The logic diagram shows the control function with gates, bistables, a monostable and a counter; the PLC wiring diagram shows how the field devices connect to the input, output and analogue modules and to the 24 V DC supply. Each drawing has a signal or I/O list, notes and a filled-in title block, and every symbol is a block with its attributes filled in.

Free to use and modify in your own projects, including commercial ones. The ZIP holds the sample drawing, a template, a plot style table and a README; no add-in needed. The data in the drawing is made up, so it is not for design or construction. Provided as is, without warranty.

Level control logic

Pump station level control: level latch, auto and manual start, overload inversion, run command, run feedback supervision with a 10 s delay, a latched alarm and a daily start counter.

PLC I/O wiring

Pump station PLC wiring: power supply and CPU, a digital input module with four field devices, a relay output module with four loads, an analogue input module with two transmitters, and the 24 V DC and 0 V rails.

This sample uses these resources

The symbols are blocks from our own libraries, with their attributes filled in. The sheet and its title block come from our ISO A3 title block template. Download them to draw your own diagrams.

What is in the ZIP

  • Level-Control-Logic-Sample.dwg
    Sample drawing (DWG, AutoCAD 2018 format)
  • PLC-IO-Wiring-Sample.dwg
    Sample drawing (DWG, AutoCAD 2018 format)
  • Electrical-Template-ISO-A3.dwt
    Template (DWT) that the drawing was made on
  • CADXChange-Monochrome.ctb
    Plot style table (CTB) that prints every colour black
  • README.txt
    README with the layer list and how to use the files

Every ZIP holds its own drawing together with the template, the plot style table and the README.

The template

The electrical template has 16 layers with colours, line weights and linetypes (power circuits, busbars, control, signal, protective earth, enclosure boundaries, text and more), the text styles ISO-2.5 to ISO-5, the dimension style ISO-25 and an ISO A3 layout with a title block and revision table. The layer names are a common convention, not a standard; rename them to match your company's rules.

Layers defined

Every layer in the template with its colour, line weight and linetype, and how many objects of this sample are on it. Layers the sample does not use are still defined, ready for your own drawing.

LayerColourLine weightLinetypeUsed forLevel control logicPLC I/O wiring
Electrical layers
ELEC-POWER10.50 mmContinuousMain power circuitsnot used here5
ELEC-BUS10.70 mmContinuousBusbars and heavy linesnot used herenot used here
ELEC-CONTROL40.25 mmContinuousControl circuitsnot used here9
ELEC-SIGNAL30.18 mmContinuousSignal, instrumentation and communication circuits3447
ELEC-PE20.35 mmContinuousProtective earth and bondingnot used herenot used here
ELEC-CABLE300.25 mmDASHEDCable, conduit and tray routesnot used herenot used here
SYMBOL70.25 mmContinuousSymbols (the layer the symbol libraries use)915
ELEC-TERMINAL70.25 mmContinuousTerminals and connection pointsnot used herenot used here
ELEC-BOUNDARY50.18 mmDASHDOTEnclosure, panel and device boundariesnot used herenot used here
ELEC-MECH-LINK80.18 mmDASHEDMechanical links, interlocks and measuring linksnot used herenot used here
ELEC-REF70.18 mmContinuousReference designations (-QF1, -K2)not used herenot used here
ELEC-WIRE-NO70.18 mmContinuousWire numbers and cable labelsnot used herenot used here
ELEC-XREF90.13 mmContinuousContact and cross reference textsnot used herenot used here
ELEC-TEXT70.18 mmContinuousGeneral text5669
ELEC-NOTES70.18 mmContinuousNotes and legends54
ELEC-DIM30.18 mmContinuousDimensionsnot used herenot used here
Sheet and symbol layers
07defaultContinuousDefault layer, keep it emptynot used herenot used here
FRAME7defaultContinuousSheet border55
TITLEBLOCK7defaultContinuousTitle block and revision table11
VIEWPORT8defaultContinuousLayout viewport frame (does not plot)22
DRAWING-AREA8defaultContinuousBoundary of the model drawing area (does not plot)22

Styles defined

The text styles, the dimension style and the linetypes that the template defines, so you do not have to set them up in each new drawing.

KindNameSettings
Text styleISOisocp.shx, 15°, variable height
Text styleISO-2.5isocp.shx, 15°, 2.5 mm high
Text styleISO-3.5isocp.shx, 15°, 3.5 mm high
Text styleISO-5isocp.shx, 15°, 5 mm high
Text styleTB-enArial, used by the title block
Dimension styleISO-25Text 2.5 mm, arrows 2.5 mm, extension lines 1.25 mm beyond the dimension line and 0.625 mm from the object, dimension lines 3.75 mm apart, 0 decimals
LinetypeContinuousSolid line
LinetypeDASHEDDashed
LinetypeDASHDOTDash-dot
LinetypeCENTERCentre line
LinetypePHANTOMPhantom line
LinetypeHIDDENHidden line

Sheet and drawing setup

How the sheet is set up, so your own drawings print the same way.

Sheet
ISO A3 landscape, 420 × 297 mm.
Layout
One layout named ISO-A3, plotted at 1:1 on full-bleed A3 media, so the sheet has no printer margin.
Border
20 mm from the left edge (binding side) and 10 mm from the other edges; the drawing area inside is 390 × 277 mm.
Model space
Units are millimetres. The drawing area is shown at 1:1, so 1 mm in the drawing is 1 mm on paper.
Title block
160 × 79 mm at the lower right, with a four-line revision table above the company, project, title and approval fields.
Text size
2.5 mm for labels and notes, 3.5 mm and 5 mm for headings.
Linetype scale
1, so dashes are sized for plotting at 1:1.
Plot style
None set. Pick the CTB from the ZIP in the page setup for black-and-white plots.

Level control logic

Title block fields

The attributes of the title block. Double-click it to fill them in, or write them for a whole set of drawings with BlockSync.

AttributeField on the sheetValue in this sample
COMPANYCOMPANYCADXChange
PROJECTPROJECTPump Station Control
AREAAREAPump station
SYSTEMSYSTEM24 V DC
CLIENTCLIENTSample
TITLEDRAWING TITLELevel control logic diagram
DRAWING_NODRAWING NO.E-401
CONTRACT_NOCONTRACT NO.—
REVREVA
DRAWNDRAWN—
CHECKEDCHECKED—
APPROVEDAPPROVED—
DATEDATE2026-10-21
SCALESCALENTS
SHEETSHEET1
SHEET_OFOF1

Revision table: R1 to R4, each with REV, DATE, DESCRIPTION and BY (16 attributes, empty in this sample).

Blocks in the drawing

The equipment list of the drawing: block name, symbol and how many times it is placed. BlockSync exports the same list from your own drawings.

SymbolBlockPlaced
RS bistableLGC_S01659_RS_BISTABLE2
AND elementLGB_S01567_AND_ELEMENT2
OR elementLGB_S01566_OR_ELEMENT1
NegatorLGB_S01576_NEGATOR1
Exclusive-OR elementLGB_S01574_EXCLUSIVE_OR_ELEMENT1
Monostable, non-retriggerLGC_S01675_MONOSTABLE_NON_RETRIGGER1
Counter, decadeLGD_S01703_COUNTER_DECADE1

Equipment schedule

One row per placed symbol, read from the attributes of the blocks in the drawing: what is shown on the sheet, and the schedule attributes that were filled in but are not shown. BlockSync exports these same attributes from your own drawings.

TagDescriptionShown on the sheetFilled in, not shown
RS1RS bistableLGC_S01659_RS_BISTABLEFUNCTION = Level latch: set at high level, reset at low levelSTD_CLAUSE = IEC 60617-12 12-42-01STD_REF = S01659
A1AND elementLGB_S01567_AND_ELEMENTFUNCTION = Auto start requestSTD_CLAUSE = IEC 60617-12 12-27-02STD_REF = S01567
O1OR elementLGB_S01566_OR_ELEMENTFUNCTION = Start request, auto or manualSTD_CLAUSE = IEC 60617-12 12-27-01STD_REF = S01566
N1NegatorLGB_S01576_NEGATORFUNCTION = Overload inverted, healthySTD_CLAUSE = IEC 60617-12 12-27-11STD_REF = S01576
A2AND elementLGB_S01567_AND_ELEMENTFUNCTION = Run commandSTD_CLAUSE = IEC 60617-12 12-27-02STD_REF = S01567
X1Exclusive-OR elementLGB_S01574_EXCLUSIVE_OR_ELEMENTFUNCTION = Command and feedback differSTD_CLAUSE = IEC 60617-12 12-27-09STD_REF = S01574
T1Monostable, non-retriggerLGC_S01675_MONOSTABLE_NON_RETRIGGERFUNCTION = Mismatch longer than 10 sSTD_CLAUSE = IEC 60617-12 12-44-02STD_REF = S01675
RS2RS bistableLGC_S01659_RS_BISTABLEFUNCTION = Alarm latch, reset by acknowledgeSTD_CLAUSE = IEC 60617-12 12-42-01STD_REF = S01659
C1Counter, decadeLGD_S01703_COUNTER_DECADEFUNCTION = Pump starts per daySTD_CLAUSE = IEC 60617-12 12-49-16STD_REF = S01703

Manufacturer, model and remarks are left empty on every block, ready for your data. The values are examples.

PLC I/O wiring

Title block fields

The attributes of the title block. Double-click it to fill them in, or write them for a whole set of drawings with BlockSync.

AttributeField on the sheetValue in this sample
COMPANYCOMPANYCADXChange
PROJECTPROJECTPump Station Control
AREAAREAPump station
SYSTEMSYSTEM24 V DC
CLIENTCLIENTSample
TITLEDRAWING TITLEPLC input and output wiring
DRAWING_NODRAWING NO.E-402
CONTRACT_NOCONTRACT NO.—
REVREVA
DRAWNDRAWN—
CHECKEDCHECKED—
APPROVEDAPPROVED—
DATEDATE2026-10-21
SCALESCALENTS
SHEETSHEET1
SHEET_OFOF1

Revision table: R1 to R4, each with REV, DATE, DESCRIPTION and BY (16 attributes, empty in this sample).

Blocks in the drawing

The equipment list of the drawing: block name, symbol and how many times it is placed. BlockSync exports the same list from your own drawings.

SymbolBlockPlaced
Normally closed contact to inputPLC_FIELD_CONTACT_NC2
Pilot lamp from outputPLC_FIELD_LAMP2
Transmitter, 2-wire 4-20 mA loop to analog inputPLC_FIELD_4_20MA_2WIRE2
Digital input module, 8 channelsPLC_MOD_DI81
Emergency stop (normally closed) to inputPLC_FIELD_ESTOP1
Pushbutton (normally open) to inputPLC_FIELD_PUSHBUTTON1
Digital output module, 8 relay outputsPLC_MOD_DO8_RELAY1
Relay or contactor coil from outputPLC_FIELD_COIL1
Solenoid valve from outputPLC_FIELD_SOLENOID1
Analog input module, 4 channels (4-20 mA / 0-10 V)PLC_MOD_AI41
Power supply module, 24 VDCPLC_MOD_PSU1
CPU modulePLC_MOD_CPU1

Equipment schedule

One row per placed symbol, read from the attributes of the blocks in the drawing: what is shown on the sheet, and the schedule attributes that were filled in but are not shown. BlockSync exports these same attributes from your own drawings.

TagDescriptionShown on the sheetFilled in, not shown
1Digital input module, 8 channelsPLC_MOD_DI8MODULE_TYPE = Digital inputADDRESS_START = I0.0CHANNELS = 8SIGNAL = 24 V DC
SB1Emergency stop (normally closed) to inputPLC_FIELD_ESTOPADDRESS = I0.0DESCRIPTION = Emergency stop, normally closedCABLE = 2x0.75 mm2
SB2Normally closed contact to inputPLC_FIELD_CONTACT_NCADDRESS = I0.1DESCRIPTION = Stop, normally closedCABLE = 2x0.75 mm2
SB3Pushbutton (normally open) to inputPLC_FIELD_PUSHBUTTONADDRESS = I0.2DESCRIPTION = Start, normally openCABLE = 2x0.75 mm2
FR1Normally closed contact to inputPLC_FIELD_CONTACT_NCADDRESS = I0.3DESCRIPTION = Pump overload, normally closedCABLE = 2x0.75 mm2
2Digital output module, 8 relay outputsPLC_MOD_DO8_RELAYMODULE_TYPE = Digital output, relayADDRESS_START = Q0.0CHANNELS = 8SIGNAL = 24 V DC, 2 A
KM1Relay or contactor coil from outputPLC_FIELD_COILADDRESS = Q0.4DESCRIPTION = Pump contactor coilCABLE = 2x0.75 mm2
HL1Pilot lamp from outputPLC_FIELD_LAMPADDRESS = Q0.5DESCRIPTION = Run lamp, greenCABLE = 2x0.75 mm2
HL2Pilot lamp from outputPLC_FIELD_LAMPADDRESS = Q0.6DESCRIPTION = Alarm lamp, redCABLE = 2x0.75 mm2
YV1Solenoid valve from outputPLC_FIELD_SOLENOIDADDRESS = Q0.7DESCRIPTION = Inlet valve solenoidCABLE = 2x0.75 mm2
3Analog input module, 4 channels (4-20 mA / 0-10 V)PLC_MOD_AI4MODULE_TYPE = Analogue inputADDRESS_START = IW0CHANNELS = 4SIGNAL = 4-20 mA
PT101Transmitter, 2-wire 4-20 mA loop to analog inputPLC_FIELD_4_20MA_2WIREADDRESS = IW0DESCRIPTION = Discharge pressure transmitterCABLE = 2x0.75 mm2, shielded
LT101Transmitter, 2-wire 4-20 mA loop to analog inputPLC_FIELD_4_20MA_2WIREADDRESS = IW1DESCRIPTION = Wet well level transmitterCABLE = 2x0.75 mm2, shielded
PSPower supply module, 24 VDCPLC_MOD_PSUINPUT = 230 V ACOUTPUT = 24 V DC, 10 A
0CPU modulePLC_MOD_CPUMODULE_TYPE = CPU

Manufacturer, model and remarks are left empty on every block, ready for your data. The values are examples.

How to use it

  1. Open the sample drawing to see how layers, text and the title block are used, or open it in the browser first, nothing to install.
  2. Start your own drawing from the template (NEW, then pick the DWT file). Copy the CTB file to your plot styles folder if you want black-and-white plots.
  3. Insert blocks from the symbol library into your drawing. The blocks in the sample are copies; they do not change when a library changes.
  4. Double-click the title block to fill it in, then export the equipment list with BlockSync.

Frequently asked questions

Can I use the drawing for a real project?
As a starting point for layout and layers, yes. The ratings, settings and cable sizes are made up, so the diagram has to be checked and changed for your project before it is used for design or construction.
Why are the layers coloured?
Colours and line weights follow the layers: power circuits are red and heavy, control is cyan, signal is green. The plot style table in the ZIP prints everything black and keeps the line weights, so you can plot in black and white as well.
Which CAD programs open it?
The drawing and the template are in AutoCAD 2018 format, which AutoCAD 2018 and later open, and so do other CAD programs that read this format. The browser viewer needs nothing installed.