Skip to content
ispyisail edited this page Nov 26, 2026 · 1 revision

Device types: what a device is made of

A device type says what a kind of device is made of. A contactor CONTR10 is a coil (pins A1 A2), three power contacts (1-2, 3-4, 5-6) and a normally open auxiliary contact (13 14). Once a device has a type, QElectroTech can tell you which parts you have not drawn yet, place them for you, give each symbol its terminal names and refuse a contact the device has no room for.

Everything on this page is optional. A project with no device types is saved exactly as before, and an older QElectroTech leaves the device type block of a project alone.

Task Section
Understand what a type holds and where it is kept 1
Make, edit, copy and list device types 2
Give a device its type 3
Find the parts of a device not drawn yet 4
See and place free parts in the Device Navigator 5
Place the parts right after the head 6
Keep contacts to what the type has 7
Change the type of a device that needs more contacts 8
Give a type to the parts of a materials list 9

1. What a device type is

A type has a name, a description, and a list of parts. Each row of the parts list is one way to draw a part:

Column Meaning
Part the part number inside the type. Rows with the same number are different ways to draw one part, such as one contact drawn as NO, NC or changeover.
Role Master, Slave, Simple or Terminal
Kind Coil, Protection, Commutator, PLC, Simple contact, Power contact, Delay on, Delay off, Delay on and off
State NO, NC or Changeover
Symbol the symbol (from a collection) that draws this part
Pins the terminal names of the symbol, such as 13 14

A type can also give information to the symbols of its devices (the Given to the symbols of its devices table of the editor).

Where it is kept, much like title block templates:

  • In the project: a block of the project file, written only when the project has a type. A .qetdb file keeps it with its project settings.
  • In your library: one .qetdt file per type, in the devicetypes folder of the QElectroTech configuration folder.

A device names its type in its Device type information. The element's Model stays the manufacturer's model.

Added in #1884.


2. The device types window

Project > Device types... (needs an open project) shows two tabs, This project and Your library. Columns: Name, Description, Parts, and in the project tab Symbols (how many symbols use the type).

The Device types window, tab This project, listing the types CONTR10, PROT1 and RELAY2 with their description, number of parts and number of symbols; CONTR10 is selected

Button Does
New... opens the editor on an empty type
Duplicate... makes a copy under another name
Edit... opens the editor
Delete removes the type. The library asks first.
Copy to your library / Copy to the project copies the selected type to the other tab
Export list saves the types of the tab as CSV: Full list (every part and its terminals)... or Brief list (name and description)... (the file also counts the symbols using each type)

A change to the project's types is one undo step. The library is a folder of files, so it is not undone.

The editor (window Device type) has Name:, Description:, the table of information given to the symbols (Add, Remove) and the Parts table with the buttons Add a part, Add a way to draw it, Remove, Up, Down and Choose the symbol.... Choose the symbol... fills the Pins of the row with the terminal names of the symbol.

The Device type editor for CONTR10: a coil with pins A1 A2, three power contacts NO with pins 1 2, 3 4 and 5 6, and a simple NO contact with pins 13 14

The editor refuses a type that:

  • has no name, or a name already taken;
  • has no part;
  • names a part with no role;
  • names a symbol it cannot find;
  • has another number of pins than the symbol has terminals.

An existing type keeps its name, because its devices give that name. Use Duplicate... to make a copy under another.

The brief list is also written by the command line (see section 10). The exported descriptions are in the language the window shows; the command line writes English.

Added in #1884, #1888, #1893, #1906.


3. Giving a device its type

There are four ways, from manual to automatic.

On the Parts tab. The Parts tab of a symbol (see Symbols and parts) has a Device type field. It offers the project's types and those of your library. Under it a line says what the type is made of, for example CONTACTOR: 2 of 3 part(s) drawn, and lists the Not drawn: parts. A type from your library is copied into the project when the field is applied, in the same undo step.

From the materials list. A materials list may have a device_type column. Picking a part from the list then brings its type. A part without one leaves the device's type alone. See section 9 to fill the column.

When a master is placed. With Follow device types on, placing a master symbol (a coil, a motor protection) asks Which device type is this device? The list shows the types whose head the symbol can draw: the ones chosen lately first, then the project's, then your library's. Show every device type, not only those this symbol can draw lists all of them. The filter box narrows the list, and * stands for any characters. Choosing is one undo step. Cancel leaves the symbol without a type.

When a symbol is placed with its label and part. See Symbols and parts.

Setting a symbol from its type. On the Parts tab, Set this symbol from the device type... asks which part of the type this symbol draws. You choose to keep the symbol's drawing or take the type's. The symbol then gets that part's terminal names and state. Wires stay connected by terminal name. A type may name a symbol from your collections; drawing it copies the symbol into the project (import/devicetypes), as placing any collection symbol does.

Added in #1884, #1886, #1887, #1891.


4. Check device types

Project > Check device types... lists, for each device whose Device type names a type:

  • the parts of the type not drawn;
  • the symbols beyond the type (more than the type has);
  • pins drawn twice, pins the type does not have, and terminals drawn without a pin name;
  • contacts linked to no master: those naming a device type, or all of them when the project follows device types;
  • masters with more contacts linked than their type has.

The columns are Device / part, Device type, Sheet and Position. Tick Also list the complete devices to see them too. A click shows the symbol on its folio. Refresh reads the project again. Folios not built yet are read as well. The terminals of a strip (X1:1, X1:2...) are checked one by one against their own types. A summary line counts complete and incomplete devices, too many contacts and unlinked contacts.

A device here is the symbols one reference designation names, as in the device list: a master with the symbols linked to it, plus the symbols of the same designation that nothing links.

The Check device types window: seven devices with parts not drawn, two of them expanded to list Not drawn: power NO 1 2, 3 4, 5 6 and simple NO 23 24

Placing a missing part. Select a part that is not drawn and double-click it, or press Place on the current folio. The symbol follows the mouse until you click. It takes the part's terminal names and is linked to the device's head when placed, in one undo step. PLC points are not placed from here; use the PLC Manager.

Added in #1885, #1887, #1893, #1906.


5. The Device Navigator

The Device Navigator is a dock window on the left, beside the Projects panel. Show or hide it with Display > Device Navigator. It shows every device of the project once, however many folios its symbols are on: coil, power contacts, auxiliary contacts, terminals, cables and cabinet placements under one tag.

  • The Tree tab groups devices by plant and location (=Plant +Location). Devices with none go under No structure identifier.
  • The List tab is a searchable table with the columns Device tag, Function / Description, Terminals, Structure (Plant / Location), Folio, Position and Type.
  • The search box (Search device, function, folio...) filters both.
  • Double-click a part to open its folio and select the symbol.
  • The tree keeps its expanded groups and selection when the project changes.

Filters. The ... button (Configure filters...) opens Configure Filters. A scheme is a named set of filters, kept in your settings. You make one with New... and remove it with Delete. A filter can limit by:

Filter Meaning
Device tag prefixes comma-separated letters such as K, Q, F, with quick boxes for -K, -F, -Q, -X, -W, -M, -B and -P, -H
Custom pattern wildcards such as *Pump* or -K[1-9]
Element types masters, slaves, terminals, cables, folio reports, conductor definitions, cabinet layout, other devices
Structure all structures, with a structure identifier only, without one only, or structure containing a text such as 010 or A1

Folio reports and conductor definitions are hidden by default.

Free parts. Under a device that has a device type, the parts not drawn yet follow its symbols in italics, for example free: contact NO 13 14. Double-click one, or use Place on the current folio, to place it as the check does.

The Device Navigator filtered by Devices with free parts: devices 10K1, 10K2, 11K1 and 11K2 with their coil and contact, and the free parts in italics, such as free: power NO 1 2 Once placed it is listed with its folio. If you delete it, it is free again. PLC points and parts with no symbol are greyed out with the reason. A linked contact without its own label is listed under its master's device instead of <unnamed>.

The filter has the box Only devices with free parts, and there is a default scheme called Devices with free parts. Saved schemes are unchanged. Devices without a type look as before.

A project with folios not built yet lists no free parts.

Added in #1766, #1921.


6. Placing the parts after the head

In Settings > Configure QElectroTech > General > Mouse and input, group Drawing and moving, the box After placing a device's head, ask how to place the parts of its device type is off by default. When on, placing the head of a device with a type asks how to go on with its parts not drawn yet:

Choice Does
One by one each part follows the mouse until a click, then the next. Escape stops; the rest stay free.
All side by side places them in a row on the grid to the right of the head, linked, as one undo step. Move them where they belong afterwards.
Not now leaves them free; the Device Navigator lists them.

Parts are placed as the check does, in their first way to be drawn. PLC points are left out. One by one stays on the head's folio.

Added in #1930.


7. Follow device types when placing and linking

Project properties > General > Follow device types when placing and linking. Off by default, and saved only when on. When on:

  • A master placed is asked its device type (section 3).
  • A contact can be linked only to a master whose type has a free contact of that kind (NO, NC...). Otherwise the link is refused with a message. A master whose contacts are all linked is full, and the link dialogs stop offering it.
  • A contact just linked takes the terminals of the next free part of the type (13 14, then 23 24...) and keeps its drawing, as one undo step with the link.

Added in #1890, #1891.


8. Changing a device's type

A relay that needs one more contact takes a bigger type. On the Parts tab, Change the device type... (shown only on a device whose type the project has) asks for the new type and then Copy the existing contacts to the new device type automatically?

  • Yes: each symbol takes a free part of the new type like the one it draws now (same role, kind and state).
  • No: the window Change the device type to ... lists each symbol with the Part of the new type it will draw, the automatic choice first. Change them one by one. A symbol the new type has no part for shows Beyond the type and stays as it is.

Each symbol takes its new part's terminal names and keeps its drawing. The whole change is one undo step, and a library type is copied into the project. If the materials list gives the device's part number another device type, QElectroTech asks before changing it.

Added in #1892.


9. Parts without a device type

A part's type is what gives its symbol the right terminal names. A materials list brought in from elsewhere rarely says which type each part is. Project > Parts without a device type... lists the parts of the materials list that have none, the ones the project uses first, with the type their devices show now.

  • Pick a type for a part. It is saved once, for that part, in the materials list.
  • Optionally apply it to the project's symbols that have that part and no type, as one undo step.
  • For a device written A+B, the type goes to the main part A, not the accessory B.

Added in #1942.


10. Command line

qelectrotech --check-device-types        <project.qet> <output.csv>
qelectrotech --export-device-types       <project.qet> <output.csv>
qelectrotech --export-device-types-brief <project.qet> <output.csv>
Option Writes
--check-device-types the same rows as the check window. The last column extra counts contacts beyond the type; an unlinked row is written for each contact without its device.
--export-device-types the full list: every part of each type, with its symbol and terminals
--export-device-types-brief name, description and how many symbols use each type

Added in #1885, #1893.


Limits

  • The command line lists are always in English.
  • A loose contact that has its device's label still counts toward that device in the check.
  • Placing from the check or navigator leaves out PLC points and parts for which the project has no symbol.

Fixed along the way

  • Device types you deleted came back when the project was saved again. The same fault kept potential types and the cell origin corner from returning to their default (#1908).
  • The check reported "2 contacts more than the device type has" on a complete relay when the type gave its contacts a role other than slave (#1906).
  • The parts list view of the project database had the device_type column twice, which showed up in SELECT * from scripts, --query and the MCP tools (#1932).

See also

Checked against build b49ce16c4 on 2026-11-27 (by hand: the screenshots and menu paths in the sections added on 2026-11-27 were taken on that build; the other details of those sections read from source).

Getting Started

Home

🌐 Languages β€” English Β· FranΓ§ais Β· Deutsch

Downloads

Windows without admin rights β€” the portable archive, no installer

Quick Start Guide

User Manual

FAQ

Tips & Tricks

Guides

Conductors β€” wire properties, what feeds which export, cables, and hops where wires cross

Wires per terminal β€” limit the wires on a terminal, chain wiring instead of stars

Printing and exporting β€” paper, PDF, images, and what each path does differently

Linking elements β€” master, slave, terminal

PLC modules β€” I/O tables and linking a wire to a specific point

Using the element editor β€” drawing tools, saving, checks

Generic devices β€” a quick box symbol with terminals on any side, made by a wizard

Grid size and element size β€” why symbols aren't all the same scale, and scaling one without leaving the grid

Preferences reference β€” what each settings page does

Saving and loading settings β€” your whole setup in one file, to copy or keep

Keyboard-only control β€” mouseless QET, and what still needs a mouse

Mouse modifiers β€” what Shift, Ctrl and Alt change while you drag

3D mouse β€” SpaceMouse pan, zoom and buttons

Aligning items β€” snap symbols back to the grid, or line them up

Drawing aids β€” dark mode, snap and grid step, crosshair, dimensions, the tape measure

Symbols already on the sheet β€” select the same symbols, replace them, show a T-junction as a dot, update placed copies from the collections

Symbol texts β€” place the texts at nine points, fixed or free size, format painter, title block cells, GOST ESKD, %T

Wiring tools β€” automatic connections, the Connections toolbar, chained folio reports, a cable across wires

Symbols and parts β€” edit several symbols, relay contact display, grouped parts list

Device types β€” what a device is made of: check, place and change its parts, Device Navigator

Project languages and checks β€” languages in a project, cell origin, duplicate labels, the Check panel

Reports and lists β€” project lists to CSV/PDF, tables on a folio, label-printer export, symbol list

Pictures on a sheet β€” labels, crop, transparency, what they cost in the file

Arcs and curved wires β€” the Arc tool, pulling an arc in or out, rounding a corner with a fillet, dashed arcs for lighting layouts

Grouping items β€” select, move and copy several items as one

Finding your place on a sheet β€” go to a cell like B13 or 4-B7, keep the headers in sight, show the cell limits, zoom and pan

Showing and hiding kinds of items β€” hide texts, wire numbers, shapes, pictures, tables or cross-references on every sheet

Drawing faster β€” place without dragging, the S shortcut bar, command search, gestures

Customising QElectroTech β€” keys, toolbar size and contents, the gesture ring

Managing collections β€” folders, writability, building your own shortlist

Templates β€” reusable multi-element blocks, placed by double-click or drag

Search & Replace β€” bulk property changes

Building a nomenclature query β€” the BOM/summary table builder

Formula columns β€” build a calculated column in a parts list without writing SQL

Linking wires across pages β€” sheet reports

Variables & formulas β€” %f, %{label}, sequences

Auto-numbering β€” schemes, sequences, freezing

Terminal strips β€” strips, levels, bridges

Connectors β€” plugs and sockets as terminal strips or head-with-pins devices, device types, pin check, spare-pin plans

Title block templates β€” the .titleblock format

Title block alignment β€” place a title block inside or outside the sheet, left, centred or right

Plants and locations β€” list, rename, copy a plant, suggestions

Designations and structure boxes β€” IEC 81346 names, structure boxes, ==/++ levels, folio groups, company prefixes

Revisions, document kinds and drawing standard β€” revision list and table, IEC 61355 document kind, project standard

Importing EPLAN parts (.edz) β€” EPLAN Data Portal

DXF import & export β€” two unrelated features, one format; command-line export and layers

Project files β€” .qetz (zipped, the default) and .qet, what is inside, opening big projects faster, starting from a template

The one-file project, .qetdb β€” history of saves, repair, --query over many projects

Saving safely β€” previous versions, a project open elsewhere, damaged files, crash recovery

The project database β€” the working SQLite database built when a project opens

File formats
Elements XML
Project XML
Development

Building from Source

Contributing Code

Code style β€” the QET house style for C++, and formatting only the lines you change

Fix or add with an AI assistant β€” beginner build setup and a prompt that does the work

Check your change: qet-verify β€” run it before every pull request

Posting with an AI assistant β€” short, plain pull requests and replies

Translate with an AI assistant β€” draft the interface in your language, check it, send it

Making a how-to video β€” a short feature video from a checked story

Writing wiki pages with an AI assistant β€” the rules, and a checker to run before you push

Automating QET β€” CLI, XML formats, external tools

CLI Reference β€” command line usage

JavaScript Scripting β€” --run, geometry editing, undo

MCP server β€” let an AI assistant read, verify and edit projects

Connecting an AI assistant β€” setup for Claude, Copilot, Gemini, Codex, Cursor, LM Studio

Script buttons β€” stored scripts with an icon, by hand or by an assistant

Live mode β€” an assistant working in the open project while you watch

Macro recorder β€” record a task by hand, for an assistant to script

Development Roadmap

Vision β€” proposal, under discussion

Developer Tools

About

Features

History

Community

License

Contributing to this Wiki

Clone this wiki locally