Arguments of the G-code import service application

The import service application can be parameterized with arguments during startup. These arguments must be transferred when the application is started. The arguments can be specified in a link to GCodeImportService.exe but can also be specified when called from the Windows command prompt or batch file (.bat). The following options are available:

  • Using a user-specific TCP port number: Instructs the import service to provide the functionality under the transferred TCP port number and to communicate with the import function module via this port. It is recommended to select a number from the range of 49152 to 65535 of the dynamic private port numbers for this purpose, because in this range the chance of collision with other applications and their port occupancy is lower.
  • -port:x (The "x" stands for an integer in the range from 0 to 65535, which represents the number of the TCP port used by the service.)
  • INFORMATION: Make sure that the MOVI-C® CONTROLLER that wants to use the G-code import can reach the import computer in the network and that the configured port is enabled for the TCP protocol. If several robot instances should use the G-code import, the import service must be started separately for each instance with its own port number.
  • Using a G-code import configuration file: Instructs the import service to load the configuration located under the specified path. The path must be absolute to the file.
  • -configfilepath:"x" (The "x" stands for the absolute path to the configuration file. The quotation marks are required if the path contains spaces.)
  • INFORMATION: The application attempts to load the configuration file during startup. It is important that you always load the required configuration file to obtain the desired import result. If an invalid path to the configuration file is specified, the file is faulty or does not exist, the import service is not started and an error is issued. The loaded settings are applied for each import process. If no argument of the configuration file is specified, the following default configuration is used:
  • G-code dialect: Standard
  • Rotation scaling: 1.0
  • Translation scaling: 1.0
  • Speed scaling: 1.0
  • Insert blending command: No
  • Insert SetMotionSet command: No