Z-movement stopped working in dual Y XYYZ 4-joint mode system

More
12 Sep 2020 16:34 - 12 Sep 2020 17:24 #181896 by radek_marko
Hi, I'm in the process of putting together plasma CNC. Now I'm stuck on the following issue:

Before I've changed from 3-joint I could move Z-axis (PgUp/PgDown or +/-) buttons on the screen.

I haven't changed pins for the motor DIR and PUL, when I test it via stepconf it does work.

I have changed HAL as it was required for the 4th joint.

When LinuxCNC starts the config from fresh it displays joints as numbers from 0 to 3. Before execution of "HOME ALL" I can select joint 3 (z-axis) and using +/- buttons on the screen I can feel the motor movement (but is tiny not as per expected move). After "HOME ALL" when Linux CNC is in axis mode the move of z by +/- on the screen does not move motor at all.

My setup:
x-axis on joint 0 (min and home on single input)
y-axis on joint 1 and joint 2 (min and home as one on each joint)
z-axis on joint 3 (no sensors)

I'm attaching my conf and INI

File Attachment:

File Name: plasma-cnc.ini
File Size:3 KB

File Attachment:

File Name: plasma-cnc.hal
File Size:4 KB


I'm a complete newbie and do not know where to start.

Please help!
Attachments:
Last edit: 12 Sep 2020 17:24 by radek_marko. Reason: New info found

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

More
12 Sep 2020 18:18 #181907 by Aciera
Looks like you have set your limits for the Z axis wrong (it can't move because you told the controller that the axis lenght is 0.002):

[AXIS_Z]
MAX_VELOCITY = 64.94140625
MAX_ACCELERATION = 750.0
MIN_LIMIT = -0.001
MAX_LIMIT = 0.001

[JOINT_3]
TYPE = LINEAR
HOME = 0.0
MIN_LIMIT = -0.001
MAX_LIMIT = 0.001

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

More
13 Sep 2020 09:41 #182002 by radek_marko
Thank you very much for your help!

I have changed MAX_LIMIT for AXIS and JOINT to 120.0 (mm) and it now allows me to move z-axis.I have made one more change. The movement was reversed PgUp was moving the axis down and PgDown was moving axis up. I've changed the scale to "-" value and now I can move it as expected.

Now time to move to the integration of plasma and the torch height controller.

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

More
13 Sep 2020 11:38 #182006 by Aciera
Thanks for reporting back. I'm glad you got it working.
The following user(s) said Thank You: tommylight

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

Time to create page: 0.119 seconds
Powered by Kunena Forum