3S - Smart Software Solutions GmbH
SM3_CNC
4.14.0.0
Intern|SoftMotion
SM3_CNC
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.