Overview
SIMATIC S7-Technology V4.2 is the optional technology package that extends STEP 7 V5.x with motion-control primitives for SIMATIC S7-300 and S7-400 technology CPUs. The package adds technology objects (TOs), a dedicated configuration tool (S7TConfig), and a runtime library to the standard STEP 7 environment, allowing speed-controlled axes, positioning axes, and synchronized axes to execute on the same PLC that handles discrete and analog I/O. S7-Technology is the answer to the historical requirement for separate motion controllers (FM 354, FM 357, SIMOTION) for medium-complexity motion tasks: the technology CPU integrates PLC and motion into a single scan, with the position loop closed inside the CPU's hardware at cycle times as low as 1 ms.
Maintenance for V4.2 has been delivered as a series of service packs: SP2, SP3, SP3 HF1 (trial), SP4, and SP5. The trial version of SP3 HF1 is the entry point for evaluation; the licensed media (DVD or OSD) installs the base V4.2, and the service packs are applied as delta installers on top. Download of the trial and the service packs is gated by a Siemens Industry Online Support registration and a one-time export-control acknowledgement, which is the source of the most common download errors reported by users.
This reference documents the download and installation procedure for the S7-Technology V4.2 SP3 / SP4 / SP5 packages, the configuration of a first technology object, the runtime programming interface, and the diagnostic and troubleshooting path. It targets the engineer who is bringing up a brownfield S7-300 / S7-400 line or evaluating the package for a new machine.
Prerequisites
| Component | Required Version | Notes |
|---|---|---|
| STEP 7 | V5.5 SP4 or later (HF6 recommended) | Older STEP 7 SP levels reject S7-Technology V4.2 SP3+ installer signatures; the technology library DLLs depend on a STEP 7 kernel that supports the post-SP3 axis configuration model. |
| Operating system | Windows 7 SP1 (64-bit) or Windows 10 (64-bit, build 1909+) | STEP 7 V5.5 is not certified for Windows 11; the technology package inherits that limitation. Engineering stations on Windows 11 must run in a Windows 10 VM or be downgraded. |
| Technology CPU | CPU 314C-2 PN/DP (with technology firmware), CPU 315T-2 DP, CPU 315T-3 PN/DP, CPU 317T-2 DP, CPU 317T-2 PN/DP, CPU 317TF-2 DP, CPU 317TF-3 PN/DP, ET 200S FC | Non-T CPUs accept the package installation but cannot instantiate technology objects. Loading a technology project onto a non-T CPU triggers a hardware-downgrade check that aborts the download. |
| Drive | Siemens SINAMICS V60/V70/V90, S110, S120, S150 with PROFIdrive (telegram 1, 3, 5, 6, 7, 9, 102, or 110) | Analog drive interface is supported on CPU 315T-2 DP and CPU 317T-2 DP only (analog output channel 0 +/- 10 V). |
| Encoder | PROFIdrive encoder (telegram 81) on PROFINET/PROFIBUS, or SSI encoder on CPU 315T/317T on-board interface | Incremental encoders require the technology CPU's HSC inputs; SSI requires the SSI option module. |
| Siemens Industry Online Support account | Registered, with export-control acceptance | Enterprise accounts may have the export acknowledgement pre-accepted; the questionnaire does not appear for those users. |
| CPU firmware | Match the release notes for the installed SP (FW V3.3.7 or later for 31xT, FW V2.1.x for ET 200S FC) | Update via SIMATIC Manager → PLC → Update Firmware; firmware downgrades are blocked by the bootloader. |
| Free disk | ~ 1.2 GB for the engineering installation, 250 MB for S7TConfig, 600 MB for documentation | Verify with the installation manual's prerequisites table. |
Resolving the Export-Restricted Download Error
The most common failure mode reported for S7-Technology V4.2 SP3 is the generic error Reference #97.ffd4317.1373565111.3335fb67 returned by the Siemens Industry Online Support portal. The error is not a software bug; it is the result of the click-through export-control screening that is mandatory for software classified under EU and US dual-use lists. The S7-Technology package is flagged as dual-use even though the runtime itself does not include cryptographic primitives; the flag is at the package level. The fix is procedural.
- Open the trial-version entry directly: S7-Technology V4.2 SP3 HF1 trial. The portal displays the export-control questionnaire on the first download attempt from a given session.
- Click "Download". The portal displays the export-control questionnaire (DUAL USE, AL: N, ECCN: EAR99 in most regions). Select "I am the end user" or "I am a distributor" as appropriate. Pick the country of end use; embargo destinations are blocked at the country code level and the form returns a silent rejection.
- Submit the form. The download begins with a streamed
.zipor an HTTPS file response. If the error persists, clear the browser cookies forsupport.industry.siemens.comand repeat; cached session tokens can carry an expired or denied export acknowledgement. - Mirror the same procedure for Service Pack 4 (entry 94737497) and Service Pack 5 (entry 109749472); each service pack ships as a separate installation and requires its own export acknowledgement in the same user session.
If the export questionnaire is missing entirely from the page, the user account already carries the right entitlement (for example, an enterprise account whose administrator pre-accepted the export terms on the company's behalf). The download button on the entry page then leads directly to the file download. If the button is greyed out, the user lacks the role required for technology downloads; this is controlled by the Support Role attribute in the Siemens Customer Center profile.
Referer header on the Siemens domain can trigger the same error even after the questionnaire is acknowledged. Configure the proxy to forward the header for support.industry.siemens.com, or use the direct download link from a private-browsing window without the proxy.Service Pack Lifecycle and Selection
S7-Technology V4.2 was originally released without a service pack identifier. Cumulative maintenance has been delivered through SP1, SP2, SP3, SP3 HF1, SP4, and SP5. For a new installation, install the latest service pack on top of the base V4.2 media; the SPs are delta installers, not full packages, with the exception of the trial version which embeds SP3 HF1 as a self-contained install.
| Package | Entry ID | Type | Recommended Use |
|---|---|---|---|
| V4.2 (base) | - | DVD / licensed install | Required foundation; not a standalone download in 2024+. |
| V4.2 SP2 | - | Delta | Legacy systems; superseded by SP3+. |
| V4.2 SP3 | 74794924 | Delta | First SP with Windows 10 STEP 7 SP5+ compatibility; required baseline for SP4 and SP5. |
| V4.2 SP3 HF1 (trial) | 74797913 | Trial (full SP, 14-day runtime) | Evaluation without a license; embeds SP3 fixes plus HF1. |
| V4.2 SP4 | 94737497 | Delta | Mandatory for CPU 31xT FW ≥ 3.3.7; fixes cam-disk checksum drift and adds support for SINAMICS V90 with PROFINET telegram 3. |
| V4.2 SP5 | 109749472 | Delta | Latest; adds TIA-side symbol import for the shared project, fixes a memory leak in TO cams on CPU 317TF-3 PN/DP, and adds the export-for-TIA hook. |
Service packs are cumulative with respect to the base V4.2 installation. Installing SP3 on a system that already has SP2 is safe; the installer performs an in-place upgrade of the technology library and preserves the existing S7TConfig projects. The trial version (SP3 HF1) can coexist with a licensed V4.2 SP4 / SP5 install in different STEP 7 projects on the engineering station, but cannot be loaded onto the same CPU firmware image as a licensed installation; the firmware allows only one of the two license models per CPU.
MC_Power Enable = TRUE call, not from the install date.Installation Procedure
- Close SIMATIC Manager, S7TConfig, and any active STEP 7 dialog. The installer refuses to start if
S7TGSVRX.EXEorS7TGSrv.exeis loaded. The setup prompts you to close them; you can also kill the processes manually from Task Manager if the prompt hangs. - Run
Setup.exefrom the SP3 / SP4 / SP5 archive (or the trial DVD root). The setup language defaults to the OS locale; switch to English (US) in the installer's first dialog if the manuals are required in English. German is the only other fully translated language; the remaining UI strings are English with localized error messages. - Accept the license agreement. The trial version requires ticking "I accept the 14-day evaluation terms" in addition to the standard EULA.
- Select the installation scope:
- S7-Technology CPU Library – runtime blocks for the technology CPU firmware (mandatory).
- S7TConfig – the technology configuration tool (mandatory for engineering).
- S7-Technology Documentation – programming manual, configuration manual, function reference, and the S7TConfig online help (recommended; ~ 600 MB).
- Migration Tool – for projects originally built with FM 354 / FM 357 or SIMOTION (optional; rarely used in 2024+).
- Choose the STEP 7 target directory. The default is
C:\Program Files (x86)\Siemens\Automation\STEP7\S7TECH. The installer creates the subfolders\bin,\lib,\doc, and\samples. - Confirm the install. The setup runs the technology-library registration (
S7TLib.exe /register) and updates the Windows registry keyHKLM\SOFTWARE\Wow6432Node\Siemens\S7Technology\Version. The Version value is read by SIMATIC Manager to determine which technology options are available in the project's CPU properties. - Reboot. The runtime service
S7TGSrvis registered as a manual-start service; reboot ensures the technology-DLL cache is reloaded. The service can also be restarted manually withnet start S7TGSrvfrom an elevated command prompt.
/S7DIR switch: Setup.exe /S7DIR:"D:\Siemens\STEP7". The switch is case-sensitive and requires the full path in quotes if it contains spaces.Hardware Configuration Prerequisites
Before creating a technology object, the hardware configuration in HW Config must be complete. The technology CPU references its drive and encoder as PROFIdrive stations; the telegrams must be set to the correct numbers, and the axis number on the drive must match the S7TConfig axis number.
- Open the SIMATIC Manager project and double-click HW Config on the technology CPU's station.
- Insert the drive in the PROFIBUS or PROFINET topology. For a SINAMICS S120 with CU320-2, place the drive as a DP slave on PROFIBUS or as a PROFINET IO device on the technology CPU's PROFINET interface.
- Open the drive's Properties → Telegram Configuration. Select the standard telegram 3 (positioning with 32-bit position, 32-bit velocity, torque) or 5 (with additional actual values). Avoid telegram 110 for the technology CPU; the technology CPU does not parse the extended status bits of telegram 110.
- For the encoder, configure telegram 81 on the same PROFIdrive station, or on a separate encoder station. The technology CPU expects the encoder telegram to be on a different PROFIdrive station than the drive telegram; co-locating them in the same station causes a cyclic-data collision that the S7-Technology runtime logs as
0x8005 Encoder error. - Save and compile HW Config. The compile must complete with zero errors; warnings about unused slots can be ignored.
Creating the First Technology Object
Technology objects are configured in S7TConfig, which is launched from SIMATIC Manager via Options → Technology. The tool works against the open STEP 7 project, not against the live PLC, so configuration is offline until the project is downloaded. The configuration persists in the project under the technology CPU's S7 program as a set of DBs and source files.
- In SIMATIC Manager, right-click the technology CPU → Properties → Technology. Confirm the CPU type supports technology objects (firmware ≥ 2.0.0 for 31xT, ≥ 2.1.x for ET 200S FC). The properties dialog shows the technology package version expected by the CPU firmware; mismatches are flagged in red.
- Open S7TConfig. The left-hand tree shows the technology CPU; expand it to reveal the Axes and Synchronous Operation branches. If the tree is empty, the project CPU is a non-technology variant; right-click the S7 program → Change CPU → select a 31xT or 317T variant.
- Insert a new axis: Axis → New → Positioning Axis. The wizard prompts for:
- Axis number (1–32 for 31xT, 1–16 for ET 200S FC).
- Drive assignment (analog output channel 0 or PROFIdrive telegram 3/5/6/7/9/102).
- Encoder assignment (PROFIdrive telegram 81 or SSI on the technology CPU's on-board interface).
- Axis mode: Positioning, Speed-controlled, or Synchronous.
- Set the mechanical configuration: load gear ratio, motor revolutions, load revolutions, position-tracking tolerance, and the units (mm, inch, °). The gear ratio is critical: an incorrect ratio causes a permanent following error that grows with velocity.
- Set the limits: maximum velocity, maximum acceleration, maximum deceleration, jerk limits, software limit switches (positive/negative). The jerk limit is the derivative of acceleration; exceeding it during rapid stop can trip the drive's STO input on a SINAMICS S120.
- Assign a Technology DB (DB 70–DB 99) and generate the instance DB by clicking Generate. The tool compiles the technology FB and binds the axis to the drive telegram. The generation step is mandatory; an ungenerated axis configuration cannot be downloaded.
- Save the project, then download to the CPU. S7TConfig prompts for "Hardware download + Technology download"; accept both. The download streams the technology DBs, the runtime configuration, and the cam tables to the CPU firmware.
W: telegram not configured for axis <n>; it is not a fatal error in the wizard but blocks the download.Technology Object Library and Programmatic Interface
The S7-Technology runtime exposes its function set as function blocks (FBs) in the standard library S7TECH\Lib\S7TechLib. The most frequently used blocks in a positioning sequence are:
| FB / FC | Symbolic Name | Function | OB Context |
|---|---|---|---|
| FB 401 | MC_MoveAbsolute | Positioning to an absolute target in the axis coordinate system | Cyclic OB (OB1) or OB 35 |
| FB 402 | MC_MoveRelative | Incremental move with a delta from the current setpoint | Cyclic OB |
| FB 403 | MC_MoveVelocity | Speed-controlled run with stop on trigger | Cyclic OB |
| FB 404 | MC_Halt | Stop with the configured deceleration ramp | Cyclic OB |
| FB 405 | MC_Reset | Clear technology errors; re-home | Any OB; called once per error event |
| FB 450 | MC_CamIn | Engage a cam on a master axis at a defined master position | Synchronous axis configuration only |
| FB 451 | MC_CamOut | Disengage cam; the axis continues on its last setpoint | Synchronous axis configuration only |
| FB 470 | MC_GearIn | Engage a synchronous operation with a configurable gear ratio | Synchronous axis configuration only |
| FC 201 | MC_Power | Enable / disable the drive stage; pulse-enable watchdog | Cyclic OB; mandatory in every scan |
| FC 200 | MC_ReadStatus | Read the axis status word (motion status, error, homed) | Any OB |
Each call requires an Axis input of type TO_Axis_Pos or TO_Axis_Velocity, which is a multi-instance DB reference. Calling MC_Power with Enable = FALSE for longer than the configured pulse-disable window drops the drive stage. Siemens recommends keeping MC_Power in a slow cyclic OB (OB 1) rather than in OB 35 if the OB 35 period is below 4 ms; otherwise the watchdog trips the drive enable during a long positioning cycle.
For synchronous operation, the master and slave axes are configured in the same technology CPU and linked through a cam or gear object. The cam object holds a polynomial definition that maps master position to slave position; the runtime interpolates the polynomial at the position-loop sample rate. SP5 introduces support for non-linear cams with up to 1,000 interpolation points; SP3 and SP4 are limited to 500 points.
Cam Configuration and Synchronous Operation
Synchronous operation is the strongest differentiator of S7-Technology against a generic positioning package. The technology CPU can engage a slave axis on a master axis's position, run a cam profile, and disengage at a defined master position – all inside the same scan, without external synchronization hardware. The configuration is performed in S7TConfig under the Synchronous Operation branch.
- Right-click Synchronous Operation → New Cam. The cam editor opens with a graphical view of master vs. slave position.
- Define the cam table. Use the editor's polynomial, VDI 2143, or point-list entry mode. For a typical press-feed application, use the VDI 2143 mode and define the dwell, acceleration, constant-velocity, and deceleration segments with the standard cam segments.
- Set the cam scaling: master range, slave range, and the scaling type (linear, polynomial). The scaling is critical for both the start and end of the cam.
- Assign the master axis (the virtual master or a real axis) and the slave axis. The slave axis is the axis that will track the master through the cam profile.
- Configure the engagement: MC_CamIn with a master position trigger, a slave position offset, and a scaling factor. The trigger can be "at master position" (positional trigger) or "immediately" (on command).
- Set the disengagement: MC_CamOut at a defined master position; the slave continues on its last setpoint at the disengagement.
- Generate and download.
W: cam exceeds point limit in the S7TConfig output window and is silently truncated at compile time.Safety Integration with F-CPUs
The CPU 317TF-2 DP and CPU 317TF-3 PN/DP are F-CPUs: they run the standard SIMATIC S7 program plus a safety program in parallel. The safety program uses the F-library S7F and operates on PROFIsafe telegrams. The technology objects on an F-CPU can be brought to a safe stop in three ways:
-
STO (Safe Torque Off): the safety program asserts the STO bit on the drive's PROFIsafe telegram; the drive removes torque within 5 ms. The technology object on the CPU receives the
AxisErrorcode0x800F"Safe stop active" and transitions to the ErrorStop state. -
SS1 (Safe Stop 1): the safety program asserts SS1; the drive ramps down to zero with the configured safe-stop ramp, then asserts STO. The technology object receives
0x8010"Safe stop 1 active". -
SS2 (Safe Stop 2): the safety program asserts SS2; the drive holds the axis at its current position with the safety controller active. The technology object receives
0x8011"Safe stop 2 active" and remains in Standstill with the controller live.
The S7-Technology configuration does not directly handle PROFIsafe. The safety program in the F-CPU's safety DB drives the PROFIsafe telegrams, and the technology CPU's runtime reacts to the axis state changes the drive broadcasts. Configure the safe-stop behavior in the technology CPU's Axis → Safety settings, where you can choose between Hold (the axis holds position) and Stop with ramp (the axis follows the configured deceleration).
Diagnostic and Verification Tools
After the project is downloaded, use the following checks to confirm the technology stack is healthy:
-
S7TConfig → Online → Axis Diagnostics: shows the current actual position, actual velocity, following error, status word, and the last error code (e.g.,
0x8001for "Configuration error",0x8005for "Encoder error"). -
STEP 7 → PLC → Diagnostic Buffer: filter to source "Technology". Look for entries of the form
Technology: TO 1, axis error 0x8005on a CPU 317T-2 DP. The diagnostic buffer retains the last 100 entries; older entries roll off. -
Web server of the technology CPU (CPU 31xT PN/DP and CPU 317TF-3 PN/DP only): browse to
http://<cpu-ip>/technology/axis1.htmlfor a live readout. The web server is enabled in HW Config under CPU Properties → Web Server; it requires a password if the CPU is configured for Web-access authentication. - Trace: use the integrated trace to record actual position vs. setpoint and detect following-error excursions beyond the configured tolerance. The trace samples at the position-loop rate; the recorded signal can be exported as CSV for post-processing.
- Cam editor preview: in S7TConfig, open the cam object and click Simulate to verify the polynomial without a live drive. The simulation shows the slave position, velocity, and acceleration for a virtual master sweep.
0x8001 "Configuration error" after a firmware update. The cause is a stale S7TConfig project: open the project, regenerate the technology DBs, and re-download. The cache is stored in the project under S7TGSVRX\Cache and is invalidated only by an explicit regenerate; a normal "Download to target" does not invalidate it.Troubleshooting Matrix
| Symptom | Probable Cause | Corrective Action |
|---|---|---|
| Download returns "Reference #97.ffd4317.1373565111.3335fb67" | Export-control questionnaire not acknowledged in the session | Repeat the download flow; clear cookies; use a private-browsing window; verify the Referer header is forwarded by the corporate proxy. |
| Setup aborts with "STEP 7 not found" | STEP 7 installed in a non-default path | Re-run with Setup.exe /S7DIR:"<path>". |
| S7TConfig tree is empty after opening project | Project is for a non-technology CPU | Right-click the S7 program → Change CPU → select a 31xT or 317T variant. |
| Axis goes into "Configuration error" (0x8001) on first run | PROFIdrive telegram not set or wrong telegram number | Open HW Config, set the drive to telegram 3 or 5, regenerate, re-download. |
| Following error spikes at high velocity | KV factor too low; P-gain insufficient | Increase the position-controller gain in the axis expert settings; verify the loop-time in OB 35. |
| Cam engagement is delayed by 1 cycle | Synchronous axis started before master has reached steady state | Use MC_GearIn with a delayed start trigger; verify with trace. |
| SP5 install rolls back | Antivirus quarantines the technology DLLs | Whitelist C:\Program Files (x86)\Siemens\Automation\STEP7\S7TECH in the antivirus policy. |
| Web server shows axis disabled even after MC_Power | Safety chain open; STO input inactive | Check the STO wiring; on CPU 317TF verify the F-runtime group is running. |
| Axis reports 0x8005 "Encoder error" after power-cycle | Encoder telegram on the same PROFIdrive station as the drive telegram | Move the encoder to a separate PROFIdrive station; recompile HW Config. |
| Trial license expires earlier than expected | CPU clock has been advanced; the trial timer is keyed to the CPU clock | Reset the CPU clock to the actual date; the trial re-extends from the new clock value. |
| S7TConfig shows "Trial version only" watermark in compiled DBs | Trial license is loaded on the CPU but the licensed package is also present | Choose one model: either trial (no license required) or licensed (no trial). The runtime accepts the first loaded; the second is rejected. |
Migration to TIA Portal and Coexistence
Although S7-Technology V4.2 is a STEP 7 V5.x option package, projects can be migrated to a TIA Portal environment when the S7-300/S7-400 is replaced by an S7-1500 with the SIMATIC Motion Control option. The SP5 release of S7-Technology adds a symbol-export hook that allows the S7TConfig project to emit a CSV with all technology-object names, setpoint / actual ranges, and cam table samples. The TIA importer reads the CSV and creates equivalent TO_PositioningAxis / TO_SynchronousAxis instances, which removes the manual re-keying that previously dominated migration windows. The CSV export is invoked from S7TConfig → Tools → Export for TIA Portal.
For greenfield S7-1500 designs, the S7-Technology V4.2 package is not required; the equivalent functionality ships natively in TIA Portal as the SIMATIC Motion Control option. Use S7-Technology V4.2 SP3 (or, preferably, SP5) only on brownfield S7-300/400 lines and on technology CPUs that remain in service. Mixing S7-Technology V4.2 with the TIA Motion Control option in the same project is not supported; the two packages are mutually exclusive runtime models.
Frequently Asked Questions
Why does the Siemens download portal return a "Reference #97.ffd4317..." error for S7-Technology V4.2 SP3?
The error is the export-control screening of the support portal. The S7-Technology package is flagged under dual-use rules; you must acknowledge the export questionnaire in the user account. Open the entry 74797913, accept the questionnaire, clear browser cookies for support.industry.siemens.com, and re-attempt the download. The same flow applies to SP4 (94737497) and SP5 (109749472).
Which service pack should I install on a CPU 317T-2 DP in 2024?
Install the base V4.2 from the licensed media, then apply Service Pack 5 (ID 109749472). SP5 contains the cam-memory leak fix specific to the CPU 317TF-3 PN/DP and is compatible with STEP 7 V5.5 SP4 HF6. If you are evaluating the package without a license, use the trial version at entry 74797913, which embeds SP3 HF1 and is self-contained.
Can I run S7-Technology V4.2 SP3 on a non-technology CPU like a CPU 314C-2 PN/DP?
No. S7-Technology V4.2 is licensed per technology CPU model. The technology package installs on the engineering station regardless, but the technology objects can only be instantiated and executed on CPU 314C-2 PN/DP (with technology firmware), CPU 315T-2 DP, CPU 315T-3 PN/DP, CPU 317T-2 DP, CPU 317T-2 PN/DP, CPU 317TF-2 DP, CPU 317TF-3 PN/DP, or the ET 200S FC. Downloading to a non-T CPU triggers a hardware-downgrade check that aborts with a "Technology function not supported" diagnostic buffer entry.
What is the runtime difference between MC_MoveAbsolute and MC_MoveRelative?
MC_MoveAbsolute (FB 401) uses an absolute target in the axis's coordinate system, accounting for the current actual position. MC_MoveRelative (FB 402) moves a delta from the current setpoint; it does not consider the home position. For a synchronized application where multiple axes must start from a known coordinate, use MC_MoveAbsolute after a successful MC_Home. For incremental sequences (e.g., pick-and-place) where the offset is known, MC_MoveRelative avoids the absolute coordinate calculation.
Does S7-Technology V4.2 SP5 work with TIA Portal projects?
S7-Technology V4.2 SP5 is still a STEP 7 V5.x option package. It is not a TIA Portal option. For TIA-based motion, use the SIMATIC Motion Control option in TIA Portal, which is delivered separately. SP5 adds a CSV exporter under S7TConfig → Tools → Export for TIA Portal that bridges technology-object definitions from an S7-300/S7-400 brownfield to a TIA Portal S7-1500 project; the export, not the runtime, is the TIA integration point.