2 Motors on Y , linuxcnc 2.9 not moving together

More
08 Mar 2020 16:22 #159480 by CNCFred
Dear all,
please be so kind and have a look at my ini and hal file .
I read forum.linuxcnc.org/49-basic-configuratio...-linuxcnc-2-8-master


checked my hal and ini and it seems it should be ok...seems ..but the y axis is moving only one motor when homing.

finally hardware seems to be ready , I had also home switches but want to use max limit and home as one.

I have a cartesian Linuxcnc coordinates question as well ... I read the manual but I somehow don't get it :
I first had the machine configured that standing in front the minimum is in front and the maximum opposite (on the back)..seems that is wrong ??

thank you
Attachments:

Please Log in or Create an account to join the conversation.

More
08 Mar 2020 16:33 - 08 Mar 2020 16:33 #159482 by CNCFred
when I put home sequence -1 in pncconf wizard for the Y joints then linuxcnc throws an error and does not start
Last edit: 08 Mar 2020 16:33 by CNCFred.

Please Log in or Create an account to join the conversation.

More
08 Mar 2020 17:19 #159486 by cmorley
Whats the error message?
The following user(s) said Thank You: CNCFred

Please Log in or Create an account to join the conversation.

More
08 Mar 2020 17:33 - 08 Mar 2020 17:33 #159487 by CNCFred
found it , pncconf puts a --1 in the ini for the homing sequence if you do negative!!
if you delete one - it works!!

and I then I had to change to cabling of one motor none of the inv. settings changed the y motors to the same direction.

now I have to find out why x does not stop at the max home instead continues ...
puh ...but I am getting better
Last edit: 08 Mar 2020 17:33 by CNCFred.

Please Log in or Create an account to join the conversation.

More
08 Mar 2020 17:42 #159488 by cmorley
If both axis are to home together they should both have a negative home sequence.

linuxcnc.org/docs/2.8/html/config/ini-ho....html#_home_sequence

I's like to know what went wrong so I can improve pncconf.
The following user(s) said Thank You: CNCFred

Please Log in or Create an account to join the conversation.

More
08 Mar 2020 18:07 #159491 by CNCFred
pncconf puts a --1 in the ini for the homing sequence if you do negative!!
if you delete manually one of the minus - "it works!!"

I got
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = --1


still y or y2 motor inverting did not work either.

thanks for your work!

can you help me out if I have a cnc plasma do I have coordinate the table or the tool? maybe a stupid question ....

I am bit lost ...I home at right side xmax and home and can't move to the left side...
Attachments:

Please Log in or Create an account to join the conversation.

More
08 Mar 2020 19:02 #159493 by cmorley
Ahh double minus sign ok thanks.

did you try inverting the 'invert motor' on the Motor page?
I do se that inverting the direction pin on the mesa page does not seem to work.

Chris
The following user(s) said Thank You: CNCFred

Please Log in or Create an account to join the conversation.

More
08 Mar 2020 19:06 - 08 Mar 2020 19:06 #159494 by cmorley

can you help me out if I have a cnc plasma do I have coordinate the table or the tool? maybe a stupid question ....


I think you are asking about direction of travel reference - it's tool movement.
In Pncconf when on the Axis page, press the help button - it should explain the direction designations.

Chris
Last edit: 08 Mar 2020 19:06 by cmorley.
The following user(s) said Thank You: CNCFred

Please Log in or Create an account to join the conversation.

More
08 Mar 2020 19:07 - 08 Mar 2020 19:19 #159495 by CNCFred
something I also do not understand is :
I have a precision gear on my nema 23 with 5:1 and rack and pinion . the pinion has 25teeth which gives it a travel of 25mm
I even tested and motor 5 revolutions the gear 1

so usually one rev should be 5mm , which is equal to pinion 25mm divided by 5 revolutions makes 1 revolution 5mm

but look which setting I had to do in order to get approx 1mm travel (I got 0.9) when requested 1mm


I tried 5mm but then it travels a big distance (not measured)



I think you are asking about direction of travel reference - it's tool movement.
In Pncconf when on the Axis page, press the help button - it should explain the direction designations.


thank you Chris, that is great!
Attachments:
Last edit: 08 Mar 2020 19:19 by CNCFred.

Please Log in or Create an account to join the conversation.

More
08 Mar 2020 19:32 #159497 by cmorley
typical motor has 200 basic steps per revolution
8 times microsteps (200 x 8) = 1600 steps per revolution
5:1 reduction gear box: 5 motor turns to one output turn (5 x 1600 = 8000 steps per revolution
1 revolution of 25 tooth pinion = 25mm travel of table
or .04 revolution = 1mm

So 8000 x .04 = 320 steps per mm

If your scale differed from that then it suggests that your assumptions of the mechanics are wrong. My guess would be microsteps setting.

Chris

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.184 seconds
Powered by Kunena Forum