SIMOTION Scout Tutorial: ST Programming, SIZER, and S120 Drives

David Krause16 min read
Motion ControlSiemensTechnical Reference
Licensed PE Working through this on a live machine? A Maine-licensed engineer can take it from here — included with IMD hardware, by the hour for everything else. Book an engineer

SIMOTION System Architecture Overview

SIMOTION is Siemens' modular motion control system designed for high-dynamic, multi-axis production machinery such as printing presses, packaging lines, converting equipment, and textile machines. Unlike a PLC that handles logic first and motion as a peripheral task, SIMOTION is a true motion controller that treats I/O, logic, and synchronized axis motion as first-class objects. The runtime executes three programming languages side-by-side - ST (Structured Text), MCC (Motion Control Chart), and LAD/FBD - all on the same task system, with deterministic cycle times typically ranging from 1 ms to 4 ms for the IPO (interpolator) and servo tasks.

The platform splits into three controller families:

Family Form Factor Typical Use Max Axes
SIMOTION C PLC-style module (C240, C240 PN) Mid-range machines, drop-in PLC replacement up to 32
SIMOTION D Drive-integrated (D410, D425, D435, D445, D445-1) Tightly coupled SINAMICS S120 control, modular cabinets up to 64
SIMOTION P PC-based (P320, panel PCs) High-axis-count or vision-augmented lines up to 128

All three families compile to the same runtime, which is why a project written in Scout can be deployed to a C240, a D435, or a P320 with only the device assignment changed. This is critical for retrofit work: an existing D435 commissioning on a press line can be cloned and re-flashed to a C240 PN when the cabinet is rebuilt without rewriting application code.

Scout TIA V4.4 Engineering Environment

Scout (SCOUT) V4.4 is the standalone engineering tool - independent of the TIA Portal - that configures hardware, programs in ST/MCC/LAD, and performs online diagnostics. TIA Portal integration is achieved through the Scout TIA add-in and the TIA-SCOUT plug-in for SIMATIC, but Scout itself remains the primary motion engineering tool, even when S7-1500 logic is configured in TIA Portal next door.

Project structure inside a Scout V4.4 project follows a fixed hierarchy:

  1. Device (SIMOTION C/D/P) - hardware target, firmware version, and PROFINET/PROFIBUS interfaces.
  2. Drive assignment - SINAMics S120 components added under the device, including Line Module, Motor Module, and motor/encoder via Drive-CLiQ.
  3. TO (Technology Objects) - Axis, Cam, CamDisc, Following Axis, Synchronous Axis, External Encoder, Path Object, Cam_ext.
  4. Program organization units (POUs) - ST sources, MCC charts, LAD/FBD programs, organized under Execution Levels (BackgroundTask, MotionTask, IPOsynchronousTask, ServoTask, IPO-Task 1/2, Watchdog).
  5. Connections - PROFINET IRT topology, PROFIBUS DP slaves, HMI tags, OPC UA server settings.

Configuration of the SINAMICS S120 follows the same offline/online pattern as STARTER: the topology is assembled under Drive-CliQ (Smart Line Module -> Motor Modules -> motors with DRIVE-CLiQ interface), parameters are pushed offline, and the device is commissioned online. Scout V4.4 also supports topology-based commissioning where the actual physical wiring is read back from the drive and compared to the offline project; mismatches are flagged with a per-component error.

Compatibility note: Scout V4.4 expects SIMOTION runtime V4.4 (or compatible V4.5/V4.6 firmware). Mixing V4.4 Scout with V5.x firmware is not supported. When upgrading, plan the firmware image download with a SIMOTION CF card of sufficient size (2 GB minimum for V4.4 projects with multiple axes).

Structured Text (ST) Programming in Scout

ST in SIMOTION is the IEC 61131-3 language binding, very close to the same ST used in CODESYS-based controllers. SCL in the S7-300/400/1500 world is a Siemens-specific name for an ST dialect. STL (Statement List) is the Siemens dialect of IEC 61131-3 IL (Instruction List). SCL and ST are functionally very close; STL has no direct equivalent in SIMOTION, and any IL-style logic must be ported to ST or MCC when migrating.

Typical ST unit in SIMOTION - a unit is the compilation container that holds programs, function blocks, functions, and data types:

UNIT PressControl;
INTERFACE
  PROGRAM Main;
END_INTERFACE

IMPLEMENTATION
  PROGRAM Main
    VAR
      fWebSpeed    : LREAL;     // m/min master speed setpoint
      bRun         : BOOL;      // line run permit
      fTorqueLimit : LREAL;     // Nm cap per drive
    END_VAR
    
    // Read operator setpoint from HMI tag
    fWebSpeed := gp_axMaster.SetpointSpeed;
    
    // Enable drive only when guards are satisfied
    IF bRun AND (fWebSpeed > 0.0) THEN
      _enableAxis := TRUE;
    ELSE
      _enableAxis := FALSE;
    END_IF;
    
    // Apply torque limit cyclically
    Axis1.TorqueLimit := fTorqueLimit;
  END_PROGRAM
END_IMPLEMENTATION

System functions are exposed as _-prefixed function calls (for example, _enableAxis, _pos, _velocity, _cam) and as method calls on the technology objects (e.g. Axis1._enable(), Cam1._enable()). The Scout editor highlights unknown function names and inserts the correct import directive on confirmation, so unlearning an API is largely a problem of typing accuracy rather than remembering include files.

For control engineers fluent in SCL, the transition is essentially zero. Two semantic differences to internalize:

  • SIMOTION ST runs on a deterministic task system. Writing to a drive setpoint from a slow BackgroundTask will not cause a compile error, but the IPO task will sample the value at its own tick and ignore intermediate updates. Always assign motion-relevant variables inside the IPO-synchronous or Servo task.
  • Variables declared in the unit interface (under INTERFACE) are unit-global; variables declared inside a POU are local. This is the opposite convention from SCL where the static section of an FB is implicitly global to instances.

SINAMICS S120 Drive Integration

SINAMICS S120 is the modular drive system that pairs natively with SIMOTION. A typical S120 cabinet section contains three subsystems:

Subsystem Component Function
Infeed Basic Line Module (BLM), Smart Line Module (SLM), Active Line Module (ALM) DC-link supply, optional regeneration
DC bus Common DC link Energy sharing between motoring and braking axes
Axis Motor Module (Single/Dual) + SIMOTICS motor Closed-loop torque/speed/position control

Drive-CLiQ is the digital, point-to-point connection that carries encoder feedback, motor nameplate, and diagnostic data on a single shielded cable. When a Motor Module powers up, the electronic rating plate (DRIVE-CLiQ) is read and the firmware configures itself - no manual motor parameter entry is required for SIMOTICS 1FK7, 1FT7, 1PH8, or 1FW6 motors.

PROFINET IRT with a SIMOTION C240 PN or D4x5 PN delivers deterministic isochronous communication between controller and drive; the IPO cycle and PROFINET send clock are usually locked to 1 ms. With PROFIBUS DP, isochronous PROFIBUS achieves the same with master cycle / DP cycle of 1.5 ms to 4 ms depending on slave count. For new builds, IRT on PROFINET is preferred because the topology editor in Scout can verify cable lengths and switch port assignments against the planned cabinet.

Electronic Line Shaft and Virtual Master

Replacing a mechanical line shaft (a single physical shaft running through all units) with an electronic equivalent is the principal reason to use SIMOTION on a printing press. The mechanical shaft is replaced by a virtual master - a TO of type Axis configured as the master, often driven by a position-controlled external encoder (TO ExternalEncoder) at the draw rolls. Each printing unit is then a Following Axis or Synchronous Axis linked to that master with a configurable gear ratio and a cam for phase correction.

A 6-unit press with a master draw encoder typically configures as:

TO Type Master Cam / Gear
MasterAxis Axis (virtual) ExternalEncoder (draw roll) Position output to slaves
Unit1..Unit6 Following Axis / Synchronous Axis MasterAxis Gear ratio + Cam for register
RegisterCams Cam / CamDisc Per unit Polynomial or non-linear profile

The register cam is the critical piece for color-to-color register on a press. By adjusting the cam's leading edge, the operator shifts the unit's print phase without changing gear ratio - a far more precise correction than the mechanical phase adjustment on an old DC unit. The cam is calculated in millimeters of web travel and is interpolated linearly between supporting points, which is why a typical press registers in less than ten web meters from a cold start.

SIZER Dimensioning Workflow

SIZER is the Siemens engineering tool used to size SINAMICS S120 line modules, motor modules, motors, and SIMOTION controllers from a mechanical description of the load. It is a free download and integrates with the Siemens Product Configurator for part-number generation.

  1. Define the mechanical system - for each axis enter: load mass, load inertia, leadscrew pitch (or wheel diameter), gear ratio, friction coefficient, and motion profile (accel, constant vel, decel, dwell).
  2. Select drive family - SIMOTION typically pulls SINAMICS S120 Booksize or Chassis format. SIZER auto-selects the smallest matching Line Module and Motor Module.
  3. Verify duty cycle - SIZER plots the torque/speed trace against the motor's S1 (continuous) and S6 (cyclic) curves. Overload margin is reported as a percentage; aim for at least 20% on peak torque and 15% on RMS torque.
  4. Export BOM - the bill of materials includes 6SL3xxx part numbers, plus firmware versions, braking resistors (if any), line filters, and recommended cable cross-sections.

For a printing press retrofit where each unit is replaced by a 1FK7 synchronous servo, SIZER accepts the cylinder diameter, ink/water mass, and impression load to compute required torque. Typical 1FK7 sizes on a 6-unit press run from 1FK7042 (4 Nm, ~1.5 kW) for nipping/ink-form rollers up to 1FK7060/1FK7080 (12-30 Nm) for the impression cylinder drive.

Field tip: Run SIZER with a 110% safety factor on inertia and a 1.2x safety factor on torque to absorb worn bearings and stretchy web tension spikes. Press web tensions are notoriously underreported on old nameplates, and the SIZER output is only as good as the inputs.

Regenerative Smart Line Modules

A non-obvious benefit of swapping an old DC drive for SIMOTION + SINAMICS S120 is energy recovery during deceleration. Old DC drives dissipate braking energy in resistor banks as heat. SINAMICS S120 with a Smart Line Module (SLM) or Active Line Module (ALM) feeds braking energy back to the line through the IGBT bridge. The choice between them depends on line quality:

Module Topology Regeneration Line Harmonics Typical Use
BLM (Basic Line Module) Diode rectifier No - uses external braking resistor High THDi (typically 30-40%) Simple applications, no regen needed
SLM (Smart Line Module) IGBT rectifier, unregulated DC link Yes, with line-side reactor Moderate Most printing/converting machines, regenerative drives
ALM (Active Line Module) IGBT rectifier, regulated DC link, active filter Yes, sinusoidal Low (THDi < 5% with clean filter) Compliance-critical sites, weak grids

For a press with frequent ramp-down cycles (web splices, speed changes, register corrections), the recovered energy is substantial. A six-unit press cycling between 300 m/min and 50 m/min every 30 seconds can regenerate 3-5 kWh per cycle into a 480 V line; over a year of three-shift operation, that is several thousand euros of recovered line energy - often enough to pay back the SLM premium over a BLM in 18-24 months.

Migration Path: DC to Servo on a Printing Press

Replacing a single large DC motor and mechanical line shaft with one servo per unit is the most common SIMOTION retrofit on a 6-unit press. The mechanical part is non-trivial and must precede the electrical part of the upgrade:

  1. Mechanical survey - measure journal wear, draw-roll parallelism, and web-tension uniformity unit-by-unit. Worn journals make register impossible to hold even with perfect servos.
  2. Decide gear ratio and servo frame - use SIZER with the impression cylinder as the driven element. Confirm the existing gear-box input speed (typically 1500-2000 rpm for the old DC) is reachable by a 1FK7 in the available frame size.
  3. Run the new line shaft shafts empty first - bench-couple each servo to its gear-box and verify direction, encoder polarity, and the absence of mechanical bind before integrating with the master.
  4. Wire and configure Drive-CLiQ - the SIMOTION D4x5 sits in the cabinet with the SINAMICS S120 line and motor modules; one Drive-CLiQ cable from each Motor Module to its motor completes encoder + power return paths.
  5. Configure virtual master - replace the old mechanical shaft with a virtual axis driven by the draw-roll encoder. Tie each unit's Following Axis to the virtual master with a 1:1 gear and a register cam.
  6. Tune each axis with the auto-tuning routine - Scout's auto-tuning measures the mechanical response with the Bode plot method and writes Kp, Tn, and filter coefficients. Run with the web unloaded first, then re-tune loaded.
  7. Validate register - run cold-start register tests with the press at production speed; target < 0.05 mm lateral register at the output.

It is also valid to consider keeping a small DC motor with an encoder on each unit rather than converting to AC servo. This is cheaper (no S120 hardware per unit) and simpler mechanically, but it loses the regen benefit and the precision of the SIMOTION TO for camming. For a press with light register requirements and a low duty cycle of speed changes, the DC-with-encoder option remains competitive.

Energy Savings: DC Shunt vs. Permanent-Magnet Servo

The energy comparison between an old DC shunt motor and a 1FK7 permanent-magnet servo is two-part: motor efficiency and drive efficiency.

  • Motor efficiency: A 1980s DC shunt motor at 75% load typically runs at 82-87% efficiency. A 1FK7 servo at the same load point runs at 93-96%. The 6-12 percentage-point gap is the headline savings.
  • Drive efficiency: Old analog thyristor DC drives (e.g. Siemens 6RA23) convert at 92-95% line-side efficiency. A SINAMICS S120 Motor Module converts at 96-98%. Smaller, but cumulative.
  • Regeneration credit: Not applicable to a DC system without regen; SLM-enabled servo recovers 30-70% of braking energy depending on cycle.

Approximation for a six-unit press operating at average 60% load with the old DC system drawing 360 A at 460 V (three-phase line current):

P_old,3ph (kVA) = sqrt(3) * V_LL * I / 1000
                = 1.732 * 460 * 360 / 1000
                = 286.7 kVA

If 360 A is single-phase current (interpret as the DC armature feed on a single-phase front end, which is common for older thyristor DC drives):

P_old,1ph (kVA) = V * I / 1000
                = 460 * 360 / 1000
                = 165.6 kVA

Both cases should be evaluated against a power-quality measurement, because the DC drive's input is non-sinusoidal and the true RMS is often 5-10% above the nameplate current. Apply the assumed efficiency stack to convert kVA to kW:

Quantity Old DC System New Servo System
Line kVA (3ph reading) 287 227 (incl. SLM regen credit)
Line kW (at 0.92 PF) 264 209
Motor + drive efficiency 84% 95%
Shaft kW delivered 222 198
Annual energy savings (7000 h, 3-shift) ~385 MWh -

At an industrial electricity price of 0.18 EUR/kWh, the 385 MWh savings equates to roughly 69,000 EUR/year. Capital payback for a full SIMOTION D445 + SINAMICS S120 + SIZER-engineered BOM typically falls in the 18-30 month range when both energy and scrap-recovery (better register = less waste) are credited.

Verification before quoting: Always measure three-phase line current and total harmonic distortion on the existing DC system for one full production shift before sizing. Many legacy DC drives carry heavy current only during dynamic events, so the time-averaged energy savings is often smaller than the peak comparison suggests.

Self-Learning Resources and Structured Training

Formal training is the fastest path; Siemens SITRAIN offers role-based courses covering both programming and commissioning. For engineers evaluating an in-house adoption of SIMOTION, the relevant catalog entry is the SIMOTION programming and commissioning course, available both as classroom and as online training:

For self-study without enrolling, three official resources carry the bulk of the value:

  1. Scout Online Help "First Steps" - ships with the Scout installation and walks through hardware configuration, axis setup, and a simple positioning task.
  2. SIMOTION Utilities & Applications DVD - the part-number media included with Scout delivery and documented under Siemens Industry Online Support entry 26340545. Contains ready-to-compile sample projects (conveyor, cam, electronic gearbox, winder).
  3. SCOUT application examples in the Siemens Industry Online Support portal - search "SIMOTION application example" for FAQ-style articles with downloadable ZIP projects.

Commissioning Checklist for a Press Retrofit

A condensed pre-power-up, first-power-up, and production-release checklist, in the order it should actually be executed on site:

Step Action Pass Criterion
1 Visual cabinet check (grounding, creepage, Drive-CLiQ strain relief) No missing hardware, all PE jumpers torqued
2 Insulation test (1 kV DC motor leads to ground) > 100 MOhm
3 24 VDC logic power applied; check LED status on SIMOTION and CU Green, no fault
4 Topology compare in Scout Online = offline
5 First power-on of Line Module, no motors enabled DC link rises to 1.35 * V_LL within < 1 s
6 Per-axis identification run (motor ID via p1910 equivalent in Scout) Current controller bandwidth reported
7 Auto-tune with reduced dynamic factor (Kp start at 30%) No audible resonance, no following error > 5 deg
8 Manual jog of each axis, both directions, web unloaded Correct direction per wiring, no fault
9 Virtual master run with web, low speed (5 m/min) All units track master
10 Register tune-up at production speed Lateral register < 0.05 mm cold-start, < 0.03 mm steady
11 Endurance: 4 h continuous production Zero faults, thermal margins within spec
12 Backup project, SIMOTION CF card image, parameter set Stored on engineering PC and on a labeled CF card

Troubleshooting Matrix

Symptom Likely Root Cause Action
F30001 (Power unit overcurrent) Short in motor cable or defective Motor Module Megger motor leads, swap Motor Module
F30002 (DC link overvoltage) Line Module type BLM used with regen demand Switch to SLM or add braking resistor
F07801 (Motor overcurrent) Mechanical bind, encoder feedback lost Verify Drive-CLiQ cable, hand-turn the shaft
F08501 (PROFINET watchdog) IRT configuration mismatch, controller time slice too small Re-check Scout topology, raise IPO time
Axis follows master in jog but not in auto Task assignment of the gear-camming code Move the enable into the IPO-synchronous task
Register drifts after warm-up Mechanical expansion, no temperature compensation Add cam-curve thermal offset or re-tune hot
Following error spikes on accel Kp too low, no feed-forward Re-run auto-tuning with the web loaded; add Kv feed-forward

Frequently Asked Questions

Is ST in SIMOTION the same as SCL in S7-1500?

Effectively yes. Both are IEC 61131-3 Structured Text dialects with very similar syntax, but SIMOTION ST has motion-specific system functions (e.g. _pos(), _velocity()) and a deterministic task model. A SCL programmer is productive in SIMOTION ST within a day, but must learn to assign motion code to the IPO-synchronous task, not the background task.

Can I run SIMOTION Scout V4.4 projects on a newer TIA Portal version?

No. Scout V4.4 is a standalone tool that compiles to a SIMOTION runtime V4.4 (or compatible V4.5/V4.6) image. To move to a TIA Portal-centered workflow, migrate to SIMOTION in the TIA Portal (the SCOUT TIA / TIA-SCOUT add-in) and use a compatible firmware version. Always verify the firmware matrix in the SIMOTION Function Manual before re-flashing.

What is the minimum hardware to evaluate SIMOTION on the bench?

A SIMOTION D425 starter kit, a SINAMICS S120 Smart Line Module, one Motor Module, one 1FK7 motor, and Scout V4.4 on a Windows 10 engineering PC. This is enough to build the full virtual-master plus following-axis example and validate the API calls before cutting into a production cabinet.

Do I need a Smart Line Module if the press rarely decelerates?

If dynamic braking is rare, a Basic Line Module with a properly sized braking resistor is more economical. The rule of thumb is: if the press makes more than five substantial ramp-downs per hour, the SLM pays for itself in recovered energy alone; below that threshold, a BLM is fine.

How much can I really save by replacing the old DC motor with a servo on a 6-unit press?

For a press in the 200-300 kW shaft-power class operating three shifts, 60% load, and cycling 5-10 times per hour, expect 300-450 MWh/year of energy savings, plus 5-15% scrap reduction from tighter register. Combined payback is typically 18-30 months, but always validate with a power-quality measurement on the existing DC system before quoting.

Back to blog