The parameters described in this section are used to connect the debugger to a target.
-?|-h|--help
Show help information.
--version
Show version information.
-t|--targetIP
The IP parameter specifies the IP address of the SIMATIC PLC to which the debugger is to connect.
-s|--symbolsPath
optional
The debug symbols are part of the *.app or *.lib file. Add the path to the .app or.lib file as the value for this parameter.
In the default configuration, the debug symbols are loaded from the PLC.
-u|--username
optional
Add a legitimation username for the PLC (e.g. -u My_UserName).
Legitimation with username requires a password provided via option "-p|--password".
User name may only contain ASCII7-characters!
Be aware that Non-ASCII-characters in the username will be removed so that, the user name will be invalid and access to the PLC will be denied!
The username is required for PLCs with enabled user mangagement and access control (UMAC)! For all PLCs with legacy access control, the username must not be used!
-p|--password
optional
Add a legitimation password for the PLC (for example -p "MY_PASSWORD"). Note that this password is submitted in clear text. If you use the flag with an empty string (for example -p ""), a secure prompt will appear so that you can enter the password securely.
-C|--certificate
optional
The file containing the public key for communicating with the PLC. The certificate can be extracted from either the TIA Portal or the SIMATIC PLC 1500 via certificate management.
-b|--baseFolder
optional
Use this for source path remapping: The folder in which the project was compiled. This must be the same path as that used in 'stc -i'-option.
Source path remapping is necessary if the location of the source code is changed after downloading the compiled binaries to a SIMATIC 1500 PLC.
The parameter '--remappingPath' must also be specified when using this option.
-r|--remappingPath
optional
Use this for source path remapping: The target directory in which your source code is now located.
Source path remapping is necessary if the location of the source code is changed after downloading the compiled binaries to a SIMATIC 1500 PLC.
The parameter '--baseFolder' must also be specified when using this option.
-o|--output
Default: user
Defines how the debugger displays data on the console. Possible output formats are user and json. The user format prints the result to the console in human-readable form.