Manual tool change + tool lengh touch off

More
7 years 6 months ago #130369 by andypugh

diep wrote: I did find that sim directory in

/usr/share/doc/linuxcnc/examples/sample-configs/sim/axis/remap/manual-toolchange-with-tool-length-switch/

In that directory listed is a .glade .hal .ini and .ui file - how do i load those?


Start LinuxCNC from the menu (under "CNC") and then navigate to that config in the config picker.

(You can run it without worrying about having any effect on your real config)
The following user(s) said Thank You: diep

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

More
7 years 6 months ago #130372 by diep
Ah yes that opens a new linuxcnc-GUI yet on the right side the buttons are greyed out. Also if i press with mouse the left top cross and then next to it the F2 button.

The probe-in i had defined at pin 11 for the toolsetter for this same linuxcnc-GUI but then the one that works for the machine to home (had gotten that to work obviously).

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

More
7 years 6 months ago #130374 by diep
Yes checking out GladeVCP now.to add something to Axis. Should manage i hope. Will report when problems or when it works ok :)

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

More
7 years 6 months ago #130376 by andypugh

diep wrote: Ah yes that opens a new linuxcnc-GUI yet on the right side the buttons are greyed out. Also if i press with mouse the left top cross and then next to it the F2 button.


They are only active during a tool change. If you home the machine and hit "run" you will see what it does.

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

More
7 years 6 months ago #130413 by diep
I do not know how to merge the gladeVCP example of manual-toolchange-with-tool-length-switch/ into the defines i had made for the machine in linuxcnc/configs/3040ext/ + configs/3040ext.stepconf

What would be the approach there?

Note i also tried to followtutorial at:
www.gnipsel.com/linuxcnc/gladevcp/gladevcp01.html

Took me hours to create the .glade file in GIT yet that tutorial doesn't work for me. Crashes linuxcnc when i try to load it. Let alone that i could try to merge it with the 3040ext.stepconf and directory of the machine defines.

With the tutorial the first problem is which directory+file to add the line
"[DISPLAY]
GLADEVCP= -u handler.py example.glade"

It must be in an .ini file but which one in which directory?
I have 3040ext.stepconf and 3040ext directory in

/home/diep/linuxcnc/configs
Must i add it do the configs/3040ext/3040ext.ini file?
Or must i add it in the later created directory linuxcnc/configs/gladevcp1/gladevcp1.ini somehow?
As that inifile already has some stuff regarding gladevcp.
Trying to test it, it crashes.

Perhaps better is trying to merge the existing example from

/usr/share/doc/linuxcnc/examples/sample-configs/sim/axis/remap/manual-toolchange-with-tool-length-switch/

Any tips where to find more info how to merge this into the 3040ext.stepconf + 3040ext directory?

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

More
7 years 6 months ago #130425 by diep
Update : i manage to get a button with gcode that gets called with pyvcp.

Thanks to this page: 7xcnc.com/software/probing/z-touch-plate/

I would guess that's what i want to accomplish for now and can easily expand it (i hope) to more buttons after this one works...

(Need to bring back the computer (old and heavy) from this room to the room where the cnc machine is located - no internet there of course).

I'll report back here. Either how i got it all done or with questions :)

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

Time to create page: 0.206 seconds
Powered by Kunena Forum