Example: CNC
Product: CODESYS Application Composer
This example shows how to use the CODESYS Application Composer to implement a CNC machine. In addition to the axes and the control sequence, the visualizations are also generated.
Description
The example contains a CNC machine which is created from Composer modules. The axes, the visualization, and the controller software are created in the form of Composer modules.
The hardware is mapped in one part of the modules so that the other modules can be functional exclusively in the other part. Then these take over control of the CNC machine.
![]() |
The machine can be moved in the visualization. On the CNCPaths
tab, you can specify the path of motion to be executed in automatic mode. The "Details" link shows an OMAC State Machine according to which the CNC machine works. The possible states are distinguished according to operating state.
![]() |
![]() |
System requirements and restrictions
Programming system | CODESYS Development System (version 3.5.17.0 or higher) |
Runtime system | CODESYS Control Win (version 3.5.17.0) |
Add-on components | CODESYS Application Composer |
Note
DOWNLOAD Projects