EMC, freqmod.o, A-axis, .ini settings, oh my!
    Posted by
    
      Tom Benedict
    
  
  
    on 2002-08-19 08:22:52 UTC
  
  Here's the setup:
I've got a stepper-based mill that's got four axes. The A axis is a
rotary table that's bolted to the mill bed so the axis points parallel to
the X-axis.
I'm running the latest rev of the BDI, and the motors are set up to use
freqmod.o.
I'm trying to tune the .ini parameters for the fourth axis so I can
address the rotary table in units of degrees. The linear axes are being
addressed in units of inches.
I've got 200 step/in motors that are being half-stepped. The linear axes
have 20TPI leadscrews, so that winds up being 8000 steps/inch. The rotary
axis has a 1:72 worm gear on it, and uses the same motor as the linear
axes. So at 5 degrees per revolution of the motor, that's 80 steps per
degree.
Now for the troubleshooting:
I've got the linear axes pretty happy. I don't have my .ini file in front
of me, but I use an INPUT_SCALE and OUTPUT_SCALE of 8000.0 0.0,
LINEAR_UNITS of 0.03937007874016 in [TRAJ] and UNITS of 0.03937007874016
inside each [AXIS_*] section (I'm using inches), and a P of 500.0.
I've got ANGULAR_UNITS set to 1.0 in [TRAJ] and UNITS set to 1.0 in
[AXIS_3]. With all the other parameters set the same, if INPUT_SCALE and
OUTPUT_SCALE is set to 8000.0 0.0, the axis works, but it's not being
addressed in terms of degrees. If I change INPUT_SCALE and OUTPUT_SCALE
to 80.0 0.0, the axis ceases to function.
I've tried dinking with this a fair amount. I can marginally get it
working with the SCALEs set to 800.0 0.0, and address it in terms of tens
of degrees (so G0 A9.0 would rotate it 90 degrees), but obviously this
isn't what I'd like it to do.
Has anyone got a stepper system using freqmod.o to work with a rotary
axis? Can anyone share a success story that would help me get this thing
working?
Any and all help is much appreciated.
Thanks,
Tom
I've got a stepper-based mill that's got four axes. The A axis is a
rotary table that's bolted to the mill bed so the axis points parallel to
the X-axis.
I'm running the latest rev of the BDI, and the motors are set up to use
freqmod.o.
I'm trying to tune the .ini parameters for the fourth axis so I can
address the rotary table in units of degrees. The linear axes are being
addressed in units of inches.
I've got 200 step/in motors that are being half-stepped. The linear axes
have 20TPI leadscrews, so that winds up being 8000 steps/inch. The rotary
axis has a 1:72 worm gear on it, and uses the same motor as the linear
axes. So at 5 degrees per revolution of the motor, that's 80 steps per
degree.
Now for the troubleshooting:
I've got the linear axes pretty happy. I don't have my .ini file in front
of me, but I use an INPUT_SCALE and OUTPUT_SCALE of 8000.0 0.0,
LINEAR_UNITS of 0.03937007874016 in [TRAJ] and UNITS of 0.03937007874016
inside each [AXIS_*] section (I'm using inches), and a P of 500.0.
I've got ANGULAR_UNITS set to 1.0 in [TRAJ] and UNITS set to 1.0 in
[AXIS_3]. With all the other parameters set the same, if INPUT_SCALE and
OUTPUT_SCALE is set to 8000.0 0.0, the axis works, but it's not being
addressed in terms of degrees. If I change INPUT_SCALE and OUTPUT_SCALE
to 80.0 0.0, the axis ceases to function.
I've tried dinking with this a fair amount. I can marginally get it
working with the SCALEs set to 800.0 0.0, and address it in terms of tens
of degrees (so G0 A9.0 would rotate it 90 degrees), but obviously this
isn't what I'd like it to do.
Has anyone got a stepper system using freqmod.o to work with a rotary
axis? Can anyone share a success story that would help me get this thing
working?
Any and all help is much appreciated.
Thanks,
Tom
Discussion Thread
  
    mabw@b...
  
2001-04-02 14:29:18 UTC
  stepper wiring
  
    cadman@p...
  
2001-04-02 15:09:14 UTC
  Re: stepper wiring
  
    Joe Vicars
  
2001-04-02 15:10:14 UTC
  Re: [CAD_CAM_EDM_DRO] stepper wiring
  
    mariss92705@y...
  
2001-04-02 15:29:38 UTC
  Re: stepper wiring
  
    Alan Marconett KM6VV
  
2001-04-02 17:38:09 UTC
  Re: [CAD_CAM_EDM_DRO] stepper wiring
  
    Tom Eldredge
  
2001-04-03 07:06:17 UTC
  Re: [CAD_CAM_EDM_DRO] Re: stepper wiring
  
    Ian Wright
  
2001-04-03 08:38:28 UTC
  Re: [CAD_CAM_EDM_DRO] Re: stepper wiring
  
    wanliker@a...
  
2001-04-03 08:56:39 UTC
  Re: [CAD_CAM_EDM_DRO] Re: stepper wiring
  
    kleinbauer@j...
  
2001-04-03 10:01:34 UTC
  Re: stepper wiring
  
    mariss92705@y...
  
2001-04-03 10:04:32 UTC
  Re: stepper wiring
  
    Alan Marconett KM6VV
  
2001-04-03 11:04:16 UTC
  Re: stepper wiring
  
    Jon Elson
  
2001-04-03 11:38:49 UTC
  Re: [CAD_CAM_EDM_DRO] Re: stepper wiring
  
    mabw@b...
  
2001-04-03 14:45:06 UTC
  stepper wiring
  
    Tom Eldredge
  
2001-04-03 16:53:22 UTC
  Re: [CAD_CAM_EDM_DRO] Re: stepper wiring
  
    JanRwl@A...
  
2001-04-03 17:21:16 UTC
  Re: [CAD_CAM_EDM_DRO] stepper wiring
  
    Alan Marconett KM6VV
  
2001-04-03 17:41:57 UTC
  Re: [CAD_CAM_EDM_DRO] stepper wiring
  
    Tom Eldredge
  
2001-04-04 07:32:55 UTC
  Re: [CAD_CAM_EDM_DRO] Re: stepper wiring
  
    Tom Eldredge
  
2001-04-04 07:32:56 UTC
  Re: [CAD_CAM_EDM_DRO] Re: stepper wiring
  
    mariss92705@y...
  
2001-04-04 09:05:49 UTC
  Re: stepper wiring and AC stepper
  
    kleinbauer@j...
  
2001-04-04 09:26:07 UTC
  Re: stepper wiring and AC stepper
  
    Ian Wright
  
2001-04-04 10:30:55 UTC
  Re: [CAD_CAM_EDM_DRO] Re: stepper wiring and AC stepper
  
    mariss92705@y...
  
2001-04-04 10:52:03 UTC
  Re: stepper wiring and AC stepper
  
    Art Fenerty
  
2001-04-04 11:07:20 UTC
  Re: [CAD_CAM_EDM_DRO] Re: stepper wiring
  
    Tim Goldstein
  
2001-04-04 12:12:52 UTC
  RE: [CAD_CAM_EDM_DRO] Re: stepper wiring and AC stepper
  
    kleinbauer@j...
  
2001-04-04 13:20:37 UTC
  Re: stepper wiring and AC stepper
  
    JanRwl@A...
  
2001-04-04 17:06:07 UTC
  Re: [CAD_CAM_EDM_DRO] Re: stepper wiring and AC stepper
  
    JanRwl@A...
  
2001-04-04 17:10:57 UTC
  Re: [CAD_CAM_EDM_DRO] Re: stepper wiring and AC stepper
  
    diazden
  
2001-04-04 19:08:24 UTC
  Re: [CAD_CAM_EDM_DRO] stepper wiring
  
    Tim Goldstein
  
2001-04-04 19:50:33 UTC
  RE: [CAD_CAM_EDM_DRO] stepper wiring
  
    Tom Eldredge
  
2001-04-05 03:51:00 UTC
  Re: [CAD_CAM_EDM_DRO] Re: stepper wiring and AC stepper
  
    dlantz@a...
  
2001-11-01 06:16:20 UTC
  stepper wiring
  
    bdrmachine
  
2002-08-19 07:41:26 UTC
  stepper wiring
  
    Tom Benedict
  
2002-08-19 08:22:52 UTC
  EMC, freqmod.o, A-axis, .ini settings, oh my!
  
    j.guenther
  
2002-08-19 08:45:04 UTC
  RE: [CAD_CAM_EDM_DRO] EMC, freqmod.o, A-axis, .ini settings, oh my!
  
    Tom Benedict
  
2002-08-19 08:56:33 UTC
  RE: [CAD_CAM_EDM_DRO] EMC, freqmod.o, A-axis, .ini settings, oh my!
  
    Carol & Jerry Jankura
  
2002-08-19 10:49:22 UTC
  RE: [CAD_CAM_EDM_DRO] EMC, freqmod.o, A-axis, .ini settings, oh my!
  
    Tom Benedict
  
2002-08-19 11:14:54 UTC
  RE: [CAD_CAM_EDM_DRO] EMC, freqmod.o, A-axis, .ini settings, oh my!
  
    j.guenther
  
2002-08-19 11:17:01 UTC
  RE: [CAD_CAM_EDM_DRO] EMC, freqmod.o, A-axis, .ini settings, oh my!
  
    JanRwl@A...
  
2002-08-19 12:45:08 UTC
  Re: [CAD_CAM_EDM_DRO] stepper wiring
  
    JJ
  
2002-08-19 13:07:38 UTC
  RE: [CAD_CAM_EDM_DRO] stepper wiring
  
    Carol & Jerry Jankura
  
2002-08-19 13:45:19 UTC
  RE: [CAD_CAM_EDM_DRO] EMC, freqmod.o, A-axis, .ini settings, oh my!
  
    Tom Benedict
  
2002-08-19 13:54:02 UTC
  RE: [CAD_CAM_EDM_DRO] EMC, freqmod.o, A-axis, .ini settings, oh my!
  
    Jon Elson
  
2002-08-20 16:47:27 UTC
  Re: [CAD_CAM_EDM_DRO] EMC, freqmod.o, A-axis, .ini settings, oh my!
  
    steel2chips
  
2002-08-20 20:35:15 UTC
  Re: EMC, freqmod.o, A-axis, .ini settings, oh my!
  
    Jon Elson
  
2002-08-21 01:00:07 UTC
  Re: [CAD_CAM_EDM_DRO] Re: EMC, freqmod.o, A-axis, .ini settings, oh my!
  
    steel2chips
  
2002-08-21 20:22:30 UTC
  Re: oops... wrong file. Was: EMC, freqmod.o, A-axis, .ini settings, oh my!