Problem Details
An S7-1500 CPU (or ET 200SP CPU) running TIA Portal motion control reports an Under-license diagnostic fault on a technology axis that is configured for GEAR operation, even when a valid CAM runtime license is loaded on the CPU. The behavior typically appears in the following configuration pattern:
- Two technology axes are configured (e.g., a positioning axis plus a gearing/slave axis).
- A positioning license (
6ES7xxx-0CC0x-0YA0-style entry) is installed for the first axis. - A CAM license is installed on the CPU for the second axis.
- The catalog documents clearly state that the CAM license includes POS (positioning) and GEAR rights.
- Despite the inclusion list, the CPU raises fault code
W#16#0000 / F-Code 135-style licensing diagnostic and the online License Dialog shows:POS: yes, CAM: yes, GEAR: no.
The fault prevents the gearing command from being released by the MC_Power/ MC_GearIn blocks and the technology object enters the Error state. A second, separate, valid GEAR license cannot be activated to clear the fault if the catalog already states the CAM license should include GEAR.
Root Cause
The Siemens motion-control license model on S7-1500 / ET 200SP CPUs is not a pure rights-inheritance hierarchy. While the marketing catalog and the TIA Portal License overview page document that the CAM license includes GEAR and POS, the runtime license check in the technology objects does not infer GEAR rights purely from the presence of a CAM license. The license state is keyed off of which technology objects have at least one cam configured and compiled, even if that cam is a placeholder or unused.
More precisely:
- The CPU evaluates licensing per technology object (TO), not per license token.
- For a TO configured as a positioning axis or synchronizing axis (gear), the runtime check looks for a matching active license on that TO.
- The CAM license token is associated with technology objects that contain at least one cam definition (interpolated cam, cam disc, switching cam, or measurement cam). It is not auto-applied to a pure gearing TO.
- When no cam TO exists in the project, the license dialog correctly reports
GEAR: noand the gearing TO raises an under-license fault at first MC_GearIn call.
This is a known diagnostic quirk: the license appears valid at the CPU-wide license overview level, but the per-axis license state required by the technology object is missing. The catalog wording is technically correct (a CAM license entitles you to use GEAR) but does not describe the implementation detail that a cam TO must be present in the project for the license to be allocated to a gearing TO.
Affected Versions and Products
| Component | Version / Range | Notes |
|---|---|---|
| S7-1500 CPU firmware | V2.0 and later (Motion Control v4.0+) | Behavior confirmed in field reports on V2.6, V2.8, V2.9 |
| ET 200SP CPU / Open Controller | V2.0 and later | Same license model |
| TIA Portal | V15 to V18 (V19/V20 similar) | License dialog unchanged across versions |
| SIMATIC Automation Tool | All current versions | Used to load/move licenses on SD card |
| CPU 1511-1 PN through 1518-4 PN/DP | All | Licensing via SIMATIC Memory Card or system |
Some Siemens entry-level CPUs (CPU 1510SP, CPU 1511, CPU 1512C) bundle motion control licensing differently; on these, fewer features may be active by default. Always check the specific CPU's Siemens Industry Online Support entry for the bundle license list.
License Hierarchy Reference
The following table summarizes the documented license inclusion model for S7-1500 motion control. This is the catalog view; see the next section for the runtime reality.
| License Type | Order Number (typical) | Includes | Technology Object Requirements |
|---|---|---|---|
| Positioning (POS) | 6ES7822-0AC0x-0YA0 / 6ES7xxx bundle | Positioning only | Speed-controlled, positioning axis |
| Gearing (GEAR) | 6ES7822-0AE0x-0YA0 | Synchronous operation with gear ratio | Synchronous axis, no cam |
| CAM (Synchronous Operation, advanced) | 6ES7822-0AF0x-0YA0 | POS + GEAR + CAM (catalog statement) | Synchronous axis + at least one cam TO |
Catalog inclusion means you do not have to buy a separate POS license if you have a CAM license. It does not mean the POS/GEAR rights are auto-attached to a TO that has no associated cam definition.
Diagnostic Procedure
Follow this sequence to confirm the fault and isolate it from other motion-control issues:
- Go online with TIA Portal to the target CPU. Expand Online & diagnostics → Diagnostics → Motion Control diagnostics.
- Open the License dialog under Online & diagnostics → Licensing or via the CPU's Properties → License overview. Note the per-license status indicators:
- POS: yes
- GEAR: no
- CAM: yes
- Open Project tree → Technology objects → [Axis_x] and inspect the Configuration → Type of axis field. Note whether the axis is configured as Positioning axis or Synchronous axis (gear).
- Open the Diagnostics buffer on the CPU. Look for an entry of class Motion Control with a license-related ID (often a textual
"License missing for technology object"or similar wording depending on firmware version). - Right-click the affected axis → Start drive & check axis. Confirm the under-license fault reappears on the first MC_GearIn attempt.
Solution
The verified field solution does not require an additional GEAR license purchase. Instead, you must ensure the runtime license checker can attach the CAM license token to the affected axis. There are two reliable approaches:
Option A — Add a Cam Technology Object (Preferred)
- In the TIA Portal project tree, right-click Technology objects → Add new object.
- Select Cam (or Cam_10, Cam_100 depending on the point count you need). Click OK.
- Bind the cam TO to the gearing axis (its leading or following axis depending on the topology).
- Compile the project. Do not delete this cam TO even if you do not actually use it in the program — it is required for license allocation.
- Download the project (hardware configuration + software) to the CPU.
- Go online and re-open the License dialog. The status should now read:
- POS: yes
- GEAR: yes
- CAM: yes
- Run the gearing program. The under-license fault clears and MC_GearIn engages.
Option B — Purchase a Standalone GEAR License
If your project policy prohibits a cam TO in the configuration, or if you have multiple gearing axes that each require their own license token, purchase the separate GEAR license (order number 6ES7822-0AE0x-0YA0 or the current equivalent). Load it onto the SIMATIC Memory Card using the Automation License Manager or the SIMATIC Automation Tool, then re-check the License dialog.
Option C — Verify the Existing CAM License Was Not Corrupted
Less common, but possible: an incomplete license transfer can leave the license token marked valid at the CPU level yet malformed at the technology-object level. In that case:
- Remove the existing CAM license with the Automation License Manager.
- Re-transfer the license from the certificate of license to the SD card.
- Insert the SD card and power-cycle the CPU.
- Recompile and download the project.
Verification
After applying Option A, perform the following checks before returning the machine to production:
-
License dialog confirmation: Online → License overview shows
GEAR: yes. - MC_Power: Drive enables without a licensing fault and the axis state moves from Disabled to Standstill to Synchronizing.
-
MC_GearIn: The block returns
DonewithBusy = FALSEafter the slave axis reaches synchronous velocity. The synchronization tolerance window is satisfied. - Diagnostics buffer: No further motion-control license entries appear during a 10-minute operational soak test.
- CPU Webserver: If enabled, navigate to Diagnostics → Motion → License and confirm the displayed license states match the License dialog.
- Recipe / cam parameters: If you added a placeholder cam TO, confirm it is not accidentally triggered in any OB (OB1, OB35, OB82, etc.). The placeholder must not generate cycle-time warnings.
Why the Catalog Statement Is Misleading
The Siemens motion-control catalog describes license entitlement — what you are allowed to do under a given license token. It does not describe how the TIA Portal runtime performs the license-to-TO binding. The binding requires the existence of a TO whose type matches the license grant. For CAM, the matching TO is a cam object. The catalog's "includes GEAR" wording is a legal statement: you are entitled to run gear applications. It is not a technical statement: the CAM token will not auto-bind to a TO with no cam definition.
This is a documentation/runtime mismatch that has surfaced in community-tracked TIA Portal issues for multiple firmware generations. The runtime behavior has not been changed as of the current firmware releases, presumably because it is classified as "working as implemented" rather than as a defect.
Related Issues and Edge Cases
| Symptom | Cause | Fix |
|---|---|---|
| GEAR fault clears but POS fault appears on a different axis | Only one POS license token; first axis consumes it | Add a second positioning license or a CAM license with a cam TO |
| License dialog flashes between yes/no on power cycle | License certificate on SD card partially overwritten | Re-write the license via Automation License Manager |
| Fault clears after CPU STOP->RUN but reappears after restart | License not persistent because the SD card is write-protected mid-cycle | Remove write protection, redownload license |
| Multiple gearing axes, all faulted | CAM license token cannot serve all gear TOs simultaneously | Add cam TOs equal to the number of gearing axes, or purchase multiple GEAR tokens |
| Webserver license page disagrees with TIA Portal License dialog | Webserver cache | Refresh browser, then re-query |
Best Practices for S7-1500 Motion Licensing
- Always add a cam TO for every CAM-licensed project, even if you plan to use only gear functionality initially. This avoids the under-license fault if the application pivots to camming later.
- Document license allocations in the project header. Create a simple table mapping each technology object to the license token it consumes.
- Store the Automation License Manager backup (.zip) of all motion licenses in a versioned project subfolder, with a checksum file.
- Test license behavior in the TIA Portal simulation (PLCSIM) before commissioning hardware. PLCSIM honors license states in the same way as a physical CPU for most motion-control versions.
- Lock the SD card write-protect switch after all licenses are written, to prevent accidental overwrite during runtime license checks.
- Cross-check the License dialog on every firmware upgrade. Behavior is stable, but the diagnostic text and ID numbers can change between firmware versions.
Hardware and License Tool Reference
| Tool | Purpose | Notes |
|---|---|---|
| Automation License Manager (ALM) | Transfer licenses to/from SD card | Installed with TIA Portal; offline use supported |
| SIMATIC Automation Tool | Bulk license deployment across many CPUs | Useful for production lines with redundant machines |
| TIA Portal License Dialog | Online view of active vs. required licenses | Authoritative runtime view |
| CPU Webserver | Read-only license state from a browser | Handy for diagnostic calls without a TIA Portal laptop |
| PRONETA | Network topology and asset view | Does not manipulate licenses |
Safety Considerations
Motion control faults on a running machine can leave axes in undefined states. Before applying any of the workarounds in this article, ensure:
- The machine is in a safe state (drives de-energized or in Safe Stop).
- Safety functions (PROFIsafe, F-CPU) are not bypassed.
- The project is archived before any license or technology-object changes.
- Stop-categories and E-stop circuits are verified per IEC 60204-1 and ISO 13849-1.
FAQ
Why does my S7-1500 throw an under-license fault on a GEAR axis when a CAM license is loaded?
The CAM license token is bound to technology objects that contain at least one cam definition. A pure gearing axis has no associated cam, so the runtime license check reports GEAR: no. Add a Cam technology object to the project, even an unused one, and the CAM token will then satisfy the gearing license check.
Do I need to buy a separate GEAR license if I already have a CAM license?
No. The catalog entitles you to use gearing under a CAM license, but you must ensure the project contains a cam technology object so the runtime can allocate the token. If your project policy prohibits adding a cam TO, then a standalone GEAR license is the alternative.
Where in TIA Portal do I see the active vs. required motion licenses?
Go online with the CPU, then open Online & diagnostics → Licensing, or right-click the CPU in the project tree and select Properties → License overview. The dialog lists POS, GEAR, and CAM with yes/no status indicators.
Will adding a placeholder cam TO cause extra CPU scan time?
No. A cam technology object that is not referenced in any cyclic OB is dormant. It does not interpolate, does not consume encoder feedback, and adds no measurable scan time. The TIA Portal compiler and runtime treat it as a passive configuration element.
Does this issue affect S7-1200 CPUs as well?
S7-1200 motion control uses a simpler licensing model and does not have the same CAM/GEAR/POS inclusion hierarchy. The behavior described in this article applies to S7-1500 and ET 200SP CPUs running TIA Portal motion control V4.0 and later.