Command line interface

Command line interface 1:

The command line interface is available since version 2.7.2.0 of the TE1420 | Target for FMI.

The TE1420 Target for FMI offers a command line interface that can be used to automatically convert FMUs into TcCOM modules. This interface is described below.

The command line interface is used via the TcModuleGenerator.exe application, which is installed by default in the "C:\Program Files (x86)\Beckhoff\TwinCAT\Functions\TE1420-TargetForFmi\Win32" folder.

The call via command line is made according to the following scheme:

TcModuleGenerator generate [FmuPath1 FmuPath2 …] [options]

In addition to a detailed call containing all parameters, it is also possible to pass a settings file in the call. The parameters are stored in this file as XML. The call is then made as follows:

TcModuleGenerator.exe generate C:\Users\<UserName>\AppData\Local\Temp\configTE14xx.xml

The settings file can be created directly via the UserInterface (see chapter Reference user interface; Saving the configuration).

The call parameters of the command line interface can be requested with the interface itself using the command

TcModuleGenerator.exe --help

or

TcModuleGenerator.exe generate --help

The exact call parameters for the individual available options are specified in the "User interface" documentation (see chapter Reference user interface).