Additional Changes
Control
Ctrl Library Restructure
In order to reduce space requirements, limit resource utilization and shorten startup time, many unused/unnecessary functions have been removed from the product.
The structure of the scripts and CTRL libraries has been changed to reduce the number of libraries in the file system and the number of libraries loaded when starting a manager. In particular for a runtime UI, the number of loaded standard libraries has been significantly reduced in order to shorten the start time. This has a particularly positive effect on the mobile user interface if a network connection with a lower bandwidth is used.
A detailed description of all the changes can be found here.
New Connector Functions
Pipe and Polygon shapes now have additional scriptable-only read-write properties when used as connectors:
Table - New Options For "writeToFile"
A new writeToFile options is available.
const TABLE_WRITE_VISIBLE_CELLS = 0
const TABLE_WRITE_ALL_ROWS = 4
must be used."reportRequested" Event Added To "sysConnect()" Function
You can now establish a connection to the internal event "reportRequested" via sysConnect() and the registered callback is triggered when a report should be printed.
New Mapping stdin
The new mapping option stdin
for the function system() redirects the process' standard
input to the file indicated by fileName
.
system(makeMapping("program", "cat", "stdin", "/tmp/input", "stdout", "/tmp/output"));
Drivers
OPC AE - New Config Entries "useJsonForSimpleEvent" & "conditionEventDp"
Use the config entry useJsonForSimpleEvent to specify that JSON format should be used instead of the old format.
For conditional events the DPE defined by the config entry conditionEventDp is used.
SNMP Driver - Config Entry "maxAgents"
The limit of 255 agents per driver has been removed. In the past, this limit could be
increased using the config entry [snmpdrv] maxAgents
configuration
entry which has now been removed.
SNMP - Redundant Connection Data Point
The behavior of the SNMP driver in redundant systems has been changed. Previously, the SNMP driver did not use "<DP>_2" data points for connection data points. This meant that the SNMP driver could not provide separate status information for an agent connection in a redundant system. Previously, only the active driver set the status. This has now been changed in 3.20. In a redundant project the corresponding "<DP>_2" DPs for the types _SNMPAgent and _SNMPV3Entity will be created by default. Please note this if you use status information from these DPs in your project.
As an alternative, you can use the configuration entry useReduPostfix. It can be used to set the old behavior. Use this config entry only if it is really necessary, as in this case the fwdDpType config.redu entries, which refer to the data point types mentioned above, must be removed in order to achieve the old behavior.
BACnet - Data Connection Protocols
The WinCC OA BACnet driver supports the data connection protocols BACnet/IP and BACnet/Secure Connect (BACnet/SC).
To configure the web socket connection, security certificates must be defined. To define the certificates, use the mandatory configuration entries secureCACertificate, secureCertificate and secureCertificateLKey. For more information, see the WinCC OA BACnet help.
GEDI
Change Layer Order During Runtime
You now can change layer and z-Order of a single shape during runtime by using the functions zOrderAfter() , zOrderToBottom() and zOrderToTop().
Editable Layout Position In GEDI
Items that are included in an active layout get an additional Layout Position that allows to control the item's position within that layout.
User Interface
Custom CSS In ULC UX
A project-specific CSS has been added to the ULC UX file, see How to customize the ULC UX Design.
VideoPlayer EWO
A new VideoPlayer EWO with dedicated CTRL scripting has been added to WinCC OA. It can be used to play media files and detect QR codes.
For further information see VideoPlayer EWO.
Touch Handling Improvement For Trend
The trend was improved for touchscreen operation.
General
Setup Improvements
WinCC OA now comes with a new and improved setup, which has been split into multiple dedicated packages reflecting the customers needs as well as a modern design.
Desktop UI Deployment Changes
The WinCC OA Desktop UI has been removed from the standard setup and is now available as its own package. To restore the previous functionality, please follow the instructions on the page Desktop UI Requirements and Installation.
DiskSpaceCheck Alert Changed From FreeKB To AvailKB
The check for available disk space to trigger the emergency mode now checks the DPE AvailKB instead of FreeKB. An alert config has been implemented to warn the user if the free disk space reaches the limit.
New OA Help Assistant
The external Qt assistant has been replaced with internally-developed replacement, which is part of the WinCC OA UI manager and has the same features as the previous assistant.