Gscreen - a GTK / Glade / Python based screen

More
07 Feb 2013 01:49 #29715 by newbynobi
@BigJohnT

Ok, your tool changer has an abslout encoder, but most of them don't.
The problem is only if the index tool button results in a change, then it will crash, because you haven't set the tool number bevor.

That is the only reason I use after every start M61Qx to set the mounted tool.

Why do I need ngcgui? It is easy to enter in the MDI window:

T5 M6
G43
G41
G0 X10 Y20
G1 Z-10
G1 X20Y10
G1X50
G3 X50 Y20 I0 J10
G1 X10
G3 X10 Y10 I0 J-10
G1 X22
G1 X50 Y20
G0 Z75

and its done. OK most people will not now the out of memory, but I am used to program line by line Gcode.
Nevertheless I have also written my own cycles for my lathe, so it is even quicker ;-)

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

More
07 Feb 2013 01:56 #29716 by newbynobi
@Chris,

you are right, forget the H in G43 for normal changes, everybody who need something different will run a programm or he will have to use MDI Comands, my buttons are calles Scripts and are specified in the INI File. You can have until 9 buttons to run 9 different scripts.

And you are right too with your opinion, that I use cutter radius compensation in MDI, not manual mode.
OK so I use MDI to set the compensation, or my own function ;-)

I do use my lath or mill a lot in MDI / Manual mode, on the lateh turning a braking disk down is easely made in manual mode, OK I got a Encoderbox, I hold in my hand.
And on the lathe just making a workpiece 2 mm shorter is also done in manual mode.

Norbert

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

More
07 Feb 2013 02:00 #29717 by newbynobi
@andypugh

I thaught also this is wrong, but it seems that other people in this forum think different. So we will have to leave thge desition open or discuss it till finding a solution.

What about adding a checkbox to preferences page "store tool number on shutdown",
if checkt it will be stored and reloaded on the new start of linuxcnc. So everybody is free to choose according to theire needs.

Adding to #5400 and reload it is not selectable, so the user is forced to use it.

Norbert

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

More
07 Feb 2013 02:23 #29718 by cmorley

[quote="newbynobi" post=29705
No, linuxcnc do net remember the tool number. After every reboot the tool is set to "0"


That sounds wrong.

It might be possible to add the tool number (#5400) to the parameter file. I don't know if that would help.[/quote]

This sounds wrong to me too.
Why wouldn't a machine with an auto tool change asumme the tool at shutdown is still there?
I mean yes it's possible to take it out but that would be unusual to do without the rest of the machine running.

I would think it makes sense to assume the tool is the same on start up and if it isn't, the operator must issue the proper command to fix it. (which should be unusual)

and I can't understand why it would crash the tool if you issue a T5 if T5 is already there. waste of time maybe but why crash?
I could also see it get out of sequence if it's a random toolchanger.
Do you have a pic of your toolchanger?

Interesting.

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

More
07 Feb 2013 02:43 - 07 Feb 2013 02:58 #29722 by tjamscad
What is wrong i am getting this error?

Wed, 06 Feb 2013 12:37:17 -Program loaded: /home/stustev/NC-files/3001.TXT
Wed, 06 Feb 2013 12:37:22 -Named parameter not terminated

on line N625G02X-2.1875Y-.9375I.0J.4375
N621X-.9783Y-1.375I.0J1.6875
N623G01X-1.75
N625G02X-2.1875Y-.9375I.0J.4375
N627G01Y.825
N629X-3.0
N631Y.6375
N633G00Z1.998

Wed, 06 Feb 2013 12:53:30 -Restart program from line 7
Wed, 06 Feb 2013 12:53:30 -Unclosed comment found

N7( POSTED FOR FADAL 5020
Last edit: 07 Feb 2013 02:58 by tjamscad. Reason: Updated to add information

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

More
07 Feb 2013 02:51 #29723 by cmorley
sometimes the line it says is wrong is not quite right can you post a snipit around that line?

I probably can't help you but someone here can.

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

More
07 Feb 2013 02:52 #29724 by newbynobi

and I can't understand why it would crash the tool if you issue a T5 if T5 is already there. waste of time maybe but why crash?
I could also see it get out of sequence if it's a random toolchanger.
Do you have a pic of your toolchanger?


Does a video help?

Please enter:

bilder.schechner.info/temp/HK2.avi

That was one of the first tests after including the changer and rebuilding the machine.!

As you see, there are fixtures to hold the tool, you have to enter this fixtures from Y direktion, but the changer wont do it, because linuxcnc does not know there is a tool in the spindle, so it will enter the changer from Z with the tool pressing the fixture down.

Norbert

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

More
07 Feb 2013 02:57 #29725 by newbynobi
@tjamscad

You are using a letter in that line, witch is wrong, i.e. you use an Y command on a lathe with no Y axis, or you use an R without an G2 or G3 or so on.

Just check the Letters used in that line.

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

More
07 Feb 2013 02:58 #29726 by cmorley
I understand now. thanks

I had not seen a toolchanger like that on a mill.

Is that you in the background?

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

More
07 Feb 2013 02:59 #29727 by tjamscad

@tjamscad

You are using a letter in that line, witch is wrong, i.e. you use an Y command on a lathe with no Y axis, or you use an R without an G2 or G3 or so on.

Just check the Letters used in that line.


This is a program that is running on a Fadal right now. Why does LinuxCNC not see it that way?

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

Time to create page: 0.173 seconds
Powered by Kunena Forum