Error setting TOOL_CHANGE_POSITION

More
14 Oct 2022 19:30 #254131 by RotarySMP
On my Schaublin, I will get started using a manual QCTP holder. So I want the lathe to retract X to 180, have me change the tool, and then continue. I have Gmoccapy's tool change working fine, except for the move to the change location in X. When I add this to the INI:
[EMCIO]
TOOL_CHANGE _POSITION = 180

I get the error
estop.hal:4: Pin 'iocontrol.0.user-enable-out' does not exist

If I comment out that TOOL_CHANGE _POSITION line, LinuxCNC loads fine, and the HALSHOW shows that iocontrol.0.user-enable-out does exist.
Looks like IOcontrol gets built later in start up than that INI line is read. Any ideas how to address that?
Mark

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

More
14 Oct 2022 21:17 #254134 by tommylight
TOOL_CHANGE _POSITION = 180
-
180 what???? :)
Try
TOOL_CHANGE _POSITION = X180
The following user(s) said Thank You: RotarySMP

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

More
15 Oct 2022 06:48 - 15 Oct 2022 06:56 #254153 by RotarySMP
Thanks Tommy.
I had followed the example in the docs, which listed 

TOOL_CHANGE_POSITION = 0 0 2 - Specifies the XYZ location to move to when performing a tool change if three digits are used. Specifies the XYZABC location when 6 digits are used. Specifies the XYZABCUVW location when 9 digits are used. Tool Changes can be combined. For example if you combine the quill up with change position you can move the Z first then the X and Y.

I'll try adding the X and report back.
Last edit: 15 Oct 2022 06:56 by RotarySMP.

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

More
15 Oct 2022 10:12 #254159 by RotarySMP
I added the X, but that is not the issue. Same error as before.
Mark

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

More
15 Oct 2022 11:07 #254162 by tommylight
Adding all 3 values?
The following user(s) said Thank You: RotarySMP

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

More
16 Oct 2022 01:44 #254201 by cmorley
How about just two values, if you only have two axes.. :)
The following user(s) said Thank You: tommylight

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

More
16 Oct 2022 14:24 #254228 by tommylight

How about just two values, if you only have two axes.. :)

Yup, forgot he was talking about a lathe, despite watching that lathe on youtube several times! :)

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

More
23 Oct 2022 10:21 #254840 by RotarySMP
Sorry slow reply, I had a work trip this week.

I have tried adding a value for Z, but always the same error.
Mark
The following user(s) said Thank You: tommylight

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

More
24 Oct 2022 10:28 #254893 by andypugh
I think you need three numbers, separated by spaces, and no coordnates.
For a lathe just use a zero as the placeholder for Y.

(Not that I have bothered to test this, of course)

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

More
24 Oct 2022 13:02 #254904 by cmorley
here is the docs:

TOOL_CHANGE_POSITION = 0 0 2 - Specifies the XYZ location to move to when performing a tool change if three digits are used. Specifies the XYZABC location when 6 digits are used. Specifies the XYZABCUVW location when 9 digits are used. Tool Changes can be combined. For example if you combine the quill up with change position you can move the Z first then the X and Y.

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

Time to create page: 0.079 seconds
Powered by Kunena Forum