TouchOff
24 Aug 2013 17:10 #38027
by eslavko
Hello...
I want to be able to make TouchOff from signal from pendant.
But looking in manual I can't find the working way.
If I click touchOff in axis gui everithyng works..
What sequence the axis does when is touchoff pressed?
I try to mimic that in MDI mode but no succes.
It shoul be something like G10... but after hour of reading manual and triing I give up and post that question...
the real connection is probably done halui way.
[HALUI]
MDI_COMMAND = G10 ????
and triggering halui.mdi-command-<nn> pin
any help?
I want to be able to make TouchOff from signal from pendant.
But looking in manual I can't find the working way.
If I click touchOff in axis gui everithyng works..
What sequence the axis does when is touchoff pressed?
I try to mimic that in MDI mode but no succes.
It shoul be something like G10... but after hour of reading manual and triing I give up and post that question...
the real connection is probably done halui way.
[HALUI]
MDI_COMMAND = G10 ????
and triggering halui.mdi-command-<nn> pin
any help?
Please Log in or Create an account to join the conversation.
24 Aug 2013 19:36 #38030
by eslavko
I wan't same functionality as the button TouchOff on axis gave me. (the only difference is to be executed from hal pin, and the offset to be constant and not entered value)
Yes a G10 as a mdi command would be what you want. Without knowing what your wanting to touch off I can't say which G10 is the right one.
JT
I wan't same functionality as the button TouchOff on axis gave me. (the only difference is to be executed from hal pin, and the offset to be constant and not entered value)
Please Log in or Create an account to join the conversation.
24 Aug 2013 21:46 #38033
by eslavko
This (I already tryed) set coordinate to 50 20, but does not work same as TouchOff in Axis.
When LinuxCNC is started there is LinuxCNC text in preview window. If I jog Z axis to let say 50 and do touchoff (and enter 0) the DRO show 0 and part "LinuxCNC text in preview window" jump to that base.
if I enter G10 L20 P0 Z0 instead clicking TouchOff the DRO show 0, but the part "LinuxCNC text in preview window" stay in same place.
try using
MDI_COMMAND =G10 L20 P0 X50 to set x to 50
MDI_COMMAND =G10 L20 P0 Y20 to set y to 20
This (I already tryed) set coordinate to 50 20, but does not work same as TouchOff in Axis.
When LinuxCNC is started there is LinuxCNC text in preview window. If I jog Z axis to let say 50 and do touchoff (and enter 0) the DRO show 0 and part "LinuxCNC text in preview window" jump to that base.
if I enter G10 L20 P0 Z0 instead clicking TouchOff the DRO show 0, but the part "LinuxCNC text in preview window" stay in same place.
Please Log in or Create an account to join the conversation.
25 Aug 2013 02:48 #38039
by BigJohnT
Not trying to confuse things but the touch off button in Axis can do several things and some depend on what is selected in the menu.
The preview window will not update from a MDI command.
So we are talking about the Z axis, are you touching off to material, fixture or to a coordinate system?
JT
The preview window will not update from a MDI command.
So we are talking about the Z axis, are you touching off to material, fixture or to a coordinate system?
JT
Please Log in or Create an account to join the conversation.
25 Aug 2013 17:02 #38059
by BigJohnT
On my Hardinge CHNC lathe I use the following with a 3/8" dowel to touch off to material. I move the cutter to a bit closer than 3/8" and slowly move it away until the dowel just passes between the Z face of the material and my favorite touch off tool. I double check the Z axis on the DRO after pressing the pyvcp button to make sure it reads 0.375.
I use a different method to touch off each tool to the fixture prior to touching off one tool to the material.
JT
MDI_COMMAND = G10 L20 P1 Z0.375
I use a different method to touch off each tool to the fixture prior to touching off one tool to the material.
JT
Please Log in or Create an account to join the conversation.
26 Aug 2013 17:24 #38102
by Rick G
As John's example above shows that does what you are trying to do.
The AXIS display will change to reflect the results when you load or reload the g code file.
Normally I use a button on my pendant issue a similar MDI command to set my Z height before loading the g code I wish to run. This way the results are shown.
You could also...
Hit the reload button on AXIS
Use the keyboard short cut [control R]
Rick G
The AXIS display will change to reflect the results when you load or reload the g code file.
Normally I use a button on my pendant issue a similar MDI command to set my Z height before loading the g code I wish to run. This way the results are shown.
You could also...
Hit the reload button on AXIS
Use the keyboard short cut [control R]
Rick G
The following user(s) said Thank You: eslavko
Please Log in or Create an account to join the conversation.
Time to create page: 0.090 seconds