_Event

The datapoint type _Event is used for license information and the "heartbeat" signal of the event manager.

Changing this datapoint (for example, deleting/adding/renaming elements, deleting DPs) is not allowed!

Datapoint element Type Description
ReadLicense string When this element is set to an empty string, the license information is renewed. Generally, the WinCC OA Licensing checks the validity of a license every 10 minutes. See chapter

Licensing, Further Information.

Heartbeat integer This datapoint element is incremented according to the specified interval (every second by default, see also heartbeatTime). This DP element indicates whether the Event Manager is running its main loop and is therefore functional.
License contains the elements below:
ExpirationCnt string Internal information about the license.
RemainingTime uint The remaining time (minutes) the license is valid.
FixedShield string Contains entries for fixed licensing (see also Licensing).
HW string Contains entries for fixed licensing (see also Licensing).
cmLicenseInvalid integer When the used Code Meter license cannot be reached during the periodic license check, the value of the datapoint element cmLicenseInvalid is set to 1 and an alert is triggered.

The datapoint element is set to 0 again when the Code Meter license is available again.

setCMContainer string This datapoint element allows you to set a new Codemeter license container and switch the current licenses to the new container. This is only possible for a user with administrator rights. For limitations, see chapter Licensing, Further Information .
activeCMContainer string This datapoint element always reflects the currently used valid Codemeter license container. This DPE is read-only.
setCMContainerStatus integer 0 - OK: after start or last switch was successful

1 - switch is under progress (can also take up to some minutes for network based license containers depending on network configuration and accessibility)

2 - last switch failed, see log for details

For error messages - see chapter Licensing Errors.

Details. (json) - Contains the information for Subscription-based Licensing.

Details.hint (time) - All timestamps are in UTC and are displayed in local time in the panel.

Details.contractExpiration (Datetime) - The contract end date.

Details.gracePeriod (time) - The grace period, in days.

Details.DemoPeriod (time) - The demo period, in days.

Details.expiration (Datetime) - The actual expiration date. After this date, projects will stop or enter a 7-day emergency mode.

Details.type (string) - The license type: perpetual, subscription, developer, demo, or nolicense.

Details.container (string) - The CodeMeter container ID.

Details.state (int) - Possible states: Valid (0), extension pending (3), expiring (4), grace period (5), emergency mode (6), invalid (7), update successful (8).

Details.UpdateCheck (time) - The timestamp for the next update check.

Details.LastUpdateResult (string) - The result of the last update.

Details.UpdateInfo struct

Status of the license portal: unavailable (-2), unknown (0), or available (2).

Details.UpdateInfo has the following elements:

Details.UpdateInfo.State - Possible states

Details.UpdateInfo.NextCheck - Next update check information

Details. LastResult - Last update result

Details.ForceCheck - Triggers a license update