Process
This part of the user interface can be used to configure, start, and stop the import. The settings loaded by the import service (with the exception of M‑functions) can each be changed individually at runtime by means of the stConfiguration input. The import service will then use the settings activated there instead of the settings from the loaded configuration file.
Variable name | Description |
---|---|
uiProgramSlot | Data type – UINT |
Program slot on which the converted G-code program is written. | |
sFileName | Data type: STRING(127) |
Name or complete path of the file to be imported. If the file is specified with an absolute path, the G-code import service uses this and ignores the set source directory. In this case, the source directory does not need to be specified. If only one file name is used, the source directory in stDirectory.sPath must have been specified beforehand; this is the directory in which the G-code import service should search for the file. | |
xStartImport | Data type – BOOL |
Start the parameterized import with a rising edge. As soon as the import of a G-code is requested from the import service via the IEC function block for the G-code import, the corresponding G-code file must be available in the parameterized source directory on the import computer. Otherwise, the robot will output an error in the IEC. This file should contain only validly written and supported G-code. See also chapter G-code. | |
xStopImport | Data type – BOOL |
With a rising edge, cancel the running import. To evaluate whether the command was carried out successfully, the stOut.xFileImported variable must be evaluated before and after the signal was sent. The variable must be "FALSE". |