Automate workflow with Certificate Management Tool - Manual - Hardware Loader - The AX Hardware loader - Hardware Loader (hwld),tool

Hardware Loader CLI Tool (hwld)

Portfolio
SIMATIC AX
Product
Hardware Loader
Software version
2.0.20
Edition
11/2024
Language
English (original)
Package Name
@ax/hwld

WARNING

Downloading and using the certificate without validation may pose a security risk.

The Certificate Management Tool makes it possible to download the certificate of a specific PLC and can be used to automate the download workflow. The following example shows how to retrieve and use the certificate of the PLC for the download.

# Get certificate of PLC
apax plc-cert -t 192.168.0.1 -o ./certs/plc1.cer
# Download hardware configuration to PLC
apax hwld -t 192.168.0.1 -i ./bin/ -C ./certs/plc1.cer --non-interactive --accept-security-disclaimer