Release Notes for SP01
New Functions in the Expression Editor
For PCo 15.5 (SP01), the following new functions are available in the expression editor:
-
csvParse(csvString, recordSeparator, fieldSeparator, quoteCharacter, containsHeader)
You can use this function to parse the comma-separated CSV character string csvString into an array of structured objects. The result is an untyped array of untyped structured objects, where each structured object represents a record, and each component of a structured object represents a field.
-
structCompDelete(obj, [component 1, ..., component n-1], component)
You can use this function to delete the component component under the component path component 1 to component n-1 of a structured data type instance obj.
Support of Certificate Rotation in the Universal Web Service Destination System (New)
As of release 15.5 (support package 01), you can specify in the universal Web service destination system that the certificates configured for authentication are to be identified at runtime by their subject. At runtime, the appropriate certificate is then selected from the list of certificates in the selected storage location according to the subject defined in the configuration. If there are several certificates with this subject, the one with the longest validity is used.
With this setting, the system supports certificate rotation: You can renew the certificate during productive operation, provided it has the same subject as the configured certificate.
This function is also provided for Web service destination systems that you have created using the Machine Model in the SAP Digital Manufacturing Cloud.
MQTT Destination System: Importing Data Types into the Data Type Repository and Using Them (New)
As of PCo 15.5 SP01, the MQTT destination system allows structured data types to be imported into the PCo data type repository. The new pushbutton Import Data Types into Data Type Repository has therefore been added to the Message Settings tab.
You can use this function to simply import a message configuration as a structured data type into the data type repository. The data structure can then be selected again when you are creating an MQTT destination system or when you are using an MQTT destination system in a multiple call destination system. If you use the MQTT destination system, for example, in a multiple call destination system, you only need to enter a single input variable. You can use the Select Data Type function to select the relevant previously imported structured data type in the PCo data type repository. In this case, the input of the root parameter as the only input parameter is sufficient to convert JSON files and pass them as a data structure to an MQTT broker. This reduces the configuration effort significantly.
MQTT Source System: Importing Data Types into the Data Type Repository and Using Them (New)
The pushbuttons Import Data Types into Data Type Repository and Select Data Type have also been added to the MQTT source system. This enables the same functionality as described above.
OPC UA Source System: Importing Data Types into the Data Type Repository and Using Them (New)
As of PCo 15.5 SP01, the OPC UA source system allows structured OPC UA data types to be imported into the PCo data type repository. The new pushbutton Import Data Types into Data Type Repository has therefore been added to the Structures tab.
The following OPC UA data types can be imported with this function:
-
Structured data types, also deeply nested
-
Hierarchies of structured data types
-
Enumeration data types (only when used in components of structured data types)
-
Arrays of structured data types
-
Arrays of enumerated data types (only when used in components of structured data types)
You can use the imported data types in tag-based notifications, output expressions, multiple call destination systems, MQTT destination systems, and in the universal Web service destination system (for REST Web services). If you choose Select Data Type, you are taken from the respective application to the PCo data type repository, where you can select the relevant structured data type that you imported previously.