CNC Example 03: Performing Path Preprocessing Online See the CNC03_prepro.project sample project in the installation directory of CODESYS under ..\CODESYS SoftMotion\Examples . The example shows how p
CNC Example 05: Creating CNC from a File See the CNC05_File.project sample project in the installation directory of CODESYS under ..\CODESYS SoftMotion\Examples . With this sample project, you can und
Activating the Extended Preprocessing Function G code : G38 , G39 Function : These commands activate and deactivate the extended preprocessing function. Syntax G38 O<Bit> I<Param1Value> J<Param2Value>
Modes Function : These commands determine whether the coordinates and axis midpoints are interpreted as absolute values or relative coordinates. G Code Description G90 The coordinates ( X / Y / Z / A
Switch Point (H Function) Function : The switch point functionality or H function activates binary, path-dependent switches. A maximum number of three switch points ( MAX_SWITCHES ) can be processed f
M Function Function : M functions or additional functions start actions during the interpolation of G code. The interpolator decelerates to velocity 0, sends the number of the queued M function to the
Timing Synchronization with Interpolator G code : G75 Function : The command prevents the function block of the decoder from processing G code until the interpolator has traveled through all previous
Arc G code : G2 , G3 Function : The command interpolates an arc from the current position along a circular path to the target position. G2 moves clockwise and G3 moves counterclockwise. The arc is def
Ellipse G code : G8 , G9 Function : The command specifies an ellipse arc through the target coordinates X/Y, the ellipse midpoint I/J, the ellipse main axis directions K, and the length ratio R betwee
Linear Motion G code : G1 Function : This positioning command executes a line interpolation. The line interpolation moves the interpolation point from the current position to the defined target coordi