Browse Source

so slowwww

xhcb04
ton, LinuxCNCMESA 4 years ago
parent
commit
2b329b7b1d
  1. 4
      custom.hal
  2. 2
      io.hal
  3. 7
      mesa_2019.hal
  4. 64
      mesa_2019.ini
  5. 73
      mesa_2019.pref

4
custom.hal

@ -1,2 +1,6 @@
# Place any HAL commands in this file that you want to run before the GUI.
# This file will not be written over by the configuration tool.
# Spindle
setp hm2_7i96.0.pwmgen.00.output-type 1
setp hm2_7i96.0.pwmgen.00.scale [SPINDLE]MAX_RPM
setp hm2_7i96.0.pwmgen.pwm_frequency [SPINDLE]PWM_FREQUENCY

2
io.hal

@ -1,4 +1,4 @@
# This file was created with the 7i96 Wizard on Apr 14 2019 14:54:55
# This file was created with the 7i96 Wizard on Apr 16 2019 15:24:52
# If you make changes to this file your screwed
net home-joint-0 joint.0.home-sw-in <= hm2_7i96.0.gpio.000.in

7
mesa_2019.hal

@ -1,4 +1,4 @@
# This file was created with the 7i96 Wizard on Apr 14 2019 14:54:55
# This file was created with the 7i96 Wizard on Apr 16 2019 15:24:52
# If you make changes to this file DO NOT run the configuration tool again!
# This file will be replaced with a new file if you do!
@ -165,6 +165,11 @@ setp pid.3.deadband [JOINT_3]DEADBAND
setp pid.3.maxoutput [JOINT_3]MAX_OUTPUT
setp pid.3.maxerror [JOINT_3]MAX_ERROR
# Spindle
setp hm2_7i96.0.pwmgen.00.output-type 0
setp hm2_7i96.0.pwmgen.00.scale [SPINDLE]MAX_RPM
setp hm2_7i96.0.pwmgen.pwm_frequency [SPINDLE]PWM_FREQUENCY
# Standard I/O Block - EStop, Etc
# create a signal for the estop loopback
net estop-loop iocontrol.0.user-enable-out => iocontrol.0.emc-enable-in

64
mesa_2019.ini

@ -1,4 +1,4 @@
# This file was created with the 7i96 Wizard on Apr 14 2019 14:54:55
# This file was created with the 7i96 Wizard on Apr 16 2019 15:24:52
# Changes to most things are ok and will be read by the wizard
[EMC]
@ -16,7 +16,7 @@ SSERIAL_PORT = 1
[DISPLAY]
DISPLAY = axis
POSITION_OFFSET = MACHINE
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = COMMANDED
MAX_FEED_OVERRIDE = 1.2
CYCLE_TIME = 0.1
@ -62,12 +62,12 @@ HALUI = halui
[AXIS_X]
MIN_LIMIT = 0
MAX_LIMIT = 540
MAX_VELOCITY = 20
MAX_ACCELERATION = 40
MAX_VELOCITY = 30
MAX_ACCELERATION = 45
[AXIS_Y]
MIN_LIMIT = 0
MAX_LIMIT = 580
MAX_LIMIT = 581
MAX_VELOCITY = 55
MAX_ACCELERATION = 80
@ -81,18 +81,18 @@ MAX_ACCELERATION = 30
AXIS = X
MIN_LIMIT = 0
MAX_LIMIT = 540
MAX_VELOCITY = 20
MAX_ACCELERATION = 40
MAX_VELOCITY = 30
MAX_ACCELERATION = 45
TYPE = LINEAR
SCALE = 400
STEPGEN_MAX_VEL = 24.0
STEPGEN_MAX_ACC = 48.0
SCALE = 500
STEPGEN_MAX_VEL = 36.0
STEPGEN_MAX_ACC = 54.0
FERROR = 0.0051
MIN_FERROR = 0.0025
DIRSETUP = 5000
DIRHOLD = 5000
STEPLEN = 5000
STEPSPACE = 5000
DIRSETUP = 50000
DIRHOLD = 50000
STEPLEN = 22000
STEPSPACE = 22000
DEADBAND = 0
P = 1000
I = 0
@ -103,10 +103,10 @@ FF2 = 0.00013
BIAS = 0
MAX_OUTPUT = 0
MAX_ERROR = 0.0127
HOME = 540
HOME_OFFSET = 540
HOME = 100
HOME_OFFSET = 100
HOME_SEARCH_VEL = -25
HOME_LATCH_VEL = -2.5
HOME_LATCH_VEL = 2.5
HOME_SEQUENCE = 1
HOME_USE_INDEX = False
HOME_IGNORE_LIMITS = False
@ -114,7 +114,7 @@ HOME_IGNORE_LIMITS = False
[JOINT_1]
AXIS = Y
MIN_LIMIT = 0
MAX_LIMIT = 580
MAX_LIMIT = 581
MAX_VELOCITY = 55
MAX_ACCELERATION = 80
TYPE = LINEAR
@ -138,8 +138,8 @@ BIAS = 0
MAX_OUTPUT = 0
MAX_ERROR = 0.0127
HOME = 580
HOME_OFFSET = 5707
HOME_SEARCH_VEL = -15
HOME_OFFSET = 579
HOME_SEARCH_VEL = -25
HOME_LATCH_VEL = 2
HOME_SEQUENCE = -2
HOME_USE_INDEX = False
@ -148,7 +148,7 @@ HOME_IGNORE_LIMITS = False
[JOINT_2]
AXIS = Y
MIN_LIMIT = 0
MAX_LIMIT = 580
MAX_LIMIT = 581
MAX_VELOCITY = 55
MAX_ACCELERATION = 80
TYPE = LINEAR
@ -172,8 +172,8 @@ BIAS = 0
MAX_OUTPUT = 0
MAX_ERROR = 0.0127
HOME = 580
HOME_OFFSET = 570
HOME_SEARCH_VEL = -15
HOME_OFFSET = 579
HOME_SEARCH_VEL = -25
HOME_LATCH_VEL = 2
HOME_SEQUENCE = -2
HOME_USE_INDEX = False
@ -186,7 +186,7 @@ MAX_LIMIT = 40
MAX_VELOCITY = 20
MAX_ACCELERATION = 30
TYPE = LINEAR
SCALE = 200
SCALE = 50
STEPGEN_MAX_VEL = 24.0
STEPGEN_MAX_ACC = 36.0
FERROR = 0.0051
@ -213,6 +213,22 @@ HOME_SEQUENCE = 0
HOME_USE_INDEX = False
HOME_IGNORE_LIMITS = False
[SPINDLE]
SPINDLE_TYPE = openLoop
SCALE =
PWM_FREQUENCY = 20000
MAX_RPM = 24000
MIN_RPM = 1000
DEADBAND = 0
P = 0
I = 0
D = 0
FF0 = 1
FF1 = 0
FF2 = 0
BIAS = 0
MAX_ERROR = 0
[INPUTS]
# DO NOT change the input text
INPUT_0 = Home

73
mesa_2019.pref

@ -0,0 +1,73 @@
[DEFAULT]
blockheight = 0.0
spindle_start_rpm = 300.0
scale_jog_vel = 27.0
scale_spindle_override = 1
scale_feed_override = 1
scale_rapid_override = 1
hide_turtle_jog_button = False
turtle_jog_factor = 20
dro_size = 28
open_file =
screen1 = window
x_pos = 40
y_pos = 30
width = 979
height = 750
gtk_theme = Follow System Theme
grid_size = 1.0
view = p
mouse_btn_mode = 4
hide_cursor = False
system_name_tool = Tool
system_name_g5x = G5x
system_name_rot = Rot
system_name_g92 = G92
system_name_g54 = G54
system_name_g55 = G55
system_name_g56 = G56
system_name_g57 = G57
system_name_g58 = G58
system_name_g59 = G59
system_name_g59.1 = G59.1
system_name_g59.2 = G59.2
system_name_g59.3 = G59.3
jump_to_dir = /home/ton
show_keyboard_on_offset = False
show_keyboard_on_tooledit = False
show_keyboard_on_edit = False
show_keyboard_on_mdi = False
spindle_bar_min = 0.0
spindle_bar_max = 6000.0
x_pos_popup = 45.0
y_pos_popup = 55
width_popup = 250.0
max_messages = 10
message_font = sans 10
use_frames = True
show_dro_btn = False
use_auto_units = True
use_toolmeasurement = False
reload_tool = True
blockdel = False
opstop = False
enable_dro = False
show_offsets = False
show_dtg = False
view_tool_path = True
view_dimension = True
gremlin_view = rbt_view_p
run_from_line = no_run
unlock_way = use
unlock_code = 123
show_preview_on_offset = False
use_keyboard_shortcuts = False
abs_color = #0000FF
rel_color = #000000
dtg_color = #FFFF00
homed_color = #00FF00
unhomed_color = #FF0000
dro_digits = 3
toggle_readout = True
tool_in_spindle = 0
Loading…
Cancel
Save