If you are not using the SIMATIC AX SDK as a whole, you can install the latest sld separately.
apax add --dev @ax/sld
Open a command line in the folder containing the apax.yml file and enter the following command. The arguments passed to SLD will vary based on the configuration of the PLC you previously downloaded with TIA Portal. For more details, refer to the command line reference.
apax sld load --target 192.168.0.1 --password aSecurePassword --certificate ./cert.cer --restart --accept-security-disclaimer
This will perform the software download.
For convenience, you have two options to avoid the typing on the command line:
- Add a script to the ./apax.yml file
The advantage of this is that as the apax.yml file is part of the git repository. So, the script is automatically available in a pipeline and on each computer after checkout. - Add a task to the local AX Code configuration