NEWS
LinuxCNC 2.5.2 Release
There are no translations available.

LinuxCNC 2.5.2 Update Released (changelog).
 
LinuxCNC 2.5.1 Release
There are no translations available.

LinuxCNC 2.5.1 Update Released (changelog). If the Package Manager does not prompt you to upgrade see this page.

 
LinuxCNC 2.5.0 Release
There are no translations available.

New major release (changelog). See the instructions to update your system from EMC 2.4 to LinuxCNC 2.5.
 
Home Forum Configuring LinuxCNC StepConf Wizard Andy's knee mill project

Welcome, Guest
Username: Password: Remember me
Forum Header

TOPIC: Andy's knee mill project

Re:Andy's knee mill project 05 Дек 2010 05:46 #5868

  • BigJohnT
  • BigJohnT's Avatar
  • OFFLINE
  • Administrator
  • Posts: 4955
  • Thank you received: 87
  • Karma: 134
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
The administrator has disabled public write access.

Re:Andy's knee mill project 06 Дек 2010 01:35 #5875

  • amcc
  • amcc's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 21
  • Karma: 0
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...
The administrator has disabled public write access.

Re:Andy's knee mill project 10 Май 2011 04:12 #9692

  • amcc
  • amcc's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 21
  • Karma: 0
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...
The administrator has disabled public write access.

Re:Andy's knee mill project 10 Май 2011 04:54 #9693

  • BigJohnT
  • BigJohnT's Avatar
  • OFFLINE
  • Administrator
  • Posts: 4955
  • Thank you received: 87
  • Karma: 134
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
The administrator has disabled public write access.

Re:Andy's knee mill project 10 Май 2011 15:33 #9703

  • amcc
  • amcc's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 21
  • Karma: 0
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
%
The administrator has disabled public write access.

Re:Andy's knee mill project 10 Май 2011 15:43 #9705

  • BigJohnT
  • BigJohnT's Avatar
  • OFFLINE
  • Administrator
  • Posts: 4955
  • Thank you received: 87
  • Karma: 134
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
The administrator has disabled public write access.
Time to create page: 1.114 seconds
Powered by Kunena Forum
© 2013 LinuxCNC.org
Joomla! is Free Software released under the GNU General Public License.