2c2
< # Tormach Lathe LinuxCNC Simulator INI
---
> # Tormach Lathe LinuxCNC for Mesa [56]i25 card INI
6,8c6
< MACHINE = SlantPRO
< 
< # Debug level, 0 means no messages. See src/emc/nml_intf/debugflags.h for others
---
> MACHINE = tormach_lathe
10,25c8,25
< #DEBUG = 0x00000002  # configuration
< #DEBUG = 0x7FFFDEFF  # no interp,oword
< #DEBUG = 0x00008000  # py only
< #DEBUG = 0x0000E000  # py + remap + Oword
< #DEBUG = 0x0000C002  # py + remap + config
< #DEBUG = 0x0000C100  # py + remap + Interpreter
< #DEBUG = 0x0000C140  # py + remap + Interpreter + NML msgs
< #DEBUG = 0x0000C040  # py + remap + NML
< #DEBUG = 0x0003E100  # py + remap + Interpreter + oword + signals + namedparams
< #DEBUG = 0x10000000  # EMC_DEBUG_USER1 - trace statements
< #DEBUG = 0x20000000  # EMC_DEBUG_USER2 - trap into Python debugger
< #DEBUG = 0x7FFFFFFF  # EMC_DEBUG_ALL
< #DEBUG = 0x10008000  # USER1, PYTHON
< #DEBUG = 0x30008000  # USER1,USER2, PYTHON # USER2 will cause involute to try to connect to pydev
< #DEBUG = 0x00080000  # EMC_DEBUG_REDIS
< DEBUG = 0x00000100  # Interpreter
---
> # Debug level, 0 means no messages. See src/emc/nml_intf/debugflags.h for others
> #DEBUG =                     0x00000002  # configuration
> #DEBUG =               0x7FFFFFFF
> #DEBUG =               0x7FFFDEFF  #no interp,oword
> #DEBUG =             0x00008000 # py only
> #DEBUG =             0x0000E000 # py + remap + Oword
> #DEBUG =             0x0000C002 # py + remap + config
> #DEBUG =             0x0000C100 # py + remap + Interpreter
> #DEBUG =             0x0000C140 # py + remap + Interpreter + NML msgs
> #DEBUG =             0x0000C040 # py + remap + NML
> #DEBUG =             0x0003E100 # py + remap + Interpreter + oword + signals + namedparams
> #DEBUG =               0x10000000  # EMC_DEBUG_USER1 - trace statements
> #DEBUG =               0x20000000  # EMC_DEBUG_USER2 - trap into Python debugger
> #DEBUG =               0x7FFFFFFF # EMC_DEBUG_ALL
> #DEBUG =             0x10008000 # USER1, PYTHON
> #DEBUG =             0x30008000 # USER1,USER2, PYTHON # USER2 will cause involute to try to connect to pydev
> #DEBUG =                     0x00080000  #EMC_DEBUG_REDIS
> DEBUG =           0x00000100 # Interpreter
54c54
< RS274NGC_STARTUP_CODE = G7 G18 G20 G90
---
> RS274NGC_STARTUP_CODE = G7 G18 G20 G90 G64
75,76c75,81
< BASE_PERIOD = 40000
< SERVO_PERIOD = 1200000
---
> SERVO_PERIOD = 1000000
> 
> [HOSTMOT2]
> # **** This is for info only ****
> # DRIVER0=hm2_pci
> # BOARD0=5i25
> BITFILE0=mesa/tormach_lathe.bit
80c85
< HALFILE = tormach_lathe_sim.hal
---
> HALFILE = tormach_lathe_5i25.hal
82c87
< POSTGUI_HALFILE = postgui_tormach_lathe_sim.hal
---
> POSTGUI_HALFILE = postgui_tormach_lathe_5i25.hal
109a115,117
> ENCODER_FILTER = 38
> ENCODER_SCALE = -1200
> 
115a124,125
> STEPGEN_MAX_VEL = 1.2
> STEPGEN_MAXACCEL = 18.0
116a127,131
> # time in nanoseconds
> DIRSETUP = 10000
> DIRHOLD = 10000
> STEPLEN = 8000
> STEPSPACE  = 5000
119,120c134,140
< MIN_LIMIT = -10.0
< MAX_LIMIT = 0.0000001
---
> MIN_LIMIT = -10.000
> MAX_LIMIT = 0.010
> HOME_OFFSET = 0.010
> HOME_SEARCH_VEL = 0.750
> HOME_LATCH_VEL = -0.050
> HOME_IGNORE_LIMITS = YES
> HOME_SEQUENCE = 0
131a152,153
> STEPGEN_MAX_VEL = 1.8
> STEPGEN_MAXACCEL = 18.0
132a155,159
> # time in nanoseconds
> DIRSETUP = 10000
> DIRHOLD = 10000
> STEPLEN = 8000
> STEPSPACE  = 5000
136c163,168
< MAX_LIMIT = 0.0000001
---
> MAX_LIMIT = 0.010
> HOME_OFFSET = 0.010
> HOME_SEARCH_VEL = 0.750
> HOME_LATCH_VEL = -0.050
> HOME_IGNORE_LIMITS = YES
> HOME_SEQUENCE = 1