PROBLEM WITH Z AXIS REZEROING BEFORE PROGRAM START
06 Jun 2019 14:15 #136051
by SRcnc
PROBLEM WITH Z AXIS REZEROING BEFORE PROGRAM START was created by SRcnc
Hello, guys so I bought an X2 mini mill that was converted to CNC and obviously run by Linuxcnc. It runs GMOCCAPY and the machine has one proximity switch on each axis for homing and limit switches.
My problem is that I want to be able to use tool offsets so I bought a set of ER-20 collets with the TTS holders and they work great. The problem is that sometimes ( not all the time ) when I press start on a program, the Z-axis will travel up to its home location and sometimes it will make a noise ( sounds like the stepper is trying to turn but can't ) like it is crashed but I can see it has more travel left. Then when it continues the program, the Z-axis is off from where I loaded it from my 123 block. I have to constantly recheck the z to make sure it isn't off. With this issue, there is no way I can use the tool offset table and have confidence the tool heights are correct after a tool change.
I have all of the tool offsets empty in the tool table.
Also, the Z-axis sometimes makes that strange noise when it reaches near the top of travel while homing.
What I'm asking is, why is Linux trying to rehome the Z-axis before I start the program? Second, how do I stop it from happening?
Third, if I can't stop it from happening what is my solution?
Thank you.
My problem is that I want to be able to use tool offsets so I bought a set of ER-20 collets with the TTS holders and they work great. The problem is that sometimes ( not all the time ) when I press start on a program, the Z-axis will travel up to its home location and sometimes it will make a noise ( sounds like the stepper is trying to turn but can't ) like it is crashed but I can see it has more travel left. Then when it continues the program, the Z-axis is off from where I loaded it from my 123 block. I have to constantly recheck the z to make sure it isn't off. With this issue, there is no way I can use the tool offset table and have confidence the tool heights are correct after a tool change.
I have all of the tool offsets empty in the tool table.
Also, the Z-axis sometimes makes that strange noise when it reaches near the top of travel while homing.
What I'm asking is, why is Linux trying to rehome the Z-axis before I start the program? Second, how do I stop it from happening?
Third, if I can't stop it from happening what is my solution?
Thank you.
Please Log in or Create an account to join the conversation.
06 Jun 2019 15:11 #136059
by pl7i92
Replied by pl7i92 on topic PROBLEM WITH Z AXIS REZEROING BEFORE PROGRAM START
seams to me that your G-code somtimes get a G53 Z0
maybe as of estlcam that got that option
Is the switch realy triggerd
does the Axis go unhomed color change (Non Green) on upmove
maybe as of estlcam that got that option
Is the switch realy triggerd
does the Axis go unhomed color change (Non Green) on upmove
Please Log in or Create an account to join the conversation.
06 Jun 2019 15:16 #136062
by SRcnc
Replied by SRcnc on topic PROBLEM WITH Z AXIS REZEROING BEFORE PROGRAM START
I'm using fusion 360 and my program zero is back left corner of my stock and Z is 1-inch load.
The Z-axis stays green.
The Z-axis stays green.
Please Log in or Create an account to join the conversation.
06 Jun 2019 17:20 #136072
by pl7i92
Replied by pl7i92 on topic PROBLEM WITH Z AXIS REZEROING BEFORE PROGRAM START
if your maschin troubles next time
can you upload the G-code Only the first view lines as it happening there
so we can see what Fusion360 gets in there
can you also tell us what postprocessor from fusion you are using
can you upload the G-code Only the first view lines as it happening there
so we can see what Fusion360 gets in there
can you also tell us what postprocessor from fusion you are using
The following user(s) said Thank You: SRcnc
Please Log in or Create an account to join the conversation.
06 Jun 2019 19:43 #136081
by Hakan
Replied by Hakan on topic PROBLEM WITH Z AXIS REZEROING BEFORE PROGRAM START
I too guess it is in the code generated by fusion 360. Can we have the, say, 30 first lines of a gcode program that misbehaves?
The following user(s) said Thank You: SRcnc
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Away
- Platinum Boarder
Less
More
- Posts: 3712
- Karma: 148
- Thank you received: 749
06 Jun 2019 21:10 #136093
by Todd Zuercher
Replied by Todd Zuercher on topic PROBLEM WITH Z AXIS REZEROING BEFORE PROGRAM START
I thought the description of the problem sounds more like a step motor stall triggered by too high step rate or acceleration or binding of the axis ways, or a miss-adjusted counterbalance.
The following user(s) said Thank You: SRcnc
Please Log in or Create an account to join the conversation.
06 Jun 2019 21:34 #136097
by newbynobi
Replied by newbynobi on topic PROBLEM WITH Z AXIS REZEROING BEFORE PROGRAM START
This is defenatly not a gmoccapy problem!!!
You code does contain a command to travel up the Z axis and your machine stepper combination is making problems, causing loosen steps!
Norbert
You code does contain a command to travel up the Z axis and your machine stepper combination is making problems, causing loosen steps!
Norbert
The following user(s) said Thank You: SRcnc
Please Log in or Create an account to join the conversation.
06 Jun 2019 22:08 #136108
by SRcnc
Replied by SRcnc on topic PROBLEM WITH Z AXIS REZEROING BEFORE PROGRAM START
I am using LinuxCNC (EMC2) /linuxcnc post
Please Log in or Create an account to join the conversation.
06 Jun 2019 22:12 #136110
by SRcnc
Replied by SRcnc on topic PROBLEM WITH Z AXIS REZEROING BEFORE PROGRAM START
Here is the first section of the program:
%
(01)
(.357 TOOL)
(T3 D=0.375 CR=0. - ZMIN=-1.2448 - FLAT END MILL)
N10 G90 G94 G17 G91.1
N15 G20
N20 G53 G0 Z0.
(HSM ROUGHING SIDE 1 TOP POCKET 3D 0.050 2)
N25 M9
N30 T3 M6
N35 S3325 M3
N40 G54
N45 M8
N50 G0 X3.4675 Y-1.2894
N55 G43 Z-0.4 H3
N60 G0 Z-0.8
N65 Z-0.95
N70 G2 X3.6511 Y-1.3687 Z-0.961 I0.0918 J-0.0396 F5.
N75 X3.4675 Y-1.2894 Z-0.9719 I-0.0918 J0.0396
N80 X3.6511 Y-1.3687 Z-0.9829 I0.0918 J-0.0396
N85 X3.4675 Y-1.2894 Z-0.9939 I-0.0918 J0.0396
N90 X3.6511 Y-1.3687 Z-1.0049 I0.0918 J-0.0396
N95 X3.4675 Y-1.2894 Z-1.0158 I-0.0918 J0.0396
N100 X3.6511 Y-1.3687 Z-1.0268 I0.0918 J-0.0396
N105 X3.4675 Y-1.2894 Z-1.0378 I-0.0918 J0.0396
N110 X3.6511 Y-1.3687 Z-1.0487 I0.0918 J-0.0396
N115 X3.4675 Y-1.2894 Z-1.0597 I-0.0918 J0.0396
N120 X3.6511 Y-1.3687 Z-1.0707 I0.0918 J-0.0396
N125 X3.4675 Y-1.2894 Z-1.0816 I-0.0918 J0.0396
N130 X3.6511 Y-1.3687 Z-1.0926 I0.0918 J-0.0396
N135 X3.4675 Y-1.2894 Z-1.1036 I-0.0918 J0.0396
N140 X3.6511 Y-1.3687 Z-1.1146 I0.0918 J-0.0396
N145 X3.4675 Y-1.2894 Z-1.1255 I-0.0918 J0.0396
N150 X3.6511 Y-1.3687 Z-1.1365 I0.0918 J-0.0396
N155 X3.4675 Y-1.2894 Z-1.1475 I-0.0918 J0.0396
N160 X3.6511 Y-1.3687 Z-1.1584 I0.0918 J-0.0396
N165 X3.4675 Y-1.2894 Z-1.1694 I-0.0918 J0.0396
N170 X3.6511 Y-1.3687 Z-1.1804 I0.0918 J-0.0396
N175 X3.4675 Y-1.2894 Z-1.1914 I-0.0918 J0.0396
N180 X3.6511 Y-1.3687 Z-1.2023 I0.0918 J-0.0396
N185 X3.4675 Y-1.2894 Z-1.2133 I-0.0918 J0.0396
N190 X3.6511 Y-1.3687 Z-1.2243 I0.0918 J-0.0396
N195 X3.4675 Y-1.2894 Z-1.2352 I-0.0918 J0.0396
N200 X3.6593 Y-1.329 Z-1.2448 I0.0918 J-0.0396
N205 X3.4593 I-0.1 J0.
N210 X3.6593 I0.1 J0.
N215 G1 X3.6594 Y-1.3541 F20.
N220 X3.6595 Y-1.3548
N225 Y-1.3563
N230 X3.6594 Y-1.3578
N235 X3.6593 Y-1.3594
N240 X3.6592 Y-1.361
N245 X3.659 Y-1.3627
N250 X3.6587 Y-1.3644
N255 X3.6584 Y-1.3663
N260 X3.658 Y-1.3681
N265 X3.6576 Y-1.3701
N270 X3.657 Y-1.3721
N275 X3.6564 Y-1.3741
N280 X3.6558 Y-1.3761
N285 X3.655 Y-1.3782
Thanks
%
(01)
(.357 TOOL)
(T3 D=0.375 CR=0. - ZMIN=-1.2448 - FLAT END MILL)
N10 G90 G94 G17 G91.1
N15 G20
N20 G53 G0 Z0.
(HSM ROUGHING SIDE 1 TOP POCKET 3D 0.050 2)
N25 M9
N30 T3 M6
N35 S3325 M3
N40 G54
N45 M8
N50 G0 X3.4675 Y-1.2894
N55 G43 Z-0.4 H3
N60 G0 Z-0.8
N65 Z-0.95
N70 G2 X3.6511 Y-1.3687 Z-0.961 I0.0918 J-0.0396 F5.
N75 X3.4675 Y-1.2894 Z-0.9719 I-0.0918 J0.0396
N80 X3.6511 Y-1.3687 Z-0.9829 I0.0918 J-0.0396
N85 X3.4675 Y-1.2894 Z-0.9939 I-0.0918 J0.0396
N90 X3.6511 Y-1.3687 Z-1.0049 I0.0918 J-0.0396
N95 X3.4675 Y-1.2894 Z-1.0158 I-0.0918 J0.0396
N100 X3.6511 Y-1.3687 Z-1.0268 I0.0918 J-0.0396
N105 X3.4675 Y-1.2894 Z-1.0378 I-0.0918 J0.0396
N110 X3.6511 Y-1.3687 Z-1.0487 I0.0918 J-0.0396
N115 X3.4675 Y-1.2894 Z-1.0597 I-0.0918 J0.0396
N120 X3.6511 Y-1.3687 Z-1.0707 I0.0918 J-0.0396
N125 X3.4675 Y-1.2894 Z-1.0816 I-0.0918 J0.0396
N130 X3.6511 Y-1.3687 Z-1.0926 I0.0918 J-0.0396
N135 X3.4675 Y-1.2894 Z-1.1036 I-0.0918 J0.0396
N140 X3.6511 Y-1.3687 Z-1.1146 I0.0918 J-0.0396
N145 X3.4675 Y-1.2894 Z-1.1255 I-0.0918 J0.0396
N150 X3.6511 Y-1.3687 Z-1.1365 I0.0918 J-0.0396
N155 X3.4675 Y-1.2894 Z-1.1475 I-0.0918 J0.0396
N160 X3.6511 Y-1.3687 Z-1.1584 I0.0918 J-0.0396
N165 X3.4675 Y-1.2894 Z-1.1694 I-0.0918 J0.0396
N170 X3.6511 Y-1.3687 Z-1.1804 I0.0918 J-0.0396
N175 X3.4675 Y-1.2894 Z-1.1914 I-0.0918 J0.0396
N180 X3.6511 Y-1.3687 Z-1.2023 I0.0918 J-0.0396
N185 X3.4675 Y-1.2894 Z-1.2133 I-0.0918 J0.0396
N190 X3.6511 Y-1.3687 Z-1.2243 I0.0918 J-0.0396
N195 X3.4675 Y-1.2894 Z-1.2352 I-0.0918 J0.0396
N200 X3.6593 Y-1.329 Z-1.2448 I0.0918 J-0.0396
N205 X3.4593 I-0.1 J0.
N210 X3.6593 I0.1 J0.
N215 G1 X3.6594 Y-1.3541 F20.
N220 X3.6595 Y-1.3548
N225 Y-1.3563
N230 X3.6594 Y-1.3578
N235 X3.6593 Y-1.3594
N240 X3.6592 Y-1.361
N245 X3.659 Y-1.3627
N250 X3.6587 Y-1.3644
N255 X3.6584 Y-1.3663
N260 X3.658 Y-1.3681
N265 X3.6576 Y-1.3701
N270 X3.657 Y-1.3721
N275 X3.6564 Y-1.3741
N280 X3.6558 Y-1.3761
N285 X3.655 Y-1.3782
Thanks
Please Log in or Create an account to join the conversation.
06 Jun 2019 22:17 #136111
by SRcnc
Replied by SRcnc on topic PROBLEM WITH Z AXIS REZEROING BEFORE PROGRAM START
It could be. I really don't know. I am really new to Linux CNC. I know there is no counter balance on the Z-axis. It is just held by the ball screw and stepper.
I don't know much about step rate or acceleration. I used the parameters that came with the machine from the previous owner when I had to redo my INIT file. ( I accidently overwrote the INIT file that came with the machine.) However it behaved this way before that happened.
I don't know much about step rate or acceleration. I used the parameters that came with the machine from the previous owner when I had to redo my INIT file. ( I accidently overwrote the INIT file that came with the machine.) However it behaved this way before that happened.
Please Log in or Create an account to join the conversation.
Time to create page: 0.105 seconds