Macros, configurator and table editing
Reuse of circuits as macros with variants and placeholders, pages generated by the configurator, and bulk changes in tables and spreadsheets.
Macros
Save a selection (window macro) or a whole page (page macro) into a macro
library (stored with the application, JSON import / export). Window macros are placed
with the mouse (ghost preview, devices get new tags), page macros insert a page.
Copied macros carry custom symbol definitions, device assignments and referenced
catalog parts. Previews resolve those bundled definitions before insertion. Inserting
into another project preserves existing catalog entries and local symbol edits.
Placeholders such as {MOTOR} in tags, texts, function texts and designations are
filled from value sets when inserting. Variants: a macro can hold the same
function in several versions (A, B, … – e.g. direct on line and star-delta); save a
selection under the name of an existing macro with another variant, choose the
variant when inserting. Macro boxes: placed window macros remember their macro,
variant, placeholder values and items (dashed frame on screen, View › Macro boxes);
Macros › Macro boxes › Update changed macros replaces the content of boxes whose
macro changed in the library, a box edited on the page is saved back into the
library (command list_macro_boxes, tool update_macro_boxes).
Configurator
Configurator (Project data › Configurator…): options with their choices (e.g.
STARTER = DOL / SD) and rules that insert a page macro in a variant with
placeholder values (NAME=Pump; POWER={POWER}) when their condition holds
(STARTER=DOL & LINE!=2, LINE=1|2). Generate pages replaces the pages generated
before (marked in the page properties, switch off to keep one); option values fill
{OPTION} placeholders; problems (unknown macro, variant or option) stop it.
Editing in tables
Editing in tables (Project data › Edit in table…): devices (tag, function text,
description, part), connections (wire number, colour, cross-section, cable, core),
terminals (strip, number, function text) and the inspection and test report (the
results, one row per circuit; its data and visual inspection, one row per value) as
rows; filter, edit cells in place, fill a
column or find and replace in the filtered rows; CSV export / import for changes in a
spreadsheet (rows by key, only changed cells are applied); rows on released pages
stay unchanged. Renaming a device moves its strip, plug and PLC card data along.
The round trip also works with Excel files (.xlsx: export, change, import);
report tables export as Excel workbooks from the Reports window and with report --format xlsx --path … (bold, frozen header row with filter, numbers as numbers,
codes such as 007 kept as text).