Initial situation
If a project installation package (PIP package) is created, the selections made in the configuration masks are saved in pipconfig.xml.
This file tells the PLC how the installation should proceed and whether an initial installation should be permitted.
However, the configuration settings of the package are very error-prone, so that a misconfiguration in the field can, in the worst case, lead to a repartitioning and the complete loss of data of a machine in the field.
For this reason, the idea is now to create the package using automated scripts to prevent such misconfiguration.
Problem
A PIP package cannot be created directly via the command line (See related topic)
However, as a PIP package consists of artransfer.br, pipconfig.xml and arnbcfg.xml, one approach would be to carry out an offline installation using Script and generate the folder structure and the two XML files.
The pipconfig.xml basically contains all the information needed to create it, except for the partition sizes.
As this is a part generated by the AS, which according to the comments should not be changed, it is not described anywhere how these values are calculated.
Questions
The only connection that could be determined is that the partition size is specified in bytes.
100 MebiByte = 104857600 Byte
Does anyone know how the other sizes are calculated? Are there easily determinable correlations that can be used to calculate these values?
Support
We are aware that this part should not be changed and that changes to the part will result in it no longer being supported. However, we currently lack the alternatives so that this risk must be borne,
Thanks in advance and best regards