×
Forum Header
Andy's knee mill project
04 Oct 2010 09:37 #4506
by amcc
Replied by amcc on topic Re:Andy's knee mill projct
and it is alive! thanks!
soooo glad it was an easy fix! been a bit of investment...
soooo glad it was an easy fix! been a bit of investment...
Please Log in or Create an account to join the conversation.
05 Dec 2010 00:42 - 05 Dec 2010 00:49 #5863
by amcc
Replied by amcc on topic Re:Andy's knee mill project
Hi Again,
Homing sequence up and Running![:) :)](/media/kunena/emoticons/smile.png)
So I have a new problem:
I have the Steppers all wired and working fine.
I decided to wire up an external control circuit to control coolant and spindle motors. I also added an EStop that will kill this control circuit (and an over ride for coolant)
the EStop is my problem
It has 2 normally closed contacts
one kills the coolant and Spindle independent of EMC.
the steppers however are powered Independently.
So plan was to use the second contact to tell EMC that the EStop has been Pushed.
I cant seem to get this to Work
this is my Break out Board
www.slidesandballscrews.com/pdf/uniportV2%20_2_.pdf
(tried to attach it to so will see if that works)
using EMC2.4.4
My questions:
For EStop do i need to use Estop out and Estop in? or can i wire like a limit switch with just EStop out and then return to ground?
From the pin out on the BOB I am using 14 for EStop out and 13 for EStop in. does that look right?
I have tried this:
Basically I deleted the "net estop-out charge-pump.enable iocontrol.0.user-enable-out" line and added a "net estop-ext => charge-pump.enable" line.
from here:
www.linuxcnc.org/component/option,com_ku...5/lang,english/#4973
and that gives me the Charge pump Signal back and stops the normal "EStop" button in the EMC interface from working
However I cant get the Estop to work. I have tried bridging terminals on the BOB with no luck
I have also tried using pin 8 for EStop out with no luck
So if that didn't make sense i am trying to get an external EStop to tell EMC to Stop.
Thanks in advance.
Andy.
Homing sequence up and Running
![:) :)](/media/kunena/emoticons/smile.png)
So I have a new problem:
I have the Steppers all wired and working fine.
I decided to wire up an external control circuit to control coolant and spindle motors. I also added an EStop that will kill this control circuit (and an over ride for coolant)
the EStop is my problem
It has 2 normally closed contacts
one kills the coolant and Spindle independent of EMC.
the steppers however are powered Independently.
So plan was to use the second contact to tell EMC that the EStop has been Pushed.
I cant seem to get this to Work
this is my Break out Board
www.slidesandballscrews.com/pdf/uniportV2%20_2_.pdf
(tried to attach it to so will see if that works)
using EMC2.4.4
My questions:
For EStop do i need to use Estop out and Estop in? or can i wire like a limit switch with just EStop out and then return to ground?
From the pin out on the BOB I am using 14 for EStop out and 13 for EStop in. does that look right?
I have tried this:
Basically I deleted the "net estop-out charge-pump.enable iocontrol.0.user-enable-out" line and added a "net estop-ext => charge-pump.enable" line.
from here:
www.linuxcnc.org/component/option,com_ku...5/lang,english/#4973
and that gives me the Charge pump Signal back and stops the normal "EStop" button in the EMC interface from working
However I cant get the Estop to work. I have tried bridging terminals on the BOB with no luck
I have also tried using pin 8 for EStop out with no luck
So if that didn't make sense i am trying to get an external EStop to tell EMC to Stop.
Thanks in advance.
Andy.
Last edit: 05 Dec 2010 00:49 by amcc.
Please Log in or Create an account to join the conversation.
05 Dec 2010 13:46 #5868
by BigJohnT
Replied by BigJohnT on topic Re:Andy's knee mill project
Andy,
In a nutshell, and I'm down in the beer cave so I can't see my machines, when halui.estop.activate is true (from the e-stop button will put Axis into E-Stop. Releasing halui.estop.activate and then pressing a reset button attached to halui.estop.reset will take Axis out of E-Stop. I just tested this with 2.4.6 sim.
The e-stop connection seems easy enough by your manual. Can you see the input change states when you toggle the physical e-stop button?
John
In a nutshell, and I'm down in the beer cave so I can't see my machines, when halui.estop.activate is true (from the e-stop button will put Axis into E-Stop. Releasing halui.estop.activate and then pressing a reset button attached to halui.estop.reset will take Axis out of E-Stop. I just tested this with 2.4.6 sim.
The e-stop connection seems easy enough by your manual. Can you see the input change states when you toggle the physical e-stop button?
John
Please Log in or Create an account to join the conversation.
06 Dec 2010 09:35 #5875
by amcc
Replied by amcc on topic Re:Andy's knee mill project
no change of state when e stop is activated (Charge Pump stays on). from the diagram attached do you think e stop out for 14 and 13 for e stop in.
so not sure what to do, thinking i might have to just run another wire and get another contactor to cut power to stepper drivers with e stop on the control circuit...
so not sure what to do, thinking i might have to just run another wire and get another contactor to cut power to stepper drivers with e stop on the control circuit...
Please Log in or Create an account to join the conversation.
10 May 2011 11:12 #9692
by amcc
Replied by amcc on topic Re:Andy's knee mill project
Well it has been a long time and have worked on it most weekends but i am finally up and running!!!
few issues
1-i have some drive power issues on Z axis which is intermittent and i am struggling to lock down, should have converted to ball screw on Z also but it isnt stopping me, still runs at 500mm/m
2-Setting tool offsets is a bit fiddly, i have had issues a couple of times. what is best practice? i dont seem to be able to set a tool with zero offset??? when i edit the tool table it seems to give errors, do i need to do all this before activating a G54?
so at the moment i am setting G54 and the length offsets for tools, i have all tools set up in SolidCam and so have 55 tools in EMC (i just set the ones i need but this way each tool always has a home...)
3-i have a G code problem regardless of lead out or not with a hole cut with helical dept on the last clean up (the one without a change in Z height) there is a unexplained variation from path and then the final clean up on Z level before feeding out on the strange position, this leaves me with two overlapping circles rather than one clean circle. hasn't broken anything as i have been cutting HDPE but ally will cause trouble... an example is below:
G0 Z50.
X17.075
Z2.
G1 Z0.
Y16. Z-0.091
G2 X18.075 Y15. Z-0.235 R1.
X18.075 Y15. Z-2. I-3.075 J0.
X18.075 Y15. Z-4. I-3.075 J0.
X18.075 Y15. Z-6. I-3.075 J0.
X18.075 Y15. Z-8. I-3.075 J0.
X18.075 Y15. Z-10. I-3.075 J0.
X18.075 Y15. Z-12. I-3.075 J0.
X18.075 Y15. Z-14. I-3.075 J0.
X18.075 Y15. Z-16. I-3.075 J0.
X18.075 Y15. Z-18. I-3.075 J0.
X18.075 Y15. Z-20. I-3.075 J0.
X18.075 Y15. Z-21. I-3.075 J0.
PROBLEM STARTS HERE???????????????????????????
X18.075 Y15. I-3.075 J0.
G0 Z50.
M30
%
i dont see anything wrong..
Cheers,
Andy
P.S. will load some pics when i get a chance...
few issues
1-i have some drive power issues on Z axis which is intermittent and i am struggling to lock down, should have converted to ball screw on Z also but it isnt stopping me, still runs at 500mm/m
2-Setting tool offsets is a bit fiddly, i have had issues a couple of times. what is best practice? i dont seem to be able to set a tool with zero offset??? when i edit the tool table it seems to give errors, do i need to do all this before activating a G54?
so at the moment i am setting G54 and the length offsets for tools, i have all tools set up in SolidCam and so have 55 tools in EMC (i just set the ones i need but this way each tool always has a home...)
3-i have a G code problem regardless of lead out or not with a hole cut with helical dept on the last clean up (the one without a change in Z height) there is a unexplained variation from path and then the final clean up on Z level before feeding out on the strange position, this leaves me with two overlapping circles rather than one clean circle. hasn't broken anything as i have been cutting HDPE but ally will cause trouble... an example is below:
G0 Z50.
X17.075
Z2.
G1 Z0.
Y16. Z-0.091
G2 X18.075 Y15. Z-0.235 R1.
X18.075 Y15. Z-2. I-3.075 J0.
X18.075 Y15. Z-4. I-3.075 J0.
X18.075 Y15. Z-6. I-3.075 J0.
X18.075 Y15. Z-8. I-3.075 J0.
X18.075 Y15. Z-10. I-3.075 J0.
X18.075 Y15. Z-12. I-3.075 J0.
X18.075 Y15. Z-14. I-3.075 J0.
X18.075 Y15. Z-16. I-3.075 J0.
X18.075 Y15. Z-18. I-3.075 J0.
X18.075 Y15. Z-20. I-3.075 J0.
X18.075 Y15. Z-21. I-3.075 J0.
PROBLEM STARTS HERE???????????????????????????
X18.075 Y15. I-3.075 J0.
G0 Z50.
M30
%
i dont see anything wrong..
Cheers,
Andy
P.S. will load some pics when i get a chance...
Please Log in or Create an account to join the conversation.
10 May 2011 11:54 #9693
by BigJohnT
Replied by BigJohnT on topic Re:Andy's knee mill project
First I load my tool with Tn M6 G43 then go to G55 ( I only offset in G54 ).
When I set my tool offsets I set the Z offset to a fixed point. This is easy to do with a dowel, lower the tool to a height below the dowel and slowly raise the tool while trying to slide the dowel under. As soon as it stops I set my Z offset to 0 ( I use the same dowel for all tools).
I switch back to G54 and I load the material. I use the dowel to set the tool Z to the height of the material ( top being Z0 ) and touch off G54 with Z0.375 ( the diameter of my dowel ). Now all my tools Z0 is the top of the material.
I loaded your sample up in the sim and it looks correct. I noticed you must have just clipped some of the top off as I don't see any preamble or F word. I would move to the center of the circle before pulling the tool out of the hole. Also normal program end is M2 and the % sign is not needed.
John
When I set my tool offsets I set the Z offset to a fixed point. This is easy to do with a dowel, lower the tool to a height below the dowel and slowly raise the tool while trying to slide the dowel under. As soon as it stops I set my Z offset to 0 ( I use the same dowel for all tools).
I switch back to G54 and I load the material. I use the dowel to set the tool Z to the height of the material ( top being Z0 ) and touch off G54 with Z0.375 ( the diameter of my dowel ). Now all my tools Z0 is the top of the material.
I loaded your sample up in the sim and it looks correct. I noticed you must have just clipped some of the top off as I don't see any preamble or F word. I would move to the center of the circle before pulling the tool out of the hole. Also normal program end is M2 and the % sign is not needed.
John
Please Log in or Create an account to join the conversation.
10 May 2011 22:33 #9703
by amcc
Replied by amcc on topic Re:Andy's knee mill project
Thanks for reply,
Thanks for the tips with too offsets, i have been using T# M6 with G54 so will try with G43 i plan on using G54, G55 and G56 on this job soon so will keep G55
I like the dowel idea .
Here is another sample of code, once again problem starts near bottom, this code should have a lead out away from the edge, in fact it is leading out in the material,ie on the wrong side of the profile. it looks fine in simulator but not when run...
yes i have given the bottom of my code, total code is some 500 lines... i am using SolidCam with Fanuc controller (i used this at uni so am reasonably confident with it) i realise it isnt necessarily neat code but it works...
Thanks
Z2.
G1 Z0.
Y35.5 Z-0.096
G2 X189.125 Y35. Z-0.247 R0.5
X189.125 Y35. Z-1. I-0.625 J0.
X189.125 Y35. Z-2. I-0.625 J0.
X189.125 Y35. Z-3. I-0.625 J0.
X189.125 Y35. Z-4. I-0.625 J0.
X189.125 Y35. Z-5. I-0.625 J0.
X189.125 Y35. Z-6. I-0.625 J0.
X189.125 Y35. Z-7. I-0.625 J0.
X189.125 Y35. Z-8. I-0.625 J0.
X189.125 Y35. Z-9. I-0.625 J0.
X189.125 Y35. Z-10. I-0.625 J0.
X189.125 Y35. Z-11. I-0.625 J0.
X189.125 Y35. Z-12. I-0.625 J0.
X189.125 Y35. Z-13. I-0.625 J0.
X189.125 Y35. Z-14. I-0.625 J0.
X189.125 Y35. Z-15. I-0.625 J0.
X189.125 Y35. Z-16. I-0.625 J0.
X189.125 Y35. Z-17. I-0.625 J0.
X189.125 Y35. Z-18. I-0.625 J0.
X189.125 Y35. Z-19. I-0.625 J0.
X189.125 Y35. Z-20. I-0.625 J0.
X189.125 Y35. Z-21. I-0.625 J0.
X189.125 Y35. Z-22. I-0.625 J0.
X189.125 Y35. Z-23. I-0.625 J0.
X189.125 Y35. Z-24. I-0.625 J0.
X189.125 Y35. Z-25. I-0.625 J0.
PROBLEM STARTS HERE
X189.125 Y35. I-0.625 J0.
X188.625 Y34.5 R0.5
G1 Y35.
G0 Z50.
M30
%
Thanks for the tips with too offsets, i have been using T# M6 with G54 so will try with G43 i plan on using G54, G55 and G56 on this job soon so will keep G55
I like the dowel idea .
Here is another sample of code, once again problem starts near bottom, this code should have a lead out away from the edge, in fact it is leading out in the material,ie on the wrong side of the profile. it looks fine in simulator but not when run...
yes i have given the bottom of my code, total code is some 500 lines... i am using SolidCam with Fanuc controller (i used this at uni so am reasonably confident with it) i realise it isnt necessarily neat code but it works...
Thanks
Z2.
G1 Z0.
Y35.5 Z-0.096
G2 X189.125 Y35. Z-0.247 R0.5
X189.125 Y35. Z-1. I-0.625 J0.
X189.125 Y35. Z-2. I-0.625 J0.
X189.125 Y35. Z-3. I-0.625 J0.
X189.125 Y35. Z-4. I-0.625 J0.
X189.125 Y35. Z-5. I-0.625 J0.
X189.125 Y35. Z-6. I-0.625 J0.
X189.125 Y35. Z-7. I-0.625 J0.
X189.125 Y35. Z-8. I-0.625 J0.
X189.125 Y35. Z-9. I-0.625 J0.
X189.125 Y35. Z-10. I-0.625 J0.
X189.125 Y35. Z-11. I-0.625 J0.
X189.125 Y35. Z-12. I-0.625 J0.
X189.125 Y35. Z-13. I-0.625 J0.
X189.125 Y35. Z-14. I-0.625 J0.
X189.125 Y35. Z-15. I-0.625 J0.
X189.125 Y35. Z-16. I-0.625 J0.
X189.125 Y35. Z-17. I-0.625 J0.
X189.125 Y35. Z-18. I-0.625 J0.
X189.125 Y35. Z-19. I-0.625 J0.
X189.125 Y35. Z-20. I-0.625 J0.
X189.125 Y35. Z-21. I-0.625 J0.
X189.125 Y35. Z-22. I-0.625 J0.
X189.125 Y35. Z-23. I-0.625 J0.
X189.125 Y35. Z-24. I-0.625 J0.
X189.125 Y35. Z-25. I-0.625 J0.
PROBLEM STARTS HERE
X189.125 Y35. I-0.625 J0.
X188.625 Y34.5 R0.5
G1 Y35.
G0 Z50.
M30
%
Please Log in or Create an account to join the conversation.
10 May 2011 22:43 #9705
by BigJohnT
Replied by BigJohnT on topic Re:Andy's knee mill project
Sounds like a mechanical or electrical issue as the code is fine...
You can be in any coordinate system just make sure you don't have any offsets set for that coordinate system when you set your tool table offsets or they get added to your tool offset...
John
You can be in any coordinate system just make sure you don't have any offsets set for that coordinate system when you set your tool table offsets or they get added to your tool offset...
John
Please Log in or Create an account to join the conversation.
10 May 2011 22:56 #9708
by amcc
Replied by amcc on topic Re:Andy's knee mill project
mm bummer, i dont want mechanical or electrical issues...
thanks again with the tool setting
thanks again with the tool setting
Please Log in or Create an account to join the conversation.
11 May 2011 02:10 #9715
by amcc
Replied by amcc on topic Re:Andy's knee mill project
I just had an idea... Could it be because i have different accelerations on X, Y and Z? on that last circle as Z comes to final depth is it possible that as X and Y are also accelerating as they plot the circle it is stuffing up?
Just an idea... might try making all accelerations the same as i dont want this happening in aluminium or steel!!!
Just an idea... might try making all accelerations the same as i dont want this happening in aluminium or steel!!!
Please Log in or Create an account to join the conversation.
Time to create page: 0.090 seconds