The usage of the sld tool is simplified:
-
Starting with release May 2024, the SIMATIC app file is built in a generic form valid for all types of the SIMATIC S7-1500 PLC family.
So, it is only required to build for the target "1500" and thesldtool is performing the final adaption to the specific PLC while downloading. The target plcsim can be removed from apax.yml to avoid building the ST code twice. If such a case occurs, you will receive a warning fromapax build.
As a result, the --input option of the tool is now optional and defaults to the ./bin/1500 folder.Building a library in AX is not changed at all and will continue to use the target "1500".
-
On target side, the options --target, --username and --certificate can be omitted, if you define the variables
myPLC_IPADDRESS,myPLC_USERNAMEandmyPLC_CERTin apax.yml.
Details are described in the section connection parameters. -
This version of
sldsupports only SIMATIC app files build withstc6.x or 7.x, but not future versions ofstc. -
The
sldtool is prepared for the end-of-support date of DotNet 6 in November 2024. Details can be read here -
Describe sld functionality more detailed in the documentation.