![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| LinuxCNC (formerly EMC2) Discuss LinuxCNC (formerly EMC2) Controlers here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
| hi everone, I am new to EMC2 and Linux. I have been using Microkinetics Turnmaster pro for many years on my lathe but the controller got wacked by lightning. Retrofitted Gecko G201 drives and Tcnc and CNCpro cncpro is not realy for lathe work so tool change is P.I.T.A I have installed EMC2/Umbuntu live CD. but I cant seem to get stepconf to work. In the ini files it calls for some timings and I am not sure what these values are for Gecko’s I have tried for the last 7 days to get stepconf to work but I don’t seem to have a compiler on the live cd(emc2) for Glade After downloading Glade.tar I now seem to need make? file can any one please give me the setup files (ini and hal) for Gecko timing or a compiled version of stepconf or where i can get the make? file Thank you Freidrich |
|
#2
| |||
| |||
| it would seem that something went wrong with your download of the live cd, as stepconf should work without any problems. however, here are a couple files I'm just posting the code so you can get the timings. sample.hal Code: # Generated by stepconf at Tue Nov 27 19:39:22 2007 # If you make changes to this file, they will be # overwritten when you run stepconf again loadrt trivkins loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD traj_period_nsec=[EMCMOT]SERVO_PERIOD key=[EMCMOT]SHMEM_KEY num_joints=[TRAJ]AXES loadrt probe_parport loadrt hal_parport cfg=0x378 setp parport.0.reset-time 4000 loadrt stepgen step_type=0,0,0 loadrt charge_pump addf parport.0.read base-thread addf stepgen.make-pulses base-thread addf charge-pump base-thread addf parport.0.write base-thread addf parport.0.reset base-thread addf stepgen.capture-position servo-thread addf motion-command-handler servo-thread addf motion-controller servo-thread addf stepgen.update-freq servo-thread net xdir => parport.0.pin-02-out net xstep => parport.0.pin-03-out setp parport.0.pin-03-out-reset 1 net ydir => parport.0.pin-04-out net ystep => parport.0.pin-05-out setp parport.0.pin-05-out-reset 1 net zdir => parport.0.pin-06-out net zstep => parport.0.pin-07-out setp parport.0.pin-07-out-reset 1 net charge-pump => parport.0.pin-17-out # net estop-ext <= parport.0.pin-10-in setp stepgen.0.position-scale [AXIS_0]SCALE setp stepgen.0.steplen 1 setp stepgen.0.stepspace 0 setp stepgen.0.dirhold 35000 setp stepgen.0.dirsetup 16000 setp stepgen.0.maxaccel [AXIS_0]STEPGEN_MAXACCEL net xpos-cmd axis.0.motor-pos-cmd => stepgen.0.position-cmd net xpos-fb stepgen.0.position-fb => axis.0.motor-pos-fb net xstep <= stepgen.0.step net xdir <= stepgen.0.dir net xenable axis.0.amp-enable-out => stepgen.0.enable setp stepgen.1.position-scale [AXIS_1]SCALE setp stepgen.1.steplen 1 setp stepgen.1.stepspace 0 setp stepgen.1.dirhold 35000 setp stepgen.1.dirsetup 16000 setp stepgen.1.maxaccel [AXIS_1]STEPGEN_MAXACCEL net ypos-cmd axis.1.motor-pos-cmd => stepgen.1.position-cmd net ypos-fb stepgen.1.position-fb => axis.1.motor-pos-fb net ystep <= stepgen.1.step net ydir <= stepgen.1.dir net yenable axis.1.amp-enable-out => stepgen.1.enable setp stepgen.2.position-scale [AXIS_2]SCALE setp stepgen.2.steplen 1 setp stepgen.2.stepspace 0 setp stepgen.2.dirhold 35000 setp stepgen.2.dirsetup 16000 setp stepgen.2.maxaccel [AXIS_2]STEPGEN_MAXACCEL net zpos-cmd axis.2.motor-pos-cmd => stepgen.2.position-cmd net zpos-fb stepgen.2.position-fb => axis.2.motor-pos-fb net zstep <= stepgen.2.step net zdir <= stepgen.2.dir net zenable axis.2.amp-enable-out => stepgen.2.enable net estop-out <= parport.0.pin-10-in-not net estop-out => iocontrol.0.emc-enable-in loadusr -W hal_manualtoolchange net tool-change iocontrol.0.tool-change => hal_manualtoolchange.change net tool-changed iocontrol.0.tool-changed <= hal_manualtoolchange.changed net tool-number iocontrol.0.tool-prep-number => hal_manualtoolchange.number net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared Code: # Generated by stepconf at Tue Nov 27 19:39:22 2007 # If you make changes to this file, they will be # overwritten when you run stepconf again [EMC] MACHINE = my-mill NML_FILE = emc.nml DEBUG = 0 [DISPLAY] DISPLAY = axis POSITION_OFFSET = RELATIVE POSITION_FEEDBACK = ACTUAL MAX_FEED_OVERRIDE = 1.2 INTRO_GRAPHIC = emc2.gif INTRO_TIME = 5 PROGRAM_PREFIX = /home/ubuntu/emc2/nc_files INCREMENTS = .1in .05in .01in .005in .001in .0005in .0001in [TASK] TASK = milltask CYCLE_TIME = 0.010 [RS274NGC] PARAMETER_FILE = emc.var [EMCMOT] EMCMOT = motmod SHMEM_KEY = 111 COMM_TIMEOUT = 1.0 COMM_WAIT = 0.010 BASE_PERIOD = 24500 SERVO_PERIOD = 1000000 [HAL] HALFILE = my-mill.hal HALFILE = joypad.hal [TRAJ] AXES = 3 COORDINATES = X Y Z LINEAR_UNITS = inch ANGULAR_UNITS = degree CYCLE_TIME = 0.010 DEFAULT_VELOCITY = 0.10 MAX_LINEAR_VELOCITY = 1.02 [EMCIO] EMCIO = io CYCLE_TIME = 0.100 TOOL_TABLE = tool.tbl [AXIS_0] TYPE = LINEAR HOME = 0.0 MAX_VELOCITY = 1.02040816327 MAX_ACCELERATION = 20.0 STEPGEN_MAXACCEL = 21.0 SCALE = 40000.0 FERROR = 0.05 MIN_FERROR = 0.01 MIN_LIMIT = -400.0 MAX_LIMIT = 90000000000.0 HOME_OFFSET = 0.0 [AXIS_1] TYPE = LINEAR HOME = 0.0 MAX_VELOCITY = 1.02040816327 MAX_ACCELERATION = 20.0 STEPGEN_MAXACCEL = 21.0 SCALE = 40000.0 FERROR = 0.05 MIN_FERROR = 0.01 MIN_LIMIT = -400.0 MAX_LIMIT = 90000000000.0 HOME_OFFSET = 0.0 [AXIS_2] TYPE = LINEAR HOME = 0.0 MAX_VELOCITY = 1.0 MAX_ACCELERATION = 30.0 STEPGEN_MAXACCEL = 31.5 SCALE = 8000.0 FERROR = 0.05 MIN_FERROR = 0.01 MIN_LIMIT = -4.0 MAX_LIMIT = 99999999.0 HOME_OFFSET = 0.0 In stepconf, the preset timings for the Gecko is step time: 4000ns step space: 500ns Direction hold: 20000ns direction setup: 1000ns hope that helps. I'd supply better .hal and .ini files, but i'm just getting things setup myself. |
|
#3
| |||
| |||
| Thank you dewme5, you saved the day, I was about to give up on EMC2 and return to DOS I think I will get it working by editing the ini files you sent me. This is the 4 th time over the past 6 years I have tried EMC, and failed every time due to a lack of Linux knowledge, I want to run cnc machines not learn new programming skills. Thanks for you time and efford Friedrich |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| UK CNC Guru required | Drakkn | Mentors & Apprentice Locator | 8 | 12-19-2007 10:53 AM |
| Tools required for a joe? | tybrenis | Joes CNC Model 2006 | 1 | 06-02-2007 08:50 PM |
| Help required for Fanuc 0t | gricha | Fanuc | 6 | 03-23-2007 01:31 AM |
| Assistence required | Smitty911 | Machine Problems, Solutions , Wireless DNC, serial port | 0 | 03-22-2007 11:02 PM |
| Help Required on CNC Hobbing | ablogsol | General Metalwork Discussion | 2 | 06-12-2006 02:32 AM |