Hybrid View
-
15-01-2018 #1
Hi, I have all my min limit set to -0.001 and max limit 1200 on the X, 600 on the Y and 100 on the Z which I used stepconf (Wizard) to generate. Then I edited the ini to get my dual ballscrew working.
In Linux cnc scale is the amount of microsteps per mm you define it for each axis in the .ini so in my case using 8 microsteps = (8*200)/5==320 for my 1605 screws and (8*200)/4 = 400 for my 1604's.
# Generated by stepconf 1.1 at Sun Jan 14 20:24:44 2018
# If you make changes to this file, they will be
# overwritten when you run stepconf again
[EMC]
MACHINE = Test
DEBUG = 0
VERSION = 1.0
[DISPLAY]
DISPLAY = axis
EDITOR = gedit
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
ARCDIVISION = 64
GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in
MAX_FEED_OVERRIDE = 1.2
MIN_SPINDLE_OVERRIDE = 0.5
MAX_SPINDLE_OVERRIDE = 1.2
DEFAULT_LINEAR_VELOCITY = 2.50
MIN_LINEAR_VELOCITY = 0
MAX_LINEAR_VELOCITY = 25.00
DEFAULT_ANGULAR_VELOCITY = 36.00
MIN_ANGULAR_VELOCITY = 0
MAX_ANGULAR_VELOCITY = 360.00
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 5
PROGRAM_PREFIX = /home/cnc/linuxcnc/nc_files
INCREMENTS = 5mm 1mm .5mm .1mm .05mm .01mm .005mm
[KINS]
JOINTS = 4
KINEMATICS = trivkins coordinates=XYYZ
[FILTER]
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
PROGRAM_EXTENSION = .py Python Script
png = image-to-gcode
gif = image-to-gcode
jpg = image-to-gcode
py = python
[TASK]
TASK = milltask
CYCLE_TIME = 0.010
[RS274NGC]
PARAMETER_FILE = linuxcnc.var
[EMCMOT]
EMCMOT = motmod
COMM_TIMEOUT = 1.0
BASE_PERIOD = 100000
SERVO_PERIOD = 1000000
[HAL]
HALFILE = Test.hal
HALFILE = custom.hal
POSTGUI_HALFILE = postgui_call_list.hal
[TRAJ]
COORDINATES = X Y Z
LINEAR_UNITS = mm
ANGULAR_UNITS = degree
DEFAULT_LINEAR_VELOCITY = 36.00
MAX_LINEAR_VELOCITY = 25.00
[EMCIO]
EMCIO = io
CYCLE_TIME = 0.100
TOOL_TABLE = tool.tbl
[AXIS_X]
MAX_VELOCITY = 25.0
MAX_ACCELERATION = 750.0
MIN_LIMIT = -0.001
MAX_LIMIT = 1200.0
[JOINT_0]
TYPE = LINEAR
HOME = 0.0
MIN_LIMIT = -0.001
MAX_LIMIT = 1200.0
MAX_VELOCITY = 25.0
MAX_ACCELERATION = 750.0
STEPGEN_MAXACCEL = 937.5
SCALE = 320
FERROR = 1
MIN_FERROR = .25
HOME_OFFSET = 0.0
[AXIS_Y]
MAX_VELOCITY = 25.0
MAX_ACCELERATION = 750.0
MIN_LIMIT = -0.001
MAX_LIMIT = 600.0
[JOINT_1]
TYPE = LINEAR
HOME = 0.0
MIN_LIMIT = -0.001
MAX_LIMIT = 600.0
MAX_VELOCITY = 25.0
MAX_ACCELERATION = 750.0
STEPGEN_MAXACCEL = 937.5
SCALE = 400
FERROR = 1
MIN_FERROR = .25
HOME_OFFSET = 0.0
[JOINT_2]
TYPE = LINEAR
HOME = 0.0
MIN_LIMIT = -0.001
MAX_LIMIT = 600.0
MAX_VELOCITY = 25.0
MAX_ACCELERATION = 750.0
STEPGEN_MAXACCEL = 937.5
SCALE = 400.0
FERROR = 1
MIN_FERROR = .25
HOME_OFFSET = 0.0
[AXIS_Z]
MAX_VELOCITY = 25.0
MAX_ACCELERATION = 750.0
MIN_LIMIT = -100.0
MAX_LIMIT = 0.001
[JOINT_3]
TYPE = LINEAR
HOME = 0.0
MIN_LIMIT = -100.0
MAX_LIMIT = 0.001
MAX_VELOCITY = 25.0
MAX_ACCELERATION = 750.0
STEPGEN_MAXACCEL = 937.5
SCALE = 320
FERROR = 1
MIN_FERROR = .25
HOME_OFFSET = 0.0Last edited by Desertboy; 15-01-2018 at 03:59 PM.
http://www.mycncuk.com/threads/10880...60cm-work-area My first CNC build WIP 120cm*80cm
If you didn't buy it from China the company you bought it from did ;)
-
15-01-2018 #2
Unfortunately I can't help much more with the LCNC side of things - I switched to Mach3 around a year ago and even then I was using a machine with single motors.
Could you possibly post the gcode, or at least the first few dozen lines, just so we can see what is triggering the error messages?
-
15-01-2018 #3
Ok some questions. Do you have dual homing working? How are you homing the machine?
I don't see a HOME_SEQUENCE = in your ini file.
In [TRAJ] you have COORDINATES = X Y Z I think it should be X Y Y Z Not sure on this now!!
Have a good read through this thread https://forum.linuxcnc.org/49-basic-...e?limitstart=0Last edited by Clive S; 15-01-2018 at 06:10 PM.
..Clive
The more you know, The better you know, How little you know
-
The Following User Says Thank You to Clive S For This Useful Post:
-
15-01-2018 #4
No homing yet was homing by pressing the home button in Axis for each one and I also tried no forced homing as well. I've only just drilled for the limit switches and am waiting for M3's to come through the post to fit them. I've put them sideways on now with rollers before I have the switches at the end bad idea as someone pointed out and I was like it'll be fine lol.
As often happens I was wrong.
I would like to get a controller that does step generation on board so PC specs are irrelevant, linuxcnc compatible and of course Ethernet is there such a controller?Last edited by Desertboy; 15-01-2018 at 07:49 PM.
http://www.mycncuk.com/threads/10880...60cm-work-area My first CNC build WIP 120cm*80cm
If you didn't buy it from China the company you bought it from did ;)
-
16-01-2018 #5I would like to get a controller that does step generation on board so PC specs are irrelevant, linuxcnc compatible and of course Ethernet is there such a controller?
I think you should take a step back and start with baby steps with Lcnc. Start by getting the homing sorted etc.
I have read your posts on the Linuxcnc forum and seen your ini and hal files they are different to the ones you have posted here try and be consistent with what you are asking.
I think your limits problem is that the machine does not know where it is, so get it homing first. I know where there is a working config for the 7i76e but it is for a plasma but is near enough.
edit : And just to keep you sane https://www.youtube.com/watch?time_c...&v=bAdqazixuRYLast edited by Clive S; 16-01-2018 at 12:51 AM.
..Clive
The more you know, The better you know, How little you know
-
16-01-2018 #6
The first ini I posted on linuxcnc didn't work I had set up A axis, the one I posted in the quote should have been the same one as I posted here but too early to check lol.
I've been looking at 7i76 for a little while but was confused on if 7i76 did step generation or you needed the 5i25 combo for step generation.
https://mesaus.com/index.php?route=p...&product_id=78
I guess what I'm asking is can I get away with buying the Ethernet version of 7i76 on it's own?
I'll get the switches on today hopefully my M3's have been shipped so should be today they come but I did try no forced homing as well as manual homing which I read should have made this go away but it did not lol.
When I press - on the manual move buttons for the Z axis should it move up or down? I'm guessing down at the moment mine moves up lol.
My friend keeps telling me to just use Mach 3 but if I do then I'd set up a pirate see if it works ok do some cuts then buy it and the inner tight guy inside me says just learn linuxcnc you idle twat lol and then the £200 you were going to use for Mach 3 will buy a 5i25 and 7i76 with the saved money ;)Last edited by Desertboy; 16-01-2018 at 09:01 AM.
http://www.mycncuk.com/threads/10880...60cm-work-area My first CNC build WIP 120cm*80cm
If you didn't buy it from China the company you bought it from did ;)
-
16-01-2018 #7I guess what I'm asking is can I get away with buying the Ethernet version of 7i76 on it's own?
When I press - on the manual move buttons for the Z axis should it move up or down? I'm guessing down at the moment mine moves up lol.
Also on the Z axis it should show -ve when going down. But in the the homing routine you can make it go either way it depends where the switch is ie you can change the travel to seek the switch out.
You are wasting your time playing without the homing switches on. As I said baby stepsLast edited by Clive S; 16-01-2018 at 10:40 AM.
..Clive
The more you know, The better you know, How little you know
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
New Table Build, 12x6 work area, drawings up any advice?
By silverdrgn in forum Plasma Table MachinesReplies: 3Last Post: 23-01-2016, 07:34 PM -
BUILD LOG: My 1st Hybrid Steel/Ally (1150 x 850 work area) (comments/advice please)
By lebies in forum DIY Router Build LogsReplies: 18Last Post: 19-08-2014, 12:00 PM -
BUILD LOG: Melbourne Andy CNC build 1220x810 work area
By AndyGuid in forum DIY Router Build LogsReplies: 4Last Post: 20-04-2014, 08:25 PM -
RFQ: acetal parts turned lathe work
By dazza in forum Projects, Jobs & RequestsReplies: 10Last Post: 13-06-2013, 10:15 AM -
Wanted - Regular work for reliable machine shop in Northants/Kettering area
By Narkedat90 in forum Opportunities Available & SoughtReplies: 4Last Post: 06-04-2013, 04:09 PM
Bookmarks