Grantry milling config problem

More
16 Sep 2018 14:15 #117605 by nonkeldw
Dear

I got some problems with the configuration from my milling machine.
I got a gantry milling machine with 2 motors on the X axis.

Little overview of my hardware:
I use the MESA 7i76E card and 5 stepper drives for controlling the motors.
My connections are made in the following order: XX Y Z.
I got also 2 homing switches on both sides of the X as.

I updated LinuxCNC from version 2.7 to 2.8. And I found already the hal and ini file from Rod.
Everything looks the same... but it doesn't work... I add my ini and hal file to this topic, and add also the files from Rod as reference.

There are strang things, when i push the Page-Up-Down button on the keyboard the Y axis is moving and not the Z axis??
I can't move the X axis then i got the error "the axis is are not homed".
Is it possible to help me with finding the bug in my configuration?

Thanks!
Attachments:

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

More
16 Sep 2018 14:39 - 16 Sep 2018 14:44 #117606 by Clive S
For a start I think you need KINEMATICS = trivkins coordinates=XXYZ

I would also make the Z HOME_SEQUENCE = 0 and the Y HOME_SEQUENCE = 2

So that the Z will home first.
Last edit: 16 Sep 2018 14:44 by Clive S.

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

More
16 Sep 2018 14:46 #117607 by nonkeldw
I think this is already done?
[KINS]
JOINTS = 4
KINEMATICS = trivkins coordinates=XXYZ

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

More
16 Sep 2018 21:51 #117621 by andypugh

There are strang things, when i push the Page-Up-Down button on the keyboard the Y axis is moving and not the Z axis??!


Which axis moves on the screen? Which axis moves on the machine? Could it be a wiring error (in HAL or physical)

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

More
16 Sep 2018 21:55 #117623 by tommylight
You have to home the machine before moving it.
It does move without homing but:
-If the DRO numbers are beyond the soft limits it will not move that axis,
-It is normal to move the Y axis with the pgup/pgdown buttons as that is the third joint
-You are in JOINT mode when starting, so you have to change to World mode to get the usual controls
-It will automatically go to World mode after homing

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

More
17 Sep 2018 09:14 #117644 by rodw
Replied by rodw on topic Grantry milling config problem
With V 2.8, nothing can work until its homed. So confirming what Tommy says, press the home all button and see how it goes.
Homing is quite different between 2.7 and 2.8

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

More
19 Sep 2018 16:22 #117749 by nonkeldw
Hi

I test the home all button, all my axis are homed in les than a second.. but the machine is not moving...

What do i wrong?

Thanks

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

More
19 Sep 2018 16:34 #117750 by andypugh

I test the home all button, all my axis are homed in les than a second.. but the machine is not moving...

What do i wrong?


Your INI file does not contain HOME_SEARCH_VELOCITY and HOME_LATCH_VELOCITY for each axis.

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

More
19 Sep 2018 16:55 - 19 Sep 2018 19:02 #117752 by nonkeldw
Thanks

The machine is moving and homed.

What is the best method for square the machine?

Thanks.
Last edit: 19 Sep 2018 19:02 by nonkeldw.

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

More
19 Sep 2018 19:05 #117757 by andypugh
The HAL configuration looks right for the config you describe.
So perhaps some physical wires are crossed somewhere?
It might also be that the Y home switch is wired to the Z input too. (unless they share a pin)

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

Time to create page: 0.081 seconds
Powered by Kunena Forum