My machine is a gantry type machine with two Y axis steppers. Lately I have been doing a lot of midifications to the machine and one thing that was a bit of a nuisance was that the since the steppers and hardware for both Y axis are exactly the same I still had to enter values for both in the .ini file.
In hal files it is possible to reuse the value from an .ini file. See:
linuxcnc.org/docs/html/config/ini-config...sub:custom-variables
Would be nice if that could be done in the .ini file as well, would have saved a terrible crash and racking of the gantry
An example of that I am proposing:
#*** AXIS_Y *******************************
[AXIS_Y]
MAX_VELOCITY = 25.0
MAX_ACCELERATION = 750.0
MIN_LIMIT = -0.001
MAX_LIMIT = 200.0
[JOINT_1]
TYPE = LINEAR
HOME = 0.0
MIN_LIMIT =
[AXIS_Y]MIN_LIMIT
MAX_LIMIT =
[AXIS_Y]MAX_LIMIT
MAX_VELOCITY = 25.0
MAX_ACCELERATION = 750.0
STEPGEN_MAXACCEL = 937.5
SCALE = 80.0
FERROR = 1
MIN_FERROR = .25
HOME_OFFSET = 0.0
[JOINT_2]
TYPE = LINEAR
HOME = 0.0
MIN_LIMIT =
[AXIS_Y]MIN_LIMIT
MAX_LIMIT =
[AXIS_Y]MAX_LIMIT
MAX_VELOCITY = 25.0
MAX_ACCELERATION = 750.0
STEPGEN_MAXACCEL = 937.5
SCALE = 80.0
FERROR = 1
MIN_FERROR = .25
HOME_OFFSET = 0.0