Options - 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
Option Description
-?, -h, --help Show help.
--version Show version information.
-i, --input Path to the deployable hardware configuration: The directory containing the .hwdat files (output of hwc) or the directory of an SD card image. Either this option for download or the option --resetPlc must be used.
--resetPlc Reset PLC to factory settings. Supported values: None, DeleteIpAddress, DeleteMasterPwd, FormatMemoryCard, KeepOnlyIP (=All w/o DeleteIpAddress), All. Either this option or the option --input must be used.
-t, --targetIP IPv4 address of target PLC. Mandatory
-C, --certificate Path to an X509 certificate that the user wishes to validate their PLC against. For more information, see certificate handling.
-u, --userName Username in case the target is protected with username and password.
-p, --password Password granting write access to the target.
-M, --masterPassword Password for changing security-related settings such as certificates when downloading. This parameter is only necessary for the initial download of a PLC, for further downloads it can be omitted or it will be ignored.
--nonInteractive Disables the user certificate prompt. When connecting to a PLC with an unknown certificate, download will fail.
-r, --restart Restart the PLC after successful download (if the software was loaded previously). This option cannot be used together with option --resetPlc.
--accept-security-disclaimer Confirm that you have read and understood the security disclaimer. Alternatively, set the environment variable AX_ACCEPT_SECURITY_DISCLAIMER to 1.
-l, --log The following log levels are available: Information, Warning, Error. Default log level: Information. To reduce log messages set the log level to warning (no information messages) or error (no information and no warning messages).