Re: Linux EMC success!
Posted by
Tim Goldstein
on 1999-06-02 23:19:39 UTC
> -----Original Message-----Congratulations for suffering through the pain!!
> From: Dan Falck <dfalck@...>
>
> Well, now I'm excited! EMC is controlling one of my machines now. I
> watched the thread on the Linux EMC setup over the weekend and tonight I
> pulled it off too. Thanks guys! Right now, it's hooked up to my little
> Sherline CNC that used to run Dancam,Stepster, and Maxnc. All I did
> tonight was jog it around a little to verify that it worked.(I programmed
> the parallel port connection with the soldering iron) Tomorrow night I
> will try to tweak it.
> I am running ./run.stepper
Here is what I leared about the .ini file from talking to Fred Proctor.
CONFIGURATION Settings
Note: all items proceeded by a pound sign (#) are my comments and not part
of the .ini file.
I don�t know if this is correct for servos. These descriptions are for
steppers.
#The next line is the start of the file
; EMC controller parameters for NIST stepper motor test stand
[EMC]
VERSION = $Revision: 1.18 $ #This is just a reference number to track you
.ini files
MACHINE = Shoptask Mill #This is what you want to call your machine
NML_FILE = emc.nml
PARPORT_IO_ADDRESS = 0x378
[TASK]
; set CYCLE_TIME for full-out execution
CYCLE_TIME = 0.010
PROGRAM_PREFIX = /usr/local/gcode/ #put in the default path for the
directory you hold g-code in
[TRAJ]
AXES = 3
LINEAR_UNITS = 0.03937007874016
ANGULAR_UNITS = 1.0
CYCLE_TIME = 0.005
DEFAULT_VELOCITY = 0.05 #units/sec for your non-rapid feed & jog
DEFAULT_ACCELERATION = 0.75 #units/sec you accelerate and decelerate
MAX_VELOCITY = 0.3 #units/sec for your rapid feed
MAX_ACCELERATION = 0.75 #not utilized, set = DEFAULT_ACCELERATION
[AXIS_0] # X axis
TYPE = LINEAR
UNITS = 0.03937007874016
P = 0.000
I = 0.000
D = 0.000
FF0 = 0.000
FF1 = 0.000
FF2 = 0.000
BACKLASH = 0.000
BIAS = 0.000
MAX_ERROR = 0.000
CYCLE_TIME = 0.0005
INPUT_SCALE = -4000 0 #change first number = steps per unit +/- changes
direction
OUTPUT_SCALE = 1.000 0.000 #used for servos only
MIN_LIMIT = -10.0
MAX_LIMIT = 10.0
MIN_OUTPUT = -10
MAX_OUTPUT = 10
FERROR = 1.000
HOMING_VEL = 0.1
ENABLE_POLARITY = 1
MIN_LIMIT_SWITCH_POLARITY = 0
MAX_LIMIT_SWITCH_POLARITY = 0
HOME_SWITCH_POLARITY = 1
HOMING_POLARITY = 1
FAULT_POLARITY = 1
JOGGING_POLARITY = 1 #change to 0 if jog keys work backwards
[AXIS_1] # Y axis
#settings are same as AXIS_0
[AXIS_2] # Z axis
#settings are same as AXIS_0
Tim
[Denver, CO]
Discussion Thread
Dan Falck
1999-06-02 21:18:43 UTC
Re: Linux EMC success!
Tim Goldstein
1999-06-02 23:19:39 UTC
Re: Linux EMC success!