This software change the connection parameters of a WinCC Project. In this way you can keep a single project and change the connected target machine directly from the runtime without recompiling the project.
WinCCCT [command] [options]
--path
: Path (absolute or relative) of MDF file--dbName
: Name or pattern of MDF file (i.E.:HMI_577I.MDF
orHMI_*.MDF
)
if no --path
or --dbName
is set the tool will search for a WinCC database in all subfolders.
Use one of theese options if you have many elegible .MDF file in your subfolders
-?|-h|--help
: Show help information
list
: List all WinCC connectionssetCon
: Set WinCC connection stringsetOpc
: Update a WinCC connection string of type OPC UAsetOpcNS
: Update OPC Namespace number of all variables in a connection
Run WinCCCT [command] --help
for more information about a command.
- List all WinCC connections:
WinCCCT list --dbName HMI_577I.MDF
- Change parameter of a generic connection:
WinCCCT setCon connection1 "IP,10.10.100.119,,0,2,02" --dbName HMI_577I.MDF
- Change OPC UA connection with host name and port number:
WinCCCT setOpc connection1 192.168.1.10 4048 --dbName HMI_577I.MDF
- Change OPC UA namespace number for all variables in a connection:
WinCCCT setOpcNS connection1 81 --dbName HMI_577I.MDF