Metalworking (rec.crafts.metalworking) Discuss various aspects of working with metal, such as machining, welding, metal joining, screwing, casting, hardening/tempering, blacksmithing/forging, spinning and hammer work, sheet metal work.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to rec.crafts.metalworking
external usenet poster
 
Posts: 152
Default Solidcam gpp file for Old Hurco Mill

I've got an old KMB1 Hurco and I'd like to tweak the solidcam gpp post
for helical arcs. For plain arcs in the XY plane, the Hurco wants a
block like: N55 G2 X1.4792 Y1.375 I1.4006 J1.375, for this the
existing post works fine. Unfortunatly, for helical arcs in the XY
plane, the old bugger wants a incremental, signed "K" term for Z or
slope per 360deg of arc, ie. X___Y___Z___I___J___K___F___ or as
follows:

N55 G2 X1.2713 Y0.755 Z-0.25 I1.2713 J1.375 K-0.25 F100.

For, the ZX plane, it needs X___Y___Z___I___K___J,___F___ and for the
YZ plane it needs X___Y___Z___J___K___I ___F___ This is kinda beyond
my meager experience with gpp. If I manually code with a K value in
XY plane, the Hurco seems to do the helical move just fine, so I just
need a way to make the code generation conditional on Solidcam calling
for a plain arc, or a helical move. My present arc gpp is the
following:

@arc
;-- arc plane --

if arc_direction eq CCW then
gcode = 3
else ; CW
gcode = 2
endif
; if change(gcode) then
call @gen_nb
if print_gcode eq true
{'G'gcode}
endif
{[' X'xpos] [' Y'ypos] [' Z'zpos]}

if arc_plane eq XY then
{' I'xcenter:xpos_f, ' J'ycenter:ypos_f}
endif
if arc_plane eq ZX then
{' K'xcenter:xpos_f, ' I'ycenter:ypos_f}
endif
if arc_plane eq YZ then
{' J'xcenter:xpos_f, ' K'ycenter:ypos_f}
endif
if only_xyz eq false
{[' F'feed]}
endif
endp

Any ideas?
Thanks
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hmmmm.... The Hurco Vs the Mini Mill Bob La Londe[_5_] Metalworking 20 January 6th 11 01:02 PM
Hurco monitor oldjag Metalworking 8 January 4th 10 04:02 AM
Ref: Hurco Servos Dave B[_2_] Metalworking 17 January 5th 09 04:18 AM
1997 Hurco CNC mill w/ Ultimax SSM - for sale Steven Haerr - CNCTrader Corp Metalworking 0 April 21st 05 05:27 PM
Hurco Hawk knee mill Cliff Metalworking 5 February 17th 05 01:10 PM


All times are GMT +1. The time now is 06:47 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 DIYbanter.
The comments are property of their posters.
 

About Us

"It's about DIY & home improvement"