User Manual
Control Module Template – MTR (Motor Control)
A building block for plant-wide automation
Siemens TIA Portal V19–V21: PLC code, program structure, WinCC Unified icon and pop-up


Version
| Version | Date | Initials | Description |
|---|---|---|---|
| 1.0 | 10-10-2025 | SSA | Document created |
| 2.0 | 13-11-2026 | FFP | Complete rewrite: step-by-step guide for TIA Portal V19–V21, new screenshots, updated block parameters |
Abbreviations
| Term | Meaning |
|---|---|
| HMI | Human Machine Interface – the operator panel or PC screen |
| IO | Electrical inputs and outputs of the PLC |
| DIN | Digital input signal, typically 24 V DC |
| AIN | Analog input signal, typically 0–20 mA, 4–20 mA or 0–10 V DC |
| MTR | Motor with a fixed speed, started direct online (contactor) |
| FRQ | Motor with variable speed, controlled by a frequency inverter |
| VLV | Valve or digital output, e.g. a coil that turns equipment on or off |
| PID | Proportional–integral–derivative controller (closed-loop control) |
| UN | Unit – a group of EMs and/or CMs that controls a machine function, e.g. a conveyor section |
| EM | Equipment Module – a group of CMs that controls a machine part, e.g. the hoist motors of a lift |
| CM | Control Module – one electrically controlled device: a motor, valve, input or output |
| SC | Section Local – the shared status and command interface between an EM and its CMs |
| FB / DB | Function block / data block in the PLC |
| UDT | User-defined data type in the PLC |
| FP | Faceplate – the HMI object that shows and controls a CM |
| +MCC | Main control cabinet |
Introduction
CM MTR is the CAPP control module for a motor with a fixed speed, started direct online by one or two contactors (forward and, if used, reverse). It consists of a PLC function block, data types and a WinCC Unified icon with a pop-up. Every motor in the plant uses the same block and the same icon, so all motors look, behave and are diagnosed the same way.
This manual takes you step by step from an empty TIA Portal project to a running, tested motor.
Features
- Quick PLC configuration: one block call per motor.
- Forward and reverse: separate start commands, run feedbacks and interlocks per direction.
- Monitoring: run feedback, thermal overload, service breaker, safety circuit and an optional rotation sensor.
- HMI icon: state colours, state text and symbols for alarm, warning, ignore and manual mode.
- Pop-up: Auto/Manual, Start/Stop (or Jog for testing), Reset, Auto Reset and Ignore; alarm, warning and status overview; delays, run time and start counter.
- Alarm messages: built from PLC text lists – motor name, cause, motor tag and area.
- User access: predefined access levels for the actions in the pop-up.
- Program control: enable or disable alarms per motor, and group control of all motors in a section through SC_Local.
Compatibility
| Item | Version |
|---|---|
| Siemens TIA Portal | V19 to V21 |
| Siemens TIA Unified HMI | V19 to V21 |
| CAPP library | CM_MTR V1.2 (V19 format – upgraded automatically when opened in a newer version) |
User requirements
You should have mid-level experience with TIA Portal: you have set up PLC and HMI projects, run IO tests and troubleshot machines at a professional level. If this does not describe you, we recommend a PLC training course first – contact us to talk about how to get started with the CAPP templates.
Before you start
You need:
- TIA Portal V19 to V21
- TIA Unified HMI V19 to V21
How the CAPP structure works
Read this chapter once before you start. It explains the few rules that the rest of the manual builds on.
Plant hierarchy
A plant is divided into units, a unit into equipment modules, and an equipment module controls a group of control modules. CM MTR is one control module.

Figure 1 – Plant hierarchy
Section Local (SC_Local)
All control modules in one section share one SC_Local interface. Through it, the equipment module sends common commands (for example reset alarms or select the section for operation) and reads back common status (for example alarm, warning or manual mode in any motor of the section).
Example – a tank with a pump (CM MTR), a level transmitter (CM AIN) and a high-pressure switch (CM DIN). The three control modules form one equipment module and share one SC_Local:

Figure 2 – Control modules sharing one SC_Local
In the library, SC_Local is the structure SC in data block P01. The plant-wide counterpart is Plant in data block P00.
🔒 Please log in to continue reading this document.
Reference link to download
- 🔒 CM_MTR_V1.2_20261118_1102_2.zal19 (Login to download)