Ref Z references X axis

More
02 Feb 2021 23:09 #197491 by mf290997
Hi,

I just installed probe_basic and ran into the problem, that when pressing the Ref Z button, my CNC references the X Axis. When I change the .ini file to gmoccapy being the UI it does not do this, so I asume it has to do with probe basic. When pressing the home all axis button everything works and each axis is homed in the correct order.

Is this a known bug or does anybody know how to fix this?

Thanks,

Max

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

More
03 Feb 2021 00:41 #197500 by Lcvette
Replied by Lcvette on topic Ref Z references X axis

Hi,

I just installed probe_basic and ran into the problem, that when pressing the Ref Z button, my CNC references the X Axis. When I change the .ini file to gmoccapy being the UI it does not do this, so I assume it has to do with probe basic. When pressing the home all axis button everything works and each axis is homed in the correct order.

Is this a known bug or does anybody know how to fix this?

Thanks,

Max


sounds like your ini file is incorrectly listed for the axis number. x, y, z = 0, 1, 2

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

More
03 Feb 2021 01:51 #197505 by mf290997
Replied by mf290997 on topic Ref Z references X axis
WHat exactly do you mean? Are you sure about that? Because the same button in gmoccapy does the correct thing.

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

More
03 Feb 2021 02:03 #197507 by Lcvette
Replied by Lcvette on topic Ref Z references X axis
as shown here it is done by joints and joint 0 is X, joint 1 is Y, joint 2 is Z

```
[KINS]
KINEMATICS = trivkins coordinates=XYZAB
JOINTS = 5

#==================
# X Axis
#==================

[AXIS_X]
MIN_LIMIT = -0.001
MAX_LIMIT = 17.000
MAX_VELOCITY = 10.0
MAX_ACCELERATION = 20.0

[JOINT_0]
TYPE = LINEAR
HOME = 0.000
MAX_VELOCITY = 10
MAX_ACCELERATION = 20.0
BACKLASH = 0.003
INPUT_SCALE = 4000
OUTPUT_SCALE = 1.000
MIN_LIMIT = -0.001
MAX_LIMIT = 17.0
FERROR = 0.050
MIN_FERROR = 0.010
HOME_OFFSET = 0.0
HOME_SEARCH_VEL = 1.0
HOME_LATCH_VEL = 0.1
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = NO
HOME_SEQUENCE = 1
HOME_IS_SHARED = 1

#==================
# Y Axis
#==================

[AXIS_Y]
MIN_LIMIT = -0.001
MAX_LIMIT = 8.500
MAX_VELOCITY = 10.0
MAX_ACCELERATION = 20.0

[JOINT_1]
TYPE = LINEAR
HOME = 0.000
MAX_VELOCITY = 10
MAX_ACCELERATION = 20.0
BACKLASH = 0.003
INPUT_SCALE = 4000
OUTPUT_SCALE = 1.000
MIN_LIMIT = -0.001
MAX_LIMIT = 8.500
FERROR = 0.050
MIN_FERROR = 0.010
HOME_OFFSET = 0.0
HOME_SEARCH_VEL = 1.0
HOME_LATCH_VEL = 0.1
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = NO
HOME_SEQUENCE = 1
HOME_IS_SHARED = 1

#==================
# Z Axis
#==================

[AXIS_Z]
MIN_LIMIT = -15.750
MAX_LIMIT = 0.001
MAX_VELOCITY = 10
MAX_ACCELERATION = 20.0

[JOINT_2]
TYPE = LINEAR
HOME = 0.000
MAX_VELOCITY = 10
MAX_ACCELERATION = 20.0
BACKLASH = 0.003
INPUT_SCALE = 4000
OUTPUT_SCALE = 1.000
MIN_LIMIT = -15.750
MAX_LIMIT = 0.001
FERROR = 0.050
MIN_FERROR = 0.010
HOME_OFFSET = 1.0
HOME_SEARCH_VEL = 1.0
HOME_LATCH_VEL = 0.1
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = NO
HOME_SEQUENCE = 0
HOME_IS_SHARED = 1

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

More
03 Feb 2021 02:05 #197508 by mf290997
Replied by mf290997 on topic Ref Z references X axis
Hm, I think I got that correct... Tomorrow I'll be able to post my files.

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

More
03 Feb 2021 02:07 #197509 by Lcvette
Replied by Lcvette on topic Ref Z references X axis
I'm pretty sure, here is the button and its command, if you are having something happen other than the x axis move then i would suspect the config. this shows it is referencing the x axis as defined in your config.

Attachments:

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

More
03 Feb 2021 02:09 #197510 by mf290997
Replied by mf290997 on topic Ref Z references X axis
The issue is only present when pressing the REF Z button. Where can I find these configs shown in the screenshot? or can yo check if the REF Z button says machine.home.axis:z?

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

More
03 Feb 2021 02:09 #197511 by Lcvette
Replied by Lcvette on topic Ref Z references X axis
perhaps your ini and hal files are mixed up?

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

More
03 Feb 2021 02:14 #197512 by Lcvette
Replied by Lcvette on topic Ref Z references X axis
Attachments:

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

More
03 Feb 2021 02:15 #197513 by mf290997
Replied by mf290997 on topic Ref Z references X axis
Thanks. I'll post my files tomorrow.

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

Moderators: KCJLcvette
Time to create page: 0.260 seconds
Powered by Kunena Forum