Symbol Library — the Symbol Control
The 16 symbols are drawn in code, so their types are fixed. When you need more symbols, place a Symbol control and choose a picture from the symbol library. Each symbol is a pair of an SVG picture + a definition file (*.symbol.json). The definition file holds the ports, state colors, animations, fill and theme colors, so the symbol behaves exactly like the other Mimic symbols.
Bundled packs
| Pack | Symbols | Contents |
|---|---|---|
| Basic Symbols (Basic) | 42 | Valves (8) · instruments (12) · pumps (3) · tanks (3) · rotating equipment (4) · heat exchange/filters (3) · electrical (4) · indicators (3) · piping (2) |
| ISA-5.1 Instrument Symbols | 840 | Circle (field, panel, behind panel, local panel) · DCS · computer · PLC bubbles × 8 measured variables × 15 functions. Categories are per measured variable (ISA-Pressure, ISA-Temperature …) |
The bundled ISA pack covers 8 measured variables — P (pressure) · T (temperature) · F (flow) · L (level) · A (analysis) · S (speed) · W (weight) · Z (position) — and 15 functions — E · T · I · IT · IC · IR · R · RC · C · S · SH · SL · AH · AL · Y. For other combinations, create them with the ISA-5.1 generator below.
- The bundled packs are in
<QMS install folder>\Symbols\. - Project packs — A pack placed in
<project>\Symbols\<pack>\is recognized automatically when the project opens. If a symbol with the same id exists, the project pack takes priority over the bundled pack. - What a symbol can do : state A/B colors (including alarm blinking) · rotation and back-and-forth movement animations · filling up to
Value(tank level) · snapping to pipe ports · matching dark theme colors.
Caution Project packs are not included in "Project Update" when you deploy. Project Update in the Deployment Package Builder does not copy the project's
Symbolsfolder. If you created or changed a project pack, deploy with Project Full, or copy theSymbolsfolder directly into the project folder on the machine PC. Otherwise the symbol's place shows ? and the symbol id. (Deployment Package Builder)
Choosing a symbol — the Symbol Library window
- Place a
Symbolfrom the ToolBox Mimic group on the screen. No symbol is chosen yet, so it shows ?. - Click
[...]ofSymbolIdin the Property Editor to open the Symbol Library window. - Find a symbol through the categories on the left or the search box at the top, then double-click its thumbnail, or select it and click OK.
| Element | What it does |
|---|---|
| Search : | Searches ids, categories, names (Korean/English) and keywords (e.g. gate, 압력, PT) |
| Pack : | Filters by pack. Project packs have [P] after their name |
⟳ | Refresh — rereads the pack folders after they were changed outside QMS |
| Category | Categories such as valves and pumps. Below * (all) at the top are ★ Favorites and ⏱ Recent |
| Detail | Shows the chosen symbol's size, ports, states, animations, fill, theme support, pack and TagPrefix binding template. Click ☆ to add it to or remove it from the favorites |
L mark on a thumbnail | A light-theme-only symbol without color tokens (its colors may not suit the dark theme) |
| New... · Edit... | Creates a new symbol or edits the selected one in the Symbol Editor — see "Creating and editing symbols" below |
| Delete | Deletes symbols of project packs only (bundled packs are not deleted) |
| Packs... | Pack validation, thumbnails, export/import and the ISA-5.1 generator — see "Pack management and the ISA-5.1 generator" below |
The favorites and recent lists are stored not in the project but in this PC's user settings (%LOCALAPPDATA%\QMachineStudio\SymbolBrowser.json).
Examples of bundled symbol ids : basic.valve.gate (gate valve) · basic.pump.centrifugal (centrifugal pump) · basic.tank.vertical (vertical tank) · isa.circle.none.PT (field pressure transmitter).
TagPrefix — connecting everything through a naming rule
A symbol definition contains binding templates. Type just a prefix into TagPrefix and the prefix fills the {P} part of the templates, connecting DataNameStateA, DataNameStateB and ValueDataName automatically. If each piece of equipment follows a variable naming rule (M3_Run, M3_Alarm …), you only place the symbol and type one prefix.
| Symbol (bundled pack example) | Binding template (A / B / V) | Names connected when TagPrefix = M3 |
|---|---|---|
| Centrifugal pump · motor | {P}_Run / {P}_Alarm / {P}_Speed | M3_Run · M3_Alarm · M3_Speed |
| Valve | {P}_Open / {P}_Alarm / — | M3_Open · M3_Alarm |
| Tank | — / {P}_Alarm / {P}_Level | M3_Alarm · M3_Level |
| ISA instrument symbol | {P}_OK / {P}_Alarm / — | M3_OK · M3_Alarm |
- A name you set directly always wins. If you type
DataNameStateAor the like in the Property Editor, that field does not use the template. - The prefix is attached literally —
Data::M3givesData::M3_Run(module variable), andTAG.M3givesTAG.M3_Run(tag). - Write a template like
IO.{P}_Runto read an IO. The value (V) does not accept IOs. - The Property Editor shows only the prefix, not the connected names. See the template in the Detail pane of the Symbol Library window; see the actual connected names by turning on
ShowToolTipand hovering on the run screen, for example[M3] A=M3_Run B=M3_Alarm. - Templates are set in the TagPrefix
{P}: fields (A/B/V) of the Symbol Editor. In the bundled packs, 40 of the 42 basic symbols and all 840 ISA symbols have templates.
Creating and editing symbols — the Symbol Editor
Open the Symbol Editor with New... or Edit... in the Symbol Library window. Import an SVG, click to place ports, choose the targets for state, animation and fill, and save — the symbol goes into a project pack.
| Item | What it does |
|---|---|
SVG file : ... | Selects the picture file. Use only basic shapes such as path, rect and circle, and give an id to the elements that will be state, animation or fill targets |
| Pack · Symbol ID · Name (kor/eng) · Category · Keywords | The project pack to save to and the symbol information. Typing a new name in the pack field creates a new project pack. The symbol ID is saved in screen files, so do not change it once set |
| Default size · Lock aspect | The size of the drawing area, and whether to keep the ratio when the control is resized |
TagPrefix {P} : A / B / V | Binding templates (see "TagPrefix" above) |
| Color tokens | Pairs SVG colors with theme colors ($Outline · $Body · $Fluid …) so the symbol also suits the dark theme |
| Elements (with id only) | For each element set a State layer (state color — Stroke only, Blink on alarm), an Animation (rotate / translate back and forth, cycle (s), condition StateA · StateB · Always, CCW) and Fill (Value) (direction — fills up to the value, like a tank level). A whole-symbol state ring with no target is also available |
| Ports | Click the preview to add a port and drag to move it (it snaps to the nearest edge; Shift = free position). Change its name and direction, or Delete port |
| Buttons above the preview | Dark background · Animate · state -/A/B · fill — check the behavior before saving |
Saving writes the SVG and symbol.json to <project>\Symbols\<pack>\ and reloads the library. Editing a bundled-pack symbol leaves the original untouched and saves a copy in a project pack (the same id, so the project copy takes priority).
Pack management and the ISA-5.1 generator
Packs... in the Symbol Library window opens the Symbol Packs window. Choose a pack in the list on the left and use the buttons below.
| Button | What it does |
|---|---|
| Validate | Checks the pack. Errors : missing SVG or drawing failure, a target id missing from the SVG, an empty license field in pack.json. Warnings : unsupported SVG elements (filters, masks, gradients and so on), no color tokens (light only), no ports, an id duplicated in another pack, no display name |
| Build thumbnails | Creates PNG thumbnails in the pack's _thumbs folder so the Symbol Library window opens quickly |
| Export (.qsympack) | Bundles the pack into one .qsympack file (zip) to move it to another PC or project |
| Import to : · Import... | Unpacks a .qsympack into a Project pack or Built-in (QMS). If the same pack folder exists, it is deleted and overwritten |
| ISA-5.1 generator... | Opens the generator below |
ISA-5.1 Instrument Symbol Generator
An instrument symbol is a combination of shape × mounting-location line × letters (measured variable + function). Pick only the combinations you need and create them in a project pack in one go.
| What you choose | Options |
|---|---|
| Shape (instrument type) | Circle - discrete instrument · Circle in square - DCS / shared display · Hexagon - computer function · Diamond in square - PLC |
| Line (mounting location) | None - field · Solid - main panel · Dashed - behind panel · Double - local panel · Double dashed - behind local panel |
| Measured variable (first letter) · Function (following letters) | Pick from the lists (e.g. P pressure + T transmitter → PT). * selects all, - clears all |
| Target pack · Overwrite existing | The project pack to create (default ISA) and whether to overwrite symbols with the same id. The number of symbols to be created is shown in advance |
The letters available in the generator are:
| Kind | Letters |
|---|---|
| Measured variable (20) | P Pressure · T Temperature · F Flow · L Level · A Analysis · S Speed · W Weight · Z Position · V Vibration · H Hand · Q Quantity · M Moisture · E Voltage · I Current · J Power · K Time · D Density · C Conductivity · B Burner/Combustion · R Radiation |
| Function (25) | E Element · T Transmitter · I Indicator · IT Indicating Transmitter · IC Indicating Controller · IR Indicating Recorder · R Recorder · RC Recording Controller · C Controller · CV Control Valve · S Switch · SH High Switch · SL Low Switch · SHH High-High Switch · SLL Low-Low Switch · A Alarm · AH High Alarm · AL Low Alarm · AHH High-High Alarm · ALL Low-Low Alarm · Y Relay/Compute · Q Totalizer · G Gauge/Glass · V Valve · Z Actuator/Driver |
The id of a generated symbol is isa.<shape>.<line>.<letters>. The shape is written as circle · dcs · pc · plc and the line as none · solid · dashed · double · ddashed (e.g. isa.circle.none.PT in the bundled pack — a field pressure transmitter). No content of the standard document is included; only the combination rules of ISA-5.1 are used.