- Posts: 20
- Thank you received: 0
How to. 2 or more motors on one axis. Gantry
Problem in HAL file. You have to strip axis pins and connections. InsteadTrihwangyudi1990 wrote: I have 2 Y axis... Now its not work after i edit INI file and HAL file...
Try to move z axis but in screen moving Y1 axis (join 2 in my hal file)
Its swaping...![]()
This my ini and hal file
net ystep => parport.0.pin-05-out
net ystep => parport.0.pin-06-out
shall be:
net y0step => parport.0.pin-05-out
net y1step => parport.0.pin-06-out
same in rest of HAL (especially AXIS section)
Please Log in to join the conversation.
I started fresh. New config with StepConf. Only thing is different that all step signals wasn't inverted and now it is. After inverting step's XYZ config won't worked (XZ worked and Y not) as before and I had to change Y limits to negative. After that XYZ config was fixed. Then I've changed all details for XYYZ configuration and now it's fully working XYYZ mode. At start in Joint mode and after homing it become Axis mode (world). Still don't understand logic of setting limits LinuxCNC but at least it's working.rodw wrote: I think we have reached the limits of what can be done with remote trouble shooting. The unfortunate thing is that there are thousands of machines that are homing correctly so it not Linuxcnc at fault. You need to walk away for a day or two and then come back with fresh eyes, study the homing configuration docs and resolve the issue.
dear rodw, tommylight, Clive S, phillc54 thank you for helping me!
including my new configs maybe that would help someone
Please Log in to join the conversation.
- Trihwangyudi1990
- Offline
- Junior Member
-
- Posts: 30
- Thank you received: 0
Change litle bit but now the problem...nau wrote:
Problem in HAL file. You have to strip axis pins and connections. InsteadTrihwangyudi1990 wrote: I have 2 Y axis... Now its not work after i edit INI file and HAL file...
Try to move z axis but in screen moving Y1 axis (join 2 in my hal file)
Its swaping...![]()
This my ini and hal file
net ystep => parport.0.pin-05-out
net ystep => parport.0.pin-06-out
shall be:
net y0step => parport.0.pin-05-out
net y1step => parport.0.pin-06-out
same in rest of HAL (especially AXIS section)
X axis work.... Limit and home work
Y0 axis work but Y1 axis is swaping with Z axis..
Z axis cant move
:ohmy: :ohmy: :ohmy:
The configuration of my ini and hal file after I change it
Please Log in to join the conversation.
you have to home all first.Trihwangyudi1990 wrote: Change litle bit but now the problem...
X axis work.... Limit and home work
Y0 axis work but Y1 axis is swaping with Z axis..
Z axis cant move
:ohmy: :ohmy: :ohmy:
The configuration of my ini and hal file after I change it
and set HOME_SEQUENCE = -1 to both joint 1 and 2 to home them together only
Please Log in to join the conversation.
- Trihwangyudi1990
- Offline
- Junior Member
-
- Posts: 30
- Thank you received: 0
Thanks its work.... :laugh: :laugh: :laugh: :nau wrote:
you have to home all first.Trihwangyudi1990 wrote: Change litle bit but now the problem...
X axis work.... Limit and home work
Y0 axis work but Y1 axis is swaping with Z axis..
Z axis cant move
:ohmy: :ohmy: :ohmy:
The configuration of my ini and hal file after I change it
and set HOME_SEQUENCE = -1 to both joint 1 and 2 to home them together only
Now its time to add rotary axis...
Great comunityB)
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
TYPE = LINEAR
HOME = 0.0 This is the final home position
MIN_LIMIT = -0.001
MAX_LIMIT = 1220.0
MAX_VELOCITY = 200.0
MAX_ACCELERATION = 500.0
STEPGEN_MAXACCEL = 625.0
SCALE = 106.666666667
FERROR = 1
MIN_FERROR = .25
HOME_OFFSET = 0.0 This is used to square the gantry (a small number) ie 0.25
HOME_SEARCH_VEL = 0 use this to search for the home switch ( if you change the sign it will reverse the direction) if it is zero it probably won't move
HOME_LATCH_VEL = 0 This number is set to the speed of the search to the switch ( if you change the sign it will reverse the direction)
HOME_USE_INDEX = NO
HOME_SEQUENCE = 0 It is usual to have 0 for the Z axis (so that the Z will lift out of the way first) but for dual homing both axis have to have the same -ve number ie -1
Please Log in to join the conversation.
I don't quite understand now, how I need to setup the homing. I don't want you use two endstops on Y, the system is rigid enough for me that homing on one side schould be enough for my needs.
Is there a good explanation on how to setup the hal/ini file for homing switch inputs? I think I can't use stepconf anymore, because that would override my previous changes, correct?
Clives explanations were very helpful, but I don't understand the difference between HOME_LATCH_VEL and HOME_SEARCH_VEL yet.
Please Log in to join the conversation.
Homing is describered here. Read it all but check out section 5 for all the velocities.
linuxcnc.org/docs/2.8/html/config/ini-homing.html
The whole thing about gantry machines is the use of two home switches allows the gantry to be squared when it homes.
Please Log in to join the conversation.
