Newbie setup Gmocappy setup

More
26 Oct 2015 19:38 - 26 Oct 2015 19:41 #64286 by cncbasher
Replied by cncbasher on topic Newbie setup Gmocappy setup
what program gcode are you using , make sure it does not go to x0 y0 first
how are you asking it in gcode to go to tool change positon etc

post your setup code so we can check

see change.ngc in your macros folder for the sequence , it might help
Last edit: 26 Oct 2015 19:41 by cncbasher.

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

More
26 Oct 2015 23:59 - 27 Oct 2015 00:00 #64311 by Stonefire
Replied by Stonefire on topic Newbie setup Gmocappy setup
Hi CNCBasher

Sorry the troubles I'm making. I use the Tool_lenght_probe-.ngc, as you recommended. Have changed g20 to g21.

Maybe I've misunderstood, but I thought that the tool-change command did all the stuff, and was incoorperated in the test-program above.
g21 g90 
g49
g0 x0 y0 z1

(measure reference tool)
g30 (above switch)
g38.2 z0 f150 (measure)
g91 g0z.2 (off the switch)
#1000=#5063 (save reference tool length)
(print,reference length is #1000)
g90 (done)
...

This code do not involve the probe-coordinats nor the toolchangeposition bescribed in the ini-file.
After homing I load the program, and before running I move the cnc to a new origin. When I run the program and get to the g30 command the CNC goes back to the origin (0,0) and not the x-y parameter I've declined in the setup-ini, trying to find the probe.

I've tried to look in the change.ngc, but can not understand much....It looks to me that the change.ngc is not activated at all....


I'll hope this description is understandable and usefull ind this error-hunt...

Sincerly
Steen
Attachments:
Last edit: 27 Oct 2015 00:00 by Stonefire.

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

More
27 Oct 2015 00:32 #64315 by cncbasher
Replied by cncbasher on topic Newbie setup Gmocappy setup
see Norberts video here

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

More
27 Oct 2015 05:04 #64325 by Stonefire
Replied by Stonefire on topic Newbie setup Gmocappy setup
Hi
I've seen the video a couple of times before. The central point is that my change.ncg is not called as shown in the video....

Been struckling with the homing procedure this evening. The x and y end-switches is not released ....something has been changed that have change the homing process. I've been comparing the befor- and after- inifiles. in the axis-sections they are identical...

...but with some manipulation I could at last load the program in the video. Got an error telling something like "the coordinatsystem could not be changed because of the cutter comparison set on"...could'nt get further....

Sorry all the troubles I'm making .... :blush:

Sincerly
Steen

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

More
28 Oct 2015 23:35 #64403 by Stonefire
Replied by Stonefire on topic Newbie setup Gmocappy setup
Hi CNCBasher

I've solved the homing problem by changing the values for HOME, MAX_VELOCITY, MAX_ACCELERATION and STEPGEN_MAXACCEL- settings in the ini-file.

Have you found anything suspicious in the setup that couses the probe-problem.....? The change.ngc is not called when the tool is changed...

SIncerly
Steen

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

More
30 Oct 2015 00:13 #64475 by newbynobi
Replied by newbynobi on topic Newbie setup Gmocappy setup
Hi Steen,

I just took a short look at your config:

in your hal file you still do load:
loadusr -W hal_manualtoolchange

please comment that one out!

second in your INI File pléase change your Subroutine path:
# SUBROUTINE_PATH = /home/steen/linuxcnc/configs/Steen_CNC/macros
SUBROUTINE_PATH = macros

Report what happen.

Are you able to launch your macro "go_to_pos X-pos Y-pos Z-pos"

Norbert

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

More
30 Oct 2015 01:48 - 30 Oct 2015 01:51 #64479 by Stonefire
Replied by Stonefire on topic Newbie setup Gmocappy setup

File Attachment:

File Name: tool.zip
File Size:36 KB

Hi CNCBAsher

Have done the changes you're requested. Still the same. Using the tool_length_probe.ngc-samplefile:
g21 g90 
g49
g0 x0 y0 z1[color=#ff0000] OK[/color]

(measure reference tool)
g30 (above switch) - GOING TO HOMEING-POS
g38.2 z0 f150 (measure) - NOT FINDING THE PROBE IN (22,43)
g91 g0z.2 (off the switch)


#1000=#5063 (save reference tool length)
(print,reference length is #1000)
g90 (done)
...

The change-code is still not accessed during the run, as it it shown in the video you showed me..

Sincerly
Steen
Attachments:
Last edit: 30 Oct 2015 01:51 by Stonefire.

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

More
30 Oct 2015 01:58 #64480 by Stonefire
Replied by Stonefire on topic Newbie setup Gmocappy setup
Sorry newbynobi

My answer was to you. I thought the answer came from CNCbasher

Sincerly
Steen

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

More
30 Oct 2015 02:03 #64481 by Stonefire
Replied by Stonefire on topic Newbie setup Gmocappy setup
Hi again

Just a guess.: are these lines correct in the ini-file ?
#SUBROUTINE_PATH = /home/steen/linuxcnc/configs/Steen_CNC/macros
SUBROUTINE_PATH = macros
on_abort_command=0 <on_abort> call
Remap=M6 modalgroup=6 prolog=change_prolog ngc=change epilog=change_epilog

Especially the 2 last lines. In all other lines the equalsign is with an space-char on each side....

Sincerly
Steen

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

More
30 Oct 2015 02:08 #64482 by newbynobi
Replied by newbynobi on topic Newbie setup Gmocappy setup
Hi Steen,

you are wellcome.

Do you execute the tool_length_probe.ngc file?

If so,

This file does not contain any M6 code, and that one is the remaped code, so it will never be executed!!

Please open "gmoccapy_2_tools_with_cutter_radius_compansation.ngc" and run that file, what does your machine do?

Norbert

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

Moderators: newbynobiHansU
Time to create page: 0.082 seconds
Powered by Kunena Forum