- Posts: 54
- Thank you received: 0
Dual ballscrew router with 2.8 problems
I have no idea my head hurts, I've included my .ini and .hal
I set my working area to 1200*600*100 (I have a bit more than that)
I have no homing switches connected yet but have 2 for the Y so I can home independently.
Also I have a question about adding a tool I have a 6mm 2 flute end mill I want to add but not sure what to put in the tool file or even what P means.
Thanks
Desertboy
Please Log in to join the conversation.
Attachment not found
How do I position the part on the virtual bed?
# 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.0
Please Log in to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
- Posts: 4739
- Thank you received: 2
This is done using the touch off button (or some G-code commands).
To understand more about work coordinates (G54, G55...) read here in the manual.
linuxcnc.org/docs/2.5/html/common/User_C...#_coordinate_systems
and here
linuxcnc.org/docs/2.5/html/common/User_C...#_coordinate_systems
Please Log in to join the conversation.
I like picture of the cnc. It has 2 motors on x axis i see. Is this working good at the moment?
To the machine area. When you have no home switches attached you make a zero position for your workpiece by moving the machine in place by keybord or mouse. Mostly of time top workpiece is zero. X and Y is corner, depending on how your situation is.
a power of switch nearby your hand, in that case you will avoid a collision in time.
Change this item on all axis 2 times. So 6 times total on 3 axis machine.
This solves your 7 screen errors on the picture. Later on you can adjust the value.
Okey next :
P is pause in g-code. So P1 is pause 1 seconde.Also I have a question about adding a tool I have a 6mm 2 flute end mill I want to add but not sure what to put in the tool file or even what P means.
T is tool. T1 means Tool one.
Also i see. Your axis are not homed at the picture. At your linux startup, please home the axis piece by piece.
You will see a home icon be show'n after each axis value. The actual position is called a DRO value.
Dro = en.wikipedia.org/wiki/Digital_read_out
Please Log in to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
- Posts: 4739
- Thank you received: 2
In Linuxcnc P is usually used for as a parameter of some other G-code.or M-code.
Exactly what the P means will be different depending on what code it is used with.
For example G64P0.001, activates path blending with a 0.001 tolerance.
To pause for a certain time (5 seconds) in Linuxcnc is G4P5. To pause and wait for the operator to restart, is M0 or M1. (M1 is an optional stop and won't stop if the optional stop switch is off)
Please Log in to join the conversation.
Why works linux with P0.5 for starting delay the plasma after M3? ( firing torch with or without hf ignition )
here a code :
@Todd,
It' s indeed also a variable i see on wiki. Picture adapted.
It's how you use it.
Attachment not found
Please Log in to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
- Posts: 4739
- Thank you received: 2
Please Log in to join the conversation.
I have installed wheezy so far and done some simple tests with wheezy before I upgrade.
but 2.7 is firing the same errors at me, used stepconf to configure and changed the A pins to Y in the setup. Manual movement works fine but run program.
Tried setting the range high as suggested did nothing.
Have the home switches on now so will try and configure them but I assume this will not help my problem since I've got No force homing in my .ini already.
Please Log in to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
- Posts: 4739
- Thank you received: 2
In the photo above, your file goes from -50.3 to +48.7 in the Y direction (and similar for X), yet your machine has no negative travel. In order to run that file on that config you have to "touch off" the machine coordinates you are using to move the milling into the machinable aria of machine.
For the above pictured file, jog the machine over to X=150, Y=150, Z-50. Then for each axis click the touch off button, and press OK (to set that location to 0). (or alternatively after jogging to the point you want to be 0,0,0, on the MDI screen type G10L2P0X0Y0Z0)
Please Log in to join the conversation.
Only got it running 2.7 at moment but will upgrade and have another go with 2.8 hopefully I know what to do now.
Although unsure on how I set the homing actually up for the Y.
It's too cold in UK today I had to come home but will wrap up better tomorrow, hard to work on an aluminium router when it's cold you're fingers freeze lol.
Please Log in to join the conversation.
