- Posts: 1630
- Thank you received: 0
Error setting TOOL_CHANGE_POSITION
4 years 2 weeks ago #254131
by RotarySMP
Error setting TOOL_CHANGE_POSITION was created 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
[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 to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
4 years 2 weeks ago #254134
by tommylight
Replied by tommylight on topic Error setting TOOL_CHANGE_POSITION
TOOL_CHANGE _POSITION = 180
-
180 what????
Try
TOOL_CHANGE _POSITION = X180
-
180 what????
Try
TOOL_CHANGE _POSITION = X180
Please Log in to join the conversation.
4 years 2 weeks ago #254153
by RotarySMP
Replied by RotarySMP on topic Error setting TOOL_CHANGE_POSITION
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.
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.
Please Log in to join the conversation.
4 years 2 weeks ago #254159
by RotarySMP
Replied by RotarySMP on topic Error setting TOOL_CHANGE_POSITION
I added the X, but that is not the issue. Same error as before.
Mark
Mark
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
4 years 2 weeks ago #254162
by tommylight
Replied by tommylight on topic Error setting TOOL_CHANGE_POSITION
Adding all 3 values?
Please Log in to join the conversation.
4 years 2 weeks ago #254201
by cmorley
Replied by cmorley on topic Error setting TOOL_CHANGE_POSITION
How about just two values, if you only have two axes..
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
4 years 2 weeks ago #254228
by tommylight
Replied by tommylight on topic Error setting TOOL_CHANGE_POSITION
Yup, forgot he was talking about a lathe, despite watching that lathe on youtube several times!How about just two values, if you only have two axes..
![]()
Please Log in to join the conversation.
4 years 1 week ago #254840
by RotarySMP
Replied by RotarySMP on topic Error setting TOOL_CHANGE_POSITION
Sorry slow reply, I had a work trip this week.
I have tried adding a value for Z, but always the same error.
Mark
I have tried adding a value for Z, but always the same error.
Mark
Please Log in to join the conversation.
4 years 1 week ago #254893
by andypugh
Replied by andypugh on topic Error setting TOOL_CHANGE_POSITION
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)
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 to join the conversation.
4 years 1 week ago #254904
by cmorley
Replied by cmorley on topic Error setting TOOL_CHANGE_POSITION
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.
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 to join the conversation.
Time to create page: 0.137 seconds
