Skip to main content

Example: CNC 05: Creating a G Code Program from an ASCII file

Product: CNC

With the CNC05_File.project sample, you can understand how a G code program is read from an ASCII file which is stored on the PLC. Using an ASCII file is useful when the G code program is very large or was created by an external tool.

The function of the project is similar to the CNC02_online.project sample project. However, the G code program is read from an ASCII file. No variables are used and the processing order is comparable to the one in the CNC02_online.project sample project.

For more information see: CNC Example 5: Creating CNC from a File

System requirements and restrictions

Programming system

CODESYS Development System (version 3.5.16.0 and higher)

Runtime system

CODESYS Control Win (version 3.5.5.0 and higher)

Add-on components

-

Note

_example_icon.png After the installation of CODESYS SoftMotion, the sample project is located in the CODESYS installation directory, in the CODESYS SoftMotion subdirectory.