Installation, Start and Operation

Installation

IEC 61131-3 editor 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

IEC 61131-3 editor 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, IEC 61131-3 editor 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’.

Note

Paths containing spaces must be bordered by quotation marks (“).

The project will start in full screen mode with the entrance POU.

IEC 61131-3 editor 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, IEC 61131-3 editor HMI at any time can be terminated by pressing Alt + F4.