Installation
CODESYS HMI can be installed with the standard Automation Builder setup. If no valid license is available, a time-limited demo version is available.
Start and operation
CODESYS HMI (CoDeSysHMI.exe) is started by a command line:
In each case at least the desired Automation Builder project has to be given in the command line. If no further parameters are set there, CODESYS HMI automatically will start with a visualization POU named PLC_VISU (if existant in the project) and on that target or simulation mode, which was set when the project had been saved last.
Additionally as well the known command line and command file commands as the following special parameters can be used:
-
"/simulation" resp. "/target"
Per default it will be started in that mode which was set when the project was saved last. Using the parameter "/simulation" resp. "/target" in the command line it can be set explicitely whether the project should run in simulation mode or on the target.
-
/visu <visualization POU>
If the project contains a visualization POU named PLC_VISU, it will start automatically with this one. If another POU should be the entrance, it has to be set in the command line with "/visu <name of visualization POU>".
-
/visudownload
Overrides the download lock: If the user tries to log in with a project, which is different to that on the PLC, per default a download of the new project (dialog) can be initiated. If however there is an entry "visudownload=0" in the codesys.ini file, then no download is possible. This lock can be overridden by the command line parameter "/visudownload".
-
/visucompactload
This parameter can be used for optimization at starting a project for which no download is required. If a download gets necessary anyway, e.g. effected by parameter "/visudownload", "/visucompactload" will be ignored.
Example for a command line
D:\PROGRAMME\CoDeSysHMI /simulation D:\PROJECTS\PROJECT.PRO /visu overview
The project project.pro will start in simulation mode and with the visualization POU 'overview'.
Paths containing spaces must be bordered by quotation marks (").
The project will start in full screen mode with the entrance POU.
CODESYS HMI can be operated corresponding to the functions of the visualization elements via keyboard and mouse. If there is no visualization element configured with a corresponding function, CODESYS HMI at any time can be terminated by pressing [Alt] + [F4].