SM3_CNC Library Documentation

Company

3S - Smart Software Solutions GmbH

Title

SM3_CNC

Version

4.14.0.0

Categories

Intern|SoftMotion

Author
Placeholder

SM3_CNC

Description [1]

The function blocks of this library allow to read, interpret, and interpolate g-code files (according to DIN 66025). The interpreter (SMC_NCInterpreter) transforms the path into a structure that can be modified, transformed, and interpolated in order to create cyclic set positions for the drives. (e.g. SMC_ReadNCFile2, SMC_NCInterpreter, SMC_ToolRadiusCorr, SMC_AvoidLoop, SMC_SmoothPath, SMC_RoundPath, SMC_Interpolator).

The functional breakdown to function blocks allows particular components to be replaced by function blocks designed for special requirements. Moreover, further function blocks – like an individual path pre-processor – can be combinded with the existing components without any problems.

The data structures of the library (e.g. SMC_POSINFO, SMC_GEOINFO and SMC_VECTOR3D) describe positions, path segments and vectors. The SMC_OUTQUEUE structure represents the interpreted g-code path..

The following compiler defines are supported:

  • SOFTMOTION_NC_INTERPRETER_LOG_GCODE: logs all gcode that is processed by SMC_NCInterpreter

  • SOFTMOTION_NC_NAVIGATOR_LOG: logs information about all executed gcode jumps and subprogram calls/returns

  • SOFTMOTION_NC_SYMBOLTABLE_LOG: logs information about the symbol table

  • SOFTMOTION_NC_JUMPBUFFER_LOG: logs information about jumps in jump buffer

  • SM3_CNC_LOG_IPO2DIR: logs information about SMC_Interpolator2Dir.

Indices and tables

[1]

Based on SM3_CNC.library, last modified 10.03.2023, 12:57:25. LibDoc 4.0.0.0

The content file SM3_CNC.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 10.03.2023, 12:57:26.