Types of lathe reference
- Ingo
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 111
- Thank you received: 2
10 Nov 2021 15:34 #225993
by Ingo
Types of lathe reference was created by Ingo
I need some ideas, I have an inverted lathe and I want it to reference the top (X+) but I want my X=0 to be in the center of the spindle plate. Does anyone know how to do this?
Ingo
Ingo
Please Log in or Create an account to join the conversation.
- Henk
- Offline
- Platinum Member
Less
More
- Posts: 395
- Thank you received: 80
10 Nov 2021 16:15 #226001
by Henk
Replied by Henk on topic Types of lathe reference
On my lathes G53 x0 is near the max limit of x travel.
I then set each tool offset so that it turns the correct diameter. This way the G54 x offset is always 0. If you accidentally set a x offset, it's easier to reset it back to 0.
I then set each tool offset so that it turns the correct diameter. This way the G54 x offset is always 0. If you accidentally set a x offset, it's easier to reset it back to 0.
Please Log in or Create an account to join the conversation.
- Ingo
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 111
- Thank you received: 2
11 Nov 2021 23:22 #226159
by Ingo
Replied by Ingo on topic Types of lathe reference
But it doesn't have a parameter, some line in the machine .ini or .Hal files, when it makes the reference it says that it is zero (x=0) to put a value for ex. x=150.55….
Please Log in or Create an account to join the conversation.
- Henk
- Offline
- Platinum Member
Less
More
- Posts: 395
- Thank you received: 80
12 Nov 2021 03:58 #226179
by Henk
Replied by Henk on topic Types of lathe reference
I'm not sure I understand what you are asking but I think you will find the answer here.
linuxcnc.org/docs/html/config/ini-homing.html
You can specify the home offset in the Ini file
If you make it zero, and you home towards the positive x direction.
linuxcnc.org/docs/html/config/ini-homing.html
You can specify the home offset in the Ini file
If you make it zero, and you home towards the positive x direction.
Please Log in or Create an account to join the conversation.
- Ingo
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 111
- Thank you received: 2
13 Nov 2021 15:51 #226326
by Ingo
Replied by Ingo on topic Types of lathe reference
Thank you so much Henk, it was the Offset position needed.
Another thing I looked for in your link and didn't find it was how to make the Home da turret in position 1?
Another thing I looked for in your link and didn't find it was how to make the Home da turret in position 1?
Please Log in or Create an account to join the conversation.
- Henk
- Offline
- Platinum Member
Less
More
- Posts: 395
- Thank you received: 80
13 Nov 2021 20:02 #226357
by Henk
Replied by Henk on topic Types of lathe reference
Turrets are normally not set up as an axis, although it has been done before.
The answer to your question depends on how you control your turret.
I would make the turret find its reference on the first tool change. That is only required when there is only one signal that indicates tool positions and one reference signal. If there is an absolute indication of turret position, like a BCD group of signals it is not needed to ref the turret since these signals show the current position
The answer to your question depends on how you control your turret.
I would make the turret find its reference on the first tool change. That is only required when there is only one signal that indicates tool positions and one reference signal. If there is an absolute indication of turret position, like a BCD group of signals it is not needed to ref the turret since these signals show the current position
Please Log in or Create an account to join the conversation.
- Ingo
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 111
- Thank you received: 2
19 Nov 2021 03:22 #226943
by Ingo
Replied by Ingo on topic Types of lathe reference
Henke, você já deu algumas dicas boas e me ajudou muito. Estou há 7 dias batendo a cabeça na minha torre e não estou conseguindo evoluir porque três coisas estão acontecendo.
Primeiro, estou usando Gmoccapy e minha torre é 12 ferramentas e meu codificador é BCD, mas ele não pode fazer referência à ferramenta 1 ou deixá-la armazenada como absoluta. O que está abaixo é parte do meu arquivo Hal da parte de troca. Dessa forma, minha torre não muda, ela fica parada, agora se eu colocar a entrada in-55 na primeira linha (net tool-prep-loop iocontrol.0.tool-prepare => iocontrol.0.tool-ready
= > classicladder.0.in-55) então faço o giro normal sem o M6, por exemplo eu coloco o T5 e mudo antes de colocar o M6 em… ..
# --- sinais de troca manual de ferramenta ---
loadusr - W hal_manualtoolchange
net tool-prep-loop iocontrol.0.tool-prepare => iocontrol.0.tool-
installed #net tool-change-loop iocontrol.0.tool-change => iocontrol.0.tool-changed
net tool-cng- req iocontrol.0.tool-change => classicladder.0.in-55
net tool-cn-done iocontrol.0.tool-changed <= classicladder.0.out-34
net tool-number iocontrol.0.tool-number => classicladder.0.s32in-00
net tool-prep-number iocontrol.0.tool-prep-number => classicladder.0.s32in-01
#Encoder signal
net enc-1 classicladder.0.in-36 <= [ HMOT] (CARD0) .7i84.0.1.input-03
net enc-2 classicladder.0.in-37 <= [HMOT] (CARD0) .7i84.0.1.input-04
net enc-4 classicladder.0.in- 38 <= [HMOT] (CARD0) .7i84.0.1.input-05
net enc-8 classicladder.0.in-39 <= [HMOT] (CARD0) .7i84.0.1.input-06
Segundo problema, quando ligo a máquina, faço a referência dos eixos e na tela está na ferramenta zero (T0), minha Torre parou por último na ferramenta 8 e aí eu vou lá e faço M61Q8 e atualizo a tela para esta ferramenta. O problema está nas próximas trocas em manual ou automático ele não atualiza automaticamente, apenas fazendo esse procedimento a cada vez. O que estou fazendo de errado que não se ajusta sozinho?
Finalmente, tenho dois sinais, o strobe e a paridade, que não usei na programação do Ladder, que preciso usar?
Ingo
Primeiro, estou usando Gmoccapy e minha torre é 12 ferramentas e meu codificador é BCD, mas ele não pode fazer referência à ferramenta 1 ou deixá-la armazenada como absoluta. O que está abaixo é parte do meu arquivo Hal da parte de troca. Dessa forma, minha torre não muda, ela fica parada, agora se eu colocar a entrada in-55 na primeira linha (net tool-prep-loop iocontrol.0.tool-prepare => iocontrol.0.tool-ready
= > classicladder.0.in-55) então faço o giro normal sem o M6, por exemplo eu coloco o T5 e mudo antes de colocar o M6 em… ..
# --- sinais de troca manual de ferramenta ---
loadusr - W hal_manualtoolchange
net tool-prep-loop iocontrol.0.tool-prepare => iocontrol.0.tool-
installed #net tool-change-loop iocontrol.0.tool-change => iocontrol.0.tool-changed
net tool-cng- req iocontrol.0.tool-change => classicladder.0.in-55
net tool-cn-done iocontrol.0.tool-changed <= classicladder.0.out-34
net tool-number iocontrol.0.tool-number => classicladder.0.s32in-00
net tool-prep-number iocontrol.0.tool-prep-number => classicladder.0.s32in-01
#Encoder signal
net enc-1 classicladder.0.in-36 <= [ HMOT] (CARD0) .7i84.0.1.input-03
net enc-2 classicladder.0.in-37 <= [HMOT] (CARD0) .7i84.0.1.input-04
net enc-4 classicladder.0.in- 38 <= [HMOT] (CARD0) .7i84.0.1.input-05
net enc-8 classicladder.0.in-39 <= [HMOT] (CARD0) .7i84.0.1.input-06
Segundo problema, quando ligo a máquina, faço a referência dos eixos e na tela está na ferramenta zero (T0), minha Torre parou por último na ferramenta 8 e aí eu vou lá e faço M61Q8 e atualizo a tela para esta ferramenta. O problema está nas próximas trocas em manual ou automático ele não atualiza automaticamente, apenas fazendo esse procedimento a cada vez. O que estou fazendo de errado que não se ajusta sozinho?
Finalmente, tenho dois sinais, o strobe e a paridade, que não usei na programação do Ladder, que preciso usar?
Ingo
Please Log in or Create an account to join the conversation.
- Henk
- Offline
- Platinum Member
Less
More
- Posts: 395
- Thank you received: 80
19 Nov 2021 03:47 #226945
by Henk
Replied by Henk on topic Types of lathe reference
Ok.
Lets take a few steps back. You seem to be using the manual toochange user space component, but you expect auto toolchanges to happen. (loadusr - W hal_manualtoolchange)
You need to tell me more about how the turret is controlled. I assume the following, please confirm....
1. You have a BCD encoder. this encoder will tell you each tool position with a bcd code...right?
2. Is your turret hydraulic? in that case you have a valve connected to an output pin to unlock, rotate forward, and rotate backwards?
3. There are switches connected to input pins that show that the turret is unlocked and locked ?
If all of the above is correct, then i would use the carousel component I see that the new version can hadle electric type turrets that reverse to lock as well. ("man carousel" in a terminal to view the man page)
have a look at that, and tell us exactly how the turret works.
Henk
Lets take a few steps back. You seem to be using the manual toochange user space component, but you expect auto toolchanges to happen. (loadusr - W hal_manualtoolchange)
You need to tell me more about how the turret is controlled. I assume the following, please confirm....
1. You have a BCD encoder. this encoder will tell you each tool position with a bcd code...right?
2. Is your turret hydraulic? in that case you have a valve connected to an output pin to unlock, rotate forward, and rotate backwards?
3. There are switches connected to input pins that show that the turret is unlocked and locked ?
If all of the above is correct, then i would use the carousel component I see that the new version can hadle electric type turrets that reverse to lock as well. ("man carousel" in a terminal to view the man page)
have a look at that, and tell us exactly how the turret works.
Henk
Please Log in or Create an account to join the conversation.
- Ingo
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 111
- Thank you received: 2
19 Nov 2021 04:22 #226946
by Ingo
Replied by Ingo on topic Types of lathe reference
Desculpe esqueci de mencionar como funciona….
1. Exatamente, o encoder dirá a posição de cada ferramenta através da lógica 1,2,4 e 8 usando o sinal s32in-01 na escada.
2. Minha torre elétrica apenas, o próprio motor faz avançar a torre (há um sensor de torre avançado e retraído lá) destravar e girar até a ferramenta solicitada, então uma bobina entra e há outro sensor para identificar se está indexada ou não, o motor inverte a rotação e bloqueia a torre.
3. Sim, existem dois sensores, um para a torre dianteira e traseira e outro para a bobina travando a rotação e livre.
1. Exatamente, o encoder dirá a posição de cada ferramenta através da lógica 1,2,4 e 8 usando o sinal s32in-01 na escada.
2. Minha torre elétrica apenas, o próprio motor faz avançar a torre (há um sensor de torre avançado e retraído lá) destravar e girar até a ferramenta solicitada, então uma bobina entra e há outro sensor para identificar se está indexada ou não, o motor inverte a rotação e bloqueia a torre.
3. Sim, existem dois sensores, um para a torre dianteira e traseira e outro para a bobina travando a rotação e livre.
Please Log in or Create an account to join the conversation.
- Henk
- Offline
- Platinum Member
Less
More
- Posts: 395
- Thank you received: 80
19 Nov 2021 04:28 #226948
by Henk
Replied by Henk on topic Types of lathe reference
Carousel component should work for your setup then.
Please Log in or Create an account to join the conversation.
Time to create page: 0.074 seconds