From 75a6406cb031f7a9403a44f71473897ca738951c Mon Sep 17 00:00:00 2001 From: radex Date: Sun, 16 May 2021 15:14:07 +0200 Subject: [PATCH] 2016-12-17 --- configs/BridgeportSeries1.pncconf | 102 +++++++++--------- .../BridgeportSeries1/BridgeportSeries1.hal | 9 +- .../BridgeportSeries1/BridgeportSeries1.ini | 85 ++++++++------- configs/BridgeportSeries1/autosave.halscope | 24 ++++- 4 files changed, 118 insertions(+), 102 deletions(-) diff --git a/configs/BridgeportSeries1.pncconf b/configs/BridgeportSeries1.pncconf index 307955d..a0a447a 100644 --- a/configs/BridgeportSeries1.pncconf +++ b/configs/BridgeportSeries1.pncconf @@ -121,7 +121,7 @@ - + @@ -268,9 +268,9 @@ - + - + @@ -282,7 +282,7 @@ - + @@ -1053,7 +1053,7 @@ - + @@ -1071,7 +1071,7 @@ - + @@ -3788,7 +3788,7 @@ - + @@ -4027,7 +4027,7 @@ - + @@ -4175,10 +4175,10 @@ - - + + - + @@ -4216,7 +4216,7 @@ - + @@ -4229,22 +4229,22 @@ - + - + - - - + + + - - + + - - + + @@ -4254,7 +4254,7 @@ - + @@ -4267,10 +4267,10 @@ - - + + - + @@ -4308,7 +4308,7 @@ - + @@ -4321,22 +4321,22 @@ - + - + - - - - - - + + + + + + - + - - + + @@ -4346,7 +4346,7 @@ - + @@ -4359,10 +4359,10 @@ - - + + - + @@ -4400,7 +4400,7 @@ - + @@ -4417,22 +4417,22 @@ - + - + - - + + - - + + - - + + @@ -4442,7 +4442,7 @@ - + diff --git a/configs/BridgeportSeries1/BridgeportSeries1.hal b/configs/BridgeportSeries1/BridgeportSeries1.hal index 49d2c90..3e850de 100644 --- a/configs/BridgeportSeries1/BridgeportSeries1.hal +++ b/configs/BridgeportSeries1/BridgeportSeries1.hal @@ -1,4 +1,4 @@ -# Generated by PNCconf at Sun Dec 11 00:26:37 2016 +# Generated by PNCconf at Wed Dec 14 04:16:06 2016 # If you make changes to this file, they will be # overwritten when you run PNCconf again @@ -23,9 +23,6 @@ addf hm2_5i25.0.write servo-thread # external output signals -# --- MACHINE-IS-ENABLED --- -net machine-is-enabled hm2_5i25.0.7i77.0.0.output-08 - # --- X-ENABLE --- net x-enable hm2_5i25.0.7i77.0.0.output-09 @@ -41,8 +38,8 @@ net spindle-on hm2_5i25.0.7i77.0.0.output-12 # --- SPINDLE-BRAKE --- net spindle-brake hm2_5i25.0.7i77.0.0.output-13 -# --- SPINDLE-ON --- -net spindle-on hm2_5i25.0.7i77.0.0.output-14 +# --- SPINDLE-CW --- +net spindle-cw hm2_5i25.0.7i77.0.0.output-14 # external input signals diff --git a/configs/BridgeportSeries1/BridgeportSeries1.ini b/configs/BridgeportSeries1/BridgeportSeries1.ini index 0b61dae..506e905 100644 --- a/configs/BridgeportSeries1/BridgeportSeries1.ini +++ b/configs/BridgeportSeries1/BridgeportSeries1.ini @@ -1,4 +1,4 @@ -# Generated by PNCconf at Sun Dec 11 00:26:37 2016 +# Generated by PNCconf at Wed Dec 14 04:16:06 2016 # If you make changes to this file, they will be # overwritten when you run PNCconf again @@ -16,11 +16,11 @@ MIN_SPINDLE_OVERRIDE = 0.500000 INTRO_GRAPHIC = linuxcnc.gif INTRO_TIME = 5 PROGRAM_PREFIX = /home/enleth/linuxcnc/nc_files -INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm +INCREMENTS = 100mm 50mm 10mm 5mm 1mm .5mm .1mm .05mm .01mm .005mm POSITION_FEEDBACK = ACTUAL -DEFAULT_LINEAR_VELOCITY = 0.250000 -MAX_LINEAR_VELOCITY = 1.000000 -MIN_LINEAR_VELOCITY = 0.010000 +DEFAULT_LINEAR_VELOCITY = 3.666667 +MAX_LINEAR_VELOCITY = 15.666667 +MIN_LINEAR_VELOCITY = 1.000000 DEFAULT_ANGULAR_VELOCITY = 0.250000 MAX_ANGULAR_VELOCITY = 1.000000 MIN_ANGULAR_VELOCITY = 0.010000 @@ -70,7 +70,6 @@ ANGULAR_UNITS = degree CYCLE_TIME = 0.010 DEFAULT_VELOCITY = 8.33 MAX_LINEAR_VELOCITY = 83.33 -NO_FORCE_HOMING = 1 [EMCIO] EMCIO = io @@ -84,28 +83,28 @@ TOOL_CHANGE_QUILL_UP = 1 [AXIS_0] TYPE = LINEAR HOME = 0.0 -FERROR = 10.0 -MIN_FERROR = 1.0 +FERROR = 0.1 +MIN_FERROR = 0.5 MAX_VELOCITY = 83.3333333333 MAX_ACCELERATION = 250.0 -P = 50.0 +P = 7.0 I = 0.0 D = 0.0 FF0 = 0.0 -FF1 = 1.0 -FF2 = 0.0 +FF1 = 0.15 +FF2 = 0.025 BIAS = 0.0 -DEADBAND = 0.0 +DEADBAND = 0.005 MAX_OUTPUT = 0.0 -ENCODER_SCALE = 1000.0 -OUTPUT_SCALE = 10.0 +ENCODER_SCALE = -1000.0 +OUTPUT_SCALE = -10.0 OUTPUT_MIN_LIMIT = -10.0 OUTPUT_MAX_LIMIT = 10.0 -MIN_LIMIT = -0.01 -MAX_LIMIT = 200.0 +MIN_LIMIT = -4.0 +MAX_LIMIT = 450.0 HOME_OFFSET = 0.000000 -HOME_SEARCH_VEL = -1.000000 -HOME_LATCH_VEL = -0.500000 +HOME_SEARCH_VEL = 13.316667 +HOME_LATCH_VEL = -3.316667 HOME_FINAL_VEL = 0.000000 HOME_USE_INDEX = NO HOME_SEQUENCE = 1 @@ -116,28 +115,28 @@ HOME_SEQUENCE = 1 [AXIS_1] TYPE = LINEAR HOME = 0.0 -FERROR = 10.0 -MIN_FERROR = 1.0 -MAX_VELOCITY = 25.0 -MAX_ACCELERATION = 750.0 -P = 50.0 +FERROR = 0.1 +MIN_FERROR = 0.5 +MAX_VELOCITY = 83.3333333333 +MAX_ACCELERATION = 250.0 +P = 7.0 I = 0.0 D = 0.0 FF0 = 0.0 -FF1 = 1.0 -FF2 = 0.0 +FF1 = 0.15 +FF2 = 0.025 BIAS = 0.0 -DEADBAND = 0.0 +DEADBAND = 0.005 MAX_OUTPUT = 0.0 -ENCODER_SCALE = 1000.0 -OUTPUT_SCALE = 10.0 +ENCODER_SCALE = -1000.0 +OUTPUT_SCALE = -10.0 OUTPUT_MIN_LIMIT = -10.0 OUTPUT_MAX_LIMIT = 10.0 -MIN_LIMIT = -0.01 -MAX_LIMIT = 200.0 +MIN_LIMIT = -5.0 +MAX_LIMIT = 290.0 HOME_OFFSET = 0.000000 -HOME_SEARCH_VEL = -1.000000 -HOME_LATCH_VEL = -0.500000 +HOME_SEARCH_VEL = 13.316667 +HOME_LATCH_VEL = -3.316667 HOME_FINAL_VEL = 0.000000 HOME_USE_INDEX = NO HOME_SEQUENCE = 2 @@ -148,28 +147,28 @@ HOME_SEQUENCE = 2 [AXIS_2] TYPE = LINEAR HOME = 0.0 -FERROR = 10.0 -MIN_FERROR = 1.0 +FERROR = 0.025 +MIN_FERROR = 0.5 MAX_VELOCITY = 25.0 MAX_ACCELERATION = 750.0 -P = 50.0 +P = 7.0 I = 0.0 D = 0.0 FF0 = 0.0 -FF1 = 1.0 -FF2 = 0.0 +FF1 = 0.15 +FF2 = 0.025 BIAS = 0.0 -DEADBAND = 0.0 +DEADBAND = 0.005 MAX_OUTPUT = 0.0 ENCODER_SCALE = -1000.0 -OUTPUT_SCALE = 10.0 +OUTPUT_SCALE = -10.0 OUTPUT_MIN_LIMIT = -10.0 OUTPUT_MAX_LIMIT = 10.0 -MIN_LIMIT = -100.0 -MAX_LIMIT = 0.01 +MIN_LIMIT = -118.0 +MAX_LIMIT = 8.0 HOME_OFFSET = 0.000000 -HOME_SEARCH_VEL = -1.000000 -HOME_LATCH_VEL = -0.500000 +HOME_SEARCH_VEL = 13.316667 +HOME_LATCH_VEL = -3.316667 HOME_FINAL_VEL = 0.000000 HOME_USE_INDEX = NO HOME_SEQUENCE = 0 diff --git a/configs/BridgeportSeries1/autosave.halscope b/configs/BridgeportSeries1/autosave.halscope index 8004462..1d637d6 100644 --- a/configs/BridgeportSeries1/autosave.halscope +++ b/configs/BridgeportSeries1/autosave.halscope @@ -2,6 +2,26 @@ THREAD servo-thread MAXCHAN 4 HMULT 1 HZOOM 1 -HPOS 5.000000e-01 -TMODE 0 +HPOS 3.832427e-01 +CHAN 1 +PIN axis.0.error +VSCALE 0 +VPOS 0.503067 +VOFF 0.000000e+00 +CHAN 2 +PIN axis.0.f-error +VSCALE 0 +VPOS 0.500000 +VOFF 0.000000e+00 +CHAN 3 +PIN axis.0.f-error-lim +VSCALE 0 +VPOS 0.500000 +VOFF 0.000000e+00 +CHAN 4 +SIG x-pos-cmd +VSCALE 0 +VPOS 0.500000 +VOFF 0.000000e+00 +TMODE 1 RMODE 0