Back or front tool

More
5 years 1 week ago #223923 by john11668
Replied by john11668 on topic Back or front tool
Hal and Ini attached

 

Attachment not found



 

Attachment not found

Please Log in to join the conversation.

More
5 years 1 week ago #223926 by Aciera
Replied by Aciera on topic Back or front tool
So in order to setup XYZ axis you'll want to change your ini:

[KINS]
JOINTS = 3
KINEMATICS = trivkins coordinates=XYZ

[TRAJ]
COORDINATES = X Y Z

Please Log in to join the conversation.

More
5 years 1 week ago #223930 by dgarrett
Replied by dgarrett on topic Back or front tool
Note:

using:
> KINEMATICS = trivkins cooordinates=XYZ
assigns x==joint0, y==joint1, z==joint2


alternatively, using:
> KINEMATICS = trivkins coordinates=XZY
would assign x==joint0, z==joint1, y==joint2
and could be helpful in updating halfiles since
it would preserve prior joint0,1 connections.

No connections are required for dummy coordinate y==joint2
but a [JOINT_2] stanza with immediate homing is probably
required to use "HomeAll" provisions.


Ref (trivkins):
linuxcnc.org/docs/devel/html/man/man9/kins.9.html
> trivkins - generalized trivial kinematics Joint numbers
> are assigned sequentially according to the axis letters
> specified with the coordinates= parameter.

Ref (immediate homing):
linuxcnc.org/docs/devel/html/config/ini-...ml#_immediate_homing

Please Log in to join the conversation.

More
5 years 1 week ago #223941 by john11668
Replied by john11668 on topic Back or front tool
Thanks Guys ,
I now have turning on back tool followed by singlepoint threadcutting on front tool.

I homed X, and Z using my hard "home all" button but it did not show as homed until I clicked on the screen home button , then I was able to click on Y home button and it then showed as homed .
The DRO does show an active Y axis too . Can this be inhibited ?

I have to admit I am not quite following the info which your links guide me to Dgarrett

Please Log in to join the conversation.

More
5 years 1 week ago #223969 by john11668
Replied by john11668 on topic Back or front tool
Have played a bit with this . . Bit of a voyage of discovery but am delighted it works . Thanks again guys .

Took a bit of getting used to . Had to reset my tool offsets and of course you need to do a G10 roration in MDI, (in order to place the machine in the right mode) before calling your tool change , then setting the offsets . All a bit novel for me but I will get there !

Please Log in to join the conversation.

More
5 years 1 week ago #224044 by john11668
Replied by john11668 on topic Back or front tool
I found that once I had set the offsets, each within its appropriate rotation for front or back, I still had to touch off within each rotation . Seems logical enough but had me wondering initially.
In the tool table there is the option to nominate tools as back or front . Does this have any effect on this process

Please Log in to join the conversation.

More
5 years 3 days ago #224516 by andypugh
Replied by andypugh on topic Back or front tool

In the tool table there is the option to nominate tools as back or front . Does this have any effect on this process
 
Front and Back in the tool editor are the front and back angles of the insert, so that you can have a representative image in the preview (also, at least some implementations of G71 use the front and back angles to avoid gouging) 
 

Please Log in to join the conversation.

More
4 years 11 months ago #224784 by john11668
Replied by john11668 on topic Back or front tool
So hardly going to affect me yet but thanks Andy.
What I am struggling to find though is how to reverse my spindle .
Both M3 and M4 currently send the spindle in the same direction. Its a DC motor so I can reverse by reversing the motor leads anyway
So as my normal operating mode would be back tool (slant bed lathe) I am presuming i would choose CW as M3 direction,
So then I call M4 and I want spindle to run CCW . Bob relay starts my spindle and Bob analogue output regulates my speed, but I need to energise my reversing relay to change direction .
I have a 4 relay additional board so I can choose any one to energise my reversing relay but I just cant find what I need to write into my Hal to make it happen.
I have all the output pins for axes A and B to choose from
My Hal files are at the top of this page so if anyone can guide me I will appreciate this

Please Log in to join the conversation.

More
4 years 11 months ago #224791 by rider-83
Replied by rider-83 on topic Back or front tool
I have the 160TCL and had the same issue with switching the spindle DC motor direction with M3 & M4. It was easily resolved with a polarity reversing module which I bought from a model railway supplier.

I can have a look at how I did it and send you the .hal example if you are interested?

Please Log in to join the conversation.

More
4 years 11 months ago #224803 by john11668
Replied by john11668 on topic Back or front tool
Thanks Rider and and yes please .
I think I have the kit to actually reverse the polarity . I have been doing it manually with a 2 pole changeover switch and have set up a relay to do the same . I think I just need the hal entries to make a chosen pin operate one of the relays on a small board which in turn will energise my reversing relay,
Still interested to see your setup as well though.

Please Log in to join the conversation.

Time to create page: 0.103 seconds
Powered by Kunena Forum