TG Motion  version 421 - 4033/904 cnc 121
Real-time system for controlling servo drives and I/O modules
MACHINE_PARAMETERS Struct Reference

Machine parameters. More...

#include <TGM_CNC.h>

Public Attributes

P10DOUBLE minCoords
 Minimal allowed coordinates.
 
P10DOUBLE maxCoords
 Maximal allowed coordinates.
 
P10DOUBLE refCoords
 Reference point for min max coords.
 
P10BOOL enableMask
 Mask to enable testing of limits for individual axes.
 
P10DOUBLE backlash
 Backlash in axes in mm.
 
P10DOUBLE backlashInc
 Backlash change in mm per 100us.
 
int32_t backlashValuesSource
 
uint32_t enhancedInterpolatorParameters
 
P10DOUBLE axisSpeedRatio
 

Detailed Description

Machine parameters.

Definition at line 1783 of file TGM_CNC.h.

Member Data Documentation

◆ backlashValuesSource

int32_t MACHINE_PARAMETERS::backlashValuesSource
  • 0 - backlash values are read from .INI
  • 1 - backlash values are read from the above variables

Definition at line 1791 of file TGM_CNC.h.

◆ enhancedInterpolatorParameters

uint32_t MACHINE_PARAMETERS::enhancedInterpolatorParameters

bit coded value:

  • lower 10 bits: disabling angle continuity for selected axes (each bit is for each axis)
  • next 10 bits: if set, this axis is not used for interpolation length calculation
  • 0x100000 if any axis set in lower 10 bits starts movement, stop all axes between parts
  • 0x200000 if any axis set in lower 10 bits changes its direction, stop all axes between parts

Definition at line 1793 of file TGM_CNC.h.

◆ axisSpeedRatio

P10DOUBLE MACHINE_PARAMETERS::axisSpeedRatio

speed recalculation for rotational axes, for linear axis is 1.0 0.0 is treated as 1.0 for simplicity

Definition at line 1799 of file TGM_CNC.h.


The documentation for this struct was generated from the following file: